@parhelia/core 0.1.12902 → 0.1.12904
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents-view/AgentCard.d.ts +4 -8
- package/dist/agents-view/AgentCard.js +175 -80
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentsInbox.d.ts +26 -0
- package/dist/agents-view/AgentsInbox.js +31 -0
- package/dist/agents-view/AgentsInbox.js.map +1 -0
- package/dist/agents-view/AgentsSidebar.d.ts +11 -4
- package/dist/agents-view/AgentsSidebar.js +14 -10
- package/dist/agents-view/AgentsSidebar.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.d.ts +3 -2
- package/dist/agents-view/AgentsTitlebar.js +7 -6
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +7 -27
- package/dist/agents-view/AgentsView.js +294 -126
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +102 -111
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/CreateAgentView.d.ts +1 -1
- package/dist/agents-view/CreateAgentView.js +2 -2
- package/dist/agents-view/CreateAgentView.js.map +1 -1
- package/dist/agents-view/ProfileAgentsGroup.d.ts +4 -4
- package/dist/agents-view/ProfileAgentsGroup.js +10 -22
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/components/Error.d.ts +9 -0
- package/dist/components/Error.js +24 -0
- package/dist/components/Error.js.map +1 -0
- package/dist/components/FilterInput.d.ts +22 -0
- package/dist/components/FilterInput.js +29 -0
- package/dist/components/FilterInput.js.map +1 -0
- package/dist/components/MarkdownDisplay.js +16 -29
- package/dist/components/MarkdownDisplay.js.map +1 -1
- package/dist/components/PageHeader.d.ts +1 -5
- package/dist/components/PageHeader.js +3 -3
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/index.d.ts +2 -4
- package/dist/components/index.js +1 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/ui/LanguageSelector.d.ts +1 -6
- package/dist/components/ui/LanguageSelector.js +6 -10
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.d.ts +8 -0
- package/dist/components/ui/PlaceholderInput.js +43 -2
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputTypes.d.ts +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js +1 -1
- package/dist/components/ui/PlaceholderInputTypes.js.map +1 -1
- package/dist/components/ui/PlaceholderItemSelector.js +3 -3
- package/dist/components/ui/PlaceholderItemSelector.js.map +1 -1
- package/dist/components/ui/alert-dialog.d.ts +1 -1
- package/dist/components/ui/alert-dialog.js +8 -8
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.d.ts +2 -3
- package/dist/components/ui/alert.js +4 -9
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/badge.d.ts +3 -8
- package/dist/components/ui/badge.js +8 -18
- package/dist/components/ui/badge.js.map +1 -1
- package/dist/components/ui/breadcrumb.d.ts +1 -1
- package/dist/components/ui/breadcrumb.js +5 -5
- package/dist/components/ui/breadcrumb.js.map +1 -1
- package/dist/components/ui/button.d.ts +4 -9
- package/dist/components/ui/button.js +14 -20
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.d.ts +1 -4
- package/dist/components/ui/card.js +4 -4
- package/dist/components/ui/card.js.map +1 -1
- package/dist/components/ui/checkbox.js +1 -1
- package/dist/components/ui/checkbox.js.map +1 -1
- package/dist/components/ui/command.d.ts +1 -2
- package/dist/components/ui/command.js +4 -8
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +1 -15
- package/dist/components/ui/context-menu.js +65 -72
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.js +3 -4
- package/dist/components/ui/copy-button.js.map +1 -1
- package/dist/components/ui/dialog.d.ts +1 -1
- package/dist/components/ui/dialog.js +5 -6
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +5 -5
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/input.js +2 -2
- package/dist/components/ui/input.js.map +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/menubar.d.ts +26 -0
- package/dist/components/ui/menubar.js +55 -0
- package/dist/components/ui/menubar.js.map +1 -0
- package/dist/components/ui/paste-button.js +2 -2
- package/dist/components/ui/paste-button.js.map +1 -1
- package/dist/components/ui/popover.js +4 -22
- package/dist/components/ui/popover.js.map +1 -1
- package/dist/components/ui/progress.js +2 -2
- package/dist/components/ui/progress.js.map +1 -1
- package/dist/components/ui/select.js +4 -3
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sonner.js +2 -28
- package/dist/components/ui/sonner.js.map +1 -1
- package/dist/components/ui/styled-dialog-title.js +2 -2
- package/dist/components/ui/styled-dialog-title.js.map +1 -1
- package/dist/components/ui/switch.js +1 -1
- package/dist/components/ui/switch.js.map +1 -1
- package/dist/components/ui/tabs.js +3 -3
- package/dist/components/ui/tabs.js.map +1 -1
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/textarea.js.map +1 -1
- package/dist/components/ui/tooltip.js +1 -1
- package/dist/components/ui/tooltip.js.map +1 -1
- package/dist/config/config.js +68 -232
- package/dist/config/config.js.map +1 -1
- package/dist/config/notificationRoutes.js +10 -111
- package/dist/config/notificationRoutes.js.map +1 -1
- package/dist/config/types/index.d.ts +2 -0
- package/dist/config/types/index.js +4 -0
- package/dist/config/types/index.js.map +1 -0
- package/dist/config/types/sidebar.d.ts +0 -4
- package/dist/config/types/workspace.d.ts +2 -13
- package/dist/config/types.d.ts +3 -17
- package/dist/config/types.js.map +1 -1
- package/dist/editor/AdminRequiredView.js +2 -4
- package/dist/editor/AdminRequiredView.js.map +1 -1
- package/dist/editor/AspectRatioSelector.js +5 -5
- package/dist/editor/AspectRatioSelector.js.map +1 -1
- package/dist/editor/ConcurrentUserLimitDialog.js +4 -11
- package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +2 -4
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +1 -19
- package/dist/editor/ContentTree.js +27 -95
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.d.ts +0 -1
- package/dist/editor/ContextMenu.js +11 -9
- package/dist/editor/ContextMenu.js.map +1 -1
- package/dist/editor/DeleteItemsWarning.js +2 -2
- package/dist/editor/DeleteItemsWarning.js.map +1 -1
- package/dist/editor/Editor.d.ts +1 -1
- package/dist/editor/Editor.js +9 -29
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/EditorWarning.js +4 -4
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldActionsOverlay.d.ts +1 -0
- package/dist/editor/FieldActionsOverlay.js +25 -8
- package/dist/editor/FieldActionsOverlay.js.map +1 -1
- package/dist/editor/FieldEditorPopup.js +2 -2
- package/dist/editor/FieldEditorPopup.js.map +1 -1
- package/dist/editor/FieldHistory.d.ts +1 -2
- package/dist/editor/FieldHistory.js +15 -23
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldList.js +2 -2
- package/dist/editor/FieldList.js.map +1 -1
- package/dist/editor/FieldListField.d.ts +1 -1
- package/dist/editor/FieldListField.js +54 -59
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +3 -4
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/FloatingToolbar.d.ts +7 -0
- package/dist/editor/FloatingToolbar.js +91 -0
- package/dist/editor/FloatingToolbar.js.map +1 -0
- package/dist/editor/GlobalMenuBar.js +19 -28
- package/dist/editor/GlobalMenuBar.js.map +1 -1
- package/dist/editor/ImageEditButton.js +3 -3
- package/dist/editor/ImageEditButton.js.map +1 -1
- package/dist/editor/ImageEditor.d.ts +1 -6
- package/dist/editor/ImageEditor.js +4 -21
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +7 -10
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.d.ts +2 -9
- package/dist/editor/LinkEditorDialog.js +60 -183
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.js +16 -121
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +35 -16
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +3 -35
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/NewEditorClient.d.ts +5 -0
- package/dist/editor/NewEditorClient.js +7 -0
- package/dist/editor/NewEditorClient.js.map +1 -0
- package/dist/editor/PictureCropper.js +36 -58
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.d.ts +1 -2
- package/dist/editor/PictureEditor.js +19 -17
- package/dist/editor/PictureEditor.js.map +1 -1
- package/dist/editor/PictureEditorDialog.d.ts +8 -0
- package/dist/editor/PictureEditorDialog.js +198 -0
- package/dist/editor/PictureEditorDialog.js.map +1 -0
- package/dist/editor/QuickItemSwitcher.js +9 -9
- package/dist/editor/QuickItemSwitcher.js.map +1 -1
- package/dist/editor/SetupLoadingScreen.d.ts +5 -0
- package/dist/editor/SetupLoadingScreen.js +11 -0
- package/dist/editor/SetupLoadingScreen.js.map +1 -0
- package/dist/editor/SetupWizard.js +4 -6
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/Titlebar.d.ts +1 -1
- package/dist/editor/Titlebar.js +2 -2
- package/dist/editor/Titlebar.js.map +1 -1
- package/dist/editor/ai/AgentBanners.js +16 -0
- package/dist/editor/ai/AgentBanners.js.map +1 -0
- package/dist/editor/ai/AgentCostDisplay.js +116 -0
- package/dist/editor/ai/AgentCostDisplay.js.map +1 -0
- package/dist/editor/ai/AgentDocumentList.d.ts +12 -0
- package/dist/editor/ai/AgentDocumentList.js +335 -0
- package/dist/editor/ai/AgentDocumentList.js.map +1 -0
- package/dist/editor/ai/AgentGreeting.d.ts +8 -0
- package/dist/editor/ai/AgentGreeting.js +14 -0
- package/dist/editor/ai/AgentGreeting.js.map +1 -0
- package/dist/editor/ai/AgentInlineDialogContent.js +2 -2
- package/dist/editor/ai/AgentInlineDialogContent.js.map +1 -1
- package/dist/editor/ai/AgentPanesGrid.js +7 -8
- package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.d.ts +0 -1
- package/dist/editor/ai/AgentProfileSelector.js +9 -11
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentSharingSection.js +9 -22
- package/dist/editor/ai/AgentSharingSection.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.js +21 -13
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +38 -2
- package/dist/editor/ai/AgentTerminal.js +6503 -6
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +72 -0
- package/dist/editor/ai/AgentTerminalStatusBar.js +888 -0
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +1 -0
- package/dist/editor/ai/Agents.js +397 -262
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +33 -0
- package/dist/editor/ai/AiResponseMessage.js +1239 -0
- package/dist/editor/ai/AiResponseMessage.js.map +1 -0
- package/dist/editor/ai/ContentInspectorPopover.js +19 -24
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +14 -0
- package/dist/editor/ai/ContextInfoBar.js +653 -0
- package/dist/editor/ai/ContextInfoBar.js.map +1 -0
- package/dist/editor/ai/DancingDots.d.ts +1 -0
- package/dist/editor/ai/DancingDots.js +6 -0
- package/dist/editor/ai/DancingDots.js.map +1 -0
- package/dist/editor/ai/EditOperationsPanel.d.ts +7 -0
- package/dist/editor/ai/EditOperationsPanel.js +91 -0
- package/dist/editor/ai/EditOperationsPanel.js.map +1 -0
- package/dist/editor/ai/GuidanceOverlay.js +19 -12
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.d.ts +2 -2
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +31 -55
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
- package/dist/editor/ai/HeartbeatMessage.d.ts +4 -0
- package/dist/editor/ai/HeartbeatMessage.js +7 -0
- package/dist/editor/ai/HeartbeatMessage.js.map +1 -0
- package/dist/editor/ai/InitialThinkingSplash.d.ts +3 -0
- package/dist/editor/ai/InitialThinkingSplash.js +9 -0
- package/dist/editor/ai/InitialThinkingSplash.js.map +1 -0
- package/dist/editor/ai/InlineAiDialog.d.ts +0 -6
- package/dist/editor/ai/InlineAiDialog.js +277 -411
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +37 -242
- package/dist/editor/ai/InlineAiTrigger.js.map +1 -1
- package/dist/editor/ai/MediaImage.js +5 -5
- package/dist/editor/ai/MediaImage.js.map +1 -1
- package/dist/editor/ai/QueuedPromptsPanel.d.ts +4 -0
- package/dist/editor/ai/QueuedPromptsPanel.js +37 -0
- package/dist/editor/ai/QueuedPromptsPanel.js.map +1 -0
- package/dist/editor/ai/SpawnedAgentsPanel.d.ts +6 -0
- package/dist/editor/ai/SpawnedAgentsPanel.js +101 -0
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +1 -0
- package/dist/editor/ai/TimeWithTooltip.js +4 -2
- package/dist/editor/ai/TimeWithTooltip.js.map +1 -1
- package/dist/editor/ai/TodoListPanel.d.ts +5 -0
- package/dist/editor/ai/TodoListPanel.js +113 -0
- package/dist/editor/ai/TodoListPanel.js.map +1 -0
- package/dist/editor/ai/ToolCallDisplay.js +865 -0
- package/dist/editor/ai/ToolCallDisplay.js.map +1 -0
- package/dist/editor/ai/UserMessage.d.ts +4 -0
- package/dist/editor/ai/UserMessage.js +42 -0
- package/dist/editor/ai/UserMessage.js.map +1 -0
- package/dist/editor/ai/agentDiagnostics.d.ts +0 -26
- package/dist/editor/ai/agentDiagnostics.js +1 -41
- package/dist/editor/ai/agentDiagnostics.js.map +1 -1
- package/dist/editor/ai/agentDiagnostics.test.js +181 -0
- package/dist/editor/ai/agentDiagnostics.test.js.map +1 -0
- package/dist/editor/ai/agentDialogRegistry.js.map +1 -1
- package/dist/editor/ai/agentMessageHelpers.js.map +1 -1
- package/dist/editor/ai/agentMessageMarkdown.js +10 -10
- package/dist/editor/ai/agentMessageMarkdown.js.map +1 -1
- package/dist/editor/ai/agentTodoExtraction.d.ts +1 -7
- package/dist/editor/ai/agentTodoExtraction.js +0 -33
- package/dist/editor/ai/agentTodoExtraction.js.map +1 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.d.ts +0 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +4 -2
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +12 -13
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +84 -58
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.js +2 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +35 -66
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +157 -281
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +2 -8
- package/dist/editor/ai/useAgentPanes.js.map +1 -1
- package/dist/editor/ai/useAgentPanes.test.d.ts +1 -0
- package/dist/editor/ai/useAgentPanes.test.js +198 -0
- package/dist/editor/ai/useAgentPanes.test.js.map +1 -0
- package/dist/editor/ai/useAgentStatus.js +1 -3
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.d.ts +2 -10
- package/dist/editor/ai/useInlineAiPosition.js +86 -69
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js +17 -37
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js +64 -32
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
- package/dist/editor/client/AboutDialog.js +6 -18
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +2 -9
- package/dist/editor/client/EditorShell.js +252 -727
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/GenericDialog.d.ts +10 -0
- package/dist/editor/client/GenericDialog.js +25 -0
- package/dist/editor/client/GenericDialog.js.map +1 -0
- package/dist/editor/client/OperationDialogContent.js +3 -3
- package/dist/editor/client/OperationDialogContent.js.map +1 -1
- package/dist/editor/client/editContext.d.ts +11 -108
- package/dist/editor/client/editContext.js +7 -3
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/fieldModificationStore.d.ts +2 -6
- package/dist/editor/client/fieldModificationStore.js +23 -38
- package/dist/editor/client/fieldModificationStore.js.map +1 -1
- package/dist/editor/client/helpers.js +3 -3
- package/dist/editor/client/helpers.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +0 -3
- package/dist/editor/client/hooks/useEditorWebSocket.js +18 -224
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useMediaSelector.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +0 -4
- package/dist/editor/client/hooks/useSocketMessageHandler.js +86 -127
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/hooks/useWorkbox.d.ts +0 -2
- package/dist/editor/client/hooks/useWorkbox.js +33 -76
- package/dist/editor/client/hooks/useWorkbox.js.map +1 -1
- package/dist/editor/client/itemsRepository.d.ts +5 -10
- package/dist/editor/client/itemsRepository.js +46 -48
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/operations.d.ts +3 -16
- package/dist/editor/client/operations.js +108 -306
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.d.ts +0 -2
- package/dist/editor/client/pageModelBuilder.js +20 -89
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
- package/dist/editor/client/ui/EditorChrome.js +4 -11
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +5 -5
- package/dist/editor/client/ui/FullscreenControls.js.map +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.d.ts +0 -1
- package/dist/editor/client/waitForEditOperationTerminal.js +1 -1
- package/dist/editor/client/waitForEditOperationTerminal.js.map +1 -1
- package/dist/editor/commands/agentCommands.js +1 -1
- package/dist/editor/commands/agentCommands.js.map +1 -1
- package/dist/editor/commands/commands.js.map +1 -1
- package/dist/editor/commands/componentCommands.d.ts +3 -13
- package/dist/editor/commands/componentCommands.js +7 -77
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/createVersionCommand.js +2 -6
- package/dist/editor/commands/createVersionCommand.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.js +8 -10
- package/dist/editor/commands/customCommandConverter.js.map +1 -1
- package/dist/editor/commands/handlers/agentHandler.js.map +1 -1
- package/dist/editor/commands/handlers/uiActionHandlers.d.ts +0 -1
- package/dist/editor/commands/handlers/uiActionHandlers.js +3 -30
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/commands/itemCommands.js +27 -24
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/keyboardCommands.d.ts +0 -6
- package/dist/editor/commands/keyboardCommands.js +2 -78
- package/dist/editor/commands/keyboardCommands.js.map +1 -1
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +8 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +91 -0
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +1 -0
- package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
- package/dist/editor/commands/undo.js +6 -10
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/content-tree/IndicatorSettings.js +4 -5
- package/dist/editor/content-tree/IndicatorSettings.js.map +1 -1
- package/dist/editor/content-tree/TreeOptions.js +1 -1
- package/dist/editor/content-tree/TreeSettingsMenu.js +3 -7
- package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
- package/dist/editor/content-tree/index.d.ts +3 -0
- package/dist/editor/content-tree/index.js +4 -0
- package/dist/editor/content-tree/index.js.map +1 -0
- package/dist/editor/context-menu/CopyMoveMenu.d.ts +7 -0
- package/dist/editor/context-menu/CopyMoveMenu.js +58 -0
- package/dist/editor/context-menu/CopyMoveMenu.js.map +1 -0
- package/dist/editor/context-menu/InsertMenu.js +9 -9
- package/dist/editor/context-menu/InsertMenu.js.map +1 -1
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js +0 -5
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js.map +1 -1
- package/dist/editor/editor-warnings/ItemLocked.js +3 -6
- package/dist/editor/editor-warnings/ItemLocked.js.map +1 -1
- package/dist/editor/field-types/AttachmentEditor.js +3 -3
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
- package/dist/editor/field-types/CheckboxEditor.js +1 -3
- package/dist/editor/field-types/CheckboxEditor.js.map +1 -1
- package/dist/editor/field-types/DateFieldEditor.js +1 -1
- package/dist/editor/field-types/DateFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js +1 -1
- package/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -1
- package/dist/editor/field-types/DropLinkEditor.js +16 -31
- package/dist/editor/field-types/DropLinkEditor.js.map +1 -1
- package/dist/editor/field-types/DropListEditor.js +1 -1
- package/dist/editor/field-types/DropListEditor.js.map +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js +1 -1
- package/dist/editor/field-types/ImageFieldEditor.js.map +1 -1
- package/dist/editor/field-types/InternalLinkFieldEditor.js +9 -18
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js +3 -15
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +9 -35
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/NameValueListEditor.js +3 -7
- package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
- package/dist/editor/field-types/PictureFieldEditor.js +13 -19
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +2 -9
- package/dist/editor/field-types/RawEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditor.js +10 -31
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +81 -194
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +5 -31
- package/dist/editor/field-types/SingleLineText.js.map +1 -1
- package/dist/editor/field-types/TreeListEditor.js +9 -72
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/EditorDropdown.css +6 -7
- package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +5 -5
- package/dist/editor/field-types/richtext/components/EditorDropdown.js +20 -21
- package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +31 -108
- package/dist/editor/field-types/richtext/components/ReactSlate.js +50 -240
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js +6 -11
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +16 -32
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +2 -26
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js +4 -5
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +2 -4
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ToolbarButton.js +3 -3
- package/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.d.ts +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js +1 -1
- package/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/contextMenuFactory.d.ts +14 -2
- package/dist/editor/field-types/richtext/contextMenuFactory.js +379 -4
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js +19 -19
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +2 -5
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +13 -41
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
- package/dist/editor/field-types/richtext/types.d.ts +0 -2
- package/dist/editor/field-types/richtext/types.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/conversion.d.ts +2 -2
- package/dist/editor/field-types/richtext/utils/conversion.js +214 -298
- package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/plugins.js +69 -96
- package/dist/editor/field-types/richtext/utils/plugins.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.d.ts +1 -1
- package/dist/editor/field-types/richtext/utils/profileMapper.js +171 -186
- package/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js +1 -1
- package/dist/editor/field-types/textContextMenuFactory.js.map +1 -1
- package/dist/editor/fieldTypes.d.ts +0 -2
- package/dist/editor/hooks/useNavigationPanelLogic.d.ts +3 -3
- package/dist/editor/hooks/useNavigationPanelLogic.js +5 -5
- package/dist/editor/hooks/useNavigationPanelLogic.js.map +1 -1
- package/dist/editor/hooks/useParheliaSettings.js +7 -8
- package/dist/editor/hooks/useParheliaSettings.js.map +1 -1
- package/dist/editor/insertMenuItems.d.ts +0 -11
- package/dist/editor/insertMenuItems.js +1 -10
- package/dist/editor/insertMenuItems.js.map +1 -1
- package/dist/editor/manualActionEvents.js +1 -3
- package/dist/editor/manualActionEvents.js.map +1 -1
- package/dist/editor/media-selector/AiImageSearchPrompt.js +3 -3
- package/dist/editor/media-selector/MediaFolderBrowser.d.ts +1 -2
- package/dist/editor/media-selector/MediaFolderBrowser.js +30 -189
- package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
- package/dist/editor/media-selector/MediaSelector.js +2 -4
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/Preview.js +5 -9
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.js +3 -3
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +27 -33
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.d.ts +1 -2
- package/dist/editor/media-selector/UploadZone.js +10 -22
- package/dist/editor/media-selector/UploadZone.js.map +1 -1
- package/dist/editor/menubar/ActiveUsers.js +36 -32
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/ApproveAndPublish.d.ts +1 -0
- package/dist/editor/menubar/ApproveAndPublish.js +13 -0
- package/dist/editor/menubar/ApproveAndPublish.js.map +1 -0
- package/dist/editor/menubar/FavoritesControls.js +30 -51
- package/dist/editor/menubar/FavoritesControls.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +1 -2
- package/dist/editor/menubar/GenericToolbar.js.map +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js.map +1 -1
- package/dist/editor/menubar/ItemLanguageVersion.d.ts +1 -4
- package/dist/editor/menubar/ItemLanguageVersion.js +18 -17
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
- package/dist/editor/menubar/ItemToolbar.d.ts +1 -0
- package/dist/editor/menubar/ItemToolbar.js +12 -0
- package/dist/editor/menubar/ItemToolbar.js.map +1 -0
- package/dist/editor/menubar/NavButtons.d.ts +1 -0
- package/dist/editor/menubar/NavButtons.js +40 -0
- package/dist/editor/menubar/NavButtons.js.map +1 -0
- package/dist/editor/menubar/PageSelector.js +5 -11
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js +21 -40
- package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
- package/dist/editor/menubar/Separator.d.ts +1 -2
- package/dist/editor/menubar/Separator.js +2 -2
- package/dist/editor/menubar/Separator.js.map +1 -1
- package/dist/editor/menubar/SiteInfo.d.ts +1 -0
- package/dist/editor/menubar/SiteInfo.js +27 -0
- package/dist/editor/menubar/SiteInfo.js.map +1 -0
- package/dist/editor/menubar/ToolbarFactory.js +19 -30
- package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
- package/dist/editor/menubar/User.js +7 -2
- package/dist/editor/menubar/User.js.map +1 -1
- package/dist/editor/menubar/UserMenu.d.ts +5 -0
- package/dist/editor/menubar/UserMenu.js +33 -0
- package/dist/editor/menubar/UserMenu.js.map +1 -0
- package/dist/editor/menubar/VersionPreviewCard.js +231 -11
- package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
- package/dist/editor/menubar/VersionSelector.d.ts +2 -4
- package/dist/editor/menubar/VersionSelector.js +24 -70
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +28 -23
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js +1 -3
- package/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +2 -4
- package/dist/editor/menubar/toolbar-sections/EditControls.js +11 -82
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/InsertControls.js +1 -1
- package/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.d.ts +0 -22
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +161 -935
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +1 -2
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +6 -10
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +1 -3
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +4 -14
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js +38 -100
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/index.d.ts +2 -4
- package/dist/editor/menubar/toolbar-sections/index.js +2 -4
- package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
- package/dist/editor/notifications/NotificationCenter.d.ts +1 -4
- package/dist/editor/notifications/NotificationCenter.js +30 -41
- package/dist/editor/notifications/NotificationCenter.js.map +1 -1
- package/dist/editor/notifications/NotificationItem.js +15 -100
- package/dist/editor/notifications/NotificationItem.js.map +1 -1
- package/dist/editor/notifications/WatchButton.d.ts +4 -5
- package/dist/editor/notifications/WatchButton.js +61 -105
- package/dist/editor/notifications/WatchButton.js.map +1 -1
- package/dist/editor/notifications/notificationListState.js +1 -4
- package/dist/editor/notifications/notificationListState.js.map +1 -1
- package/dist/editor/notifications/notificationRoutes.js.map +1 -1
- package/dist/editor/notifications/useNotificationSubscriptions.d.ts +0 -8
- package/dist/editor/notifications/useNotificationSubscriptions.js +1 -25
- package/dist/editor/notifications/useNotificationSubscriptions.js.map +1 -1
- package/dist/editor/notifications/useNotifications.js +22 -58
- package/dist/editor/notifications/useNotifications.js.map +1 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +6 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +316 -0
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -6
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +11 -497
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +68 -30
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +3 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +101 -38
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +3 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js +2 -2
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenu.d.ts +4 -7
- package/dist/editor/page-editor-chrome/FrameMenu.js +228 -180
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.d.ts +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.js +18 -67
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
- package/dist/editor/page-editor-chrome/InlineEditor.d.ts +5 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js +832 -0
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +2 -3
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +20 -191
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/NoLayout.js +1 -1
- package/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +2 -6
- package/dist/editor/page-editor-chrome/PageEditorChrome.js +51 -73
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +147 -167
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +3 -34
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +65 -175
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +5 -13
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +305 -120
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +6 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js +224 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +1 -0
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +4 -6
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +12 -304
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +3 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +123 -160
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +7 -0
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js +728 -0
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -0
- package/dist/editor/page-viewer/DeviceToolbar.js +2 -2
- package/dist/editor/page-viewer/DeviceToolbar.js.map +1 -1
- package/dist/editor/page-viewer/EditorForm.js +24 -55
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/EditorFormHintPopover.d.ts +2 -2
- package/dist/editor/page-viewer/EditorFormHintPopover.js +4 -4
- package/dist/editor/page-viewer/EditorFormHintPopover.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.d.ts +2 -29
- package/dist/editor/page-viewer/MiniMap.js +340 -375
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.d.ts +2 -4
- package/dist/editor/page-viewer/PageViewer.js +21 -202
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +7 -4
- package/dist/editor/page-viewer/PageViewerFrame.js +1270 -2255
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js +7 -13
- package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +3 -0
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +423 -0
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -0
- package/dist/editor/page-viewer/pageViewContext.d.ts +0 -35
- package/dist/editor/page-viewer/pageViewContext.js +3 -40
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/pageModel.d.ts +0 -4
- package/dist/editor/pageModel.js +1 -12
- package/dist/editor/pageModel.js.map +1 -1
- package/dist/editor/personalization/ActionList.js +2 -2
- package/dist/editor/personalization/ActionList.js.map +1 -1
- package/dist/editor/personalization/ConditionTreeEditor.js +9 -9
- package/dist/editor/personalization/ConditionTreeEditor.js.map +1 -1
- package/dist/editor/personalization/PersonalizationPanel.d.ts +1 -3
- package/dist/editor/personalization/PersonalizationPanel.js +18 -39
- package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
- package/dist/editor/personalization/RuleElementPicker.js +4 -5
- package/dist/editor/personalization/RuleElementPicker.js.map +1 -1
- package/dist/editor/personalization/RuleList.js +10 -13
- package/dist/editor/personalization/RuleList.js.map +1 -1
- package/dist/editor/personalization/RuleParameterInput.js +7 -10
- package/dist/editor/personalization/RuleParameterInput.js.map +1 -1
- package/dist/editor/personalization/TreeItemPicker.js +6 -4
- package/dist/editor/personalization/TreeItemPicker.js.map +1 -1
- package/dist/editor/personalization/utils.js.map +1 -1
- package/dist/editor/picture-shared.d.ts +16 -0
- package/dist/editor/picture-shared.js +25 -0
- package/dist/editor/picture-shared.js.map +1 -0
- package/dist/editor/registry/SidebarRegistry.d.ts +96 -0
- package/dist/editor/registry/SidebarRegistry.js +166 -0
- package/dist/editor/registry/SidebarRegistry.js.map +1 -0
- package/dist/editor/registry/WorkspaceRegistry.d.ts +71 -0
- package/dist/editor/registry/WorkspaceRegistry.js +112 -0
- package/dist/editor/registry/WorkspaceRegistry.js.map +1 -0
- package/dist/editor/registry/index.d.ts +2 -0
- package/dist/editor/registry/index.js +4 -0
- package/dist/editor/registry/index.js.map +1 -0
- package/dist/editor/reviews/Comment.d.ts +1 -6
- package/dist/editor/reviews/Comment.js +103 -64
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +78 -244
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentEditor.d.ts +2 -7
- package/dist/editor/reviews/CommentEditor.js +8 -45
- package/dist/editor/reviews/CommentEditor.js.map +1 -1
- package/dist/editor/reviews/CommentPopover.d.ts +0 -4
- package/dist/editor/reviews/CommentPopover.js +15 -92
- package/dist/editor/reviews/CommentPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.d.ts +1 -4
- package/dist/editor/reviews/CommentView.js +38 -60
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.d.ts +2 -0
- package/dist/editor/reviews/Comments.js +51 -269
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CommentsAndFeedback.d.ts +8 -2
- package/dist/editor/reviews/CommentsAndFeedback.js +43 -10
- package/dist/editor/reviews/CommentsAndFeedback.js.map +1 -1
- package/dist/editor/reviews/CreateReviewConfirmStep.js +2 -2
- package/dist/editor/reviews/CreateReviewConfirmStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDetailsStep.js +9 -9
- package/dist/editor/reviews/CreateReviewDetailsStep.js.map +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js +1 -1
- package/dist/editor/reviews/CreateReviewDialog.js.map +1 -1
- package/dist/editor/reviews/CreateReviewSuccessStep.js +2 -2
- package/dist/editor/reviews/CreateReviewSuccessStep.js.map +1 -1
- package/dist/editor/reviews/DecisionsMatrix.js +26 -34
- package/dist/editor/reviews/DecisionsMatrix.js.map +1 -1
- package/dist/editor/reviews/DiffView.js +6 -6
- package/dist/editor/reviews/DiffView.js.map +1 -1
- package/dist/editor/reviews/EditReviewSettingsDialog.js +54 -68
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js.map +1 -1
- package/dist/editor/reviews/LatestFeedback.js +49 -26
- package/dist/editor/reviews/LatestFeedback.js.map +1 -1
- package/dist/editor/reviews/PagesPanel.d.ts +21 -0
- package/dist/editor/reviews/PagesPanel.js +140 -0
- package/dist/editor/reviews/PagesPanel.js.map +1 -0
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js +1 -1
- package/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -1
- package/dist/editor/reviews/PreviewInfo.d.ts +1 -0
- package/dist/editor/reviews/PreviewInfo.js +9 -0
- package/dist/editor/reviews/PreviewInfo.js.map +1 -0
- package/dist/editor/reviews/ReviewCard.js +11 -12
- package/dist/editor/reviews/ReviewCard.js.map +1 -1
- package/dist/editor/reviews/ReviewDetail.js +5 -5
- package/dist/editor/reviews/ReviewDetail.js.map +1 -1
- package/dist/editor/reviews/ReviewersPanel.js +19 -33
- package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +3 -4
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.d.ts +1 -4
- package/dist/editor/reviews/SuggestedEdit.js +61 -101
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionDisplayPopover.js +47 -45
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +27 -96
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/reviewCommands.js +2 -2
- package/dist/editor/reviews/reviewCommands.js.map +1 -1
- package/dist/editor/reviews/useMultiReview.js +4 -5
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/services/agentDialogService.test.d.ts +1 -0
- package/dist/editor/services/agentDialogService.test.js +56 -0
- package/dist/editor/services/agentDialogService.test.js.map +1 -0
- package/dist/editor/services/agentService.d.ts +3 -59
- package/dist/editor/services/agentService.js +12 -82
- package/dist/editor/services/agentService.js.map +1 -1
- package/dist/editor/services/agentStatus.js +1 -1
- package/dist/editor/services/agentStatus.js.map +1 -1
- package/dist/editor/services/agentSubscriptionRegistry.js +13 -12
- package/dist/editor/services/agentSubscriptionRegistry.js.map +1 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.d.ts +1 -0
- package/dist/editor/services/agentSubscriptionRegistry.test.js +104 -0
- package/dist/editor/services/agentSubscriptionRegistry.test.js.map +1 -0
- package/dist/editor/services/aiService.d.ts +38 -8
- package/dist/editor/services/aiService.js +64 -7
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +1 -6
- package/dist/editor/services/contentService.js +20 -7
- package/dist/editor/services/contentService.js.map +1 -1
- package/dist/editor/services/contextService.js.map +1 -1
- package/dist/editor/services/customCommandsService.js.map +1 -1
- package/dist/editor/services/editService.d.ts +0 -4
- package/dist/editor/services/editService.js +3 -5
- package/dist/editor/services/editService.js.map +1 -1
- package/dist/editor/services/indexService.js.map +1 -1
- package/dist/editor/services/indicatorService.js.map +1 -1
- package/dist/editor/services/localStorageService.js +3 -3
- package/dist/editor/services/localStorageService.js.map +1 -1
- package/dist/editor/services/notificationService.d.ts +0 -4
- package/dist/editor/services/notificationService.js +1 -5
- package/dist/editor/services/notificationService.js.map +1 -1
- package/dist/editor/services/personalizationService.js.map +1 -1
- package/dist/editor/services/reviewsService.d.ts +3 -6
- package/dist/editor/services/reviewsService.js +2 -10
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +0 -8
- package/dist/editor/services/serviceHelper.js +0 -59
- package/dist/editor/services/serviceHelper.js.map +1 -1
- package/dist/editor/services/suggestedEditsService.js.map +1 -1
- package/dist/editor/services/systemService.d.ts +0 -49
- package/dist/editor/services/systemService.js +0 -32
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services/templateBuilderService.js +6 -5
- package/dist/editor/services/templateBuilderService.js.map +1 -1
- package/dist/editor/services-server/api.d.ts +18 -0
- package/dist/editor/services-server/api.js +116 -0
- package/dist/editor/services-server/api.js.map +1 -0
- package/dist/editor/settings/About.js +32 -219
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/IndexOverview.js +9 -10
- package/dist/editor/settings/IndexOverview.js.map +1 -1
- package/dist/editor/settings/Info.d.ts +1 -0
- package/dist/editor/settings/Info.js +11 -0
- package/dist/editor/settings/Info.js.map +1 -0
- package/dist/editor/settings/QuotaInfo.js +69 -90
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/QuotaUserPicker.js +55 -15
- package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.d.ts +6 -3
- package/dist/editor/settings/SettingsBreadcrumb.js +2 -18
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +3 -9
- package/dist/editor/settings/SettingsHeaderActionsContext.js +6 -6
- package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
- package/dist/editor/settings/SettingsView.js +28 -25
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/Status.d.ts +1 -0
- package/dist/editor/settings/Status.js +89 -0
- package/dist/editor/settings/Status.js.map +1 -0
- package/dist/editor/settings/StatusSummary.js +27 -17
- package/dist/editor/settings/StatusSummary.js.map +1 -1
- package/dist/editor/settings/WebSocketMessages.d.ts +1 -0
- package/dist/editor/settings/WebSocketMessages.js +74 -0
- package/dist/editor/settings/WebSocketMessages.js.map +1 -0
- package/dist/editor/settings/index/AdvancedSettings.d.ts +1 -1
- package/dist/editor/settings/index/AdvancedSettings.js +11 -13
- package/dist/editor/settings/index/AdvancedSettings.js.map +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js +1 -1
- package/dist/editor/settings/index/CollectionWarningsDisplay.js.map +1 -1
- package/dist/editor/settings/index/EmbeddingProviderInfo.js +5 -7
- package/dist/editor/settings/index/EmbeddingProviderInfo.js.map +1 -1
- package/dist/editor/settings/index/IndexStatusCards.js +2 -3
- package/dist/editor/settings/index/IndexStatusCards.js.map +1 -1
- package/dist/editor/settings/index/LatestEmbeddingsList.js +1 -3
- package/dist/editor/settings/index/LatestEmbeddingsList.js.map +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js +1 -1
- package/dist/editor/settings/index/QueueErrorsDisplay.js.map +1 -1
- package/dist/editor/settings/index/RebuildIndexSection.js +22 -24
- package/dist/editor/settings/index/RebuildIndexSection.js.map +1 -1
- package/dist/editor/settings/index/RecentBatchesList.js +18 -20
- package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
- package/dist/editor/settings/index/types.d.ts +2 -0
- package/dist/editor/settings/index/useIndexStatus.js +2 -10
- package/dist/editor/settings/index/useIndexStatus.js.map +1 -1
- package/dist/editor/settings/index/utils.js +16 -16
- package/dist/editor/settings/index/utils.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.d.ts +1 -2
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js +3 -7
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.d.ts +0 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentsPanel.js +8 -30
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +54 -49
- package/dist/editor/settings/panels/ClusterInstancesPanel.js.map +1 -1
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js +2 -2
- package/dist/editor/settings/panels/CreateAgentProfileDialog.js.map +1 -1
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js +3 -3
- package/dist/editor/settings/panels/CreateJavaScriptToolDialog.js.map +1 -1
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +5 -7
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ItemConfigPanel.js +3 -4
- package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +2 -4
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js +1 -1
- package/dist/editor/settings/panels/JavaScriptToolConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js +13 -27
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +16 -36
- package/dist/editor/settings/panels/McpToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js +1 -1
- package/dist/editor/settings/panels/ModelConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ModelsPanel.js +38 -107
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/PersistentLogsPanel.js +14 -25
- package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +1 -2
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +3 -6
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelector.js +42 -9
- package/dist/editor/settings/panels/ProjectTemplateSelector.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +90 -119
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProviderIcon.js +8 -8
- package/dist/editor/settings/panels/ProviderIcon.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +35 -55
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +11 -13
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/SettingsPanel.js +2 -3
- package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
- package/dist/editor/settings/panels/StatusPanel.js +14 -39
- package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
- package/dist/editor/settings/panels/index.d.ts +0 -5
- package/dist/editor/settings/panels/index.js +0 -5
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/panels/useSidebarEditor.d.ts +15 -0
- package/dist/editor/settings/panels/useSidebarEditor.js +24 -0
- package/dist/editor/settings/panels/useSidebarEditor.js.map +1 -0
- package/dist/editor/settings/status/coreStatusChecks.js +7 -118
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.js +1 -1
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.js +3 -6
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js +3 -3
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +8 -12
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +3 -3
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +20 -21
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +15 -25
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js.map +1 -1
- package/dist/editor/sidebar/Completions.js +1 -1
- package/dist/editor/sidebar/Completions.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.d.ts +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +26 -61
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +40 -214
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
- package/dist/editor/sidebar/Divider.d.ts +6 -0
- package/dist/editor/sidebar/Divider.js +6 -0
- package/dist/editor/sidebar/Divider.js.map +1 -0
- package/dist/editor/sidebar/EditHistory.js +4 -17
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.d.ts +1 -5
- package/dist/editor/sidebar/Favorites.js +57 -41
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/Insert.js +1 -1
- package/dist/editor/sidebar/LabelButton.d.ts +5 -0
- package/dist/editor/sidebar/LabelButton.js +12 -0
- package/dist/editor/sidebar/LabelButton.js.map +1 -0
- package/dist/editor/sidebar/MainContentTree.js +2 -5
- package/dist/editor/sidebar/MainContentTree.js.map +1 -1
- package/dist/editor/sidebar/MobileWorkspacePopover.d.ts +2 -2
- package/dist/editor/sidebar/MobileWorkspacePopover.js +3 -3
- package/dist/editor/sidebar/MobileWorkspacePopover.js.map +1 -1
- package/dist/editor/sidebar/MorePanelsButton.js +2 -2
- package/dist/editor/sidebar/MorePanelsButton.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelItem.js +5 -6
- package/dist/editor/sidebar/NavigationPanelItem.js.map +1 -1
- package/dist/editor/sidebar/NavigationPanelMenuItem.js +2 -2
- package/dist/editor/sidebar/NavigationPanelMenuItem.js.map +1 -1
- package/dist/editor/sidebar/OperationItem.js +25 -111
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/Performance.d.ts +1 -0
- package/dist/editor/sidebar/Performance.js +32 -0
- package/dist/editor/sidebar/Performance.js.map +1 -0
- package/dist/editor/sidebar/SEOInfo.d.ts +1 -0
- package/dist/editor/sidebar/SEOInfo.js +158 -0
- package/dist/editor/sidebar/SEOInfo.js.map +1 -0
- package/dist/editor/sidebar/Sidebar.d.ts +1 -0
- package/dist/editor/sidebar/Sidebar.js +11 -0
- package/dist/editor/sidebar/Sidebar.js.map +1 -0
- package/dist/editor/sidebar/SidebarPanel.js +15 -21
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.js +0 -2
- package/dist/editor/sidebar/SidebarStack.js.map +1 -1
- package/dist/editor/sidebar/TimelineView.js +3 -3
- package/dist/editor/sidebar/TimelineView.js.map +1 -1
- package/dist/editor/sidebar/Validation.js +3 -6
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +77 -36
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceButton.d.ts +1 -3
- package/dist/editor/sidebar/WorkspaceButton.js +8 -16
- package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.js +25 -30
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +14 -5
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js.map +1 -1
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js +97 -164
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.js +22 -13
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.js +1 -5
- package/dist/editor/tree-indicators/GutterContext.js.map +1 -1
- package/dist/editor/ui/CenteredMessage.js +1 -1
- package/dist/editor/ui/CenteredMessage.js.map +1 -1
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js +3 -3
- package/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -1
- package/dist/editor/ui/DialogButtons.d.ts +1 -3
- package/dist/editor/ui/DialogButtons.js +2 -3
- package/dist/editor/ui/DialogButtons.js.map +1 -1
- package/dist/editor/ui/DragPreview.d.ts +0 -7
- package/dist/editor/ui/DragPreview.js +10 -107
- package/dist/editor/ui/DragPreview.js.map +1 -1
- package/dist/editor/ui/ExportItemsDialog.js +1 -1
- package/dist/editor/ui/ExportItemsDialog.js.map +1 -1
- package/dist/editor/ui/HomeButton.js +1 -1
- package/dist/editor/ui/HomeButton.js.map +1 -1
- package/dist/editor/ui/IconSelectorDialog.js +8 -8
- package/dist/editor/ui/IconSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Icons.d.ts +1 -1
- package/dist/editor/ui/Icons.js +10 -10
- package/dist/editor/ui/Icons.js.map +1 -1
- package/dist/editor/ui/ImportItemsDialog.js +1 -1
- package/dist/editor/ui/ImportItemsDialog.js.map +1 -1
- package/dist/editor/ui/ItemCollectionEditor.d.ts +3 -27
- package/dist/editor/ui/ItemCollectionEditor.js +10 -54
- package/dist/editor/ui/ItemCollectionEditor.js.map +1 -1
- package/dist/editor/ui/ItemList.js +1 -1
- package/dist/editor/ui/ItemList.js.map +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js +1 -1
- package/dist/editor/ui/ItemNameDialogNew.js.map +1 -1
- package/dist/editor/ui/ItemSearch.d.ts +0 -1
- package/dist/editor/ui/ItemSearch.js +4 -4
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/PerfectTree.d.ts +1 -24
- package/dist/editor/ui/PerfectTree.js +19 -39
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
- package/dist/editor/ui/PublishItemDialog.js +75 -40
- package/dist/editor/ui/PublishItemDialog.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +64 -70
- package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
- package/dist/editor/ui/Section.js +5 -5
- package/dist/editor/ui/Section.js.map +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js +1 -1
- package/dist/editor/ui/SharedFolderSelectorDialog.js.map +1 -1
- package/dist/editor/ui/SimpleIconButton.d.ts +2 -9
- package/dist/editor/ui/SimpleIconButton.js +5 -20
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleMenu.js +6 -7
- package/dist/editor/ui/SimpleMenu.js.map +1 -1
- package/dist/editor/ui/SimpleTable.js +1 -1
- package/dist/editor/ui/SimpleTable.js.map +1 -1
- package/dist/editor/ui/SimpleTabs.d.ts +2 -6
- package/dist/editor/ui/SimpleTabs.js +19 -54
- package/dist/editor/ui/SimpleTabs.js.map +1 -1
- package/dist/editor/ui/SimpleToolbar.js +1 -1
- package/dist/editor/ui/SimpleToolbar.js.map +1 -1
- package/dist/editor/ui/Spinner.d.ts +1 -14
- package/dist/editor/ui/Spinner.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +0 -2
- package/dist/editor/ui/Splitter.js +15 -147
- package/dist/editor/ui/Splitter.js.map +1 -1
- package/dist/editor/ui/TemplateSelectorDialog.js +5 -5
- package/dist/editor/ui/TemplateSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Toolbar.d.ts +3 -0
- package/dist/editor/ui/Toolbar.js +5 -0
- package/dist/editor/ui/Toolbar.js.map +1 -0
- package/dist/editor/ui/TreeListSelector.js +1 -1
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/utils/jsonCleaner.js +10 -10
- package/dist/editor/utils/jsonCleaner.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.js +1 -2
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils/selectionContext.js.map +1 -1
- package/dist/editor/utils/useMemoDebug.d.ts +1 -0
- package/dist/editor/utils/useMemoDebug.js +18 -0
- package/dist/editor/utils/useMemoDebug.js.map +1 -0
- package/dist/editor/utils/versionAtDate.js.map +1 -1
- package/dist/editor/utils.d.ts +17 -7
- package/dist/editor/utils.js +145 -35
- package/dist/editor/utils.js.map +1 -1
- package/dist/editor/version-diff/versionDiffHighlightStyles.d.ts +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js +6 -6
- package/dist/editor/version-diff/versionDiffHighlightStyles.js.map +1 -1
- package/dist/editor/version-diff/versionDiffTargets.d.ts +8 -3
- package/dist/editor/version-diff/versionDiffTargets.js +96 -38
- package/dist/editor/version-diff/versionDiffTargets.js.map +1 -1
- package/dist/editor/views/CompareView.js +3 -3
- package/dist/editor/views/CompareView.js.map +1 -1
- package/dist/editor/views/EditView.js +1 -1
- package/dist/editor/views/EditView.js.map +1 -1
- package/dist/editor/views/EditorSlot.js +6 -7
- package/dist/editor/views/EditorSlot.js.map +1 -1
- package/dist/editor/views/ItemEditor.js +2 -2
- package/dist/editor/views/ItemEditor.js.map +1 -1
- package/dist/editor/views/MediaFolderEditView.js +2 -2
- package/dist/editor/views/MediaFolderEditView.js.map +1 -1
- package/dist/editor/views/ParheliaView.d.ts +5 -0
- package/dist/editor/views/ParheliaView.js +181 -0
- package/dist/editor/views/ParheliaView.js.map +1 -0
- package/dist/editor/views/SingleEditView.js +6 -15
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.d.ts +0 -2
- package/dist/editor/views/editorSlotContext.js +1 -10
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/index.d.ts +6 -39
- package/dist/index.js +3 -23
- package/dist/index.js.map +1 -1
- package/dist/lib/safelist.js +1 -1
- package/dist/lib/safelist.js.map +1 -1
- package/dist/lib/sanitize.js +11 -79
- package/dist/lib/sanitize.js.map +1 -1
- package/dist/licensing/EmailEntry.js +1 -2
- package/dist/licensing/EmailEntry.js.map +1 -1
- package/dist/licensing/FeatureGate.js +6 -6
- package/dist/licensing/FeatureGate.js.map +1 -1
- package/dist/licensing/LicenseActivationForm.js +1 -2
- package/dist/licensing/LicenseActivationForm.js.map +1 -1
- package/dist/licensing/LicenseCodeEntry.js +3 -7
- package/dist/licensing/LicenseCodeEntry.js.map +1 -1
- package/dist/licensing/LicenseContext.js +4 -3
- package/dist/licensing/LicenseContext.js.map +1 -1
- package/dist/licensing/LicenseOverlay.js +1 -3
- package/dist/licensing/LicenseOverlay.js.map +1 -1
- package/dist/licensing/licenseService.js +3 -4
- package/dist/licensing/licenseService.js.map +1 -1
- package/dist/licensing/types.d.ts +1 -1
- package/dist/licensing/types.js +1 -3
- package/dist/licensing/types.js.map +1 -1
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.d.ts +0 -10
- package/dist/setup/services/setupWizardService.js +13 -35
- package/dist/setup/services/setupWizardService.js.map +1 -1
- package/dist/setup/utils/modelPricing.d.ts +7 -0
- package/dist/setup/utils/modelPricing.js +106 -0
- package/dist/setup/utils/modelPricing.js.map +1 -0
- package/dist/setup/wizard/steps/AddModelDialog.js +8 -8
- package/dist/setup/wizard/steps/AddModelDialog.js.map +1 -1
- package/dist/setup/wizard/steps/ImportModelDialog.js +17 -19
- package/dist/setup/wizard/steps/ImportModelDialog.js.map +1 -1
- package/dist/splash-screen/DialogWrappers.js +2 -2
- package/dist/splash-screen/DialogWrappers.js.map +1 -1
- package/dist/splash-screen/ModernSplashScreen.d.ts +0 -7
- package/dist/splash-screen/ModernSplashScreen.js +62 -570
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +17 -41
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +21 -17
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +12 -13
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/ParheliaLogo.d.ts +4 -0
- package/dist/splash-screen/ParheliaLogo.js +134 -0
- package/dist/splash-screen/ParheliaLogo.js.map +1 -0
- package/dist/splash-screen/RecentPages.d.ts +1 -4
- package/dist/splash-screen/RecentPages.js +26 -29
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/splash-screen/SectionHeadline.d.ts +4 -0
- package/dist/splash-screen/SectionHeadline.js +7 -0
- package/dist/splash-screen/SectionHeadline.js.map +1 -0
- package/dist/task-board/TaskBoardWorkspace.js +196 -402
- package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
- package/dist/task-board/components/AddDependencyDialog.js +2 -5
- package/dist/task-board/components/AddDependencyDialog.js.map +1 -1
- package/dist/task-board/components/CommentsList.js +9 -22
- package/dist/task-board/components/CommentsList.js.map +1 -1
- package/dist/task-board/components/CreateProjectDialog.js +10 -10
- package/dist/task-board/components/CreateProjectDialog.js.map +1 -1
- package/dist/task-board/components/CreateTaskDialog.js +8 -13
- package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionPicker.js +3 -3
- package/dist/task-board/components/ItemCollectionPicker.js.map +1 -1
- package/dist/task-board/components/ProjectAgentsPanel.d.ts +4 -0
- package/dist/task-board/components/ProjectAgentsPanel.js +156 -0
- package/dist/task-board/components/ProjectAgentsPanel.js.map +1 -0
- package/dist/task-board/components/ProjectDashboard.d.ts +21 -21
- package/dist/task-board/components/ProjectDashboard.js +127 -217
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js +61 -15
- package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
- package/dist/task-board/components/ProjectListContent.d.ts +0 -1
- package/dist/task-board/components/ProjectListContent.js +10 -12
- package/dist/task-board/components/ProjectListContent.js.map +1 -1
- package/dist/task-board/components/ProjectOverviewContent.js +84 -15
- package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
- package/dist/task-board/components/ProjectPropertiesPanel.d.ts +0 -2
- package/dist/task-board/components/ProjectPropertiesPanel.js +13 -17
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/ProjectSelector.d.ts +20 -0
- package/dist/task-board/components/ProjectSelector.js +10 -0
- package/dist/task-board/components/ProjectSelector.js.map +1 -0
- package/dist/task-board/components/ProjectSettingsDialog.d.ts +0 -18
- package/dist/task-board/components/ProjectSettingsDialog.js +48 -66
- package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
- package/dist/task-board/components/TaskAgentPanel.d.ts +0 -4
- package/dist/task-board/components/TaskAgentPanel.js +8 -23
- package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneePicker.js +7 -18
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentsSection.d.ts +0 -1
- package/dist/task-board/components/TaskAttachmentsSection.js +41 -19
- package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js +29 -26
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectListSidebar.js +14 -70
- package/dist/task-board/components/TaskBoardProjectListSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardTitlebar.js +13 -8
- package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
- package/dist/task-board/components/TaskCard.js +10 -29
- package/dist/task-board/components/TaskCard.js.map +1 -1
- package/dist/task-board/components/TaskDetailDialog.d.ts +12 -0
- package/dist/task-board/components/TaskDetailDialog.js +8 -0
- package/dist/task-board/components/TaskDetailDialog.js.map +1 -0
- package/dist/task-board/components/TaskDetailPanel.d.ts +0 -1
- package/dist/task-board/components/TaskDetailPanel.js +32 -45
- package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
- package/dist/task-board/components/TaskReviewActions.d.ts +0 -1
- package/dist/task-board/components/TaskReviewActions.js +4 -7
- package/dist/task-board/components/TaskReviewActions.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +18 -17
- package/dist/task-board/components/TaskRow.js.map +1 -1
- package/dist/task-board/components/TaskboardPersistentLogPanel.js +10 -17
- package/dist/task-board/components/TaskboardPersistentLogPanel.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCards.js +5 -7
- package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCenter.d.ts +1 -7
- package/dist/task-board/components/WizardCommunicationCenter.js +7 -14
- package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationShared.js +22 -22
- package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
- package/dist/task-board/components/WizardTask.d.ts +1 -5
- package/dist/task-board/components/WizardTask.js +31 -14
- package/dist/task-board/components/WizardTask.js.map +1 -1
- package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +2 -10
- package/dist/task-board/components/WizardTaskDetailsPanel.js +11 -57
- package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
- package/dist/task-board/index.d.ts +15 -0
- package/dist/task-board/index.js +18 -0
- package/dist/task-board/index.js.map +1 -0
- package/dist/task-board/persistentLogCopy.js +1 -3
- package/dist/task-board/persistentLogCopy.js.map +1 -1
- package/dist/task-board/persistentLogLabels.js.map +1 -1
- package/dist/task-board/services/taskService.d.ts +0 -7
- package/dist/task-board/services/taskService.js +2 -8
- package/dist/task-board/services/taskService.js.map +1 -1
- package/dist/task-board/taskAgentConfig.js +2 -6
- package/dist/task-board/taskAgentConfig.js.map +1 -1
- package/dist/task-board/taskAgentLink.js +3 -1
- package/dist/task-board/taskAgentLink.js.map +1 -1
- package/dist/task-board/taskBoardNavStore.d.ts +2 -4
- package/dist/task-board/taskBoardNavStore.js +2 -45
- package/dist/task-board/taskBoardNavStore.js.map +1 -1
- package/dist/task-board/taskExecutionRecords.js.map +1 -1
- package/dist/task-board/taskExecutionStatus.js +19 -14
- package/dist/task-board/taskExecutionStatus.js.map +1 -1
- package/dist/task-board/taskStatus.js +2 -2
- package/dist/task-board/taskStatus.js.map +1 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js +3 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js.map +1 -1
- package/dist/task-board/utils/projectHierarchy.js.map +1 -1
- package/dist/task-board/utils/taskDependencyOrdering.js +1 -2
- package/dist/task-board/utils/taskDependencyOrdering.js.map +1 -1
- package/dist/task-board/views/DependencyGraphView.d.ts +1 -42
- package/dist/task-board/views/DependencyGraphView.js +74 -239
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/dist/task-board/views/KanbanView.js +49 -312
- package/dist/task-board/views/KanbanView.js.map +1 -1
- package/dist/task-board/views/ListView.js +5 -6
- package/dist/task-board/views/ListView.js.map +1 -1
- package/dist/task-board/views/PlanningView.d.ts +7 -0
- package/dist/task-board/views/PlanningView.js +112 -0
- package/dist/task-board/views/PlanningView.js.map +1 -0
- package/dist/task-board/views/WizardView.d.ts +0 -2
- package/dist/task-board/views/WizardView.js +29 -36
- package/dist/task-board/views/WizardView.js.map +1 -1
- package/dist/test/setup.d.ts +0 -0
- package/dist/test/setup.js +37 -0
- package/dist/test/setup.js.map +1 -0
- package/dist/tour/Tour.js +7 -7
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +17 -169
- package/dist/tour/default-tour.js.map +1 -1
- package/dist/tour/preview-tour.js +1 -1
- package/dist/tour/preview-tour.js.map +1 -1
- package/dist/types.d.ts +1 -16
- package/package.json +1 -13
- package/styles.css +843 -320
- package/dist/agents-view/AgentGalleryCard.d.ts +0 -12
- package/dist/agents-view/AgentGalleryCard.js +0 -12
- package/dist/agents-view/AgentGalleryCard.js.map +0 -1
- package/dist/agents-view/AgentGalleryView.d.ts +0 -18
- package/dist/agents-view/AgentGalleryView.js +0 -88
- package/dist/agents-view/AgentGalleryView.js.map +0 -1
- package/dist/agents-view/AgentProfileIcon.d.ts +0 -9
- package/dist/agents-view/AgentProfileIcon.js +0 -32
- package/dist/agents-view/AgentProfileIcon.js.map +0 -1
- package/dist/agents-view/DateAgentsGroup.d.ts +0 -17
- package/dist/agents-view/DateAgentsGroup.js +0 -19
- package/dist/agents-view/DateAgentsGroup.js.map +0 -1
- package/dist/agents-view/RenameAgentDialog.d.ts +0 -12
- package/dist/agents-view/RenameAgentDialog.js +0 -40
- package/dist/agents-view/RenameAgentDialog.js.map +0 -1
- package/dist/agents-view/agentsNavStore.d.ts +0 -8
- package/dist/agents-view/agentsNavStore.js +0 -24
- package/dist/agents-view/agentsNavStore.js.map +0 -1
- package/dist/components/SearchInput.d.ts +0 -28
- package/dist/components/SearchInput.js +0 -38
- package/dist/components/SearchInput.js.map +0 -1
- package/dist/components/ui/LanguageSelectionGrid.d.ts +0 -27
- package/dist/components/ui/LanguageSelectionGrid.js +0 -41
- package/dist/components/ui/LanguageSelectionGrid.js.map +0 -1
- package/dist/components/ui/PlaceholderInputParser.d.ts +0 -9
- package/dist/components/ui/PlaceholderInputParser.js +0 -98
- package/dist/components/ui/PlaceholderInputParser.js.map +0 -1
- package/dist/components/ui/UserPicker.d.ts +0 -34
- package/dist/components/ui/UserPicker.js +0 -73
- package/dist/components/ui/UserPicker.js.map +0 -1
- package/dist/components/ui/accordion.d.ts +0 -7
- package/dist/components/ui/accordion.js +0 -17
- package/dist/components/ui/accordion.js.map +0 -1
- package/dist/components/ui/avatar.d.ts +0 -30
- package/dist/components/ui/avatar.js +0 -46
- package/dist/components/ui/avatar.js.map +0 -1
- package/dist/components/ui/close-button.d.ts +0 -13
- package/dist/components/ui/close-button.js +0 -29
- package/dist/components/ui/close-button.js.map +0 -1
- package/dist/components/ui/close-icon.d.ts +0 -7
- package/dist/components/ui/close-icon.js +0 -14
- package/dist/components/ui/close-icon.js.map +0 -1
- package/dist/components/ui/delete-button.d.ts +0 -13
- package/dist/components/ui/delete-button.js +0 -36
- package/dist/components/ui/delete-button.js.map +0 -1
- package/dist/components/ui/delete-icon.d.ts +0 -7
- package/dist/components/ui/delete-icon.js +0 -14
- package/dist/components/ui/delete-icon.js.map +0 -1
- package/dist/components/ui/mention-textarea.d.ts +0 -10
- package/dist/components/ui/mention-textarea.js +0 -180
- package/dist/components/ui/mention-textarea.js.map +0 -1
- package/dist/components/ui/multi-switch-button.d.ts +0 -22
- package/dist/components/ui/multi-switch-button.js +0 -12
- package/dist/components/ui/multi-switch-button.js.map +0 -1
- package/dist/editor/EditorLoadingOverlay.d.ts +0 -1
- package/dist/editor/EditorLoadingOverlay.js +0 -7
- package/dist/editor/EditorLoadingOverlay.js.map +0 -1
- package/dist/editor/WorkspaceTitleSwitcher.d.ts +0 -5
- package/dist/editor/WorkspaceTitleSwitcher.js +0 -67
- package/dist/editor/WorkspaceTitleSwitcher.js.map +0 -1
- package/dist/editor/ai/InlineAiTextEditTooltip.d.ts +0 -8
- package/dist/editor/ai/InlineAiTextEditTooltip.js +0 -10
- package/dist/editor/ai/InlineAiTextEditTooltip.js.map +0 -1
- package/dist/editor/ai/agentActivitySummary.d.ts +0 -108
- package/dist/editor/ai/agentActivitySummary.js +0 -390
- package/dist/editor/ai/agentActivitySummary.js.map +0 -1
- package/dist/editor/ai/inlineAiTextEditLabels.d.ts +0 -2
- package/dist/editor/ai/inlineAiTextEditLabels.js +0 -8
- package/dist/editor/ai/inlineAiTextEditLabels.js.map +0 -1
- package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +0 -5
- package/dist/editor/ai/prepareInlineAiTextSelection.js +0 -86
- package/dist/editor/ai/prepareInlineAiTextSelection.js.map +0 -1
- package/dist/editor/ai/terminal/agentContextMerge.d.ts +0 -14
- package/dist/editor/ai/terminal/agentContextMerge.js +0 -105
- package/dist/editor/ai/terminal/agentContextMerge.js.map +0 -1
- package/dist/editor/ai/terminal/agentOptimisticMessage.d.ts +0 -1
- package/dist/editor/ai/terminal/agentOptimisticMessage.js +0 -4
- package/dist/editor/ai/terminal/agentOptimisticMessage.js.map +0 -1
- package/dist/editor/ai/terminal/agentPromptPlaceholders.d.ts +0 -5
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js +0 -8
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +0 -1
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.d.ts +0 -82
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js +0 -277
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js.map +0 -1
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.d.ts +0 -13
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js +0 -87
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionCostLimit.d.ts +0 -7
- package/dist/editor/ai/terminal/agentSessionCostLimit.js +0 -27
- package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionLiveTotals.d.ts +0 -11
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js +0 -127
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionMetadata.d.ts +0 -2
- package/dist/editor/ai/terminal/agentSessionMetadata.js +0 -24
- package/dist/editor/ai/terminal/agentSessionMetadata.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +0 -65
- package/dist/editor/ai/terminal/agentSessionSelectors.js +0 -232
- package/dist/editor/ai/terminal/agentSessionSelectors.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +0 -16
- package/dist/editor/ai/terminal/agentSessionSnapshot.js +0 -77
- package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +0 -1
- package/dist/editor/ai/terminal/agentSessionState.d.ts +0 -134
- package/dist/editor/ai/terminal/agentSessionState.js +0 -770
- package/dist/editor/ai/terminal/agentSessionState.js.map +0 -1
- package/dist/editor/ai/terminal/agentStartRequest.d.ts +0 -15
- package/dist/editor/ai/terminal/agentStartRequest.js +0 -25
- package/dist/editor/ai/terminal/agentStartRequest.js.map +0 -1
- package/dist/editor/ai/terminal/agentSubmitErrors.d.ts +0 -1
- package/dist/editor/ai/terminal/agentSubmitErrors.js +0 -9
- package/dist/editor/ai/terminal/agentSubmitErrors.js.map +0 -1
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.d.ts +0 -21
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js +0 -133
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +0 -145
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentBanners.js +0 -16
- package/dist/editor/ai/terminal/components/AgentBanners.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.d.ts +0 -10
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js +0 -24
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js +0 -116
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentDocumentList.d.ts +0 -32
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +0 -404
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js +0 -12
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +0 -39
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +0 -42
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentGreeting.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentGreeting.js +0 -14
- package/dist/editor/ai/terminal/components/AgentGreeting.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.d.ts +0 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js +0 -6
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js +0 -8
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentModeSelector.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +0 -90
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentParentLink.d.ts +0 -6
- package/dist/editor/ai/terminal/components/AgentParentLink.js +0 -9
- package/dist/editor/ai/terminal/components/AgentParentLink.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +0 -10
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.d.ts +0 -16
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +0 -15
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentProjectProgress.d.ts +0 -12
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js +0 -207
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.d.ts +0 -14
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +0 -17
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptComposer.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js +0 -10
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.d.ts +0 -39
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +0 -27
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.d.ts +0 -16
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +0 -93
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +0 -7
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.d.ts +0 -8
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +0 -32
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsContent.d.ts +0 -53
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js +0 -9
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.d.ts +0 -7
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +0 -14
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSettingsSections.d.ts +0 -43
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js +0 -33
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.d.ts +0 -21
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +0 -48
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +0 -28
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.d.ts +0 -6
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.d.ts +0 -10
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +0 -13
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +0 -12
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +0 -21
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.d.ts +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js +0 -13
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.d.ts +0 -23
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +0 -66
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.d.ts +0 -13
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js +0 -10
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.d.ts +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +0 -24
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js +0 -7
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.d.ts +0 -57
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +0 -98
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.d.ts +0 -20
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +0 -44
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +0 -81
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +0 -910
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +0 -45
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +0 -18
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentTerminalView.d.ts +0 -18
- package/dist/editor/ai/terminal/components/AgentTerminalView.js +0 -41
- package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +0 -1
- package/dist/editor/ai/terminal/components/AgentThinkingDots.d.ts +0 -5
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js +0 -9
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +0 -1
- package/dist/editor/ai/terminal/components/AiResponseMessage.d.ts +0 -35
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +0 -1520
- package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +0 -1
- package/dist/editor/ai/terminal/components/ContextInfoBar.d.ts +0 -17
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +0 -588
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +0 -1
- package/dist/editor/ai/terminal/components/EditOperationsPanel.d.ts +0 -9
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +0 -102
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +0 -4
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js +0 -7
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +0 -1
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.d.ts +0 -1
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +0 -5
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +0 -1
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.d.ts +0 -9
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js +0 -56
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js.map +0 -1
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.d.ts +0 -8
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +0 -49
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.d.ts +0 -7
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +0 -105
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/TodoListPanel.d.ts +0 -6
- package/dist/editor/ai/terminal/components/TodoListPanel.js +0 -117
- package/dist/editor/ai/terminal/components/TodoListPanel.js.map +0 -1
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +0 -842
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +0 -1
- package/dist/editor/ai/terminal/components/UserMessage.d.ts +0 -6
- package/dist/editor/ai/terminal/components/UserMessage.js +0 -197
- package/dist/editor/ai/terminal/components/UserMessage.js.map +0 -1
- package/dist/editor/ai/terminal/contextBreakdown.d.ts +0 -17
- package/dist/editor/ai/terminal/contextBreakdown.js +0 -58
- package/dist/editor/ai/terminal/contextBreakdown.js.map +0 -1
- package/dist/editor/ai/terminal/types.d.ts +0 -138
- package/dist/editor/ai/terminal/types.js +0 -2
- package/dist/editor/ai/terminal/types.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentActiveStreaming.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js +0 -9
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js +0 -19
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.d.ts +0 -29
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js +0 -68
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCapture.d.ts +0 -24
- package/dist/editor/ai/terminal/useAgentBrowserCapture.js +0 -147
- package/dist/editor/ai/terminal/useAgentBrowserCapture.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.d.ts +0 -29
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.js +0 -36
- package/dist/editor/ai/terminal/useAgentBrowserCapturePanel.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.js +0 -36
- package/dist/editor/ai/terminal/useAgentBrowserCaptureUi.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js +0 -96
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.d.ts +0 -9
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js +0 -98
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js +0 -29
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentCostLimitActions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js +0 -41
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +0 -58
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentDraftInitializer.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js +0 -121
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEditorContext.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentEditorContext.js +0 -135
- package/dist/editor/ai/terminal/useAgentEditorContext.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js +0 -16
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js +0 -10
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js +0 -55
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +0 -55
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js +0 -18
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInitialPrompt.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js +0 -48
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js +0 -196
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js +0 -28
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogState.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js +0 -78
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +0 -24
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js +0 -21
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +0 -39
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +0 -73
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.d.ts +0 -13
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js +0 -31
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentLoader.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentLoader.js +0 -77
- package/dist/editor/ai/terminal/useAgentLoader.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js +0 -23
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentModeState.d.ts +0 -13
- package/dist/editor/ai/terminal/useAgentModeState.js +0 -52
- package/dist/editor/ai/terminal/useAgentModeState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +0 -26
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +0 -19
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingApprovals.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js +0 -35
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +0 -115
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js +0 -60
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentProfileSelection.d.ts +0 -17
- package/dist/editor/ai/terminal/useAgentProfileSelection.js +0 -61
- package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.d.ts +0 -37
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +0 -206
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.d.ts +0 -26
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js +0 -51
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js +0 -29
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptDraft.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentPromptDraft.js +0 -39
- package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.d.ts +0 -6
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js +0 -22
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js +0 -49
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js +0 -10
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentQuickActions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentQuickActions.js +0 -109
- package/dist/editor/ai/terminal/useAgentQuickActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js +0 -67
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.d.ts +0 -18
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js +0 -53
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +0 -24
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +0 -66
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.d.ts +0 -22
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js +0 -70
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.d.ts +0 -42
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js +0 -39
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +0 -17
- package/dist/editor/ai/terminal/useAgentRunRefs.js +0 -44
- package/dist/editor/ai/terminal/useAgentRunRefs.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +0 -118
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js +0 -22
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js +0 -74
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.d.ts +0 -38
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +0 -365
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.d.ts +0 -11
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js +0 -9
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentServerReconciler.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentServerReconciler.js +0 -22
- package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSession.d.ts +0 -51
- package/dist/editor/ai/terminal/useAgentSession.js +0 -186
- package/dist/editor/ai/terminal/useAgentSession.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +0 -30
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js +0 -14
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionFacade.d.ts +0 -51
- package/dist/editor/ai/terminal/useAgentSessionFacade.js +0 -130
- package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js +0 -17
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +0 -107
- package/dist/editor/ai/terminal/useAgentSessionSync.js +0 -192
- package/dist/editor/ai/terminal/useAgentSessionSync.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsCommands.d.ts +0 -49
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js +0 -210
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +0 -46
- package/dist/editor/ai/terminal/useAgentSettingsData.js +0 -380
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js +0 -33
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsPanel.d.ts +0 -87
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js +0 -92
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +0 -45
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.d.ts +0 -35
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js +0 -51
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSkillActions.d.ts +0 -33
- package/dist/editor/ai/terminal/useAgentSkillActions.js +0 -210
- package/dist/editor/ai/terminal/useAgentSkillActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +0 -52
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStatusBarContent.d.ts +0 -36
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js +0 -70
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStopCommand.d.ts +0 -28
- package/dist/editor/ai/terminal/useAgentStopCommand.js +0 -55
- package/dist/editor/ai/terminal/useAgentStopCommand.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStopGuardState.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentStopGuardState.js +0 -40
- package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js +0 -31
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +0 -66
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js +0 -165
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamSubscription.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js +0 -70
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.d.ts +0 -38
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +0 -228
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js +0 -85
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +0 -55
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +0 -396
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.d.ts +0 -31
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js +0 -45
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.d.ts +0 -20
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js +0 -57
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +0 -32
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalActions.d.ts +0 -23
- package/dist/editor/ai/terminal/useAgentTerminalActions.js +0 -54
- package/dist/editor/ai/terminal/useAgentTerminalActions.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js +0 -16
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalChrome.d.ts +0 -30
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js +0 -12
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalController.d.ts +0 -2
- package/dist/editor/ai/terminal/useAgentTerminalController.js +0 -868
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalControls.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentTerminalControls.js +0 -21
- package/dist/editor/ai/terminal/useAgentTerminalControls.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js +0 -17
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalNotices.d.ts +0 -10
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js +0 -11
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.d.ts +0 -7
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js +0 -29
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalScroll.d.ts +0 -15
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js +0 -63
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalUiState.d.ts +0 -27
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js +0 -43
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.d.ts +0 -19
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js +0 -22
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewState.d.ts +0 -32
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js +0 -44
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.d.ts +0 -25
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js +0 -187
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.d.ts +0 -14
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js +0 -65
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.d.ts +0 -8
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +0 -53
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolCallHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js +0 -84
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolResultHandler.d.ts +0 -12
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +0 -110
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentToolUiEvents.d.ts +0 -5
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js +0 -24
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.d.ts +0 -9
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js +0 -42
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +0 -1
- package/dist/editor/ai/terminal/useAgentVoiceInput.d.ts +0 -16
- package/dist/editor/ai/terminal/useAgentVoiceInput.js +0 -231
- package/dist/editor/ai/terminal/useAgentVoiceInput.js.map +0 -1
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.d.ts +0 -6
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js +0 -57
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js.map +0 -1
- package/dist/editor/ai/useActiveAgentConversation.d.ts +0 -5
- package/dist/editor/ai/useActiveAgentConversation.js +0 -52
- package/dist/editor/ai/useActiveAgentConversation.js.map +0 -1
- package/dist/editor/bridge/BridgeClient.d.ts +0 -73
- package/dist/editor/bridge/BridgeClient.js +0 -415
- package/dist/editor/bridge/BridgeClient.js.map +0 -1
- package/dist/editor/bridge/protocol.d.ts +0 -564
- package/dist/editor/bridge/protocol.js +0 -200
- package/dist/editor/bridge/protocol.js.map +0 -1
- package/dist/editor/client/SessionExpiredOverlay.d.ts +0 -1
- package/dist/editor/client/SessionExpiredOverlay.js +0 -25
- package/dist/editor/client/SessionExpiredOverlay.js.map +0 -1
- package/dist/editor/client/hooks/feedbackSocketState.d.ts +0 -6
- package/dist/editor/client/hooks/feedbackSocketState.js +0 -16
- package/dist/editor/client/hooks/feedbackSocketState.js.map +0 -1
- package/dist/editor/client/hooks/useReducedMotion.d.ts +0 -8
- package/dist/editor/client/hooks/useReducedMotion.js +0 -12
- package/dist/editor/client/hooks/useReducedMotion.js.map +0 -1
- package/dist/editor/client/hooks/workboxDescriptors.d.ts +0 -6
- package/dist/editor/client/hooks/workboxDescriptors.js +0 -49
- package/dist/editor/client/hooks/workboxDescriptors.js.map +0 -1
- package/dist/editor/client/manualShowMeFocus.d.ts +0 -17
- package/dist/editor/client/manualShowMeFocus.js +0 -32
- package/dist/editor/client/manualShowMeFocus.js.map +0 -1
- package/dist/editor/client/operationToasts.d.ts +0 -2
- package/dist/editor/client/operationToasts.js +0 -35
- package/dist/editor/client/operationToasts.js.map +0 -1
- package/dist/editor/client/realtime/realtimeTransport.d.ts +0 -56
- package/dist/editor/client/realtime/realtimeTransport.js +0 -197
- package/dist/editor/client/realtime/realtimeTransport.js.map +0 -1
- package/dist/editor/commands/placeholderCommands.d.ts +0 -17
- package/dist/editor/commands/placeholderCommands.js +0 -37
- package/dist/editor/commands/placeholderCommands.js.map +0 -1
- package/dist/editor/commands/reorderComponent.d.ts +0 -20
- package/dist/editor/commands/reorderComponent.js +0 -40
- package/dist/editor/commands/reorderComponent.js.map +0 -1
- package/dist/editor/componentFrameColors.d.ts +0 -11
- package/dist/editor/componentFrameColors.js +0 -47
- package/dist/editor/componentFrameColors.js.map +0 -1
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +0 -21
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +0 -96
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +0 -1
- package/dist/editor/field-types/richtext/richTextToolbarIcons.d.ts +0 -7
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js +0 -49
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js.map +0 -1
- package/dist/editor/field-types/useFormFieldCaretPresence.d.ts +0 -13
- package/dist/editor/field-types/useFormFieldCaretPresence.js +0 -92
- package/dist/editor/field-types/useFormFieldCaretPresence.js.map +0 -1
- package/dist/editor/field-types/useTextCompletion.d.ts +0 -20
- package/dist/editor/field-types/useTextCompletion.js +0 -166
- package/dist/editor/field-types/useTextCompletion.js.map +0 -1
- package/dist/editor/menubar/OpenInNewTabButton.d.ts +0 -15
- package/dist/editor/menubar/OpenInNewTabButton.js +0 -42
- package/dist/editor/menubar/OpenInNewTabButton.js.map +0 -1
- package/dist/editor/menubar/OperationsIndicator.d.ts +0 -7
- package/dist/editor/menubar/OperationsIndicator.js +0 -87
- package/dist/editor/menubar/OperationsIndicator.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js +0 -13
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.d.ts +0 -7
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +0 -132
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +0 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.d.ts +0 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +0 -15
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +0 -1
- package/dist/editor/notifications/watchEventOptions.d.ts +0 -13
- package/dist/editor/notifications/watchEventOptions.js +0 -113
- package/dist/editor/notifications/watchEventOptions.js.map +0 -1
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +0 -8
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +0 -526
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +0 -1
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +0 -36
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +0 -879
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +0 -1
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.d.ts +0 -22
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js +0 -40
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js.map +0 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.d.ts +0 -26
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js +0 -35
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +0 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +0 -24
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +0 -90
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +0 -1
- package/dist/editor/page-editor-chrome/componentDragObject.d.ts +0 -10
- package/dist/editor/page-editor-chrome/componentDragObject.js +0 -22
- package/dist/editor/page-editor-chrome/componentDragObject.js.map +0 -1
- package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +0 -6
- package/dist/editor/page-editor-chrome/insertTargetLabel.js +0 -21
- package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +0 -62
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +0 -306
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.d.ts +0 -44
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js +0 -160
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +0 -83
- package/dist/editor/page-editor-chrome/overlay/geometry.js +0 -349
- package/dist/editor/page-editor-chrome/overlay/geometry.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +0 -66
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +0 -274
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +0 -1
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.d.ts +0 -10
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js +0 -28
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js.map +0 -1
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +0 -29
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +0 -334
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +0 -1
- package/dist/editor/page-editor-chrome/useComponentDragHandle.d.ts +0 -23
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js +0 -41
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +0 -1
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.d.ts +0 -23
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +0 -207
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +0 -1
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +0 -2
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +0 -18
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js.map +0 -1
- package/dist/editor/page-viewer/MinimapDropTargets.d.ts +0 -13
- package/dist/editor/page-viewer/MinimapDropTargets.js +0 -140
- package/dist/editor/page-viewer/MinimapDropTargets.js.map +0 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +0 -19
- package/dist/editor/page-viewer/bridgeFieldPatch.js +0 -33
- package/dist/editor/page-viewer/bridgeFieldPatch.js.map +0 -1
- package/dist/editor/reviews/FeedbackCard.d.ts +0 -23
- package/dist/editor/reviews/FeedbackCard.js +0 -32
- package/dist/editor/reviews/FeedbackCard.js.map +0 -1
- package/dist/editor/reviews/FeedbackModeIntro.d.ts +0 -15
- package/dist/editor/reviews/FeedbackModeIntro.js +0 -22
- package/dist/editor/reviews/FeedbackModeIntro.js.map +0 -1
- package/dist/editor/reviews/MentionText.d.ts +0 -3
- package/dist/editor/reviews/MentionText.js +0 -139
- package/dist/editor/reviews/MentionText.js.map +0 -1
- package/dist/editor/reviews/SuggestionCommentThread.d.ts +0 -14
- package/dist/editor/reviews/SuggestionCommentThread.js +0 -151
- package/dist/editor/reviews/SuggestionCommentThread.js.map +0 -1
- package/dist/editor/reviews/commentTransientSelection.d.ts +0 -23
- package/dist/editor/reviews/commentTransientSelection.js +0 -7
- package/dist/editor/reviews/commentTransientSelection.js.map +0 -1
- package/dist/editor/reviews/feedbackAvatar.d.ts +0 -14
- package/dist/editor/reviews/feedbackAvatar.js +0 -86
- package/dist/editor/reviews/feedbackAvatar.js.map +0 -1
- package/dist/editor/reviews/feedbackCommentRules.d.ts +0 -3
- package/dist/editor/reviews/feedbackCommentRules.js +0 -15
- package/dist/editor/reviews/feedbackCommentRules.js.map +0 -1
- package/dist/editor/reviews/feedbackOrdering.d.ts +0 -5
- package/dist/editor/reviews/feedbackOrdering.js +0 -27
- package/dist/editor/reviews/feedbackOrdering.js.map +0 -1
- package/dist/editor/reviews/feedbackScrollTarget.d.ts +0 -19
- package/dist/editor/reviews/feedbackScrollTarget.js +0 -171
- package/dist/editor/reviews/feedbackScrollTarget.js.map +0 -1
- package/dist/editor/reviews/feedbackSelection.d.ts +0 -3
- package/dist/editor/reviews/feedbackSelection.js +0 -65
- package/dist/editor/reviews/feedbackSelection.js.map +0 -1
- package/dist/editor/reviews/feedbackSidebarText.d.ts +0 -2
- package/dist/editor/reviews/feedbackSidebarText.js +0 -3
- package/dist/editor/reviews/feedbackSidebarText.js.map +0 -1
- package/dist/editor/reviews/latestFeedbackData.d.ts +0 -11
- package/dist/editor/reviews/latestFeedbackData.js +0 -40
- package/dist/editor/reviews/latestFeedbackData.js.map +0 -1
- package/dist/editor/reviews/openCommentsFeedback.d.ts +0 -35
- package/dist/editor/reviews/openCommentsFeedback.js +0 -89
- package/dist/editor/reviews/openCommentsFeedback.js.map +0 -1
- package/dist/editor/reviews/suggestedEditState.d.ts +0 -14
- package/dist/editor/reviews/suggestedEditState.js +0 -110
- package/dist/editor/reviews/suggestedEditState.js.map +0 -1
- package/dist/editor/reviews/suggestionContentChange.d.ts +0 -2
- package/dist/editor/reviews/suggestionContentChange.js +0 -29
- package/dist/editor/reviews/suggestionContentChange.js.map +0 -1
- package/dist/editor/reviews/suggestionDisplayValue.d.ts +0 -43
- package/dist/editor/reviews/suggestionDisplayValue.js +0 -93
- package/dist/editor/reviews/suggestionDisplayValue.js.map +0 -1
- package/dist/editor/services/manualService.d.ts +0 -31
- package/dist/editor/services/manualService.js +0 -77
- package/dist/editor/services/manualService.js.map +0 -1
- package/dist/editor/services/userResolution.d.ts +0 -18
- package/dist/editor/services/userResolution.js +0 -86
- package/dist/editor/services/userResolution.js.map +0 -1
- package/dist/editor/services/userService.d.ts +0 -14
- package/dist/editor/services/userService.js +0 -39
- package/dist/editor/services/userService.js.map +0 -1
- package/dist/editor/settings/SettingsCard.d.ts +0 -4
- package/dist/editor/settings/SettingsCard.js +0 -7
- package/dist/editor/settings/SettingsCard.js.map +0 -1
- package/dist/editor/settings/SettingsPanelLayout.d.ts +0 -28
- package/dist/editor/settings/SettingsPanelLayout.js +0 -24
- package/dist/editor/settings/SettingsPanelLayout.js.map +0 -1
- package/dist/editor/settings/panels/AgentToolsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/AgentToolsPanel.js +0 -178
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +0 -1
- package/dist/editor/settings/panels/CreateMcpServerDialog.d.ts +0 -7
- package/dist/editor/settings/panels/CreateMcpServerDialog.js +0 -79
- package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +0 -1
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +0 -2
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +0 -52
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +0 -1
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +0 -156
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +0 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.d.ts +0 -13
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +0 -43
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +0 -1
- package/dist/editor/settings/panels/SystemSettingsPanel.d.ts +0 -2
- package/dist/editor/settings/panels/SystemSettingsPanel.js +0 -69
- package/dist/editor/settings/panels/SystemSettingsPanel.js.map +0 -1
- package/dist/editor/settings/panels/UserPreferencesPanel.d.ts +0 -2
- package/dist/editor/settings/panels/UserPreferencesPanel.js +0 -66
- package/dist/editor/settings/panels/UserPreferencesPanel.js.map +0 -1
- package/dist/editor/sidebar/ContentTreePanel.d.ts +0 -3
- package/dist/editor/sidebar/ContentTreePanel.js +0 -14
- package/dist/editor/sidebar/ContentTreePanel.js.map +0 -1
- package/dist/editor/sidebar/contentTreeConstants.d.ts +0 -2
- package/dist/editor/sidebar/contentTreeConstants.js +0 -3
- package/dist/editor/sidebar/contentTreeConstants.js.map +0 -1
- package/dist/editor/ui/HomeListRow.d.ts +0 -11
- package/dist/editor/ui/HomeListRow.js +0 -11
- package/dist/editor/ui/HomeListRow.js.map +0 -1
- package/dist/editor/ui/LoadingState.d.ts +0 -11
- package/dist/editor/ui/LoadingState.js +0 -27
- package/dist/editor/ui/LoadingState.js.map +0 -1
- package/dist/editor/ui/PublishDialog.d.ts +0 -11
- package/dist/editor/ui/PublishDialog.js +0 -101
- package/dist/editor/ui/PublishDialog.js.map +0 -1
- package/dist/editor/ui/WorkboxItemsTable.d.ts +0 -15
- package/dist/editor/ui/WorkboxItemsTable.js +0 -142
- package/dist/editor/ui/WorkboxItemsTable.js.map +0 -1
- package/dist/editor/ui/animationSettle.d.ts +0 -32
- package/dist/editor/ui/animationSettle.js +0 -85
- package/dist/editor/ui/animationSettle.js.map +0 -1
- package/dist/editor/ui/splitterResizeEvent.d.ts +0 -9
- package/dist/editor/ui/splitterResizeEvent.js +0 -13
- package/dist/editor/ui/splitterResizeEvent.js.map +0 -1
- package/dist/editor/utils/dedupeInflight.d.ts +0 -1
- package/dist/editor/utils/dedupeInflight.js +0 -13
- package/dist/editor/utils/dedupeInflight.js.map +0 -1
- package/dist/editor/utils/expandSelectionAtCaret.d.ts +0 -15
- package/dist/editor/utils/expandSelectionAtCaret.js +0 -183
- package/dist/editor/utils/expandSelectionAtCaret.js.map +0 -1
- package/dist/editor/views/ItemEditorPane.d.ts +0 -11
- package/dist/editor/views/ItemEditorPane.js +0 -19
- package/dist/editor/views/ItemEditorPane.js.map +0 -1
- package/dist/editor/workflowFields.d.ts +0 -1
- package/dist/editor/workflowFields.js +0 -16
- package/dist/editor/workflowFields.js.map +0 -1
- package/dist/lib/pointerDrag.d.ts +0 -20
- package/dist/lib/pointerDrag.js +0 -57
- package/dist/lib/pointerDrag.js.map +0 -1
- package/dist/logging/consolePrefix.d.ts +0 -2
- package/dist/logging/consolePrefix.js +0 -49
- package/dist/logging/consolePrefix.js.map +0 -1
- package/dist/logging/index.d.ts +0 -1
- package/dist/logging/index.js +0 -2
- package/dist/logging/index.js.map +0 -1
- package/dist/logging/install-browser-console.js +0 -3
- package/dist/logging/install-browser-console.js.map +0 -1
- package/dist/task-board/components/FinishedProjectCard.d.ts +0 -5
- package/dist/task-board/components/FinishedProjectCard.js +0 -8
- package/dist/task-board/components/FinishedProjectCard.js.map +0 -1
- package/dist/task-board/components/TaskAssigneeBadge.d.ts +0 -16
- package/dist/task-board/components/TaskAssigneeBadge.js +0 -21
- package/dist/task-board/components/TaskAssigneeBadge.js.map +0 -1
- package/dist/task-board/components/TaskAttachmentDropZone.d.ts +0 -11
- package/dist/task-board/components/TaskAttachmentDropZone.js +0 -100
- package/dist/task-board/components/TaskAttachmentDropZone.js.map +0 -1
- package/dist/task-board/components/TaskBoardBreadcrumb.d.ts +0 -17
- package/dist/task-board/components/TaskBoardBreadcrumb.js +0 -14
- package/dist/task-board/components/TaskBoardBreadcrumb.js.map +0 -1
- package/dist/task-board/components/TaskBoardFilterBox.d.ts +0 -4
- package/dist/task-board/components/TaskBoardFilterBox.js +0 -7
- package/dist/task-board/components/TaskBoardFilterBox.js.map +0 -1
- package/dist/task-board/components/TaskBoardHomeView.d.ts +0 -7
- package/dist/task-board/components/TaskBoardHomeView.js +0 -21
- package/dist/task-board/components/TaskBoardHomeView.js.map +0 -1
- package/dist/task-board/components/TaskBoardProjectSelector.d.ts +0 -8
- package/dist/task-board/components/TaskBoardProjectSelector.js +0 -20
- package/dist/task-board/components/TaskBoardProjectSelector.js.map +0 -1
- package/dist/task-board/taskPriority.d.ts +0 -4
- package/dist/task-board/taskPriority.js +0 -19
- package/dist/task-board/taskPriority.js.map +0 -1
- /package/dist/editor/ai/{terminal/components/AgentBanners.d.ts → AgentBanners.d.ts} +0 -0
- /package/dist/editor/ai/{terminal/components/AgentCostDisplay.d.ts → AgentCostDisplay.d.ts} +0 -0
- /package/dist/editor/ai/{terminal/components/ToolCallDisplay.d.ts → ToolCallDisplay.d.ts} +0 -0
- /package/dist/{logging/install-browser-console.d.ts → editor/ai/agentDiagnostics.test.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selectionContext.js","sourceRoot":"","sources":["../../../src/editor/utils/selectionContext.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,oBAAoB,GAAG,GAAG,CAAC;AAEjC;;;GAGG;AACH,MAAM,2BAA2B,GAAG,mCAAmC,CAAC;AAExE;;;;GAIG;AACH,MAAM,UAAU,iBAAiB,CAAC,IAAY;IAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,2BAA2B,EAAE,EAAE,CAAC,CAAC;AACvD,CAAC;AAED;;;;;;;;;GASG;AACH,MAAM,UAAU,0BAA0B,CACxC,SAAe,EACf,iBAAyB,EACzB,eAAuB,EACvB,cAAsB,oBAAoB;IAE1C,0CAA0C;IAC1C,MAAM,QAAQ,GAAG,SAAS,CAAC,WAAW,IAAI,EAAE,CAAC;IAE7C,uCAAuC;IACvC,MAAM,WAAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,iBAAiB,GAAG,WAAW,CAAC,CAAC;IACjE,IAAI,aAAa,GAAG,QAAQ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AAW,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,WAAW,GAAG,WAAW,CAAC,CAAC;IAC3D,IAAI,aAAa,GAAG,KAAK,CAAC,KAAK,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IAE1D,sCAAsC;IACtC,IAAI,YAAY,GAAG,KAAK,CAAC,KAAK,CAAC,SAAS,EAAE,SAAS,GAAG,WAAW,CAAC,CAAC;IAEnE,0EAA0E;IAC1E,aAAa,GAAG,iBAAiB,CAAC,aAAa,CAAC,CAAC;IACjD,YAAY,GAAG,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAE/C,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMemoWithDebug<T>(factory: () => T, dependencies: any[]): T;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { useMemo, useRef } from "react";
|
|
2
|
+
// Generic type for the return value of the memoized factory
|
|
3
|
+
export function useMemoWithDebug(factory, dependencies) {
|
|
4
|
+
const previousDependenciesRef = useRef([]);
|
|
5
|
+
const hasChanged = dependencies.some((dep, index) => {
|
|
6
|
+
return dep !== previousDependenciesRef.current[index];
|
|
7
|
+
});
|
|
8
|
+
if (hasChanged) {
|
|
9
|
+
dependencies.forEach((dep, index) => {
|
|
10
|
+
if (dep !== previousDependenciesRef.current[index]) {
|
|
11
|
+
console.log(`Dependency at index ${index} changed:`, "\nPrevious:", previousDependenciesRef.current[index], "\nCurrent:", dep);
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
previousDependenciesRef.current = dependencies;
|
|
16
|
+
return useMemo(factory, dependencies);
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=useMemoDebug.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useMemoDebug.js","sourceRoot":"","sources":["../../../src/editor/utils/useMemoDebug.ts"],"names":[],"mappings":"AAA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IAAI,OAAO,IAAI,OAAO,CAAC,OAAO,EAAE,IAAI,IAAI,CAAC,OAAO,EAAE;QAAE,OAAO,KAAK,CAAC;IAEjE,OAAO,IAAI,CAAC;AACd,CAAC;AAED,SAAS,eAAe,CAAC,CAAU,EAAE,CAAU;IAC7C,OAAO,CAAC,CAAC,OAAO,GAAG,CAAC,CAAC,OAAO,CAAC;AAC/B,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAmB,EAAE,IAAU;IAC/D,MAAM,cAAc,GAAG,CAAC,GAAG,QAAQ,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;IAC3D,OAAO,CACL,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,oBAAoB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;QACrE,cAAc,CAAC,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,EAAE,WAAW,CAAC;QAC9E,cAAc,CAAC,CAAC,CAAC,CAClB,CAAC;AACJ,CAAC"}
|
package/dist/editor/utils.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { EditContextType } from "./client/editContext";
|
|
3
3
|
import { FieldDescriptor } from "../types";
|
|
4
|
-
import { Field, FullItem, ItemDescriptor } from "./pageModel";
|
|
4
|
+
import { Field, FullItem, ItemDescriptor, Component } from "./pageModel";
|
|
5
5
|
export type Rect = {
|
|
6
6
|
x: number;
|
|
7
7
|
y: number;
|
|
@@ -15,12 +15,6 @@ export declare const useCollapsedSections: () => {
|
|
|
15
15
|
toggleSection: (sectionTitle: string) => void;
|
|
16
16
|
};
|
|
17
17
|
export declare const extractItemIdFromItemUri: (uri: string) => string;
|
|
18
|
-
export declare function isSitecoreCodeMarkerElement(element: Element | null | undefined): element is HTMLElement;
|
|
19
|
-
export declare function isChromeMarkerElement(element: Element | null | undefined): element is HTMLElement;
|
|
20
|
-
export declare function normalizeMarkerId(id: string | null | undefined): string;
|
|
21
|
-
export declare function findElementByNormalizedDataAttribute(root: ParentNode | null | undefined, attribute: string, value: string | null | undefined): HTMLElement | null;
|
|
22
|
-
export declare function getNextNonChromeMarkerElement(element: Element | null | undefined, stopAt?: Element | null): Element | null;
|
|
23
|
-
export declare function getPreviousNonChromeMarkerElement(element: Element | null | undefined, stopAt?: Element | null): Element | null;
|
|
24
18
|
export declare function isFieldActionExecuting(field: Field, editContext: EditContextType): boolean;
|
|
25
19
|
export declare function getItemDescriptor(item: FullItem | ItemDescriptor): ItemDescriptor;
|
|
26
20
|
export declare function getAbsoluteIconUrl(url: string): string;
|
|
@@ -33,6 +27,22 @@ export declare function hasFieldLock(field: FieldDescriptor, editContext: EditCo
|
|
|
33
27
|
export declare function getSessionWithFieldLock(field: FieldDescriptor, editContext: EditContextType): import("..").EditSession | undefined;
|
|
34
28
|
export declare function getFieldDescriptorFromElement(element: Element): FieldDescriptor;
|
|
35
29
|
export declare function findNearestEditableComponentId(startElement: Element): string | undefined;
|
|
30
|
+
export declare function findFieldElement(iframe: HTMLIFrameElement, fieldDescriptor: FieldDescriptor): Element | null | undefined;
|
|
31
|
+
export declare function findComponentRect(iframe: HTMLIFrameElement, component: Component, takeScrollPositionIntoAccount?: boolean): {
|
|
32
|
+
rect: {
|
|
33
|
+
x: number;
|
|
34
|
+
y: number;
|
|
35
|
+
width: number;
|
|
36
|
+
height: number;
|
|
37
|
+
};
|
|
38
|
+
elements: Element[];
|
|
39
|
+
} | null | undefined;
|
|
40
|
+
export declare const getAbsolutePosition: (element: HTMLElement, iframe: HTMLIFrameElement) => {
|
|
41
|
+
x: number;
|
|
42
|
+
y: number;
|
|
43
|
+
width: number;
|
|
44
|
+
height: number;
|
|
45
|
+
};
|
|
36
46
|
export declare function stripGuid(id: string): string;
|
|
37
47
|
export declare function normalizeGuid(id: string): string;
|
|
38
48
|
export declare function formatDate(date: Date, options?: Intl.DateTimeFormatOptions & {
|
package/dist/editor/utils.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { useState } from "react";
|
|
2
2
|
import { useEffect, useRef } from "react";
|
|
3
3
|
import { localStorageService } from "./services/localStorageService";
|
|
4
|
-
import { toItemDescriptor, } from "./pageModel";
|
|
5
4
|
// Hook
|
|
6
5
|
export function useEventListenerExt(eventName, handler, element, capture = false) {
|
|
7
6
|
// Create a ref that stores handler
|
|
@@ -65,39 +64,6 @@ export const extractItemIdFromItemUri = (uri) => {
|
|
|
65
64
|
? match[0].replace(/[{}]/g, "").toLowerCase()
|
|
66
65
|
: uri.toLowerCase();
|
|
67
66
|
};
|
|
68
|
-
export function isSitecoreCodeMarkerElement(element) {
|
|
69
|
-
return (!!element &&
|
|
70
|
-
element.tagName === "CODE" &&
|
|
71
|
-
element.getAttribute("type") === "text/sitecore" &&
|
|
72
|
-
element.hasAttribute("chrometype"));
|
|
73
|
-
}
|
|
74
|
-
export function isChromeMarkerElement(element) {
|
|
75
|
-
return (!!element &&
|
|
76
|
-
(element.tagName === "SCRIPT" || isSitecoreCodeMarkerElement(element)));
|
|
77
|
-
}
|
|
78
|
-
export function normalizeMarkerId(id) {
|
|
79
|
-
return (id || "").replace(/[{}-]/g, "").toLowerCase();
|
|
80
|
-
}
|
|
81
|
-
export function findElementByNormalizedDataAttribute(root, attribute, value) {
|
|
82
|
-
const normalizedValue = normalizeMarkerId(value);
|
|
83
|
-
if (!root || !normalizedValue)
|
|
84
|
-
return null;
|
|
85
|
-
return (Array.from(root.querySelectorAll(`[${attribute}]`)).find((element) => normalizeMarkerId(element.getAttribute(attribute)) === normalizedValue) ?? null);
|
|
86
|
-
}
|
|
87
|
-
export function getNextNonChromeMarkerElement(element, stopAt) {
|
|
88
|
-
let next = element?.nextElementSibling ?? null;
|
|
89
|
-
while (next && next !== stopAt && isChromeMarkerElement(next)) {
|
|
90
|
-
next = next.nextElementSibling;
|
|
91
|
-
}
|
|
92
|
-
return next === stopAt ? null : next;
|
|
93
|
-
}
|
|
94
|
-
export function getPreviousNonChromeMarkerElement(element, stopAt) {
|
|
95
|
-
let previous = element?.previousElementSibling ?? null;
|
|
96
|
-
while (previous && previous !== stopAt && isChromeMarkerElement(previous)) {
|
|
97
|
-
previous = previous.previousElementSibling;
|
|
98
|
-
}
|
|
99
|
-
return previous === stopAt ? null : previous;
|
|
100
|
-
}
|
|
101
67
|
export function isFieldActionExecuting(field, editContext) {
|
|
102
68
|
const fieldItem = field.descriptor.item;
|
|
103
69
|
if (!fieldItem) {
|
|
@@ -115,7 +81,19 @@ export function getItemDescriptor(item) {
|
|
|
115
81
|
if ("descriptor" in item) {
|
|
116
82
|
return item.descriptor;
|
|
117
83
|
}
|
|
118
|
-
|
|
84
|
+
// If it's already an ItemDescriptor, preserve all properties including database and path
|
|
85
|
+
return {
|
|
86
|
+
id: item.id,
|
|
87
|
+
language: item.language,
|
|
88
|
+
version: item.version,
|
|
89
|
+
// name: item!.name,
|
|
90
|
+
// path: item!.path,
|
|
91
|
+
database: item.database !== undefined &&
|
|
92
|
+
item.database !== null &&
|
|
93
|
+
item.database !== "master"
|
|
94
|
+
? item.database
|
|
95
|
+
: undefined,
|
|
96
|
+
};
|
|
119
97
|
}
|
|
120
98
|
export function getAbsoluteIconUrl(url) {
|
|
121
99
|
//return configuration.services.editorService.baseUrl + url;
|
|
@@ -301,6 +279,136 @@ export function findNearestEditableComponentId(startElement) {
|
|
|
301
279
|
function isEditableComponent(element) {
|
|
302
280
|
return element.getAttribute("data-editable") !== "false";
|
|
303
281
|
}
|
|
282
|
+
export function findFieldElement(iframe, fieldDescriptor) {
|
|
283
|
+
if (!iframe.contentWindow?.document.body)
|
|
284
|
+
return undefined;
|
|
285
|
+
const fieldElement = iframe.contentWindow?.document.body.querySelector("[data-itemid='" +
|
|
286
|
+
fieldDescriptor.item.id +
|
|
287
|
+
"'][data-fieldid='" +
|
|
288
|
+
fieldDescriptor.fieldId +
|
|
289
|
+
"']");
|
|
290
|
+
return fieldElement;
|
|
291
|
+
}
|
|
292
|
+
export function findComponentRect(iframe, component, takeScrollPositionIntoAccount = false) {
|
|
293
|
+
if (!iframe.contentWindow?.document.body)
|
|
294
|
+
return undefined;
|
|
295
|
+
// Query elements from the passed iframe document to ensure we get elements from the correct document
|
|
296
|
+
// This is important for minimap where we need elements from the minimap's iframe, not the main view
|
|
297
|
+
const componentStartMarker = iframe.contentWindow?.document.body.querySelector("[data-component-start='" + component.id + "']");
|
|
298
|
+
const componentEndMarker = iframe.contentWindow?.document.body.querySelector("[data-component-end='" + component.id + "']");
|
|
299
|
+
// Try to get element from passed iframe first, fall back to stored reference
|
|
300
|
+
let startElement = componentStartMarker?.nextElementSibling;
|
|
301
|
+
while (startElement &&
|
|
302
|
+
startElement !== componentEndMarker &&
|
|
303
|
+
startElement.tagName === "SCRIPT") {
|
|
304
|
+
startElement = startElement.nextElementSibling;
|
|
305
|
+
}
|
|
306
|
+
// Marker-only/meta components can have adjacent start/end markers with no
|
|
307
|
+
// measurable DOM between them. Treat them as non-visual instead of logging.
|
|
308
|
+
if (startElement === componentEndMarker) {
|
|
309
|
+
return null;
|
|
310
|
+
}
|
|
311
|
+
if (!startElement) {
|
|
312
|
+
startElement = component.firstDOMElement;
|
|
313
|
+
while (startElement && startElement.tagName === "SCRIPT") {
|
|
314
|
+
startElement = startElement.nextElementSibling;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
if (!startElement) {
|
|
318
|
+
console.error("No start element found for component " + component.id);
|
|
319
|
+
return null;
|
|
320
|
+
}
|
|
321
|
+
const startRect = takeScrollPositionIntoAccount
|
|
322
|
+
? getAbsolutePosition(startElement, iframe)
|
|
323
|
+
: startElement.getBoundingClientRect();
|
|
324
|
+
let endElement = componentEndMarker?.previousElementSibling || component.lastDOMElement;
|
|
325
|
+
while (endElement && endElement.tagName === "SCRIPT") {
|
|
326
|
+
endElement = endElement.previousElementSibling;
|
|
327
|
+
}
|
|
328
|
+
if (!endElement)
|
|
329
|
+
return null;
|
|
330
|
+
const endRect = takeScrollPositionIntoAccount
|
|
331
|
+
? getAbsolutePosition(endElement, iframe)
|
|
332
|
+
: endElement.getBoundingClientRect();
|
|
333
|
+
const elements = startElement === endElement ? [startElement] : [startElement, endElement];
|
|
334
|
+
return {
|
|
335
|
+
rect: {
|
|
336
|
+
x: startRect.x,
|
|
337
|
+
y: startRect.y,
|
|
338
|
+
width: endRect.x + endRect.width - startRect.x,
|
|
339
|
+
height: endRect.y + endRect.height - startRect.y,
|
|
340
|
+
},
|
|
341
|
+
elements: elements,
|
|
342
|
+
};
|
|
343
|
+
}
|
|
344
|
+
// export function findComponentRect(
|
|
345
|
+
// iframe: HTMLIFrameElement,
|
|
346
|
+
// componentId: string,
|
|
347
|
+
// takeScrollPositionIntoAccount = false,
|
|
348
|
+
// ) {
|
|
349
|
+
// if (!iframe.contentWindow?.document.body) return undefined;
|
|
350
|
+
// const componentStart = iframe.contentWindow?.document.body.querySelector(
|
|
351
|
+
// "[data-component-start='" + componentId + "']",
|
|
352
|
+
// );
|
|
353
|
+
// const componentEnd = iframe?.contentWindow?.document.body.querySelector(
|
|
354
|
+
// "[data-component-end='" + componentId + "']",
|
|
355
|
+
// );
|
|
356
|
+
// if (!componentStart || !componentEnd) {
|
|
357
|
+
// return null;
|
|
358
|
+
// }
|
|
359
|
+
// let startElement = componentStart.nextElementSibling;
|
|
360
|
+
// while (startElement && startElement.tagName === "SCRIPT") {
|
|
361
|
+
// startElement = startElement.nextElementSibling;
|
|
362
|
+
// }
|
|
363
|
+
// if (!startElement) {
|
|
364
|
+
// console.error("No start element found for component " + componentId);
|
|
365
|
+
// return null;
|
|
366
|
+
// }
|
|
367
|
+
// const startRect = takeScrollPositionIntoAccount
|
|
368
|
+
// ? getAbsolutePosition(startElement as HTMLElement, iframe)
|
|
369
|
+
// : startElement.getBoundingClientRect();
|
|
370
|
+
// let endElement = componentEnd.previousElementSibling;
|
|
371
|
+
// while (endElement && endElement.tagName === "SCRIPT") {
|
|
372
|
+
// endElement = endElement.previousElementSibling;
|
|
373
|
+
// }
|
|
374
|
+
// if (!endElement) return null;
|
|
375
|
+
// const endRect = takeScrollPositionIntoAccount
|
|
376
|
+
// ? getAbsolutePosition(endElement as HTMLElement, iframe)
|
|
377
|
+
// : endElement.getBoundingClientRect();
|
|
378
|
+
// const elements =
|
|
379
|
+
// startElement === endElement ? [startElement] : [startElement, endElement];
|
|
380
|
+
// // console.log(
|
|
381
|
+
// // "start rect",
|
|
382
|
+
// // startRect,
|
|
383
|
+
// // startElement,
|
|
384
|
+
// // iframe.contentWindow?.scrollY,
|
|
385
|
+
// // takeScrollPositionIntoAccount
|
|
386
|
+
// // );
|
|
387
|
+
// return {
|
|
388
|
+
// rect: {
|
|
389
|
+
// x: startRect.x,
|
|
390
|
+
// y: startRect.y,
|
|
391
|
+
// width: endRect.x + endRect.width - startRect.x,
|
|
392
|
+
// height: endRect.y + endRect.height - startRect.y,
|
|
393
|
+
// },
|
|
394
|
+
// elements: elements,
|
|
395
|
+
// };
|
|
396
|
+
// }
|
|
397
|
+
export const getAbsolutePosition = (element, iframe) => {
|
|
398
|
+
const rect = element.getBoundingClientRect();
|
|
399
|
+
const scrollLeft = iframe.contentWindow?.scrollX ||
|
|
400
|
+
iframe.contentDocument?.documentElement.scrollLeft ||
|
|
401
|
+
0;
|
|
402
|
+
const scrollTop = iframe.contentWindow?.scrollY ||
|
|
403
|
+
iframe.contentDocument?.documentElement.scrollTop ||
|
|
404
|
+
0;
|
|
405
|
+
return {
|
|
406
|
+
x: rect.left + scrollLeft,
|
|
407
|
+
y: rect.top + scrollTop,
|
|
408
|
+
width: rect.width,
|
|
409
|
+
height: rect.height,
|
|
410
|
+
};
|
|
411
|
+
};
|
|
304
412
|
// export function findParentComponentId(element: HTMLElement) {
|
|
305
413
|
// while (element && element !== document.documentElement) {
|
|
306
414
|
// if (element.getAttribute("sc_item")) {
|
|
@@ -362,6 +470,7 @@ export function formatDate(date, options) {
|
|
|
362
470
|
day: "numeric",
|
|
363
471
|
hour: "numeric",
|
|
364
472
|
minute: "numeric",
|
|
473
|
+
second: "numeric",
|
|
365
474
|
hour12: false,
|
|
366
475
|
timeZone,
|
|
367
476
|
...options,
|
|
@@ -386,6 +495,7 @@ export function formatTime(date, options) {
|
|
|
386
495
|
const fmt = new Intl.DateTimeFormat(locale, {
|
|
387
496
|
hour: "numeric",
|
|
388
497
|
minute: "numeric",
|
|
498
|
+
second: "numeric",
|
|
389
499
|
hour12: false,
|
|
390
500
|
timeZone,
|
|
391
501
|
...options,
|
package/dist/editor/utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"","sources":["../../src/editor/utils.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAC;AAGrE,OAAO,EAIL,gBAAgB,GACjB,MAAM,aAAa,CAAC;AASrB,OAAO;AACP,MAAM,UAAU,mBAAmB,CACjC,SAAiB,EACjB,OAAY,EACZ,OAA6B,EAC7B,OAAO,GAAG,KAAK;IAEf,mCAAmC;IACnC,MAAM,YAAY,GAAG,MAAM,CAAM,SAAS,CAAC,CAAC;IAE5C,+CAA+C;IAC/C,gEAAgE;IAChE,6DAA6D;IAC7D,2DAA2D;IAC3D,SAAS,CAAC,GAAG,EAAE;QACb,YAAY,CAAC,OAAO,GAAG,OAAO,CAAC;IACjC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;IAEd,SAAS,CACP,GAAG,EAAE;QACH,8CAA8C;QAC9C,KAAK;QACL,MAAM,WAAW,GAAG,OAAO,IAAI,OAAO,CAAC,gBAAgB,CAAC;QACxD,IAAI,CAAC,WAAW;YAAE,OAAO;QAEzB,kEAAkE;QAClE,MAAM,aAAa,GAAG,CAAC,KAAY,EAAE,EAAE,CAAC,YAAY,CAAC,OA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AC,iBAAiB,CAAC,IAAI,EAAE,CAAC;IACpD,MAAM,UAAU,GAAG,OAAO;SACvB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;SACpC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;SAClB,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC;IAChC,qCAAqC;IACrC,MAAM,IAAI,GAAG,IAAI,GAAG,EAAU,CAAC;IAC/B,MAAM,MAAM,GAAa,EAAE,CAAC;IAC5B,KAAK,MAAM,EAAE,IAAI,UAAU,EAAE,CAAC;QAC5B,IAAI,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,CAAC;YAClB,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;YACb,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;QAClB,CAAC;IACH,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const versionDiffHighlightClasses: {
|
|
2
|
-
readonly component: "pointer-events-none absolute rounded border border-
|
|
3
|
-
readonly componentMini: "pointer-events-none absolute rounded border border-
|
|
4
|
-
readonly deletionOnly: "pointer-events-none absolute rounded border border-dashed border-
|
|
5
|
-
readonly deletionOnlyMini: "pointer-events-none absolute rounded border border-dashed border-
|
|
6
|
-
readonly text: "pointer-events-none absolute rounded-sm bg-
|
|
7
|
-
readonly textMini: "pointer-events-none absolute rounded-sm bg-
|
|
2
|
+
readonly component: "pointer-events-none absolute rounded border border-green-500 bg-green-200/20 shadow-[0_0_0_2px_rgba(34,197,94,0.20)]";
|
|
3
|
+
readonly componentMini: "pointer-events-none absolute rounded border border-green-500 bg-green-200/20 shadow-[0_0_0_1px_rgba(34,197,94,0.30)]";
|
|
4
|
+
readonly deletionOnly: "pointer-events-none absolute rounded border border-dashed border-green-500 bg-green-100/20";
|
|
5
|
+
readonly deletionOnlyMini: "pointer-events-none absolute rounded border border-dashed border-green-500 bg-green-100/25";
|
|
6
|
+
readonly text: "pointer-events-none absolute rounded-sm bg-green-300/35";
|
|
7
|
+
readonly textMini: "pointer-events-none absolute rounded-sm bg-green-300/40";
|
|
8
8
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export const versionDiffHighlightClasses = {
|
|
2
|
-
component: "pointer-events-none absolute rounded border border-
|
|
3
|
-
componentMini: "pointer-events-none absolute rounded border border-
|
|
4
|
-
deletionOnly: "pointer-events-none absolute rounded border border-dashed border-
|
|
5
|
-
deletionOnlyMini: "pointer-events-none absolute rounded border border-dashed border-
|
|
6
|
-
text: "pointer-events-none absolute rounded-sm bg-
|
|
7
|
-
textMini: "pointer-events-none absolute rounded-sm bg-
|
|
2
|
+
component: "pointer-events-none absolute rounded border border-green-500 bg-green-200/20 shadow-[0_0_0_2px_rgba(34,197,94,0.20)]",
|
|
3
|
+
componentMini: "pointer-events-none absolute rounded border border-green-500 bg-green-200/20 shadow-[0_0_0_1px_rgba(34,197,94,0.30)]",
|
|
4
|
+
deletionOnly: "pointer-events-none absolute rounded border border-dashed border-green-500 bg-green-100/20",
|
|
5
|
+
deletionOnlyMini: "pointer-events-none absolute rounded border border-dashed border-green-500 bg-green-100/25",
|
|
6
|
+
text: "pointer-events-none absolute rounded-sm bg-green-300/35",
|
|
7
|
+
textMini: "pointer-events-none absolute rounded-sm bg-green-300/40",
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=versionDiffHighlightStyles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"versionDiffHighlightStyles.js","sourceRoot":"","sources":["../../../src/editor/version-diff/versionDiffHighlightStyles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,SAAS,EACP,
|
|
1
|
+
{"version":3,"file":"versionDiffHighlightStyles.js","sourceRoot":"","sources":["../../../src/editor/version-diff/versionDiffHighlightStyles.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACzC,SAAS,EACP,sHAAsH;IACxH,aAAa,EACX,sHAAsH;IACxH,YAAY,EACV,4FAA4F;IAC9F,gBAAgB,EACd,4FAA4F;IAC9F,IAAI,EAAE,yDAAyD;IAC/D,QAAQ,EAAE,yDAAyD;CAC3D,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import type { SerializablePageStructure } from "../bridge/protocol";
|
|
2
1
|
import type { FullItem, ItemDescriptor } from "../pageModel";
|
|
3
2
|
export type RenderedField = {
|
|
4
3
|
descriptor: {
|
|
@@ -32,12 +31,18 @@ export type VersionDiffTargetsResult = {
|
|
|
32
31
|
fieldTargets: DiffTarget[];
|
|
33
32
|
componentTargets: ComponentDiffTarget[];
|
|
34
33
|
};
|
|
35
|
-
export declare function resolveVersionDiffTargets({
|
|
36
|
-
|
|
34
|
+
export declare function resolveVersionDiffTargets({ iframe, pageItem, getItem, baseline, previousVersionCache, }: {
|
|
35
|
+
iframe: HTMLIFrameElement;
|
|
37
36
|
pageItem: ItemDescriptor;
|
|
38
37
|
getItem: (descriptor: ItemDescriptor) => Promise<FullItem | undefined>;
|
|
39
38
|
baseline: BaselineMode;
|
|
40
39
|
previousVersionCache: Map<string, number | null>;
|
|
41
40
|
}): Promise<VersionDiffTargetsResult>;
|
|
41
|
+
export declare function findFieldElements(iframe: HTMLIFrameElement, descriptor: RenderedField["descriptor"]): HTMLElement[];
|
|
42
|
+
export declare function getTextNodeAtOffset(root: Element, offset: number): {
|
|
43
|
+
node: Text;
|
|
44
|
+
offset: number;
|
|
45
|
+
} | null;
|
|
46
|
+
export declare function findComponentRectById(iframe: HTMLIFrameElement, componentId: string): DOMRect | null;
|
|
42
47
|
export declare function fieldKey(descriptor: RenderedField["descriptor"]): string;
|
|
43
48
|
export {};
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { diffChars } from "diff";
|
|
2
2
|
import { getLanguagesAndVersions, getPageComponents, } from "../services/contentService";
|
|
3
|
-
export async function resolveVersionDiffTargets({
|
|
4
|
-
const renderedFields =
|
|
5
|
-
|
|
6
|
-
: [];
|
|
7
|
-
const renderedComponents = bridgeStructure
|
|
8
|
-
? collectRenderedComponentsFromBridge(bridgeStructure)
|
|
9
|
-
: [];
|
|
3
|
+
export async function resolveVersionDiffTargets({ iframe, pageItem, getItem, baseline, previousVersionCache, }) {
|
|
4
|
+
const renderedFields = collectRenderedFields(iframe, pageItem);
|
|
5
|
+
const renderedComponents = collectRenderedComponents(iframe);
|
|
10
6
|
const itemsToResolve = getUniqueItems([
|
|
11
7
|
pageItem,
|
|
12
8
|
...renderedFields.map((field) => field.descriptor.item),
|
|
@@ -73,41 +69,40 @@ export async function resolveVersionDiffTargets({ bridgeStructure, pageItem, get
|
|
|
73
69
|
.map(componentToDiffTarget);
|
|
74
70
|
return { fieldTargets, componentTargets };
|
|
75
71
|
}
|
|
76
|
-
function
|
|
72
|
+
function collectRenderedFields(iframe, fallbackItem) {
|
|
73
|
+
const body = iframe.contentWindow?.document.body;
|
|
74
|
+
if (!body)
|
|
75
|
+
return [];
|
|
77
76
|
const renderedFieldsByKey = new Map();
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
const
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
language: field.item.language || fallbackItem.language,
|
|
85
|
-
version: field.item.version !== undefined
|
|
86
|
-
? field.item.version
|
|
87
|
-
: fallbackItem.version,
|
|
88
|
-
database: field.item.database ?? fallbackItem.database,
|
|
89
|
-
}
|
|
90
|
-
: fallbackItem;
|
|
91
|
-
if (!item.id)
|
|
77
|
+
body
|
|
78
|
+
.querySelectorAll("[data-fieldid][data-itemid]")
|
|
79
|
+
.forEach((element) => {
|
|
80
|
+
const itemId = element.getAttribute("data-itemid");
|
|
81
|
+
const fieldId = element.getAttribute("data-fieldid");
|
|
82
|
+
if (!itemId || !fieldId)
|
|
92
83
|
return;
|
|
84
|
+
const rawVersion = parseInt(element.getAttribute("data-version") || "", 10);
|
|
93
85
|
const descriptor = {
|
|
94
|
-
item
|
|
95
|
-
|
|
86
|
+
item: {
|
|
87
|
+
id: itemId,
|
|
88
|
+
language: element.getAttribute("data-language") || fallbackItem.language,
|
|
89
|
+
version: Number.isFinite(rawVersion)
|
|
90
|
+
? rawVersion
|
|
91
|
+
: fallbackItem.version,
|
|
92
|
+
database: fallbackItem.database,
|
|
93
|
+
},
|
|
94
|
+
fieldId,
|
|
96
95
|
};
|
|
97
96
|
const key = fieldKey(descriptor);
|
|
98
97
|
if (!renderedFieldsByKey.has(key)) {
|
|
99
98
|
renderedFieldsByKey.set(key, {
|
|
100
99
|
descriptor,
|
|
101
|
-
currentText:
|
|
100
|
+
currentText: element.textContent || "",
|
|
102
101
|
});
|
|
103
102
|
}
|
|
104
103
|
});
|
|
105
104
|
return Array.from(renderedFieldsByKey.values());
|
|
106
105
|
}
|
|
107
|
-
function getBridgeFieldTextContent(field) {
|
|
108
|
-
const value = field.textContent;
|
|
109
|
-
return typeof value === "string" ? value : "";
|
|
110
|
-
}
|
|
111
106
|
function resolveCompareBaselineEntries(currentItems, compareTo) {
|
|
112
107
|
if (!compareTo?.language)
|
|
113
108
|
return [];
|
|
@@ -169,14 +164,27 @@ function getUniqueItems(itemDescriptors) {
|
|
|
169
164
|
});
|
|
170
165
|
return Array.from(items.values());
|
|
171
166
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
167
|
+
function collectRenderedComponents(iframe) {
|
|
168
|
+
const body = iframe.contentWindow?.document.body;
|
|
169
|
+
if (!body)
|
|
170
|
+
return [];
|
|
171
|
+
const components = new Map();
|
|
172
|
+
body
|
|
173
|
+
.querySelectorAll("script[data-component-start]")
|
|
174
|
+
.forEach((element) => {
|
|
175
|
+
const id = element.getAttribute("data-component-start");
|
|
176
|
+
if (!id || components.has(normalizeId(id)))
|
|
177
|
+
return;
|
|
178
|
+
components.set(normalizeId(id), {
|
|
179
|
+
id,
|
|
180
|
+
visualId: id,
|
|
181
|
+
dataItemId: element.getAttribute("data-itemid"),
|
|
182
|
+
dataTypeId: element.getAttribute("data-typeid"),
|
|
183
|
+
dataLayoutId: element.getAttribute("data-layoutid"),
|
|
184
|
+
dataPlaceholderKey: element.getAttribute("data-placeholderkey"),
|
|
185
|
+
});
|
|
186
|
+
});
|
|
187
|
+
return Array.from(components.values());
|
|
180
188
|
}
|
|
181
189
|
function componentToDiffTarget(component) {
|
|
182
190
|
const visualId = component.dataSourceItem?.id || component.id;
|
|
@@ -219,6 +227,31 @@ function mergeRanges(ranges) {
|
|
|
219
227
|
});
|
|
220
228
|
return merged;
|
|
221
229
|
}
|
|
230
|
+
export function findFieldElements(iframe, descriptor) {
|
|
231
|
+
const body = iframe.contentWindow?.document.body;
|
|
232
|
+
if (!body)
|
|
233
|
+
return [];
|
|
234
|
+
return Array.from(body.querySelectorAll("[data-fieldid][data-itemid]")).filter((element) => {
|
|
235
|
+
const itemId = element.getAttribute("data-itemid");
|
|
236
|
+
const fieldId = element.getAttribute("data-fieldid");
|
|
237
|
+
return (normalizeId(itemId) === normalizeId(descriptor.item.id) &&
|
|
238
|
+
normalizeId(fieldId) === normalizeId(descriptor.fieldId));
|
|
239
|
+
});
|
|
240
|
+
}
|
|
241
|
+
export function getTextNodeAtOffset(root, offset) {
|
|
242
|
+
const doc = root.ownerDocument;
|
|
243
|
+
const nodeFilter = doc.defaultView?.NodeFilter ?? NodeFilter;
|
|
244
|
+
const walker = doc.createTreeWalker(root, nodeFilter.SHOW_TEXT);
|
|
245
|
+
let currentNode;
|
|
246
|
+
while ((currentNode = walker.nextNode())) {
|
|
247
|
+
const nodeLength = currentNode.textContent?.length || 0;
|
|
248
|
+
if (offset <= nodeLength) {
|
|
249
|
+
return { node: currentNode, offset };
|
|
250
|
+
}
|
|
251
|
+
offset -= nodeLength;
|
|
252
|
+
}
|
|
253
|
+
return null;
|
|
254
|
+
}
|
|
222
255
|
function getFieldText(field) {
|
|
223
256
|
const value = typeof field.rawValue === "string"
|
|
224
257
|
? field.rawValue
|
|
@@ -229,6 +262,31 @@ function getFieldText(field) {
|
|
|
229
262
|
: String(field.value);
|
|
230
263
|
return stripHtml(value);
|
|
231
264
|
}
|
|
265
|
+
export function findComponentRectById(iframe, componentId) {
|
|
266
|
+
const body = iframe.contentWindow?.document.body;
|
|
267
|
+
if (!body)
|
|
268
|
+
return null;
|
|
269
|
+
const startMarker = body.querySelector(`[data-component-start='${componentId}']`);
|
|
270
|
+
const endMarker = body.querySelector(`[data-component-end='${componentId}']`);
|
|
271
|
+
let startElement = startMarker?.nextElementSibling;
|
|
272
|
+
while (startElement &&
|
|
273
|
+
startElement !== endMarker &&
|
|
274
|
+
startElement.tagName === "SCRIPT") {
|
|
275
|
+
startElement = startElement.nextElementSibling;
|
|
276
|
+
}
|
|
277
|
+
if (!startElement || startElement === endMarker) {
|
|
278
|
+
startElement = body.querySelector(`[data-component-id='${componentId}']`);
|
|
279
|
+
}
|
|
280
|
+
if (!startElement)
|
|
281
|
+
return null;
|
|
282
|
+
let endElement = endMarker?.previousElementSibling || startElement;
|
|
283
|
+
while (endElement && endElement.tagName === "SCRIPT") {
|
|
284
|
+
endElement = endElement.previousElementSibling;
|
|
285
|
+
}
|
|
286
|
+
const startRect = startElement.getBoundingClientRect();
|
|
287
|
+
const endRect = (endElement || startElement).getBoundingClientRect();
|
|
288
|
+
return new DOMRect(startRect.x, startRect.y, endRect.x + endRect.width - startRect.x, endRect.y + endRect.height - startRect.y);
|
|
289
|
+
}
|
|
232
290
|
function stripHtml(value) {
|
|
233
291
|
if (!value.includes("<"))
|
|
234
292
|
return value;
|
|
@@ -244,6 +302,6 @@ function itemKey(item) {
|
|
|
244
302
|
return `${normalizeId(item.id)}|${item.language}|${item.version}`;
|
|
245
303
|
}
|
|
246
304
|
function normalizeId(id) {
|
|
247
|
-
return (id || "").replace(/[{}
|
|
305
|
+
return (id || "").replace(/[{}]/g, "").toLowerCase();
|
|
248
306
|
}
|
|
249
307
|
//# sourceMappingURL=versionDiffTargets.js.map
|