@parhelia/core 0.1.12903 → 0.1.12905
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 +106 -150
- 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 +3 -17
- package/dist/components/ui/context-menu.js +68 -132
- 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 +3 -3
- package/dist/components/ui/dialog.js +7 -30
- 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 +69 -313
- 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 +25 -28
- 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 -6
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +1 -19
- package/dist/editor/ContentTree.js +30 -99
- 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 +60 -69
- 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 +58 -116
- 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 +13 -17
- 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 -278
- 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.d.ts +80 -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 +13 -89
- 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/agentDialogTypes.d.ts +0 -18
- package/dist/editor/ai/dialogs/agentDialogTypes.js +0 -5
- package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.d.ts +9 -6
- package/dist/editor/ai/dialogs/browserBoundCapture.js +27 -18
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +35 -50
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +1 -27
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +159 -270
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +5 -33
- 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 +26 -137
- 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 +5 -2
- package/dist/editor/client/EditorShell.js +253 -736
- 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 +13 -127
- 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 +5 -20
- package/dist/editor/client/operations.js +136 -407
- 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 +4 -42
- 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 +49 -318
- 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.d.ts +1 -2
- package/dist/editor/media-selector/Preview.js +6 -53
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.d.ts +1 -5
- package/dist/editor/media-selector/Thumbnails.js +11 -72
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +41 -155
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.d.ts +1 -3
- package/dist/editor/media-selector/UploadZone.js +23 -27
- 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 +31 -58
- 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 +223 -264
- 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 -72
- 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 +48 -141
- 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 +1269 -2219
- 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 +27 -75
- package/dist/editor/services/agentService.js +33 -105
- 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 -11
- 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 -16
- package/dist/editor/services/editService.js +3 -8
- 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 +41 -178
- 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 +7 -12
- 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 -5
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +31 -102
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.d.ts +1 -2
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +5 -13
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +59 -64
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +30 -84
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +1 -2
- 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 -208
- 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/lib/viewTransition.js +1 -7
- package/dist/lib/viewTransition.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 -12
- package/dist/setup/services/setupWizardService.js +13 -47
- 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 +87 -38
- 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 -582
- 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/images/bg-shape-black.webp +0 -0
- package/images/parhelia-logo-1.jpg +0 -0
- package/images/phlogo.png +0 -0
- package/images/wizard-bg.png +0 -0
- 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/dialogs/captureShared.d.ts +0 -10
- package/dist/editor/ai/dialogs/captureShared.js +0 -39
- package/dist/editor/ai/dialogs/captureShared.js.map +0 -1
- package/dist/editor/ai/dialogs/offscreenPageCapture.d.ts +0 -44
- package/dist/editor/ai/dialogs/offscreenPageCapture.js +0 -300
- package/dist/editor/ai/dialogs/offscreenPageCapture.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 -111
- 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 -162
- package/dist/editor/ai/terminal/agentSessionState.js +0 -830
- 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/AgentContextItemPicker.d.ts +0 -11
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.js +0 -81
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.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 -18
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +0 -106
- 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/AgentSuggestionBanner.d.ts +0 -16
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js +0 -41
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +0 -26
- 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 -62
- 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 -18
- 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 -42
- 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 -42
- 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 -25
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +0 -1557
- 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.d.ts +0 -83
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +0 -784
- 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 -243
- package/dist/editor/ai/terminal/components/UserMessage.js.map +0 -1
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.d.ts +0 -21
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.js +0 -32
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.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 -136
- 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/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 -12
- package/dist/editor/ai/terminal/useAgentEditorContext.js +0 -166
- 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 -51
- 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 -14
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +0 -26
- 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 -40
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +0 -75
- 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 -80
- 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 -36
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +0 -360
- 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 -50
- package/dist/editor/ai/terminal/useAgentSession.js +0 -181
- package/dist/editor/ai/terminal/useAgentSession.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +0 -13
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +0 -26
- 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 -49
- package/dist/editor/ai/terminal/useAgentSessionFacade.js +0 -127
- 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 -102
- package/dist/editor/ai/terminal/useAgentSessionSync.js +0 -179
- 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 -16
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +0 -57
- 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 -169
- 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 -57
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +0 -402
- 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/useAgentSuggestionSocketHandler.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js +0 -35
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.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 -900
- 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 -18
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +0 -127
- 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 -44
- 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/media-selector/mediaFileType.d.ts +0 -12
- package/dist/editor/media-selector/mediaFileType.js +0 -95
- package/dist/editor/media-selector/mediaFileType.js.map +0 -1
- package/dist/editor/media-selector/mediaSelectionPath.d.ts +0 -5
- package/dist/editor/media-selector/mediaSelectionPath.js +0 -21
- package/dist/editor/media-selector/mediaSelectionPath.js.map +0 -1
- package/dist/editor/media-selector/mediaUpload.d.ts +0 -30
- package/dist/editor/media-selector/mediaUpload.js +0 -155
- package/dist/editor/media-selector/mediaUpload.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/ComponentOperationBubble.d.ts +0 -8
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js +0 -8
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js.map +0 -1
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +0 -36
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +0 -1067
- 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 -67
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +0 -279
- 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/page-viewer/bridgeKeyboardShortcuts.d.ts +0 -3
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js +0 -36
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js.map +0 -1
- package/dist/editor/page-viewer/renderUrl.d.ts +0 -14
- package/dist/editor/page-viewer/renderUrl.js +0 -83
- package/dist/editor/page-viewer/renderUrl.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/setup-wizard/SetupStepError.d.ts +0 -8
- package/dist/editor/setup-wizard/SetupStepError.js +0 -7
- package/dist/editor/setup-wizard/SetupStepError.js.map +0 -1
- package/dist/editor/setup-wizard/SetupStepHeader.d.ts +0 -15
- package/dist/editor/setup-wizard/SetupStepHeader.js +0 -6
- package/dist/editor/setup-wizard/SetupStepHeader.js.map +0 -1
- package/dist/editor/setup-wizard/SetupStepLayout.d.ts +0 -33
- package/dist/editor/setup-wizard/SetupStepLayout.js +0 -16
- package/dist/editor/setup-wizard/SetupStepLayout.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 -62
- 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/images/Parhelia-Onboarding-BG.jpg +0 -0
- /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/{logging/install-browser-console.d.ts → editor/ai/agentDiagnostics.test.d.ts} +0 -0
|
@@ -1,306 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { createContext, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, } from "react";
|
|
3
|
-
import { getOverlayMetrics, } from "./geometry";
|
|
4
|
-
import { SPLITTER_RESIZE_EVENT } from "../../ui/splitterResizeEvent";
|
|
5
|
-
export const IFRAME_OVERLAY_BRIDGE_SCROLL_EVENT = "parhelia:iframe-overlay-bridge-scroll";
|
|
6
|
-
export const IFRAME_OVERLAY_BRIDGE_GEOMETRY_EVENT = "parhelia:iframe-overlay-bridge-geometry";
|
|
7
|
-
// Component drag gesture consumed by DragInsertionOverlay. Two sources dispatch
|
|
8
|
-
// it:
|
|
9
|
-
// - the host (whole-component grab), re-dispatched from PageViewerFrame, with
|
|
10
|
-
// coordinates in host-viewport space (`space: "host"`, the default); and
|
|
11
|
-
// - parent-DOM grips (the frame-menu header), which own the pointer in the
|
|
12
|
-
// parent and report PARENT-client coordinates (`space: "client"`).
|
|
13
|
-
// The overlay maps each space with the matching coordinate mapper.
|
|
14
|
-
export const IFRAME_OVERLAY_BRIDGE_DRAG_GESTURE_EVENT = "parhelia:iframe-overlay-bridge-drag-gesture";
|
|
15
|
-
const ALL_REASONS = [
|
|
16
|
-
"viewport",
|
|
17
|
-
"layout",
|
|
18
|
-
"text",
|
|
19
|
-
"adornment-data",
|
|
20
|
-
];
|
|
21
|
-
const EMPTY_METRICS = {
|
|
22
|
-
scrollLeft: 0,
|
|
23
|
-
scrollTop: 0,
|
|
24
|
-
scrollScale: 1,
|
|
25
|
-
visualScale: 1,
|
|
26
|
-
viewportWidth: 0,
|
|
27
|
-
viewportHeight: 0,
|
|
28
|
-
scrollWidth: 0,
|
|
29
|
-
scrollHeight: 0,
|
|
30
|
-
};
|
|
31
|
-
const IframeOverlayContext = createContext(null);
|
|
32
|
-
export function useIframeOverlay() {
|
|
33
|
-
const context = useContext(IframeOverlayContext);
|
|
34
|
-
if (!context) {
|
|
35
|
-
throw new Error("useIframeOverlay must be used inside IframeOverlayProvider");
|
|
36
|
-
}
|
|
37
|
-
return context;
|
|
38
|
-
}
|
|
39
|
-
export function IframeOverlayProvider({ iframe, scrollScale = 1, visualScale = 1, invalidationKey, deferredInvalidationMs = 0, mode = "scrolling", children, }) {
|
|
40
|
-
const layerRef = useRef(null);
|
|
41
|
-
const subscribersRef = useRef(new Set());
|
|
42
|
-
const scrollSubscribersRef = useRef(new Set());
|
|
43
|
-
const pendingReasonsRef = useRef(new Set());
|
|
44
|
-
const geometryRafRef = useRef(null);
|
|
45
|
-
const scrollRafRef = useRef(null);
|
|
46
|
-
const lastMetricsRef = useRef(EMPTY_METRICS);
|
|
47
|
-
const iframeRef = useRef(iframe);
|
|
48
|
-
const bridgeScrollRef = useRef(null);
|
|
49
|
-
const bridgeGeometryMetricsRef = useRef(null);
|
|
50
|
-
const scrollScaleRef = useRef(scrollScale);
|
|
51
|
-
const visualScaleRef = useRef(visualScale);
|
|
52
|
-
useEffect(() => {
|
|
53
|
-
iframeRef.current = iframe;
|
|
54
|
-
bridgeScrollRef.current = null;
|
|
55
|
-
bridgeGeometryMetricsRef.current = null;
|
|
56
|
-
}, [iframe]);
|
|
57
|
-
useEffect(() => {
|
|
58
|
-
scrollScaleRef.current = scrollScale;
|
|
59
|
-
visualScaleRef.current = visualScale;
|
|
60
|
-
}, [scrollScale, visualScale]);
|
|
61
|
-
const getMetrics = useCallback(() => {
|
|
62
|
-
const metrics = getOverlayMetrics(iframeRef.current, scrollScaleRef.current, visualScaleRef.current);
|
|
63
|
-
return bridgeScrollRef.current
|
|
64
|
-
? {
|
|
65
|
-
...metrics,
|
|
66
|
-
...bridgeGeometryMetricsRef.current,
|
|
67
|
-
...bridgeScrollRef.current,
|
|
68
|
-
}
|
|
69
|
-
: bridgeGeometryMetricsRef.current
|
|
70
|
-
? { ...metrics, ...bridgeGeometryMetricsRef.current }
|
|
71
|
-
: metrics;
|
|
72
|
-
}, []);
|
|
73
|
-
const writeScrollPosition = useCallback((metrics) => {
|
|
74
|
-
const layer = layerRef.current;
|
|
75
|
-
if (!layer)
|
|
76
|
-
return;
|
|
77
|
-
const translatedX = mode === "scrolling"
|
|
78
|
-
? -metrics.scrollLeft * metrics.scrollScale * metrics.visualScale
|
|
79
|
-
: 0;
|
|
80
|
-
const translatedY = mode === "scrolling"
|
|
81
|
-
? -metrics.scrollTop * metrics.scrollScale * metrics.visualScale
|
|
82
|
-
: 0;
|
|
83
|
-
layer.style.transform = `translate3d(${translatedX}px, ${translatedY}px, 0)`;
|
|
84
|
-
}, [mode]);
|
|
85
|
-
const applyScrollMetrics = useCallback((scrollMetrics) => {
|
|
86
|
-
const metrics = {
|
|
87
|
-
...lastMetricsRef.current,
|
|
88
|
-
...scrollMetrics,
|
|
89
|
-
};
|
|
90
|
-
lastMetricsRef.current = metrics;
|
|
91
|
-
writeScrollPosition(metrics);
|
|
92
|
-
return metrics;
|
|
93
|
-
}, [writeScrollPosition]);
|
|
94
|
-
const writeLayerMetrics = useCallback((metrics) => {
|
|
95
|
-
const layer = layerRef.current;
|
|
96
|
-
if (!layer)
|
|
97
|
-
return;
|
|
98
|
-
lastMetricsRef.current = metrics;
|
|
99
|
-
writeScrollPosition(metrics);
|
|
100
|
-
const documentScale = metrics.scrollScale * metrics.visualScale;
|
|
101
|
-
layer.style.width = `${Math.max(metrics.scrollWidth * documentScale, metrics.viewportWidth)}px`;
|
|
102
|
-
layer.style.height = `${Math.max(metrics.scrollHeight * documentScale, metrics.viewportHeight)}px`;
|
|
103
|
-
}, [writeScrollPosition]);
|
|
104
|
-
const notifyScrollSubscribers = useCallback((metrics) => {
|
|
105
|
-
scrollSubscribersRef.current.forEach((callback) => callback(metrics));
|
|
106
|
-
}, []);
|
|
107
|
-
useEffect(() => {
|
|
108
|
-
if (!iframe)
|
|
109
|
-
return;
|
|
110
|
-
const handleBridgeScroll = (event) => {
|
|
111
|
-
const detail = event
|
|
112
|
-
.detail;
|
|
113
|
-
if (!detail ||
|
|
114
|
-
!Number.isFinite(detail.scrollLeft) ||
|
|
115
|
-
!Number.isFinite(detail.scrollTop)) {
|
|
116
|
-
return;
|
|
117
|
-
}
|
|
118
|
-
const bridgeScroll = {
|
|
119
|
-
scrollLeft: detail.scrollLeft,
|
|
120
|
-
scrollTop: detail.scrollTop,
|
|
121
|
-
};
|
|
122
|
-
bridgeScrollRef.current = bridgeScroll;
|
|
123
|
-
applyScrollMetrics({
|
|
124
|
-
...bridgeScroll,
|
|
125
|
-
scrollScale: scrollScaleRef.current,
|
|
126
|
-
visualScale: visualScaleRef.current,
|
|
127
|
-
});
|
|
128
|
-
if (scrollRafRef.current != null)
|
|
129
|
-
return;
|
|
130
|
-
scrollRafRef.current = window.requestAnimationFrame(() => {
|
|
131
|
-
scrollRafRef.current = null;
|
|
132
|
-
notifyScrollSubscribers(lastMetricsRef.current);
|
|
133
|
-
});
|
|
134
|
-
};
|
|
135
|
-
iframe.addEventListener(IFRAME_OVERLAY_BRIDGE_SCROLL_EVENT, handleBridgeScroll);
|
|
136
|
-
return () => {
|
|
137
|
-
iframe.removeEventListener(IFRAME_OVERLAY_BRIDGE_SCROLL_EVENT, handleBridgeScroll);
|
|
138
|
-
};
|
|
139
|
-
}, [iframe, applyScrollMetrics, notifyScrollSubscribers]);
|
|
140
|
-
const flushMeasurements = useCallback(() => {
|
|
141
|
-
geometryRafRef.current = null;
|
|
142
|
-
const reasons = pendingReasonsRef.current.size > 0
|
|
143
|
-
? new Set(pendingReasonsRef.current)
|
|
144
|
-
: new Set(ALL_REASONS);
|
|
145
|
-
pendingReasonsRef.current.clear();
|
|
146
|
-
const metrics = getMetrics();
|
|
147
|
-
writeLayerMetrics(metrics);
|
|
148
|
-
subscribersRef.current.forEach((subscriber) => {
|
|
149
|
-
const shouldRun = subscriber.interests.size === 0 ||
|
|
150
|
-
Array.from(reasons).some((reason) => subscriber.interests.has(reason));
|
|
151
|
-
if (shouldRun)
|
|
152
|
-
subscriber.callback(metrics, reasons);
|
|
153
|
-
});
|
|
154
|
-
}, [getMetrics, writeLayerMetrics]);
|
|
155
|
-
const invalidateGeometry = useCallback((reason) => {
|
|
156
|
-
const reasons = Array.isArray(reason) ? reason : [reason];
|
|
157
|
-
reasons.forEach((item) => pendingReasonsRef.current.add(item));
|
|
158
|
-
if (geometryRafRef.current != null)
|
|
159
|
-
return;
|
|
160
|
-
geometryRafRef.current = window.requestAnimationFrame(() => {
|
|
161
|
-
flushMeasurements();
|
|
162
|
-
});
|
|
163
|
-
}, [flushMeasurements]);
|
|
164
|
-
useEffect(() => {
|
|
165
|
-
if (!iframe)
|
|
166
|
-
return;
|
|
167
|
-
const handleBridgeGeometry = (event) => {
|
|
168
|
-
const detail = event
|
|
169
|
-
.detail;
|
|
170
|
-
if (detail && typeof detail === "object") {
|
|
171
|
-
bridgeGeometryMetricsRef.current = {
|
|
172
|
-
...(Number.isFinite(detail.scrollLeft)
|
|
173
|
-
? { scrollLeft: detail.scrollLeft }
|
|
174
|
-
: {}),
|
|
175
|
-
...(Number.isFinite(detail.scrollTop)
|
|
176
|
-
? { scrollTop: detail.scrollTop }
|
|
177
|
-
: {}),
|
|
178
|
-
...(Number.isFinite(detail.viewportWidth)
|
|
179
|
-
? { viewportWidth: detail.viewportWidth }
|
|
180
|
-
: {}),
|
|
181
|
-
...(Number.isFinite(detail.viewportHeight)
|
|
182
|
-
? { viewportHeight: detail.viewportHeight }
|
|
183
|
-
: {}),
|
|
184
|
-
...(Number.isFinite(detail.scrollWidth)
|
|
185
|
-
? { scrollWidth: detail.scrollWidth }
|
|
186
|
-
: {}),
|
|
187
|
-
...(Number.isFinite(detail.scrollHeight)
|
|
188
|
-
? { scrollHeight: detail.scrollHeight }
|
|
189
|
-
: {}),
|
|
190
|
-
};
|
|
191
|
-
if (Number.isFinite(detail.scrollLeft) &&
|
|
192
|
-
Number.isFinite(detail.scrollTop)) {
|
|
193
|
-
bridgeScrollRef.current = {
|
|
194
|
-
scrollLeft: detail.scrollLeft,
|
|
195
|
-
scrollTop: detail.scrollTop,
|
|
196
|
-
};
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
invalidateGeometry(["viewport", "layout", "adornment-data"]);
|
|
200
|
-
};
|
|
201
|
-
iframe.addEventListener(IFRAME_OVERLAY_BRIDGE_GEOMETRY_EVENT, handleBridgeGeometry);
|
|
202
|
-
return () => {
|
|
203
|
-
iframe.removeEventListener(IFRAME_OVERLAY_BRIDGE_GEOMETRY_EVENT, handleBridgeGeometry);
|
|
204
|
-
};
|
|
205
|
-
}, [iframe, invalidateGeometry]);
|
|
206
|
-
const subscribeMeasurement = useCallback((callback, interests = ALL_REASONS) => {
|
|
207
|
-
const subscriber = {
|
|
208
|
-
callback,
|
|
209
|
-
interests: new Set(interests),
|
|
210
|
-
};
|
|
211
|
-
subscribersRef.current.add(subscriber);
|
|
212
|
-
callback(getMetrics(), new Set(ALL_REASONS));
|
|
213
|
-
return () => {
|
|
214
|
-
subscribersRef.current.delete(subscriber);
|
|
215
|
-
};
|
|
216
|
-
}, [getMetrics]);
|
|
217
|
-
const subscribeScroll = useCallback((callback) => {
|
|
218
|
-
scrollSubscribersRef.current.add(callback);
|
|
219
|
-
return () => {
|
|
220
|
-
scrollSubscribersRef.current.delete(callback);
|
|
221
|
-
};
|
|
222
|
-
}, []);
|
|
223
|
-
useLayoutEffect(() => {
|
|
224
|
-
const metrics = getMetrics();
|
|
225
|
-
writeLayerMetrics(metrics);
|
|
226
|
-
}, [getMetrics, mode, scrollScale, visualScale, writeLayerMetrics]);
|
|
227
|
-
useEffect(() => {
|
|
228
|
-
invalidateGeometry(["viewport", "layout", "adornment-data"]);
|
|
229
|
-
}, [iframe, invalidateGeometry, mode, scrollScale, visualScale]);
|
|
230
|
-
useEffect(() => {
|
|
231
|
-
invalidateGeometry(["viewport", "layout", "adornment-data"]);
|
|
232
|
-
if (deferredInvalidationMs <= 0)
|
|
233
|
-
return;
|
|
234
|
-
const timer = window.setTimeout(() => {
|
|
235
|
-
invalidateGeometry(["viewport", "layout", "adornment-data"]);
|
|
236
|
-
}, deferredInvalidationMs);
|
|
237
|
-
return () => {
|
|
238
|
-
window.clearTimeout(timer);
|
|
239
|
-
};
|
|
240
|
-
}, [deferredInvalidationMs, invalidationKey, invalidateGeometry]);
|
|
241
|
-
useEffect(() => {
|
|
242
|
-
const handleHostViewportChange = (event) => {
|
|
243
|
-
if (event.type === SPLITTER_RESIZE_EVENT) {
|
|
244
|
-
pendingReasonsRef.current.add("viewport");
|
|
245
|
-
pendingReasonsRef.current.add("layout");
|
|
246
|
-
if (geometryRafRef.current != null) {
|
|
247
|
-
window.cancelAnimationFrame(geometryRafRef.current);
|
|
248
|
-
geometryRafRef.current = null;
|
|
249
|
-
}
|
|
250
|
-
flushMeasurements();
|
|
251
|
-
return;
|
|
252
|
-
}
|
|
253
|
-
invalidateGeometry(["viewport", "layout"]);
|
|
254
|
-
};
|
|
255
|
-
window.addEventListener("resize", handleHostViewportChange);
|
|
256
|
-
window.addEventListener(SPLITTER_RESIZE_EVENT, handleHostViewportChange);
|
|
257
|
-
return () => {
|
|
258
|
-
window.removeEventListener("resize", handleHostViewportChange);
|
|
259
|
-
window.removeEventListener(SPLITTER_RESIZE_EVENT, handleHostViewportChange);
|
|
260
|
-
};
|
|
261
|
-
}, [flushMeasurements, invalidateGeometry]);
|
|
262
|
-
useEffect(() => {
|
|
263
|
-
if (!iframe)
|
|
264
|
-
return;
|
|
265
|
-
let resizeObserver = null;
|
|
266
|
-
try {
|
|
267
|
-
resizeObserver = new ResizeObserver(() => {
|
|
268
|
-
invalidateGeometry("viewport");
|
|
269
|
-
});
|
|
270
|
-
resizeObserver.observe(iframe);
|
|
271
|
-
}
|
|
272
|
-
catch {
|
|
273
|
-
resizeObserver = null;
|
|
274
|
-
}
|
|
275
|
-
return () => {
|
|
276
|
-
resizeObserver?.disconnect();
|
|
277
|
-
};
|
|
278
|
-
}, [iframe, invalidateGeometry]);
|
|
279
|
-
useEffect(() => {
|
|
280
|
-
return () => {
|
|
281
|
-
if (geometryRafRef.current != null) {
|
|
282
|
-
window.cancelAnimationFrame(geometryRafRef.current);
|
|
283
|
-
geometryRafRef.current = null;
|
|
284
|
-
}
|
|
285
|
-
if (scrollRafRef.current != null) {
|
|
286
|
-
window.cancelAnimationFrame(scrollRafRef.current);
|
|
287
|
-
scrollRafRef.current = null;
|
|
288
|
-
}
|
|
289
|
-
};
|
|
290
|
-
}, []);
|
|
291
|
-
const contextValue = useMemo(() => ({
|
|
292
|
-
iframe,
|
|
293
|
-
getMetrics,
|
|
294
|
-
invalidateGeometry,
|
|
295
|
-
subscribeMeasurement,
|
|
296
|
-
subscribeScroll,
|
|
297
|
-
}), [
|
|
298
|
-
iframe,
|
|
299
|
-
getMetrics,
|
|
300
|
-
invalidateGeometry,
|
|
301
|
-
subscribeMeasurement,
|
|
302
|
-
subscribeScroll,
|
|
303
|
-
]);
|
|
304
|
-
return (_jsx(IframeOverlayContext.Provider, { value: contextValue, children: _jsx("div", { className: "pointer-events-none absolute inset-0 overflow-hidden", "data-testid": "iframe-overlay-root", children: _jsx("div", { ref: layerRef, className: "pointer-events-none absolute top-0 left-0 will-change-transform", "data-testid": "iframe-overlay-layer", children: children }) }) }));
|
|
305
|
-
}
|
|
306
|
-
//# sourceMappingURL=IframeOverlayProvider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"IframeOverlayProvider.js","sourceRoot":"","sources":["../../../../src/editor/page-editor-chrome/overlay/IframeOverlayProvider.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,eAAe,EACf,OAAO,EACP,MAAM,GACP,MAAM,OAAO,CAAC;AACf,OAAO,EACL,iBAAiB,GAElB,MAAM,YAAY,CAAC;AACpB,OAAO,EAAE,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAWrE,MAAM,CAAC,MAAM,kCAAkC,GAC7C,uCAAuC,CAAC;AAE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V,kBAAkB;QAClB,oBAAoB;QACpB,eAAe;KAChB,CAAC,EACF;QACE,MAAM;QACN,UAAU;QACV,kBAAkB;QAClB,oBAAoB;QACpB,eAAe;KAChB,CACF,CAAC;IAEF,OAAO,CACL,KAAC,oBAAoB,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YAChD,cACE,SAAS,EAAC,sDAAsD,iBACpD,qBAAqB,YAEjC,cACE,GAAG,EAAE,QAAQ,EACb,SAAS,EAAC,iEAAiE,iBAC/D,sBAAsB,YAEjC,QAAQ,GACL,GACF,GACwB,CACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { type ComponentFrameInsertColor } from "../../componentFrameColors";
|
|
2
|
-
import type { OverlayRect } from "./geometry";
|
|
3
|
-
import type { PlaceholderZone } from "./placeholderZones";
|
|
4
|
-
export type InsertionVisualMode = "directional" | "between" | "neutral" | "none";
|
|
5
|
-
export type InsertionVisualAnchor = PlaceholderZone["anchor"];
|
|
6
|
-
export type InsertionVisualPhase = "enter" | "exit";
|
|
7
|
-
export declare const INSERTION_ZONE_THICKNESS = 40;
|
|
8
|
-
/**
|
|
9
|
-
* The single "where will it land" indicator shown during a drag: a thin colored
|
|
10
|
-
* bar at the exact insertion gap, tagged with the target placeholder + position.
|
|
11
|
-
* One calm signal - it replaced the heavy 40px "drop zone" band so the drag
|
|
12
|
-
* canvas isn't a stack of competing highlights. Purely presentational; positions
|
|
13
|
-
* are overlay/document coordinates.
|
|
14
|
-
*/
|
|
15
|
-
export declare function InsertionLine({ zone, placeholderRect, visualMode, visualAnchor, visualTargetRect, color, animate, phase, label, }: {
|
|
16
|
-
zone: PlaceholderZone;
|
|
17
|
-
placeholderRect: OverlayRect;
|
|
18
|
-
visualMode?: InsertionVisualMode;
|
|
19
|
-
visualAnchor?: InsertionVisualAnchor;
|
|
20
|
-
visualTargetRect?: OverlayRect | null;
|
|
21
|
-
color: ComponentFrameInsertColor;
|
|
22
|
-
animate: boolean;
|
|
23
|
-
phase?: InsertionVisualPhase;
|
|
24
|
-
label?: string;
|
|
25
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
-
export declare function getDirectionalInsertionZoneRect({ zone, targetRect, anchor, }: {
|
|
27
|
-
zone: PlaceholderZone;
|
|
28
|
-
targetRect: OverlayRect;
|
|
29
|
-
anchor: InsertionVisualAnchor;
|
|
30
|
-
}): OverlayRect;
|
|
31
|
-
export declare function getDirectionalInsertionHitZoneRect({ zone, targetRect, anchor, }: {
|
|
32
|
-
zone: PlaceholderZone;
|
|
33
|
-
targetRect: OverlayRect;
|
|
34
|
-
anchor: InsertionVisualAnchor;
|
|
35
|
-
}): OverlayRect;
|
|
36
|
-
export declare function getBetweenInsertionZoneRect({ zone, previousRect, nextRect, }: {
|
|
37
|
-
zone: PlaceholderZone;
|
|
38
|
-
previousRect: OverlayRect;
|
|
39
|
-
nextRect: OverlayRect;
|
|
40
|
-
}): OverlayRect;
|
|
41
|
-
export declare function getEmptyPlaceholderNeutralZoneRect({ zone, targetRect, }: {
|
|
42
|
-
zone: PlaceholderZone;
|
|
43
|
-
targetRect: OverlayRect;
|
|
44
|
-
}): OverlayRect;
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { cn } from "../../../lib/utils";
|
|
3
|
-
import { componentFrameBgColorVariants, } from "../../componentFrameColors";
|
|
4
|
-
// The catch geometry stays 40px (used for hit-testing in DragInsertionOverlay);
|
|
5
|
-
// only the rendered indicator is the slim bar below.
|
|
6
|
-
export const INSERTION_ZONE_THICKNESS = 40;
|
|
7
|
-
const VERTICAL_OUTSIDE_ZONE_OFFSET = 4;
|
|
8
|
-
const INSERTION_BAR_THICKNESS = 3;
|
|
9
|
-
const insertAccentVar = {
|
|
10
|
-
default: "var(--color-component-default)",
|
|
11
|
-
shared: "var(--color-component-shared)",
|
|
12
|
-
layout: "var(--color-highlight-100)",
|
|
13
|
-
};
|
|
14
|
-
/**
|
|
15
|
-
* The single "where will it land" indicator shown during a drag: a thin colored
|
|
16
|
-
* bar at the exact insertion gap, tagged with the target placeholder + position.
|
|
17
|
-
* One calm signal - it replaced the heavy 40px "drop zone" band so the drag
|
|
18
|
-
* canvas isn't a stack of competing highlights. Purely presentational; positions
|
|
19
|
-
* are overlay/document coordinates.
|
|
20
|
-
*/
|
|
21
|
-
export function InsertionLine({ zone, placeholderRect, visualMode = "directional", visualAnchor, visualTargetRect, color, animate, phase = "enter", label, }) {
|
|
22
|
-
if (visualMode === "none")
|
|
23
|
-
return null;
|
|
24
|
-
const isEmptyPlaceholder = zone.placeholder.components.length === 0;
|
|
25
|
-
if (visualMode === "neutral" && !isEmptyPlaceholder)
|
|
26
|
-
return null;
|
|
27
|
-
const targetRect = visualTargetRect ?? zone.targetRect ?? placeholderRect;
|
|
28
|
-
const anchor = visualAnchor ?? zone.anchor;
|
|
29
|
-
const zoneRect = visualMode === "between"
|
|
30
|
-
? targetRect
|
|
31
|
-
: visualMode === "neutral"
|
|
32
|
-
? getEmptyPlaceholderNeutralZoneRect({ zone, targetRect })
|
|
33
|
-
: getDirectionalInsertionZoneRect({ zone, targetRect, anchor });
|
|
34
|
-
// A vertical placeholder (stacked components) gets a horizontal insertion bar.
|
|
35
|
-
const horizontalBar = zone.orientation === "vertical";
|
|
36
|
-
// Pin the bar to the resolved gap; centre it for an empty placeholder.
|
|
37
|
-
const mainPos = isEmptyPlaceholder
|
|
38
|
-
? horizontalBar
|
|
39
|
-
? zoneRect.y + zoneRect.height / 2
|
|
40
|
-
: zoneRect.x + zoneRect.width / 2
|
|
41
|
-
: horizontalBar
|
|
42
|
-
? zone.position.y
|
|
43
|
-
: zone.position.x;
|
|
44
|
-
const barStyle = horizontalBar
|
|
45
|
-
? {
|
|
46
|
-
left: zoneRect.x,
|
|
47
|
-
top: mainPos - INSERTION_BAR_THICKNESS / 2,
|
|
48
|
-
width: zoneRect.width,
|
|
49
|
-
height: INSERTION_BAR_THICKNESS,
|
|
50
|
-
}
|
|
51
|
-
: {
|
|
52
|
-
left: mainPos - INSERTION_BAR_THICKNESS / 2,
|
|
53
|
-
top: zoneRect.y,
|
|
54
|
-
width: INSERTION_BAR_THICKNESS,
|
|
55
|
-
height: zoneRect.height,
|
|
56
|
-
};
|
|
57
|
-
const labelStyle = horizontalBar
|
|
58
|
-
? { left: zoneRect.x, top: mainPos - 22 }
|
|
59
|
-
: { left: mainPos + 8, top: zoneRect.y };
|
|
60
|
-
const accent = insertAccentVar[color];
|
|
61
|
-
return (_jsxs("div", { "data-testid": "drag-insertion-line", "data-motion-phase": phase, className: cn("pointer-events-none absolute inset-0", animate &&
|
|
62
|
-
(phase === "exit"
|
|
63
|
-
? "parhelia-drop-zone-overlay-exit"
|
|
64
|
-
: "parhelia-drop-zone-overlay-enter")), style: { zIndex: 860 }, children: [_jsx("div", { "data-testid": "drag-insertion-zone", "data-visual-mode": visualMode,
|
|
65
|
-
// No position transition: the bar snaps to each gap so it stays locked
|
|
66
|
-
// to the active "+" dot. The constant React key already prevents the
|
|
67
|
-
// remount/re-fade that caused the per-gap flashing, and gliding made the
|
|
68
|
-
// bar lag behind the cursor's gap.
|
|
69
|
-
className: "absolute rounded-full", style: { ...barStyle, backgroundColor: accent } }), label && (_jsx("div", { "data-testid": "drag-insertion-label", className: cn("absolute flex max-w-[min(18rem,calc(100vw-3rem))] items-center rounded-[4px] px-2 py-0.5 text-[11px] leading-none font-medium whitespace-nowrap text-white shadow-sm", componentFrameBgColorVariants[color]), style: labelStyle, children: _jsx("span", { className: "truncate", children: label }) }))] }));
|
|
70
|
-
}
|
|
71
|
-
export function getDirectionalInsertionZoneRect({ zone, targetRect, anchor, }) {
|
|
72
|
-
const isVerticalPlaceholder = zone.orientation === "vertical";
|
|
73
|
-
const isEmptyPlaceholder = zone.placeholder.components.length === 0;
|
|
74
|
-
const zoneThickness = INSERTION_ZONE_THICKNESS;
|
|
75
|
-
return isVerticalPlaceholder
|
|
76
|
-
? {
|
|
77
|
-
x: targetRect.x,
|
|
78
|
-
y: isEmptyPlaceholder
|
|
79
|
-
? zone.position.y - zoneThickness / 2
|
|
80
|
-
: anchor === "top"
|
|
81
|
-
? targetRect.y - zoneThickness - VERTICAL_OUTSIDE_ZONE_OFFSET
|
|
82
|
-
: targetRect.y + targetRect.height + VERTICAL_OUTSIDE_ZONE_OFFSET,
|
|
83
|
-
width: targetRect.width,
|
|
84
|
-
height: zoneThickness,
|
|
85
|
-
}
|
|
86
|
-
: {
|
|
87
|
-
x: isEmptyPlaceholder
|
|
88
|
-
? zone.position.x - zoneThickness / 2
|
|
89
|
-
: anchor === "left"
|
|
90
|
-
? targetRect.x - zoneThickness
|
|
91
|
-
: targetRect.x + targetRect.width,
|
|
92
|
-
y: targetRect.y,
|
|
93
|
-
width: zoneThickness,
|
|
94
|
-
height: targetRect.height,
|
|
95
|
-
};
|
|
96
|
-
}
|
|
97
|
-
export function getDirectionalInsertionHitZoneRect({ zone, targetRect, anchor, }) {
|
|
98
|
-
const visualRect = getDirectionalInsertionZoneRect({
|
|
99
|
-
zone,
|
|
100
|
-
targetRect,
|
|
101
|
-
anchor,
|
|
102
|
-
});
|
|
103
|
-
const isVerticalPlaceholder = zone.orientation === "vertical";
|
|
104
|
-
const isEmptyPlaceholder = zone.placeholder.components.length === 0;
|
|
105
|
-
if (!isVerticalPlaceholder || isEmptyPlaceholder)
|
|
106
|
-
return visualRect;
|
|
107
|
-
switch (anchor) {
|
|
108
|
-
case "top":
|
|
109
|
-
return {
|
|
110
|
-
...visualRect,
|
|
111
|
-
height: visualRect.height + VERTICAL_OUTSIDE_ZONE_OFFSET,
|
|
112
|
-
};
|
|
113
|
-
case "bottom":
|
|
114
|
-
return {
|
|
115
|
-
...visualRect,
|
|
116
|
-
y: targetRect.y + targetRect.height,
|
|
117
|
-
height: visualRect.height + VERTICAL_OUTSIDE_ZONE_OFFSET,
|
|
118
|
-
};
|
|
119
|
-
case "left":
|
|
120
|
-
case "right":
|
|
121
|
-
return visualRect;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
export function getBetweenInsertionZoneRect({ zone, previousRect, nextRect, }) {
|
|
125
|
-
if (zone.orientation === "horizontal") {
|
|
126
|
-
const y = Math.min(previousRect.y, nextRect.y);
|
|
127
|
-
const bottom = Math.max(previousRect.y + previousRect.height, nextRect.y + nextRect.height);
|
|
128
|
-
return {
|
|
129
|
-
x: zone.position.x - INSERTION_ZONE_THICKNESS / 2,
|
|
130
|
-
width: INSERTION_ZONE_THICKNESS,
|
|
131
|
-
y,
|
|
132
|
-
height: bottom - y,
|
|
133
|
-
};
|
|
134
|
-
}
|
|
135
|
-
const x = Math.min(previousRect.x, nextRect.x);
|
|
136
|
-
const right = Math.max(previousRect.x + previousRect.width, nextRect.x + nextRect.width);
|
|
137
|
-
return {
|
|
138
|
-
x,
|
|
139
|
-
y: zone.position.y - INSERTION_ZONE_THICKNESS / 2,
|
|
140
|
-
height: INSERTION_ZONE_THICKNESS,
|
|
141
|
-
width: right - x,
|
|
142
|
-
};
|
|
143
|
-
}
|
|
144
|
-
export function getEmptyPlaceholderNeutralZoneRect({ zone, targetRect, }) {
|
|
145
|
-
if (zone.orientation === "horizontal") {
|
|
146
|
-
return {
|
|
147
|
-
x: zone.position.x - INSERTION_ZONE_THICKNESS / 2,
|
|
148
|
-
y: targetRect.y,
|
|
149
|
-
width: INSERTION_ZONE_THICKNESS,
|
|
150
|
-
height: targetRect.height,
|
|
151
|
-
};
|
|
152
|
-
}
|
|
153
|
-
return {
|
|
154
|
-
x: targetRect.x,
|
|
155
|
-
y: zone.position.y - INSERTION_ZONE_THICKNESS / 2,
|
|
156
|
-
width: targetRect.width,
|
|
157
|
-
height: INSERTION_ZONE_THICKNESS,
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
//# sourceMappingURL=InsertionLine.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InsertionLine.js","sourceRoot":"","sources":["../../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J,CAAC;IAED,OAAO;QACL,CAAC,EAAE,UAAU,CAAC,CAAC;QACf,CAAC,EAAE,IAAI,CAAC,QAAQ,CAAC,CAAC,GAAG,wBAAwB,GAAG,CAAC;QACjD,KAAK,EAAE,UAAU,CAAC,KAAK;QACvB,MAAM,EAAE,wBAAwB;KACjC,CAAC;AACJ,CAAC"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { Component, FieldDescriptor } from "../../pageModel";
|
|
2
|
-
import type { BridgeGeometrySnapshot, SerializablePageStructure } from "../../bridge/protocol";
|
|
3
|
-
export type OverlayRect = {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
width: number;
|
|
7
|
-
height: number;
|
|
8
|
-
};
|
|
9
|
-
export type OverlayMetrics = {
|
|
10
|
-
scrollLeft: number;
|
|
11
|
-
scrollTop: number;
|
|
12
|
-
scrollScale: number;
|
|
13
|
-
visualScale: number;
|
|
14
|
-
viewportWidth: number;
|
|
15
|
-
viewportHeight: number;
|
|
16
|
-
scrollWidth: number;
|
|
17
|
-
scrollHeight: number;
|
|
18
|
-
};
|
|
19
|
-
type DOMRectLike = Pick<DOMRect, "left" | "top" | "width" | "height">;
|
|
20
|
-
export declare function getOverlayScrollMetrics(_iframe: HTMLIFrameElement | null | undefined, scrollScale: number, visualScale: number): Pick<OverlayMetrics, "scrollLeft" | "scrollTop" | "scrollScale" | "visualScale">;
|
|
21
|
-
export declare function getOverlayMetrics(iframe: HTMLIFrameElement | null | undefined, scrollScale: number, visualScale: number): OverlayMetrics;
|
|
22
|
-
export declare function toOverlayRect(viewportRect: DOMRectLike, metrics: OverlayMetrics): OverlayRect;
|
|
23
|
-
export declare function rectEquals(a: OverlayRect | null | undefined, b: OverlayRect | null | undefined, tolerance?: number): boolean;
|
|
24
|
-
export declare function rectListEquals(a: readonly OverlayRect[] | null | undefined, b: readonly OverlayRect[] | null | undefined, tolerance?: number): boolean;
|
|
25
|
-
export declare function getTextNodeAtOffset(root: Node, offset: number, affinity?: "forward" | "backward"): {
|
|
26
|
-
node: Text;
|
|
27
|
-
offset: number;
|
|
28
|
-
} | null;
|
|
29
|
-
export declare function createRangeFromTextOffsets(iframeDocument: Document, root: Node, start: number, end: number): Range | null;
|
|
30
|
-
export declare function measureTextRangeRects(iframeDocument: Document, root: Node, start: number, end: number, metrics: OverlayMetrics): OverlayRect[];
|
|
31
|
-
export declare function measureCollapsedTextOffsetRect(iframeDocument: Document, root: Node, offset: number, metrics: OverlayMetrics): OverlayRect | null;
|
|
32
|
-
export declare function measureElementRect(element: Element | null | undefined, metrics: OverlayMetrics): OverlayRect | null;
|
|
33
|
-
/**
|
|
34
|
-
* Find the bridge geometry target for a component (carries its `elementKey` and
|
|
35
|
-
* raw host-viewport rect). Used by the sibling-shift preview to address elements
|
|
36
|
-
* inside the iframe and size the gap.
|
|
37
|
-
*/
|
|
38
|
-
export declare function findBridgeComponentTarget(geometry: BridgeGeometrySnapshot | undefined, component: Component): import("../../..").BridgeGeometryTarget | null;
|
|
39
|
-
export declare function measureBridgeComponentRect(geometry: BridgeGeometrySnapshot | undefined, component: Component, metrics: OverlayMetrics): {
|
|
40
|
-
rect: OverlayRect;
|
|
41
|
-
elements: never[];
|
|
42
|
-
} | null;
|
|
43
|
-
export declare function measureBridgePlaceholderRect(geometry: BridgeGeometrySnapshot | undefined, placeholderKey: string, metrics: OverlayMetrics): {
|
|
44
|
-
rect: OverlayRect;
|
|
45
|
-
target: import("../../..").BridgeGeometryTarget;
|
|
46
|
-
} | null;
|
|
47
|
-
export declare function measureBridgeFieldRect(geometry: BridgeGeometrySnapshot | undefined, structure: SerializablePageStructure | undefined, fieldDescriptor: FieldDescriptor, metrics: OverlayMetrics): OverlayRect | null;
|
|
48
|
-
export declare function measureBridgeTextRangeRects(geometry: BridgeGeometrySnapshot | undefined, key: string, metrics: OverlayMetrics): OverlayRect[];
|
|
49
|
-
export declare function bridgeRectToOverlayRect(geometry: BridgeGeometrySnapshot, rect: BridgeGeometrySnapshot["targets"][number]["rect"], metrics: OverlayMetrics): OverlayRect;
|
|
50
|
-
/**
|
|
51
|
-
* Map a point expressed in the host iframe's viewport coordinate space - the
|
|
52
|
-
* same space `getBoundingClientRect` uses inside the host, i.e. the space of
|
|
53
|
-
* the measured target rects - into overlay/document space.
|
|
54
|
-
*
|
|
55
|
-
* Used for pointer coordinates forwarded by the bridge host during a canvas
|
|
56
|
-
* drag gesture. It reuses {@link bridgeRectToOverlayRect} (which already folds
|
|
57
|
-
* in scroll plus the rect/scroll/visual scales) by treating the point as a
|
|
58
|
-
* zero-size rect, so scroll is never added twice.
|
|
59
|
-
*/
|
|
60
|
-
export declare function hostViewportToOverlay(point: {
|
|
61
|
-
x: number;
|
|
62
|
-
y: number;
|
|
63
|
-
}, geometry: BridgeGeometrySnapshot, metrics: OverlayMetrics): {
|
|
64
|
-
x: number;
|
|
65
|
-
y: number;
|
|
66
|
-
};
|
|
67
|
-
/**
|
|
68
|
-
* Map a parent-document client point (e.g. a pointer/drag event over the
|
|
69
|
-
* iframe) into overlay/document space so it can be compared with computed zone
|
|
70
|
-
* positions.
|
|
71
|
-
*
|
|
72
|
-
* The overlay layer is only translated (by the scaled scroll); its children are
|
|
73
|
-
* positioned at coordinates that already include the visual scale. So mapping a
|
|
74
|
-
* client point is just its offset from the layer's on-screen origin - there is
|
|
75
|
-
* no scale to divide out and no scroll term to add (both are already baked into
|
|
76
|
-
* the layer's rect and the zone positions). Pass the overlay *layer* element's
|
|
77
|
-
* bounding rect.
|
|
78
|
-
*/
|
|
79
|
-
export declare function clientToOverlay(clientX: number, clientY: number, overlayLayerRect: Pick<DOMRect, "left" | "top">): {
|
|
80
|
-
x: number;
|
|
81
|
-
y: number;
|
|
82
|
-
};
|
|
83
|
-
export {};
|