@parhelia/core 0.1.12907 → 0.1.12910
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 +8 -4
- package/dist/agents-view/AgentCard.js +80 -175
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentGalleryCard.d.ts +12 -0
- package/dist/agents-view/AgentGalleryCard.js +12 -0
- package/dist/agents-view/AgentGalleryCard.js.map +1 -0
- package/dist/agents-view/AgentGalleryView.d.ts +18 -0
- package/dist/agents-view/AgentGalleryView.js +88 -0
- package/dist/agents-view/AgentGalleryView.js.map +1 -0
- package/dist/agents-view/AgentProfileIcon.d.ts +9 -0
- package/dist/agents-view/AgentProfileIcon.js +32 -0
- package/dist/agents-view/AgentProfileIcon.js.map +1 -0
- package/dist/agents-view/AgentsSidebar.d.ts +4 -11
- package/dist/agents-view/AgentsSidebar.js +10 -14
- package/dist/agents-view/AgentsSidebar.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.d.ts +2 -3
- package/dist/agents-view/AgentsTitlebar.js +6 -7
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.d.ts +27 -7
- package/dist/agents-view/AgentsView.js +126 -294
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.d.ts +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +150 -106
- 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/DateAgentsGroup.d.ts +17 -0
- package/dist/agents-view/DateAgentsGroup.js +19 -0
- package/dist/agents-view/DateAgentsGroup.js.map +1 -0
- package/dist/agents-view/ProfileAgentsGroup.d.ts +4 -4
- package/dist/agents-view/ProfileAgentsGroup.js +22 -10
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/agents-view/RenameAgentDialog.d.ts +12 -0
- package/dist/agents-view/RenameAgentDialog.js +40 -0
- package/dist/agents-view/RenameAgentDialog.js.map +1 -0
- package/dist/agents-view/agentsNavStore.d.ts +8 -0
- package/dist/agents-view/agentsNavStore.js +24 -0
- package/dist/agents-view/agentsNavStore.js.map +1 -0
- package/dist/components/MarkdownDisplay.js +29 -16
- package/dist/components/MarkdownDisplay.js.map +1 -1
- package/dist/components/PageHeader.d.ts +5 -1
- package/dist/components/PageHeader.js +3 -3
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/SearchInput.d.ts +28 -0
- package/dist/components/SearchInput.js +38 -0
- package/dist/components/SearchInput.js.map +1 -0
- package/dist/components/index.d.ts +4 -2
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/ui/LanguageSelectionGrid.d.ts +27 -0
- package/dist/components/ui/LanguageSelectionGrid.js +41 -0
- package/dist/components/ui/LanguageSelectionGrid.js.map +1 -0
- package/dist/components/ui/LanguageSelector.d.ts +6 -1
- package/dist/components/ui/LanguageSelector.js +10 -6
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.d.ts +0 -8
- package/dist/components/ui/PlaceholderInput.js +2 -43
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputParser.d.ts +9 -0
- package/dist/components/ui/PlaceholderInputParser.js +98 -0
- package/dist/components/ui/PlaceholderInputParser.js.map +1 -0
- 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/UserPicker.d.ts +34 -0
- package/dist/components/ui/UserPicker.js +73 -0
- package/dist/components/ui/UserPicker.js.map +1 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/accordion.js +17 -0
- package/dist/components/ui/accordion.js.map +1 -0
- 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 +3 -2
- package/dist/components/ui/alert.js +9 -4
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/avatar.d.ts +30 -0
- package/dist/components/ui/avatar.js +46 -0
- package/dist/components/ui/avatar.js.map +1 -0
- package/dist/components/ui/badge.d.ts +8 -3
- package/dist/components/ui/badge.js +18 -8
- 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 +9 -4
- package/dist/components/ui/button.js +20 -14
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.d.ts +4 -1
- 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/close-button.d.ts +13 -0
- package/dist/components/ui/close-button.js +29 -0
- package/dist/components/ui/close-button.js.map +1 -0
- package/dist/components/ui/close-icon.d.ts +7 -0
- package/dist/components/ui/close-icon.js +14 -0
- package/dist/components/ui/close-icon.js.map +1 -0
- package/dist/components/ui/command.d.ts +2 -1
- package/dist/components/ui/command.js +8 -4
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.d.ts +17 -3
- package/dist/components/ui/context-menu.js +132 -68
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.js +4 -3
- package/dist/components/ui/copy-button.js.map +1 -1
- package/dist/components/ui/delete-button.d.ts +13 -0
- package/dist/components/ui/delete-button.js +36 -0
- package/dist/components/ui/delete-button.js.map +1 -0
- package/dist/components/ui/delete-icon.d.ts +7 -0
- package/dist/components/ui/delete-icon.js +14 -0
- package/dist/components/ui/delete-icon.js.map +1 -0
- package/dist/components/ui/dialog.d.ts +3 -3
- package/dist/components/ui/dialog.js +30 -7
- 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/mention-textarea.d.ts +10 -0
- package/dist/components/ui/mention-textarea.js +180 -0
- package/dist/components/ui/mention-textarea.js.map +1 -0
- package/dist/components/ui/multi-switch-button.d.ts +22 -0
- package/dist/components/ui/multi-switch-button.js +12 -0
- package/dist/components/ui/multi-switch-button.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 +22 -4
- 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 +3 -4
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sonner.js +28 -2
- 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 +314 -70
- package/dist/config/config.js.map +1 -1
- package/dist/config/notificationRoutes.js +111 -10
- package/dist/config/notificationRoutes.js.map +1 -1
- package/dist/config/types/sidebar.d.ts +4 -0
- package/dist/config/types/workspace.d.ts +13 -2
- package/dist/config/types.d.ts +17 -3
- package/dist/config/types.js.map +1 -1
- package/dist/editor/AdminRequiredView.js +4 -2
- package/dist/editor/AdminRequiredView.js.map +1 -1
- package/dist/editor/AspectRatioSelector.js +28 -25
- package/dist/editor/AspectRatioSelector.js.map +1 -1
- package/dist/editor/ConcurrentUserLimitDialog.js +11 -4
- package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +6 -2
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +19 -1
- package/dist/editor/ContentTree.js +99 -30
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.d.ts +1 -0
- package/dist/editor/ContextMenu.js +9 -11
- 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 +29 -9
- package/dist/editor/Editor.js.map +1 -1
- package/dist/editor/EditorLoadingOverlay.d.ts +1 -0
- package/dist/editor/EditorLoadingOverlay.js +7 -0
- package/dist/editor/EditorLoadingOverlay.js.map +1 -0
- package/dist/editor/EditorWarning.js +4 -4
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldActionsOverlay.d.ts +0 -1
- package/dist/editor/FieldActionsOverlay.js +8 -25
- 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 +2 -1
- package/dist/editor/FieldHistory.js +23 -15
- 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 +69 -60
- package/dist/editor/FieldListField.js.map +1 -1
- package/dist/editor/FieldListFieldWithFallbacks.js +4 -3
- package/dist/editor/FieldListFieldWithFallbacks.js.map +1 -1
- package/dist/editor/GlobalMenuBar.js +28 -19
- 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 +6 -1
- package/dist/editor/ImageEditor.js +21 -4
- package/dist/editor/ImageEditor.js.map +1 -1
- package/dist/editor/ItemInfo.js +10 -7
- package/dist/editor/ItemInfo.js.map +1 -1
- package/dist/editor/LinkEditorDialog.d.ts +9 -2
- package/dist/editor/LinkEditorDialog.js +183 -60
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.js +121 -16
- package/dist/editor/MainLayout.js.map +1 -1
- package/dist/editor/MigrationsView.js +16 -35
- package/dist/editor/MigrationsView.js.map +1 -1
- package/dist/editor/MobileLayout.js +35 -3
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/PictureCropper.js +116 -58
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.d.ts +2 -1
- package/dist/editor/PictureEditor.js +17 -19
- package/dist/editor/PictureEditor.js.map +1 -1
- package/dist/editor/QuickItemSwitcher.js +9 -9
- package/dist/editor/QuickItemSwitcher.js.map +1 -1
- package/dist/editor/SetupWizard.js +17 -13
- 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/WorkspaceTitleSwitcher.d.ts +5 -0
- package/dist/editor/WorkspaceTitleSwitcher.js +67 -0
- package/dist/editor/WorkspaceTitleSwitcher.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 +8 -7
- package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.d.ts +1 -0
- package/dist/editor/ai/AgentProfileSelector.js +11 -9
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentSharingSection.js +22 -9
- package/dist/editor/ai/AgentSharingSection.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.js +13 -21
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/AgentTerminal.d.ts +2 -38
- package/dist/editor/ai/AgentTerminal.js +6 -6503
- package/dist/editor/ai/AgentTerminal.js.map +1 -1
- package/dist/editor/ai/Agents.js +278 -397
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/ContentInspectorPopover.js +24 -19
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/GuidanceOverlay.js +12 -19
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.d.ts +2 -2
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +55 -31
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
- package/dist/editor/ai/InlineAiDialog.d.ts +6 -0
- package/dist/editor/ai/InlineAiDialog.js +411 -277
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTextEditTooltip.d.ts +8 -0
- package/dist/editor/ai/InlineAiTextEditTooltip.js +10 -0
- package/dist/editor/ai/InlineAiTextEditTooltip.js.map +1 -0
- package/dist/editor/ai/InlineAiTrigger.js +236 -37
- 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/TimeWithTooltip.js +2 -4
- package/dist/editor/ai/TimeWithTooltip.js.map +1 -1
- package/dist/editor/ai/agentActivitySummary.d.ts +108 -0
- package/dist/editor/ai/agentActivitySummary.js +390 -0
- package/dist/editor/ai/agentActivitySummary.js.map +1 -0
- package/dist/editor/ai/agentDiagnostics.d.ts +26 -0
- package/dist/editor/ai/agentDiagnostics.js +41 -1
- package/dist/editor/ai/agentDiagnostics.js.map +1 -1
- 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 +7 -1
- package/dist/editor/ai/agentTodoExtraction.js +33 -0
- package/dist/editor/ai/agentTodoExtraction.js.map +1 -1
- package/dist/editor/ai/agentWatchdogStatusRegistry.d.ts +1 -0
- package/dist/editor/ai/agentWatchdogStatusRegistry.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +99 -13
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +13 -12
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +58 -84
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/agentDialogTypes.d.ts +18 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js +5 -0
- package/dist/editor/ai/dialogs/agentDialogTypes.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.d.ts +6 -9
- package/dist/editor/ai/dialogs/browserBoundCapture.js +18 -27
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +50 -35
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.d.ts +27 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +270 -159
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/dialogs/captureShared.d.ts +10 -0
- package/dist/editor/ai/dialogs/captureShared.js +39 -0
- package/dist/editor/ai/dialogs/captureShared.js.map +1 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.d.ts +44 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.js +300 -0
- package/dist/editor/ai/dialogs/offscreenPageCapture.js.map +1 -0
- package/dist/editor/ai/inlineAiTextEditLabels.d.ts +2 -0
- package/dist/editor/ai/inlineAiTextEditLabels.js +8 -0
- package/dist/editor/ai/inlineAiTextEditLabels.js.map +1 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.d.ts +5 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.js +86 -0
- package/dist/editor/ai/prepareInlineAiTextSelection.js.map +1 -0
- package/dist/editor/ai/terminal/agentContextMerge.d.ts +14 -0
- package/dist/editor/ai/terminal/agentContextMerge.js +111 -0
- package/dist/editor/ai/terminal/agentContextMerge.js.map +1 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.d.ts +1 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.js +4 -0
- package/dist/editor/ai/terminal/agentOptimisticMessage.js.map +1 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.d.ts +5 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js +8 -0
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +1 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.d.ts +82 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js +277 -0
- package/dist/editor/ai/terminal/agentQuestionnaireRecap.js.map +1 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.d.ts +13 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js +87 -0
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.d.ts +7 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.js +27 -0
- package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.d.ts +11 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js +127 -0
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.d.ts +2 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.js +24 -0
- package/dist/editor/ai/terminal/agentSessionMetadata.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.d.ts +65 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.js +232 -0
- package/dist/editor/ai/terminal/agentSessionSelectors.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.d.ts +16 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.js +77 -0
- package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +1 -0
- package/dist/editor/ai/terminal/agentSessionState.d.ts +162 -0
- package/dist/editor/ai/terminal/agentSessionState.js +830 -0
- package/dist/editor/ai/terminal/agentSessionState.js.map +1 -0
- package/dist/editor/ai/terminal/agentStartRequest.d.ts +15 -0
- package/dist/editor/ai/terminal/agentStartRequest.js +25 -0
- package/dist/editor/ai/terminal/agentStartRequest.js.map +1 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.d.ts +1 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.js +9 -0
- package/dist/editor/ai/terminal/agentSubmitErrors.js.map +1 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.d.ts +21 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js +133 -0
- package/dist/editor/ai/terminal/components/ActivitySummaryCell.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js +145 -0
- package/dist/editor/ai/terminal/components/AgentActivityOverviewPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentBanners.js +16 -0
- package/dist/editor/ai/terminal/components/AgentBanners.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.d.ts +11 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.js +81 -0
- package/dist/editor/ai/terminal/components/AgentContextItemPicker.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js +116 -0
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.d.ts +32 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +404 -0
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js +12 -0
- package/dist/editor/ai/terminal/components/AgentEditHistoryButton.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.d.ts +39 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +42 -0
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.js +14 -0
- package/dist/editor/ai/terminal/components/AgentGreeting.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.d.ts +1 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js +6 -0
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js +8 -0
- package/dist/editor/ai/terminal/components/AgentMobileStatusPopover.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +90 -0
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.d.ts +6 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.js +9 -0
- package/dist/editor/ai/terminal/components/AgentParentLink.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +10 -0
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.d.ts +16 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +15 -0
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.d.ts +12 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js +207 -0
- package/dist/editor/ai/terminal/components/AgentProjectProgress.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.d.ts +14 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js +17 -0
- package/dist/editor/ai/terminal/components/AgentPromptActionButtons.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js +10 -0
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.d.ts +39 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +27 -0
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +106 -0
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +7 -0
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.d.ts +8 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +32 -0
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.d.ts +53 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js +9 -0
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.d.ts +7 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +14 -0
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.d.ts +43 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js +33 -0
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.d.ts +21 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +48 -0
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.d.ts +16 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js +41 -0
- package/dist/editor/ai/terminal/components/AgentSuggestionBanner.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.d.ts +26 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.d.ts +6 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.d.ts +10 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +13 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.d.ts +12 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js +21 -0
- package/dist/editor/ai/terminal/components/AgentSummaryPromptActions.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.d.ts +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js +13 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.d.ts +23 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +66 -0
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.d.ts +13 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js +10 -0
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.d.ts +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +24 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js +7 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullPromptControls.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.d.ts +62 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +98 -0
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +44 -0
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.d.ts +81 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +910 -0
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.d.ts +42 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.d.ts +18 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.js +42 -0
- package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +1 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.d.ts +5 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js +9 -0
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +1 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.d.ts +25 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +1557 -0
- package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.d.ts +17 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +588 -0
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.d.ts +9 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +102 -0
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +4 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js +7 -0
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.d.ts +1 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +5 -0
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +1 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.d.ts +9 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js +56 -0
- package/dist/editor/ai/terminal/components/QuestionnaireRecap.js.map +1 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.d.ts +8 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +49 -0
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.d.ts +7 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +105 -0
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.d.ts +6 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.js +117 -0
- package/dist/editor/ai/terminal/components/TodoListPanel.js.map +1 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.d.ts +83 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +784 -0
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +1 -0
- package/dist/editor/ai/terminal/components/UserMessage.d.ts +6 -0
- package/dist/editor/ai/terminal/components/UserMessage.js +243 -0
- package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.d.ts +21 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.js +32 -0
- package/dist/editor/ai/terminal/components/toolCallApprovalGate.js.map +1 -0
- package/dist/editor/ai/terminal/contextBreakdown.d.ts +17 -0
- package/dist/editor/ai/terminal/contextBreakdown.js +58 -0
- package/dist/editor/ai/terminal/contextBreakdown.js.map +1 -0
- package/dist/editor/ai/terminal/types.d.ts +136 -0
- package/dist/editor/ai/terminal/types.js +2 -0
- package/dist/editor/ai/terminal/types.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js +9 -0
- package/dist/editor/ai/terminal/useAgentActiveStreaming.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js +19 -0
- package/dist/editor/ai/terminal/useAgentAssignedSkillsSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.d.ts +29 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js +68 -0
- package/dist/editor/ai/terminal/useAgentAutoStartOnCreate.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js +96 -0
- package/dist/editor/ai/terminal/useAgentContentChunkHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.d.ts +9 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js +98 -0
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js +29 -0
- package/dist/editor/ai/terminal/useAgentContextUpdateHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js +41 -0
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +58 -0
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js +121 -0
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.js +166 -0
- package/dist/editor/ai/terminal/useAgentEditorContext.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js +16 -0
- package/dist/editor/ai/terminal/useAgentEditorContextPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js +10 -0
- package/dist/editor/ai/terminal/useAgentEffectiveModelName.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js +55 -0
- package/dist/editor/ai/terminal/useAgentHeartbeatMessages.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +55 -0
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js +18 -0
- package/dist/editor/ai/terminal/useAgentInitialMetadataMerge.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js +51 -0
- package/dist/editor/ai/terminal/useAgentInitialPrompt.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js +196 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js +28 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js +78 -0
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js +26 -0
- package/dist/editor/ai/terminal/useAgentLoadErrorHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js +21 -0
- package/dist/editor/ai/terminal/useAgentLoadLifecycle.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.d.ts +40 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js +75 -0
- package/dist/editor/ai/terminal/useAgentLoadPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js +31 -0
- package/dist/editor/ai/terminal/useAgentLoadedRunStateSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentLoader.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentLoader.js +80 -0
- package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js +23 -0
- package/dist/editor/ai/terminal/useAgentMessageCompletionNotifier.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentModeState.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentModeState.js +52 -0
- package/dist/editor/ai/terminal/useAgentModeState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js +26 -0
- package/dist/editor/ai/terminal/useAgentOperationHistoryLoader.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js +19 -0
- package/dist/editor/ai/terminal/useAgentOperationSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js +35 -0
- package/dist/editor/ai/terminal/useAgentPendingApprovals.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +140 -0
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js +60 -0
- package/dist/editor/ai/terminal/useAgentPendingInitialPrompt.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.d.ts +17 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.js +61 -0
- package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.d.ts +37 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +206 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.d.ts +26 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js +51 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerProps.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js +29 -0
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.js +39 -0
- package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.d.ts +6 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js +22 -0
- package/dist/editor/ai/terminal/useAgentPromptQueueSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js +61 -0
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js +10 -0
- package/dist/editor/ai/terminal/useAgentQueuedPromptReset.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.js +109 -0
- package/dist/editor/ai/terminal/useAgentQuickActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js +67 -0
- package/dist/editor/ai/terminal/useAgentRunCompletionSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js +53 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaRouter.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.d.ts +24 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js +66 -0
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.d.ts +22 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js +70 -0
- package/dist/editor/ai/terminal/useAgentRunDiagnostics.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.d.ts +42 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js +39 -0
- package/dist/editor/ai/terminal/useAgentRunMessagePipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.d.ts +17 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.js +44 -0
- package/dist/editor/ai/terminal/useAgentRunRefs.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +118 -0
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js +22 -0
- package/dist/editor/ai/terminal/useAgentRunSequenceGuard.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js +74 -0
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.d.ts +36 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +360 -0
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.d.ts +11 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js +9 -0
- package/dist/editor/ai/terminal/useAgentRuntimeStatus.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.js +22 -0
- package/dist/editor/ai/terminal/useAgentServerReconciler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSession.d.ts +50 -0
- package/dist/editor/ai/terminal/useAgentSession.js +181 -0
- package/dist/editor/ai/terminal/useAgentSession.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.d.ts +13 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js +26 -0
- package/dist/editor/ai/terminal/useAgentSessionCommandBindings.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js +14 -0
- package/dist/editor/ai/terminal/useAgentSessionErrorBridge.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.d.ts +49 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.js +127 -0
- package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js +17 -0
- package/dist/editor/ai/terminal/useAgentSessionSocketSource.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.d.ts +102 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.js +179 -0
- package/dist/editor/ai/terminal/useAgentSessionSync.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.d.ts +49 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js +210 -0
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.d.ts +46 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.js +380 -0
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js +33 -0
- package/dist/editor/ai/terminal/useAgentSettingsNavigation.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.d.ts +87 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js +92 -0
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +45 -0
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.d.ts +35 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js +51 -0
- package/dist/editor/ai/terminal/useAgentSettleCompletedRun.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.d.ts +33 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.js +210 -0
- package/dist/editor/ai/terminal/useAgentSkillActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js +57 -0
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.d.ts +36 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js +70 -0
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.d.ts +28 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.js +55 -0
- package/dist/editor/ai/terminal/useAgentStopCommand.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.js +40 -0
- package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js +31 -0
- package/dist/editor/ai/terminal/useAgentStreamMessageFactory.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.d.ts +66 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js +169 -0
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js +70 -0
- package/dist/editor/ai/terminal/useAgentStreamSubscription.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.d.ts +38 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +228 -0
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js +85 -0
- package/dist/editor/ai/terminal/useAgentSubmitContextBuilder.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.d.ts +57 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +402 -0
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.d.ts +31 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js +45 -0
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.d.ts +20 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js +57 -0
- package/dist/editor/ai/terminal/useAgentSubmitResponseHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js +35 -0
- package/dist/editor/ai/terminal/useAgentSuggestionSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +32 -0
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.d.ts +23 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.js +54 -0
- package/dist/editor/ai/terminal/useAgentTerminalActions.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js +16 -0
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.d.ts +30 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js +12 -0
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.d.ts +2 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.js +900 -0
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.js +21 -0
- package/dist/editor/ai/terminal/useAgentTerminalControls.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js +17 -0
- package/dist/editor/ai/terminal/useAgentTerminalElementRefs.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.d.ts +10 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js +11 -0
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.d.ts +7 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js +29 -0
- package/dist/editor/ai/terminal/useAgentTerminalReadyEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.d.ts +15 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js +63 -0
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.d.ts +27 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js +43 -0
- package/dist/editor/ai/terminal/useAgentTerminalUiState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.d.ts +19 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js +22 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.d.ts +32 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js +44 -0
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.d.ts +25 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js +187 -0
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.d.ts +14 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js +65 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalResolvedEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.d.ts +8 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +53 -0
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.d.ts +12 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js +84 -0
- package/dist/editor/ai/terminal/useAgentToolCallHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.d.ts +18 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +127 -0
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.d.ts +5 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js +24 -0
- package/dist/editor/ai/terminal/useAgentToolUiEvents.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.d.ts +9 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js +44 -0
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +1 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.d.ts +16 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.js +231 -0
- package/dist/editor/ai/terminal/useAgentVoiceInput.js.map +1 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.d.ts +6 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js +57 -0
- package/dist/editor/ai/terminal/useSuppressedQueuedPrompts.js.map +1 -0
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useActiveAgentConversation.d.ts +5 -0
- package/dist/editor/ai/useActiveAgentConversation.js +52 -0
- package/dist/editor/ai/useActiveAgentConversation.js.map +1 -0
- package/dist/editor/ai/useAgentPanes.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +33 -5
- package/dist/editor/ai/useAgentPanes.js.map +1 -1
- package/dist/editor/ai/useAgentStatus.js +3 -1
- package/dist/editor/ai/useAgentStatus.js.map +1 -1
- package/dist/editor/ai/useInlineAiPosition.d.ts +10 -2
- package/dist/editor/ai/useInlineAiPosition.js +69 -86
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js +137 -26
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js +32 -64
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
- package/dist/editor/bridge/BridgeClient.d.ts +73 -0
- package/dist/editor/bridge/BridgeClient.js +415 -0
- package/dist/editor/bridge/BridgeClient.js.map +1 -0
- package/dist/editor/bridge/protocol.d.ts +564 -0
- package/dist/editor/bridge/protocol.js +200 -0
- package/dist/editor/bridge/protocol.js.map +1 -0
- package/dist/editor/client/AboutDialog.js +18 -6
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.d.ts +2 -5
- package/dist/editor/client/EditorShell.js +736 -253
- package/dist/editor/client/EditorShell.js.map +1 -1
- package/dist/editor/client/OperationDialogContent.js +3 -3
- package/dist/editor/client/OperationDialogContent.js.map +1 -1
- package/dist/editor/client/SessionExpiredOverlay.d.ts +1 -0
- package/dist/editor/client/SessionExpiredOverlay.js +25 -0
- package/dist/editor/client/SessionExpiredOverlay.js.map +1 -0
- package/dist/editor/client/editContext.d.ts +127 -13
- package/dist/editor/client/editContext.js +3 -7
- package/dist/editor/client/editContext.js.map +1 -1
- package/dist/editor/client/fieldModificationStore.d.ts +6 -2
- package/dist/editor/client/fieldModificationStore.js +38 -23
- 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/feedbackSocketState.d.ts +6 -0
- package/dist/editor/client/hooks/feedbackSocketState.js +16 -0
- package/dist/editor/client/hooks/feedbackSocketState.js.map +1 -0
- package/dist/editor/client/hooks/useEditorUrlSync.js +14 -1
- package/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -1
- package/dist/editor/client/hooks/useEditorWebSocket.d.ts +3 -0
- package/dist/editor/client/hooks/useEditorWebSocket.js +224 -18
- 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/useReducedMotion.d.ts +8 -0
- package/dist/editor/client/hooks/useReducedMotion.js +12 -0
- package/dist/editor/client/hooks/useReducedMotion.js.map +1 -0
- package/dist/editor/client/hooks/useSocketMessageHandler.d.ts +4 -0
- package/dist/editor/client/hooks/useSocketMessageHandler.js +127 -86
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/hooks/useWorkbox.d.ts +2 -0
- package/dist/editor/client/hooks/useWorkbox.js +76 -33
- package/dist/editor/client/hooks/useWorkbox.js.map +1 -1
- package/dist/editor/client/hooks/workboxDescriptors.d.ts +6 -0
- package/dist/editor/client/hooks/workboxDescriptors.js +49 -0
- package/dist/editor/client/hooks/workboxDescriptors.js.map +1 -0
- package/dist/editor/client/itemsRepository.d.ts +10 -5
- package/dist/editor/client/itemsRepository.js +48 -46
- package/dist/editor/client/itemsRepository.js.map +1 -1
- package/dist/editor/client/manualShowMeFocus.d.ts +17 -0
- package/dist/editor/client/manualShowMeFocus.js +32 -0
- package/dist/editor/client/manualShowMeFocus.js.map +1 -0
- package/dist/editor/client/operationToasts.d.ts +2 -0
- package/dist/editor/client/operationToasts.js +35 -0
- package/dist/editor/client/operationToasts.js.map +1 -0
- package/dist/editor/client/operations.d.ts +20 -5
- package/dist/editor/client/operations.js +407 -136
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/pageModelBuilder.d.ts +2 -0
- package/dist/editor/client/pageModelBuilder.js +89 -20
- package/dist/editor/client/pageModelBuilder.js.map +1 -1
- package/dist/editor/client/realtime/realtimeTransport.d.ts +56 -0
- package/dist/editor/client/realtime/realtimeTransport.js +197 -0
- package/dist/editor/client/realtime/realtimeTransport.js.map +1 -0
- 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 +11 -4
- 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 +1 -0
- 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 +13 -3
- package/dist/editor/commands/componentCommands.js +77 -7
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/createVersionCommand.js +6 -2
- package/dist/editor/commands/createVersionCommand.js.map +1 -1
- package/dist/editor/commands/customCommandConverter.js +10 -8
- 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 +1 -0
- package/dist/editor/commands/handlers/uiActionHandlers.js +30 -3
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/commands/itemCommands.js +24 -27
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/keyboardCommands.d.ts +6 -0
- package/dist/editor/commands/keyboardCommands.js +78 -2
- package/dist/editor/commands/keyboardCommands.js.map +1 -1
- package/dist/editor/commands/placeholderCommands.d.ts +17 -0
- package/dist/editor/commands/placeholderCommands.js +37 -0
- package/dist/editor/commands/placeholderCommands.js.map +1 -0
- package/dist/editor/commands/reorderComponent.d.ts +20 -0
- package/dist/editor/commands/reorderComponent.js +40 -0
- package/dist/editor/commands/reorderComponent.js.map +1 -0
- package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
- package/dist/editor/commands/undo.js +10 -6
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/componentFrameColors.d.ts +11 -0
- package/dist/editor/componentFrameColors.js +47 -0
- package/dist/editor/componentFrameColors.js.map +1 -0
- package/dist/editor/content-tree/IndicatorSettings.js +5 -4
- 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 +7 -3
- package/dist/editor/content-tree/TreeSettingsMenu.js.map +1 -1
- 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 +5 -0
- package/dist/editor/editor-warnings/FinalWorkflowStateReadOnly.js.map +1 -1
- package/dist/editor/editor-warnings/ItemLocked.js +6 -3
- package/dist/editor/editor-warnings/ItemLocked.js.map +1 -1
- package/dist/editor/field-types/AttachmentEditor.js +42 -4
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
- package/dist/editor/field-types/CheckboxEditor.js +3 -1
- 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 +31 -16
- 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 +18 -9
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js +15 -3
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +35 -9
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/NameValueListEditor.js +7 -3
- package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
- package/dist/editor/field-types/PictureFieldEditor.js +19 -13
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +9 -2
- package/dist/editor/field-types/RawEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditor.js +31 -10
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +194 -81
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +31 -5
- package/dist/editor/field-types/SingleLineText.js.map +1 -1
- package/dist/editor/field-types/TreeListEditor.js +72 -9
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.d.ts +21 -0
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js +96 -0
- package/dist/editor/field-types/richtext/bridgeRichTextProfile.js.map +1 -0
- package/dist/editor/field-types/richtext/components/EditorDropdown.css +7 -6
- package/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +5 -5
- package/dist/editor/field-types/richtext/components/EditorDropdown.js +21 -20
- package/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/ReactSlate.css +108 -31
- package/dist/editor/field-types/richtext/components/ReactSlate.js +240 -50
- package/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js +11 -6
- package/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +32 -16
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +26 -2
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js +5 -4
- package/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -1
- package/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +4 -2
- 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 +2 -14
- package/dist/editor/field-types/richtext/contextMenuFactory.js +4 -379
- 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 +5 -2
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +41 -13
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -1
- package/dist/editor/field-types/richtext/richTextToolbarIcons.d.ts +7 -0
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js +49 -0
- package/dist/editor/field-types/richtext/richTextToolbarIcons.js.map +1 -0
- package/dist/editor/field-types/richtext/types.d.ts +2 -0
- 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 +298 -214
- package/dist/editor/field-types/richtext/utils/conversion.js.map +1 -1
- package/dist/editor/field-types/richtext/utils/plugins.js +96 -69
- 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 +186 -171
- 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/field-types/useFormFieldCaretPresence.d.ts +13 -0
- package/dist/editor/field-types/useFormFieldCaretPresence.js +92 -0
- package/dist/editor/field-types/useFormFieldCaretPresence.js.map +1 -0
- package/dist/editor/field-types/useTextCompletion.d.ts +20 -0
- package/dist/editor/field-types/useTextCompletion.js +166 -0
- package/dist/editor/field-types/useTextCompletion.js.map +1 -0
- package/dist/editor/fieldTypes.d.ts +2 -0
- 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 +8 -7
- package/dist/editor/hooks/useParheliaSettings.js.map +1 -1
- package/dist/editor/insertMenuItems.d.ts +11 -0
- package/dist/editor/insertMenuItems.js +10 -1
- package/dist/editor/insertMenuItems.js.map +1 -1
- package/dist/editor/manualActionEvents.js +3 -1
- 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 +2 -1
- package/dist/editor/media-selector/MediaFolderBrowser.js +318 -49
- package/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -1
- package/dist/editor/media-selector/MediaSelector.js +4 -2
- package/dist/editor/media-selector/MediaSelector.js.map +1 -1
- package/dist/editor/media-selector/Preview.d.ts +2 -1
- package/dist/editor/media-selector/Preview.js +53 -6
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.d.ts +5 -1
- package/dist/editor/media-selector/Thumbnails.js +72 -11
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +155 -41
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.d.ts +3 -1
- package/dist/editor/media-selector/UploadZone.js +27 -23
- package/dist/editor/media-selector/UploadZone.js.map +1 -1
- package/dist/editor/media-selector/mediaFileType.d.ts +12 -0
- package/dist/editor/media-selector/mediaFileType.js +95 -0
- package/dist/editor/media-selector/mediaFileType.js.map +1 -0
- package/dist/editor/media-selector/mediaSelectionPath.d.ts +5 -0
- package/dist/editor/media-selector/mediaSelectionPath.js +21 -0
- package/dist/editor/media-selector/mediaSelectionPath.js.map +1 -0
- package/dist/editor/media-selector/mediaUpload.d.ts +30 -0
- package/dist/editor/media-selector/mediaUpload.js +155 -0
- package/dist/editor/media-selector/mediaUpload.js.map +1 -0
- package/dist/editor/menubar/ActiveUsers.js +32 -36
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/FavoritesControls.js +51 -30
- package/dist/editor/menubar/FavoritesControls.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +2 -1
- 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 +4 -1
- package/dist/editor/menubar/ItemLanguageVersion.js +17 -18
- package/dist/editor/menubar/ItemLanguageVersion.js.map +1 -1
- package/dist/editor/menubar/OpenInNewTabButton.d.ts +15 -0
- package/dist/editor/menubar/OpenInNewTabButton.js +42 -0
- package/dist/editor/menubar/OpenInNewTabButton.js.map +1 -0
- package/dist/editor/menubar/OperationsIndicator.d.ts +7 -0
- package/dist/editor/menubar/OperationsIndicator.js +87 -0
- package/dist/editor/menubar/OperationsIndicator.js.map +1 -0
- package/dist/editor/menubar/PageSelector.js +11 -5
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js +40 -21
- package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
- package/dist/editor/menubar/Separator.d.ts +2 -1
- package/dist/editor/menubar/Separator.js +2 -2
- package/dist/editor/menubar/Separator.js.map +1 -1
- package/dist/editor/menubar/ToolbarFactory.js +30 -19
- package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
- package/dist/editor/menubar/User.js +2 -7
- package/dist/editor/menubar/User.js.map +1 -1
- package/dist/editor/menubar/VersionPreviewCard.js +11 -231
- package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
- package/dist/editor/menubar/VersionSelector.d.ts +4 -2
- package/dist/editor/menubar/VersionSelector.js +70 -24
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +23 -28
- package/dist/editor/menubar/WorkflowButton.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js +3 -1
- package/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js +13 -0
- package/dist/editor/menubar/toolbar-sections/ContentTreeToggle.js.map +1 -0
- 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/DeviceSwitchToolbar.d.ts +7 -0
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js +132 -0
- package/dist/editor/menubar/toolbar-sections/DeviceSwitchToolbar.js.map +1 -0
- package/dist/editor/menubar/toolbar-sections/EditControls.d.ts +4 -2
- package/dist/editor/menubar/toolbar-sections/EditControls.js +82 -11
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js +15 -0
- package/dist/editor/menubar/toolbar-sections/FullscreenControl.js.map +1 -0
- 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 +22 -0
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +935 -161
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js +2 -1
- package/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +58 -31
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +3 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js +14 -4
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +1 -0
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js +100 -38
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/index.d.ts +4 -2
- package/dist/editor/menubar/toolbar-sections/index.js +4 -2
- package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
- package/dist/editor/notifications/NotificationCenter.d.ts +4 -1
- package/dist/editor/notifications/NotificationCenter.js +41 -30
- package/dist/editor/notifications/NotificationCenter.js.map +1 -1
- package/dist/editor/notifications/NotificationItem.js +100 -15
- package/dist/editor/notifications/NotificationItem.js.map +1 -1
- package/dist/editor/notifications/WatchButton.d.ts +5 -4
- package/dist/editor/notifications/WatchButton.js +105 -61
- package/dist/editor/notifications/WatchButton.js.map +1 -1
- package/dist/editor/notifications/notificationListState.js +4 -1
- 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 +8 -0
- package/dist/editor/notifications/useNotificationSubscriptions.js +25 -1
- package/dist/editor/notifications/useNotificationSubscriptions.js.map +1 -1
- package/dist/editor/notifications/useNotifications.js +58 -22
- package/dist/editor/notifications/useNotifications.js.map +1 -1
- package/dist/editor/notifications/watchEventOptions.d.ts +13 -0
- package/dist/editor/notifications/watchEventOptions.js +113 -0
- package/dist/editor/notifications/watchEventOptions.js.map +1 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.d.ts +8 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js +526 -0
- package/dist/editor/page-editor-chrome/BridgeInlineFormatOverlay.js.map +1 -0
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +6 -4
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +497 -11
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.d.ts +8 -0
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js +8 -0
- package/dist/editor/page-editor-chrome/ComponentOperationBubble.js.map +1 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.d.ts +36 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js +1067 -0
- package/dist/editor/page-editor-chrome/DragInsertionOverlay.js.map +1 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.d.ts +22 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js +40 -0
- package/dist/editor/page-editor-chrome/FeedbackHighlightBadge.js.map +1 -0
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +30 -68
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +1 -3
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js +38 -101
- package/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +1 -3
- 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 +7 -4
- package/dist/editor/page-editor-chrome/FrameMenu.js +264 -223
- 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 +72 -18
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
- package/dist/editor/page-editor-chrome/InsertComponentMenu.d.ts +26 -0
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js +35 -0
- package/dist/editor/page-editor-chrome/InsertComponentMenu.js.map +1 -0
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +3 -2
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +191 -20
- 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 +6 -2
- package/dist/editor/page-editor-chrome/PageEditorChrome.js +141 -48
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +167 -147
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +34 -3
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +175 -65
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +13 -5
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +120 -305
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +6 -4
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +304 -12
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +1 -3
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +160 -123
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.d.ts +24 -0
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js +90 -0
- package/dist/editor/page-editor-chrome/bridgeInlineFormatToolbarLayout.js.map +1 -0
- package/dist/editor/page-editor-chrome/componentDragObject.d.ts +10 -0
- package/dist/editor/page-editor-chrome/componentDragObject.js +22 -0
- package/dist/editor/page-editor-chrome/componentDragObject.js.map +1 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.d.ts +6 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.js +21 -0
- package/dist/editor/page-editor-chrome/insertTargetLabel.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +62 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +306 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.d.ts +44 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js +160 -0
- package/dist/editor/page-editor-chrome/overlay/InsertionLine.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +83 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js +349 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.d.ts +67 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js +279 -0
- package/dist/editor/page-editor-chrome/overlay/placeholderZones.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.d.ts +10 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js +28 -0
- package/dist/editor/page-editor-chrome/overlay/useOverlayMeasurement.js.map +1 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.d.ts +29 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js +334 -0
- package/dist/editor/page-editor-chrome/useBridgeInlineEditing.js.map +1 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.d.ts +23 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js +41 -0
- package/dist/editor/page-editor-chrome/useComponentDragHandle.js.map +1 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.d.ts +23 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js +207 -0
- package/dist/editor/page-editor-chrome/useDragInsertionGesture.js.map +1 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.d.ts +2 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.js +18 -0
- package/dist/editor/page-editor-chrome/usePinnedHoveredComponentId.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 +55 -24
- 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 +29 -2
- package/dist/editor/page-viewer/MiniMap.js +375 -340
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/MinimapDropTargets.d.ts +13 -0
- package/dist/editor/page-viewer/MinimapDropTargets.js +140 -0
- package/dist/editor/page-viewer/MinimapDropTargets.js.map +1 -0
- package/dist/editor/page-viewer/PageViewer.d.ts +4 -2
- package/dist/editor/page-viewer/PageViewer.js +202 -21
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.d.ts +4 -7
- package/dist/editor/page-viewer/PageViewerFrame.js +2220 -1270
- package/dist/editor/page-viewer/PageViewerFrame.js.map +1 -1
- package/dist/editor/page-viewer/RenderingParametersSection.js +13 -7
- package/dist/editor/page-viewer/RenderingParametersSection.js.map +1 -1
- package/dist/editor/page-viewer/bridgeFieldPatch.d.ts +19 -0
- package/dist/editor/page-viewer/bridgeFieldPatch.js +33 -0
- package/dist/editor/page-viewer/bridgeFieldPatch.js.map +1 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.d.ts +3 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js +36 -0
- package/dist/editor/page-viewer/bridgeKeyboardShortcuts.js.map +1 -0
- package/dist/editor/page-viewer/pageViewContext.d.ts +35 -0
- package/dist/editor/page-viewer/pageViewContext.js +40 -3
- package/dist/editor/page-viewer/pageViewContext.js.map +1 -1
- package/dist/editor/page-viewer/renderUrl.d.ts +14 -0
- package/dist/editor/page-viewer/renderUrl.js +83 -0
- package/dist/editor/page-viewer/renderUrl.js.map +1 -0
- package/dist/editor/pageModel.d.ts +4 -0
- package/dist/editor/pageModel.js +12 -1
- 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 +3 -1
- package/dist/editor/personalization/PersonalizationPanel.js +39 -18
- package/dist/editor/personalization/PersonalizationPanel.js.map +1 -1
- package/dist/editor/personalization/RuleElementPicker.js +5 -4
- package/dist/editor/personalization/RuleElementPicker.js.map +1 -1
- package/dist/editor/personalization/RuleList.js +13 -10
- package/dist/editor/personalization/RuleList.js.map +1 -1
- package/dist/editor/personalization/RuleParameterInput.js +10 -7
- package/dist/editor/personalization/RuleParameterInput.js.map +1 -1
- package/dist/editor/personalization/TreeItemPicker.js +4 -6
- package/dist/editor/personalization/TreeItemPicker.js.map +1 -1
- package/dist/editor/personalization/utils.js.map +1 -1
- package/dist/editor/reviews/Comment.d.ts +6 -1
- package/dist/editor/reviews/Comment.js +64 -103
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +244 -78
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentEditor.d.ts +7 -2
- package/dist/editor/reviews/CommentEditor.js +45 -8
- package/dist/editor/reviews/CommentEditor.js.map +1 -1
- package/dist/editor/reviews/CommentPopover.d.ts +4 -0
- package/dist/editor/reviews/CommentPopover.js +92 -15
- package/dist/editor/reviews/CommentPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.d.ts +4 -1
- package/dist/editor/reviews/CommentView.js +60 -38
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.d.ts +0 -2
- package/dist/editor/reviews/Comments.js +269 -51
- package/dist/editor/reviews/Comments.js.map +1 -1
- package/dist/editor/reviews/CommentsAndFeedback.d.ts +2 -8
- package/dist/editor/reviews/CommentsAndFeedback.js +10 -43
- 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 +34 -26
- 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 +68 -54
- package/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -1
- package/dist/editor/reviews/FeedbackCard.d.ts +23 -0
- package/dist/editor/reviews/FeedbackCard.js +32 -0
- package/dist/editor/reviews/FeedbackCard.js.map +1 -0
- package/dist/editor/reviews/FeedbackModeIntro.d.ts +15 -0
- package/dist/editor/reviews/FeedbackModeIntro.js +22 -0
- package/dist/editor/reviews/FeedbackModeIntro.js.map +1 -0
- package/dist/editor/reviews/ItemTreeSelector.js +1 -1
- package/dist/editor/reviews/ItemTreeSelector.js.map +1 -1
- package/dist/editor/reviews/LatestFeedback.js +26 -49
- package/dist/editor/reviews/LatestFeedback.js.map +1 -1
- package/dist/editor/reviews/MentionText.d.ts +3 -0
- package/dist/editor/reviews/MentionText.js +139 -0
- package/dist/editor/reviews/MentionText.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/ReviewCard.js +12 -11
- 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 +33 -19
- package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +4 -3
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.d.ts +4 -1
- package/dist/editor/reviews/SuggestedEdit.js +101 -61
- package/dist/editor/reviews/SuggestedEdit.js.map +1 -1
- package/dist/editor/reviews/SuggestionCommentThread.d.ts +14 -0
- package/dist/editor/reviews/SuggestionCommentThread.js +151 -0
- package/dist/editor/reviews/SuggestionCommentThread.js.map +1 -0
- package/dist/editor/reviews/SuggestionDisplayPopover.js +45 -47
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js +96 -27
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/commentTransientSelection.d.ts +23 -0
- package/dist/editor/reviews/commentTransientSelection.js +7 -0
- package/dist/editor/reviews/commentTransientSelection.js.map +1 -0
- package/dist/editor/reviews/feedbackAvatar.d.ts +14 -0
- package/dist/editor/reviews/feedbackAvatar.js +86 -0
- package/dist/editor/reviews/feedbackAvatar.js.map +1 -0
- package/dist/editor/reviews/feedbackCommentRules.d.ts +3 -0
- package/dist/editor/reviews/feedbackCommentRules.js +15 -0
- package/dist/editor/reviews/feedbackCommentRules.js.map +1 -0
- package/dist/editor/reviews/feedbackOrdering.d.ts +5 -0
- package/dist/editor/reviews/feedbackOrdering.js +27 -0
- package/dist/editor/reviews/feedbackOrdering.js.map +1 -0
- package/dist/editor/reviews/feedbackScrollTarget.d.ts +19 -0
- package/dist/editor/reviews/feedbackScrollTarget.js +171 -0
- package/dist/editor/reviews/feedbackScrollTarget.js.map +1 -0
- package/dist/editor/reviews/feedbackSelection.d.ts +3 -0
- package/dist/editor/reviews/feedbackSelection.js +65 -0
- package/dist/editor/reviews/feedbackSelection.js.map +1 -0
- package/dist/editor/reviews/feedbackSidebarText.d.ts +2 -0
- package/dist/editor/reviews/feedbackSidebarText.js +3 -0
- package/dist/editor/reviews/feedbackSidebarText.js.map +1 -0
- package/dist/editor/reviews/latestFeedbackData.d.ts +11 -0
- package/dist/editor/reviews/latestFeedbackData.js +40 -0
- package/dist/editor/reviews/latestFeedbackData.js.map +1 -0
- package/dist/editor/reviews/openCommentsFeedback.d.ts +35 -0
- package/dist/editor/reviews/openCommentsFeedback.js +89 -0
- package/dist/editor/reviews/openCommentsFeedback.js.map +1 -0
- package/dist/editor/reviews/reviewCommands.js +2 -2
- package/dist/editor/reviews/reviewCommands.js.map +1 -1
- package/dist/editor/reviews/suggestedEditState.d.ts +14 -0
- package/dist/editor/reviews/suggestedEditState.js +110 -0
- package/dist/editor/reviews/suggestedEditState.js.map +1 -0
- package/dist/editor/reviews/suggestionContentChange.d.ts +2 -0
- package/dist/editor/reviews/suggestionContentChange.js +29 -0
- package/dist/editor/reviews/suggestionContentChange.js.map +1 -0
- package/dist/editor/reviews/suggestionDisplayValue.d.ts +43 -0
- package/dist/editor/reviews/suggestionDisplayValue.js +93 -0
- package/dist/editor/reviews/suggestionDisplayValue.js.map +1 -0
- package/dist/editor/reviews/useMultiReview.js +5 -4
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/services/agentService.d.ts +75 -27
- package/dist/editor/services/agentService.js +105 -33
- 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 +12 -13
- package/dist/editor/services/agentSubscriptionRegistry.js.map +1 -1
- package/dist/editor/services/aiService.d.ts +8 -38
- package/dist/editor/services/aiService.js +7 -64
- package/dist/editor/services/aiService.js.map +1 -1
- package/dist/editor/services/contentService.d.ts +11 -1
- package/dist/editor/services/contentService.js +7 -20
- 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 +16 -0
- package/dist/editor/services/editService.js +8 -3
- 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/manualService.d.ts +31 -0
- package/dist/editor/services/manualService.js +77 -0
- package/dist/editor/services/manualService.js.map +1 -0
- package/dist/editor/services/notificationService.d.ts +4 -0
- package/dist/editor/services/notificationService.js +5 -1
- 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 +6 -3
- package/dist/editor/services/reviewsService.js +10 -2
- package/dist/editor/services/reviewsService.js.map +1 -1
- package/dist/editor/services/serviceHelper.d.ts +8 -0
- package/dist/editor/services/serviceHelper.js +59 -0
- 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 +49 -0
- package/dist/editor/services/systemService.js +32 -0
- package/dist/editor/services/systemService.js.map +1 -1
- package/dist/editor/services/templateBuilderService.js +5 -6
- package/dist/editor/services/templateBuilderService.js.map +1 -1
- package/dist/editor/services/userResolution.d.ts +18 -0
- package/dist/editor/services/userResolution.js +86 -0
- package/dist/editor/services/userResolution.js.map +1 -0
- package/dist/editor/services/userService.d.ts +14 -0
- package/dist/editor/services/userService.js +39 -0
- package/dist/editor/services/userService.js.map +1 -0
- package/dist/editor/settings/About.js +219 -32
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/IndexOverview.js +10 -9
- package/dist/editor/settings/IndexOverview.js.map +1 -1
- package/dist/editor/settings/QuotaInfo.js +90 -69
- package/dist/editor/settings/QuotaInfo.js.map +1 -1
- package/dist/editor/settings/QuotaUserPicker.js +15 -55
- package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.d.ts +3 -6
- package/dist/editor/settings/SettingsBreadcrumb.js +18 -2
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- package/dist/editor/settings/SettingsCard.d.ts +4 -0
- package/dist/editor/settings/SettingsCard.js +7 -0
- package/dist/editor/settings/SettingsCard.js.map +1 -0
- package/dist/editor/settings/SettingsHeaderActionsContext.d.ts +9 -3
- package/dist/editor/settings/SettingsHeaderActionsContext.js +6 -6
- package/dist/editor/settings/SettingsHeaderActionsContext.js.map +1 -1
- package/dist/editor/settings/SettingsPanelLayout.d.ts +28 -0
- package/dist/editor/settings/SettingsPanelLayout.js +24 -0
- package/dist/editor/settings/SettingsPanelLayout.js.map +1 -0
- package/dist/editor/settings/SettingsView.js +25 -28
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/StatusSummary.js +17 -27
- package/dist/editor/settings/StatusSummary.js.map +1 -1
- package/dist/editor/settings/index/AdvancedSettings.d.ts +1 -1
- package/dist/editor/settings/index/AdvancedSettings.js +13 -11
- 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 +7 -5
- package/dist/editor/settings/index/EmbeddingProviderInfo.js.map +1 -1
- package/dist/editor/settings/index/IndexStatusCards.js +3 -2
- package/dist/editor/settings/index/IndexStatusCards.js.map +1 -1
- package/dist/editor/settings/index/LatestEmbeddingsList.js +3 -1
- 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 +24 -22
- package/dist/editor/settings/index/RebuildIndexSection.js.map +1 -1
- package/dist/editor/settings/index/RecentBatchesList.js +20 -18
- package/dist/editor/settings/index/RecentBatchesList.js.map +1 -1
- package/dist/editor/settings/index/types.d.ts +0 -2
- package/dist/editor/settings/index/useIndexStatus.js +10 -2
- 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 +2 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js +7 -3
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.d.ts +1 -0
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js +1 -1
- package/dist/editor/settings/panels/AgentProfileEditorPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentToolsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js +178 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -0
- package/dist/editor/settings/panels/AgentsPanel.js +30 -8
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +49 -54
- 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/CreateMcpServerDialog.d.ts +7 -0
- package/dist/editor/settings/panels/CreateMcpServerDialog.js +79 -0
- package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +1 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +2 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +52 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +1 -0
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +7 -5
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ItemConfigPanel.js +4 -3
- package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +4 -2
- 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 +27 -13
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +36 -16
- 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 +178 -41
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +156 -0
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +1 -0
- package/dist/editor/settings/panels/PersistentLogsPanel.js +25 -14
- package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.d.ts +2 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +6 -3
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelector.js +10 -43
- package/dist/editor/settings/panels/ProjectTemplateSelector.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.d.ts +13 -0
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js +43 -0
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +1 -0
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +119 -90
- 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 +55 -35
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +13 -11
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/SettingsPanel.js +3 -2
- package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
- package/dist/editor/settings/panels/StatusPanel.js +39 -14
- package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
- package/dist/editor/settings/panels/SystemSettingsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/SystemSettingsPanel.js +69 -0
- package/dist/editor/settings/panels/SystemSettingsPanel.js.map +1 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.d.ts +2 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.js +66 -0
- package/dist/editor/settings/panels/UserPreferencesPanel.js.map +1 -0
- package/dist/editor/settings/panels/index.d.ts +5 -0
- package/dist/editor/settings/panels/index.js +5 -0
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/status/coreStatusChecks.js +118 -7
- 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/SetupStepError.d.ts +8 -0
- package/dist/editor/setup-wizard/SetupStepError.js +7 -0
- package/dist/editor/setup-wizard/SetupStepError.js.map +1 -0
- package/dist/editor/setup-wizard/SetupStepHeader.d.ts +15 -0
- package/dist/editor/setup-wizard/SetupStepHeader.js +6 -0
- package/dist/editor/setup-wizard/SetupStepHeader.js.map +1 -0
- package/dist/editor/setup-wizard/SetupStepLayout.d.ts +33 -0
- package/dist/editor/setup-wizard/SetupStepLayout.js +16 -0
- package/dist/editor/setup-wizard/SetupStepLayout.js.map +1 -0
- package/dist/editor/setup-wizard/steps/CompleteStep.js +12 -7
- 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 +5 -3
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +102 -31
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.d.ts +2 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +13 -5
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +64 -59
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +84 -30
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +2 -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 +61 -26
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +208 -40
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/ContentTreePanel.d.ts +3 -0
- package/dist/editor/sidebar/ContentTreePanel.js +14 -0
- package/dist/editor/sidebar/ContentTreePanel.js.map +1 -0
- package/dist/editor/sidebar/DictionaryEditor.js +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
- package/dist/editor/sidebar/EditHistory.js +17 -4
- package/dist/editor/sidebar/EditHistory.js.map +1 -1
- package/dist/editor/sidebar/Favorites.d.ts +5 -1
- package/dist/editor/sidebar/Favorites.js +41 -57
- package/dist/editor/sidebar/Favorites.js.map +1 -1
- package/dist/editor/sidebar/Insert.js +1 -1
- package/dist/editor/sidebar/MainContentTree.js +5 -2
- 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 +6 -5
- 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 +111 -25
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.js +21 -15
- package/dist/editor/sidebar/SidebarPanel.js.map +1 -1
- package/dist/editor/sidebar/SidebarStack.js +2 -0
- 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 +6 -3
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +36 -77
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceButton.d.ts +3 -1
- package/dist/editor/sidebar/WorkspaceButton.js +16 -8
- package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.js +30 -25
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +5 -14
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/sidebar/contentTreeConstants.d.ts +2 -0
- package/dist/editor/sidebar/contentTreeConstants.js +3 -0
- package/dist/editor/sidebar/contentTreeConstants.js.map +1 -0
- 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 +164 -97
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.js +13 -22
- package/dist/editor/tree-indicators/GutterColumns.js.map +1 -1
- package/dist/editor/tree-indicators/GutterContext.js +5 -1
- 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 +3 -1
- package/dist/editor/ui/DialogButtons.js +3 -2
- package/dist/editor/ui/DialogButtons.js.map +1 -1
- package/dist/editor/ui/DragPreview.d.ts +7 -0
- package/dist/editor/ui/DragPreview.js +107 -10
- 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/HomeListRow.d.ts +11 -0
- package/dist/editor/ui/HomeListRow.js +11 -0
- package/dist/editor/ui/HomeListRow.js.map +1 -0
- 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 +27 -3
- package/dist/editor/ui/ItemCollectionEditor.js +54 -10
- 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 +1 -0
- package/dist/editor/ui/ItemSearch.js +4 -4
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/LoadingState.d.ts +11 -0
- package/dist/editor/ui/LoadingState.js +27 -0
- package/dist/editor/ui/LoadingState.js.map +1 -0
- package/dist/editor/ui/PerfectTree.d.ts +24 -1
- package/dist/editor/ui/PerfectTree.js +39 -19
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishDialog.d.ts +11 -0
- package/dist/editor/ui/PublishDialog.js +101 -0
- package/dist/editor/ui/PublishDialog.js.map +1 -0
- package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
- package/dist/editor/ui/PublishItemDialog.js +40 -75
- package/dist/editor/ui/PublishItemDialog.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +70 -64
- 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 +9 -2
- package/dist/editor/ui/SimpleIconButton.js +20 -5
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleMenu.js +7 -6
- 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 +6 -2
- package/dist/editor/ui/SimpleTabs.js +54 -19
- 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 +14 -1
- package/dist/editor/ui/Spinner.js.map +1 -1
- package/dist/editor/ui/Splitter.d.ts +2 -0
- package/dist/editor/ui/Splitter.js +160 -21
- 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/TreeListSelector.js +1 -1
- package/dist/editor/ui/TreeListSelector.js.map +1 -1
- package/dist/editor/ui/WorkboxItemsTable.d.ts +15 -0
- package/dist/editor/ui/WorkboxItemsTable.js +142 -0
- package/dist/editor/ui/WorkboxItemsTable.js.map +1 -0
- package/dist/editor/ui/animationSettle.d.ts +32 -0
- package/dist/editor/ui/animationSettle.js +85 -0
- package/dist/editor/ui/animationSettle.js.map +1 -0
- package/dist/editor/ui/splitterResizeEvent.d.ts +9 -0
- package/dist/editor/ui/splitterResizeEvent.js +13 -0
- package/dist/editor/ui/splitterResizeEvent.js.map +1 -0
- package/dist/editor/utils/dedupeInflight.d.ts +1 -0
- package/dist/editor/utils/dedupeInflight.js +13 -0
- package/dist/editor/utils/dedupeInflight.js.map +1 -0
- package/dist/editor/utils/expandSelectionAtCaret.d.ts +15 -0
- package/dist/editor/utils/expandSelectionAtCaret.js +183 -0
- package/dist/editor/utils/expandSelectionAtCaret.js.map +1 -0
- package/dist/editor/utils/jsonCleaner.js +10 -10
- package/dist/editor/utils/jsonCleaner.js.map +1 -1
- package/dist/editor/utils/keyboardNavigation.js +2 -1
- package/dist/editor/utils/keyboardNavigation.js.map +1 -1
- package/dist/editor/utils/selectionContext.js.map +1 -1
- package/dist/editor/utils/versionAtDate.js.map +1 -1
- package/dist/editor/utils.d.ts +7 -17
- package/dist/editor/utils.js +35 -145
- 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 +3 -8
- package/dist/editor/version-diff/versionDiffTargets.js +38 -96
- 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 +7 -6
- 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/ItemEditorPane.d.ts +11 -0
- package/dist/editor/views/ItemEditorPane.js +19 -0
- package/dist/editor/views/ItemEditorPane.js.map +1 -0
- package/dist/editor/views/MediaFolderEditView.js +2 -2
- package/dist/editor/views/MediaFolderEditView.js.map +1 -1
- package/dist/editor/views/SingleEditView.js +15 -6
- package/dist/editor/views/SingleEditView.js.map +1 -1
- package/dist/editor/views/editorSlotContext.d.ts +2 -0
- package/dist/editor/views/editorSlotContext.js +10 -1
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/editor/workflowFields.d.ts +1 -0
- package/dist/editor/workflowFields.js +16 -0
- package/dist/editor/workflowFields.js.map +1 -0
- package/dist/index.d.ts +39 -6
- package/dist/index.js +23 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/pointerDrag.d.ts +20 -0
- package/dist/lib/pointerDrag.js +57 -0
- package/dist/lib/pointerDrag.js.map +1 -0
- package/dist/lib/safelist.js +1 -1
- package/dist/lib/safelist.js.map +1 -1
- package/dist/lib/sanitize.js +79 -11
- package/dist/lib/sanitize.js.map +1 -1
- package/dist/lib/viewTransition.js +7 -1
- package/dist/lib/viewTransition.js.map +1 -1
- package/dist/licensing/EmailEntry.js +2 -1
- 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 +2 -1
- package/dist/licensing/LicenseActivationForm.js.map +1 -1
- package/dist/licensing/LicenseCodeEntry.js +7 -3
- package/dist/licensing/LicenseCodeEntry.js.map +1 -1
- package/dist/licensing/LicenseContext.js +3 -4
- package/dist/licensing/LicenseContext.js.map +1 -1
- package/dist/licensing/LicenseOverlay.js +3 -1
- package/dist/licensing/LicenseOverlay.js.map +1 -1
- package/dist/licensing/licenseService.js +4 -3
- package/dist/licensing/licenseService.js.map +1 -1
- package/dist/licensing/types.d.ts +1 -1
- package/dist/licensing/types.js +3 -1
- package/dist/licensing/types.js.map +1 -1
- package/dist/logging/consolePrefix.d.ts +2 -0
- package/dist/logging/consolePrefix.js +62 -0
- package/dist/logging/consolePrefix.js.map +1 -0
- package/dist/logging/index.d.ts +1 -0
- package/dist/logging/index.js +2 -0
- package/dist/logging/index.js.map +1 -0
- package/dist/logging/install-browser-console.js +3 -0
- package/dist/logging/install-browser-console.js.map +1 -0
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.d.ts +12 -0
- package/dist/setup/services/setupWizardService.js +47 -13
- package/dist/setup/services/setupWizardService.js.map +1 -1
- 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 +38 -87
- 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 +7 -0
- package/dist/splash-screen/ModernSplashScreen.js +582 -62
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +41 -17
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +17 -21
- package/dist/splash-screen/OpenPage.js.map +1 -1
- package/dist/splash-screen/ParheliaAssistantChat.js +13 -12
- package/dist/splash-screen/ParheliaAssistantChat.js.map +1 -1
- package/dist/splash-screen/RecentPages.d.ts +4 -1
- package/dist/splash-screen/RecentPages.js +29 -26
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/task-board/TaskBoardWorkspace.js +465 -196
- package/dist/task-board/TaskBoardWorkspace.js.map +1 -1
- package/dist/task-board/components/AddDependencyDialog.js +5 -2
- package/dist/task-board/components/AddDependencyDialog.js.map +1 -1
- package/dist/task-board/components/CommentsList.js +22 -9
- 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 +13 -8
- package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
- package/dist/task-board/components/FinishedProjectCard.d.ts +5 -0
- package/dist/task-board/components/FinishedProjectCard.js +8 -0
- package/dist/task-board/components/FinishedProjectCard.js.map +1 -0
- 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/ProjectBudgetBanner.d.ts +13 -0
- package/dist/task-board/components/ProjectBudgetBanner.js +13 -0
- package/dist/task-board/components/ProjectBudgetBanner.js.map +1 -0
- package/dist/task-board/components/ProjectDashboard.d.ts +21 -21
- package/dist/task-board/components/ProjectDashboard.js +217 -127
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js +15 -61
- package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
- package/dist/task-board/components/ProjectListContent.d.ts +1 -0
- package/dist/task-board/components/ProjectListContent.js +12 -10
- package/dist/task-board/components/ProjectListContent.js.map +1 -1
- package/dist/task-board/components/ProjectOverviewContent.js +15 -84
- package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
- package/dist/task-board/components/ProjectPropertiesPanel.d.ts +2 -0
- package/dist/task-board/components/ProjectPropertiesPanel.js +17 -13
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/ProjectSettingsDialog.d.ts +18 -0
- package/dist/task-board/components/ProjectSettingsDialog.js +66 -48
- package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
- package/dist/task-board/components/TaskAgentPanel.d.ts +4 -0
- package/dist/task-board/components/TaskAgentPanel.js +23 -8
- package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneeBadge.d.ts +16 -0
- package/dist/task-board/components/TaskAssigneeBadge.js +21 -0
- package/dist/task-board/components/TaskAssigneeBadge.js.map +1 -0
- package/dist/task-board/components/TaskAssigneePicker.js +18 -7
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentDropZone.d.ts +11 -0
- package/dist/task-board/components/TaskAttachmentDropZone.js +100 -0
- package/dist/task-board/components/TaskAttachmentDropZone.js.map +1 -0
- package/dist/task-board/components/TaskAttachmentsSection.d.ts +1 -0
- package/dist/task-board/components/TaskAttachmentsSection.js +19 -41
- package/dist/task-board/components/TaskAttachmentsSection.js.map +1 -1
- package/dist/task-board/components/TaskBoardBreadcrumb.d.ts +17 -0
- package/dist/task-board/components/TaskBoardBreadcrumb.js +14 -0
- package/dist/task-board/components/TaskBoardBreadcrumb.js.map +1 -0
- package/dist/task-board/components/TaskBoardFilterBox.d.ts +4 -0
- package/dist/task-board/components/TaskBoardFilterBox.js +7 -0
- package/dist/task-board/components/TaskBoardFilterBox.js.map +1 -0
- package/dist/task-board/components/TaskBoardHomeView.d.ts +7 -0
- package/dist/task-board/components/TaskBoardHomeView.js +21 -0
- package/dist/task-board/components/TaskBoardHomeView.js.map +1 -0
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js +26 -29
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectListSidebar.js +70 -14
- package/dist/task-board/components/TaskBoardProjectListSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectSelector.d.ts +8 -0
- package/dist/task-board/components/TaskBoardProjectSelector.js +20 -0
- package/dist/task-board/components/TaskBoardProjectSelector.js.map +1 -0
- package/dist/task-board/components/TaskBoardTitlebar.js +8 -13
- package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
- package/dist/task-board/components/TaskCard.js +29 -10
- package/dist/task-board/components/TaskCard.js.map +1 -1
- package/dist/task-board/components/TaskDetailPanel.d.ts +1 -0
- package/dist/task-board/components/TaskDetailPanel.js +45 -32
- package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
- package/dist/task-board/components/TaskReviewActions.d.ts +1 -0
- package/dist/task-board/components/TaskReviewActions.js +7 -4
- package/dist/task-board/components/TaskReviewActions.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +17 -18
- package/dist/task-board/components/TaskRow.js.map +1 -1
- package/dist/task-board/components/TaskboardPersistentLogPanel.js +17 -10
- package/dist/task-board/components/TaskboardPersistentLogPanel.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCards.js +7 -5
- package/dist/task-board/components/WizardCommunicationCards.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationCenter.d.ts +7 -1
- package/dist/task-board/components/WizardCommunicationCenter.js +14 -7
- 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 +5 -1
- package/dist/task-board/components/WizardTask.js +14 -31
- package/dist/task-board/components/WizardTask.js.map +1 -1
- package/dist/task-board/components/WizardTaskDetailsPanel.d.ts +10 -2
- package/dist/task-board/components/WizardTaskDetailsPanel.js +57 -11
- package/dist/task-board/components/WizardTaskDetailsPanel.js.map +1 -1
- package/dist/task-board/persistentLogCopy.js +3 -1
- 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 +7 -0
- package/dist/task-board/services/taskService.js +8 -2
- package/dist/task-board/services/taskService.js.map +1 -1
- package/dist/task-board/taskAgentConfig.js +6 -2
- package/dist/task-board/taskAgentConfig.js.map +1 -1
- package/dist/task-board/taskAgentLink.js +1 -3
- package/dist/task-board/taskAgentLink.js.map +1 -1
- package/dist/task-board/taskBoardNavStore.d.ts +4 -2
- package/dist/task-board/taskBoardNavStore.js +45 -2
- package/dist/task-board/taskBoardNavStore.js.map +1 -1
- package/dist/task-board/taskExecutionRecords.js.map +1 -1
- package/dist/task-board/taskExecutionStatus.js +14 -19
- package/dist/task-board/taskExecutionStatus.js.map +1 -1
- package/dist/task-board/taskPriority.d.ts +4 -0
- package/dist/task-board/taskPriority.js +19 -0
- package/dist/task-board/taskPriority.js.map +1 -0
- package/dist/task-board/taskStatus.js +2 -2
- package/dist/task-board/taskStatus.js.map +1 -1
- package/dist/task-board/useTaskBoardAgentPanelState.js +1 -3
- 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 +2 -1
- package/dist/task-board/utils/taskDependencyOrdering.js.map +1 -1
- package/dist/task-board/views/DependencyGraphView.d.ts +42 -1
- package/dist/task-board/views/DependencyGraphView.js +239 -74
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/dist/task-board/views/KanbanView.js +312 -49
- package/dist/task-board/views/KanbanView.js.map +1 -1
- package/dist/task-board/views/ListView.js +6 -5
- package/dist/task-board/views/ListView.js.map +1 -1
- package/dist/task-board/views/WizardView.d.ts +2 -0
- package/dist/task-board/views/WizardView.js +36 -29
- package/dist/task-board/views/WizardView.js.map +1 -1
- package/dist/tour/Tour.js +7 -7
- package/dist/tour/Tour.js.map +1 -1
- package/dist/tour/default-tour.js +169 -17
- 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 +16 -1
- package/images/Parhelia-Onboarding-BG.jpg +0 -0
- package/package.json +13 -1
- package/styles.css +320 -843
- package/dist/agents-view/AgentsInbox.d.ts +0 -26
- package/dist/agents-view/AgentsInbox.js +0 -31
- package/dist/agents-view/AgentsInbox.js.map +0 -1
- package/dist/components/Error.d.ts +0 -9
- package/dist/components/Error.js +0 -24
- package/dist/components/Error.js.map +0 -1
- package/dist/components/FilterInput.d.ts +0 -22
- package/dist/components/FilterInput.js +0 -29
- package/dist/components/FilterInput.js.map +0 -1
- package/dist/components/ui/menubar.d.ts +0 -26
- package/dist/components/ui/menubar.js +0 -55
- package/dist/components/ui/menubar.js.map +0 -1
- package/dist/config/types/index.d.ts +0 -2
- package/dist/config/types/index.js +0 -4
- package/dist/config/types/index.js.map +0 -1
- package/dist/editor/FloatingToolbar.d.ts +0 -7
- package/dist/editor/FloatingToolbar.js +0 -91
- package/dist/editor/FloatingToolbar.js.map +0 -1
- package/dist/editor/NewEditorClient.d.ts +0 -5
- package/dist/editor/NewEditorClient.js +0 -7
- package/dist/editor/NewEditorClient.js.map +0 -1
- package/dist/editor/PictureEditorDialog.d.ts +0 -8
- package/dist/editor/PictureEditorDialog.js +0 -198
- package/dist/editor/PictureEditorDialog.js.map +0 -1
- package/dist/editor/SetupLoadingScreen.d.ts +0 -5
- package/dist/editor/SetupLoadingScreen.js +0 -11
- package/dist/editor/SetupLoadingScreen.js.map +0 -1
- package/dist/editor/ai/AgentBanners.js +0 -16
- package/dist/editor/ai/AgentBanners.js.map +0 -1
- package/dist/editor/ai/AgentCostDisplay.js +0 -116
- package/dist/editor/ai/AgentCostDisplay.js.map +0 -1
- package/dist/editor/ai/AgentDocumentList.d.ts +0 -12
- package/dist/editor/ai/AgentDocumentList.js +0 -335
- package/dist/editor/ai/AgentDocumentList.js.map +0 -1
- package/dist/editor/ai/AgentGreeting.d.ts +0 -8
- package/dist/editor/ai/AgentGreeting.js +0 -14
- package/dist/editor/ai/AgentGreeting.js.map +0 -1
- package/dist/editor/ai/AgentTerminalStatusBar.d.ts +0 -72
- package/dist/editor/ai/AgentTerminalStatusBar.js +0 -888
- package/dist/editor/ai/AgentTerminalStatusBar.js.map +0 -1
- package/dist/editor/ai/AiResponseMessage.d.ts +0 -33
- package/dist/editor/ai/AiResponseMessage.js +0 -1239
- package/dist/editor/ai/AiResponseMessage.js.map +0 -1
- package/dist/editor/ai/ContextInfoBar.d.ts +0 -14
- package/dist/editor/ai/ContextInfoBar.js +0 -653
- package/dist/editor/ai/ContextInfoBar.js.map +0 -1
- package/dist/editor/ai/DancingDots.d.ts +0 -1
- package/dist/editor/ai/DancingDots.js +0 -6
- package/dist/editor/ai/DancingDots.js.map +0 -1
- package/dist/editor/ai/EditOperationsPanel.d.ts +0 -7
- package/dist/editor/ai/EditOperationsPanel.js +0 -91
- package/dist/editor/ai/EditOperationsPanel.js.map +0 -1
- package/dist/editor/ai/HeartbeatMessage.d.ts +0 -4
- package/dist/editor/ai/HeartbeatMessage.js +0 -7
- package/dist/editor/ai/HeartbeatMessage.js.map +0 -1
- package/dist/editor/ai/InitialThinkingSplash.d.ts +0 -3
- package/dist/editor/ai/InitialThinkingSplash.js +0 -9
- package/dist/editor/ai/InitialThinkingSplash.js.map +0 -1
- package/dist/editor/ai/QueuedPromptsPanel.d.ts +0 -4
- package/dist/editor/ai/QueuedPromptsPanel.js +0 -37
- package/dist/editor/ai/QueuedPromptsPanel.js.map +0 -1
- package/dist/editor/ai/SpawnedAgentsPanel.d.ts +0 -6
- package/dist/editor/ai/SpawnedAgentsPanel.js +0 -101
- package/dist/editor/ai/SpawnedAgentsPanel.js.map +0 -1
- package/dist/editor/ai/TodoListPanel.d.ts +0 -5
- package/dist/editor/ai/TodoListPanel.js +0 -113
- package/dist/editor/ai/TodoListPanel.js.map +0 -1
- package/dist/editor/ai/ToolCallDisplay.d.ts +0 -80
- package/dist/editor/ai/ToolCallDisplay.js +0 -865
- package/dist/editor/ai/ToolCallDisplay.js.map +0 -1
- package/dist/editor/ai/UserMessage.d.ts +0 -4
- package/dist/editor/ai/UserMessage.js +0 -42
- package/dist/editor/ai/UserMessage.js.map +0 -1
- package/dist/editor/ai/agentDiagnostics.test.js +0 -181
- package/dist/editor/ai/agentDiagnostics.test.js.map +0 -1
- package/dist/editor/ai/useAgentPanes.test.d.ts +0 -1
- package/dist/editor/ai/useAgentPanes.test.js +0 -198
- package/dist/editor/ai/useAgentPanes.test.js.map +0 -1
- package/dist/editor/client/GenericDialog.d.ts +0 -10
- package/dist/editor/client/GenericDialog.js +0 -25
- package/dist/editor/client/GenericDialog.js.map +0 -1
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +0 -8
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js +0 -91
- package/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +0 -1
- package/dist/editor/content-tree/index.d.ts +0 -3
- package/dist/editor/content-tree/index.js +0 -4
- package/dist/editor/content-tree/index.js.map +0 -1
- package/dist/editor/context-menu/CopyMoveMenu.d.ts +0 -7
- package/dist/editor/context-menu/CopyMoveMenu.js +0 -58
- package/dist/editor/context-menu/CopyMoveMenu.js.map +0 -1
- package/dist/editor/menubar/ApproveAndPublish.d.ts +0 -1
- package/dist/editor/menubar/ApproveAndPublish.js +0 -13
- package/dist/editor/menubar/ApproveAndPublish.js.map +0 -1
- package/dist/editor/menubar/ItemToolbar.d.ts +0 -1
- package/dist/editor/menubar/ItemToolbar.js +0 -12
- package/dist/editor/menubar/ItemToolbar.js.map +0 -1
- package/dist/editor/menubar/NavButtons.d.ts +0 -1
- package/dist/editor/menubar/NavButtons.js +0 -40
- package/dist/editor/menubar/NavButtons.js.map +0 -1
- package/dist/editor/menubar/SiteInfo.d.ts +0 -1
- package/dist/editor/menubar/SiteInfo.js +0 -27
- package/dist/editor/menubar/SiteInfo.js.map +0 -1
- package/dist/editor/menubar/UserMenu.d.ts +0 -5
- package/dist/editor/menubar/UserMenu.js +0 -33
- package/dist/editor/menubar/UserMenu.js.map +0 -1
- package/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +0 -6
- package/dist/editor/page-editor-chrome/CommentHighlighting.js +0 -316
- package/dist/editor/page-editor-chrome/CommentHighlighting.js.map +0 -1
- package/dist/editor/page-editor-chrome/InlineEditor.d.ts +0 -5
- package/dist/editor/page-editor-chrome/InlineEditor.js +0 -832
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +0 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +0 -6
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js +0 -224
- package/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +0 -1
- package/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +0 -7
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js +0 -728
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +0 -1
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +0 -3
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js +0 -423
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +0 -1
- package/dist/editor/picture-shared.d.ts +0 -16
- package/dist/editor/picture-shared.js +0 -25
- package/dist/editor/picture-shared.js.map +0 -1
- package/dist/editor/registry/SidebarRegistry.d.ts +0 -96
- package/dist/editor/registry/SidebarRegistry.js +0 -166
- package/dist/editor/registry/SidebarRegistry.js.map +0 -1
- package/dist/editor/registry/WorkspaceRegistry.d.ts +0 -71
- package/dist/editor/registry/WorkspaceRegistry.js +0 -112
- package/dist/editor/registry/WorkspaceRegistry.js.map +0 -1
- package/dist/editor/registry/index.d.ts +0 -2
- package/dist/editor/registry/index.js +0 -4
- package/dist/editor/registry/index.js.map +0 -1
- package/dist/editor/reviews/PagesPanel.d.ts +0 -21
- package/dist/editor/reviews/PagesPanel.js +0 -140
- package/dist/editor/reviews/PagesPanel.js.map +0 -1
- package/dist/editor/reviews/PreviewInfo.d.ts +0 -1
- package/dist/editor/reviews/PreviewInfo.js +0 -9
- package/dist/editor/reviews/PreviewInfo.js.map +0 -1
- package/dist/editor/services/agentDialogService.test.d.ts +0 -1
- package/dist/editor/services/agentDialogService.test.js +0 -56
- package/dist/editor/services/agentDialogService.test.js.map +0 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.d.ts +0 -1
- package/dist/editor/services/agentSubscriptionRegistry.test.js +0 -104
- package/dist/editor/services/agentSubscriptionRegistry.test.js.map +0 -1
- package/dist/editor/services-server/api.d.ts +0 -18
- package/dist/editor/services-server/api.js +0 -116
- package/dist/editor/services-server/api.js.map +0 -1
- package/dist/editor/settings/Info.d.ts +0 -1
- package/dist/editor/settings/Info.js +0 -11
- package/dist/editor/settings/Info.js.map +0 -1
- package/dist/editor/settings/Status.d.ts +0 -1
- package/dist/editor/settings/Status.js +0 -89
- package/dist/editor/settings/Status.js.map +0 -1
- package/dist/editor/settings/WebSocketMessages.d.ts +0 -1
- package/dist/editor/settings/WebSocketMessages.js +0 -74
- package/dist/editor/settings/WebSocketMessages.js.map +0 -1
- package/dist/editor/settings/panels/useSidebarEditor.d.ts +0 -15
- package/dist/editor/settings/panels/useSidebarEditor.js +0 -24
- package/dist/editor/settings/panels/useSidebarEditor.js.map +0 -1
- package/dist/editor/sidebar/Divider.d.ts +0 -6
- package/dist/editor/sidebar/Divider.js +0 -6
- package/dist/editor/sidebar/Divider.js.map +0 -1
- package/dist/editor/sidebar/LabelButton.d.ts +0 -5
- package/dist/editor/sidebar/LabelButton.js +0 -12
- package/dist/editor/sidebar/LabelButton.js.map +0 -1
- package/dist/editor/sidebar/Performance.d.ts +0 -1
- package/dist/editor/sidebar/Performance.js +0 -32
- package/dist/editor/sidebar/Performance.js.map +0 -1
- package/dist/editor/sidebar/SEOInfo.d.ts +0 -1
- package/dist/editor/sidebar/SEOInfo.js +0 -158
- package/dist/editor/sidebar/SEOInfo.js.map +0 -1
- package/dist/editor/sidebar/Sidebar.d.ts +0 -1
- package/dist/editor/sidebar/Sidebar.js +0 -11
- package/dist/editor/sidebar/Sidebar.js.map +0 -1
- package/dist/editor/ui/Toolbar.d.ts +0 -3
- package/dist/editor/ui/Toolbar.js +0 -5
- package/dist/editor/ui/Toolbar.js.map +0 -1
- package/dist/editor/utils/useMemoDebug.d.ts +0 -1
- package/dist/editor/utils/useMemoDebug.js +0 -18
- package/dist/editor/utils/useMemoDebug.js.map +0 -1
- package/dist/editor/views/ParheliaView.d.ts +0 -5
- package/dist/editor/views/ParheliaView.js +0 -181
- package/dist/editor/views/ParheliaView.js.map +0 -1
- package/dist/setup/utils/modelPricing.d.ts +0 -7
- package/dist/setup/utils/modelPricing.js +0 -106
- package/dist/setup/utils/modelPricing.js.map +0 -1
- package/dist/splash-screen/ParheliaLogo.d.ts +0 -4
- package/dist/splash-screen/ParheliaLogo.js +0 -134
- package/dist/splash-screen/ParheliaLogo.js.map +0 -1
- package/dist/splash-screen/SectionHeadline.d.ts +0 -4
- package/dist/splash-screen/SectionHeadline.js +0 -7
- package/dist/splash-screen/SectionHeadline.js.map +0 -1
- package/dist/task-board/components/ProjectAgentsPanel.d.ts +0 -4
- package/dist/task-board/components/ProjectAgentsPanel.js +0 -156
- package/dist/task-board/components/ProjectAgentsPanel.js.map +0 -1
- package/dist/task-board/components/ProjectSelector.d.ts +0 -20
- package/dist/task-board/components/ProjectSelector.js +0 -10
- package/dist/task-board/components/ProjectSelector.js.map +0 -1
- package/dist/task-board/components/TaskDetailDialog.d.ts +0 -12
- package/dist/task-board/components/TaskDetailDialog.js +0 -8
- package/dist/task-board/components/TaskDetailDialog.js.map +0 -1
- package/dist/task-board/index.d.ts +0 -15
- package/dist/task-board/index.js +0 -18
- package/dist/task-board/index.js.map +0 -1
- package/dist/task-board/views/PlanningView.d.ts +0 -7
- package/dist/task-board/views/PlanningView.js +0 -112
- package/dist/task-board/views/PlanningView.js.map +0 -1
- package/dist/test/setup.d.ts +0 -0
- package/dist/test/setup.js +0 -37
- package/dist/test/setup.js.map +0 -1
- package/images/bg-shape-black.webp +0 -0
- package/images/parhelia-logo-1.jpg +0 -0
- package/images/phlogo.png +0 -0
- package/images/wizard-bg.png +0 -0
- /package/dist/editor/ai/{AgentBanners.d.ts → terminal/components/AgentBanners.d.ts} +0 -0
- /package/dist/editor/ai/{AgentCostDisplay.d.ts → terminal/components/AgentCostDisplay.d.ts} +0 -0
- /package/dist/{editor/ai/agentDiagnostics.test.d.ts → logging/install-browser-console.d.ts} +0 -0
|
@@ -1,12 +1,80 @@
|
|
|
1
|
-
import { jsx as _jsx,
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { CompareIcon } from "../../ui/Icons";
|
|
3
3
|
import { useEditContext } from "../../client/editContext";
|
|
4
4
|
import { SimpleIconButton } from "../../ui/SimpleIconButton";
|
|
5
|
-
import {
|
|
5
|
+
import { Map, Layers, FileDiff, RotateCcw, ZoomIn, ZoomOut, } from "lucide-react";
|
|
6
6
|
import { Separator } from "../Separator";
|
|
7
7
|
import { useEffect, useState } from "react";
|
|
8
8
|
import { DEVICE_CHANGE_EVENT } from "../../page-viewer/pageViewContext";
|
|
9
|
+
import { DeviceSwitchToolbar } from "./DeviceSwitchToolbar";
|
|
10
|
+
import { EditControls, SuggestionsModeControl } from "./EditControls";
|
|
11
|
+
import { Select } from "../../../components/ui/select";
|
|
9
12
|
import { cn } from "../../../lib/utils";
|
|
13
|
+
const ZOOM_MIN = 0.25;
|
|
14
|
+
const ZOOM_MAX = 2;
|
|
15
|
+
const ZOOM_STEP = 0.25;
|
|
16
|
+
const ZOOM_PRESETS = [0.25, 0.5, 0.75, 1, 1.25, 1.5, 1.75, 2];
|
|
17
|
+
const ZOOM_EXPANDED_WIDTH_CLASS = "w-[202px]";
|
|
18
|
+
function clampZoom(value) {
|
|
19
|
+
return Math.min(ZOOM_MAX, Math.max(ZOOM_MIN, value));
|
|
20
|
+
}
|
|
21
|
+
function zoomValue(value) {
|
|
22
|
+
return value.toFixed(2);
|
|
23
|
+
}
|
|
24
|
+
function zoomLabel(value) {
|
|
25
|
+
return `${Math.round(value * 100)}%`;
|
|
26
|
+
}
|
|
27
|
+
function ZoomControls() {
|
|
28
|
+
const editContext = useEditContext();
|
|
29
|
+
const [showExpandedControls, setShowExpandedControls] = useState(false);
|
|
30
|
+
const pageViewContext = !editContext || editContext.isMobile
|
|
31
|
+
? null
|
|
32
|
+
: editContext.getActiveSlotContext()?.primaryPageViewContext;
|
|
33
|
+
const zoom = pageViewContext?.zoom ?? 1;
|
|
34
|
+
const activeZoomValue = zoomValue(zoom);
|
|
35
|
+
const isDefaultZoom = Math.abs(zoom - 1) <= 0.001;
|
|
36
|
+
const showZoomTools = showExpandedControls || !isDefaultZoom;
|
|
37
|
+
useEffect(() => {
|
|
38
|
+
if (!isDefaultZoom && pageViewContext?.device) {
|
|
39
|
+
setShowExpandedControls(true);
|
|
40
|
+
}
|
|
41
|
+
}, [isDefaultZoom, pageViewContext?.device]);
|
|
42
|
+
if (!editContext || editContext.isMobile)
|
|
43
|
+
return null;
|
|
44
|
+
if (!pageViewContext || !pageViewContext.device)
|
|
45
|
+
return null;
|
|
46
|
+
const presetOptions = ZOOM_PRESETS.map((value) => ({
|
|
47
|
+
label: zoomLabel(value),
|
|
48
|
+
value: zoomValue(value),
|
|
49
|
+
}));
|
|
50
|
+
const hasPreset = ZOOM_PRESETS.some((value) => zoomValue(value) === activeZoomValue);
|
|
51
|
+
const options = hasPreset
|
|
52
|
+
? presetOptions
|
|
53
|
+
: [
|
|
54
|
+
...presetOptions,
|
|
55
|
+
{
|
|
56
|
+
label: zoomLabel(zoom),
|
|
57
|
+
value: activeZoomValue,
|
|
58
|
+
},
|
|
59
|
+
];
|
|
60
|
+
const setActiveSlotZoom = (value) => {
|
|
61
|
+
setShowExpandedControls(true);
|
|
62
|
+
const currentPageViewContext = editContext.getActiveSlotContext()?.primaryPageViewContext ??
|
|
63
|
+
pageViewContext;
|
|
64
|
+
currentPageViewContext.setZoom(value);
|
|
65
|
+
};
|
|
66
|
+
const resetZoom = () => {
|
|
67
|
+
const currentPageViewContext = editContext.getActiveSlotContext()?.primaryPageViewContext ??
|
|
68
|
+
pageViewContext;
|
|
69
|
+
currentPageViewContext.setZoom(1);
|
|
70
|
+
setShowExpandedControls(false);
|
|
71
|
+
};
|
|
72
|
+
return (_jsxs("div", { className: cn("relative flex h-8 shrink-0 items-center overflow-hidden transition-[width] duration-200 ease-out motion-reduce:transition-none", showZoomTools ? ZOOM_EXPANDED_WIDTH_CLASS : "w-8"), children: [_jsxs("div", { "aria-hidden": !showZoomTools, className: cn("flex items-center gap-0.5 transition-[opacity,transform] duration-150 ease-out motion-reduce:translate-x-0 motion-reduce:transition-none", showZoomTools
|
|
73
|
+
? "translate-x-0 opacity-100 delay-75"
|
|
74
|
+
: "-translate-x-1 opacity-0"), children: [_jsx(Separator, { size: "large" }), _jsxs("div", { className: "flex items-center gap-0.5", children: [_jsx(SimpleIconButton, { icon: _jsx(ZoomOut, { className: "h-5 w-5 p-0.5", strokeWidth: 1 }), label: "Zoom out", className: "h-7 w-7 p-0.5", "data-testid": showZoomTools ? "zoom-out-button" : undefined, disabled: !showZoomTools || zoom <= ZOOM_MIN, tabIndex: showZoomTools ? undefined : -1, onClick: () => setActiveSlotZoom((value) => clampZoom(value - ZOOM_STEP)) }), _jsx(Select, { className: "h-7 w-[78px] border-transparent! bg-transparent! px-1.5 shadow-none! hover:border-transparent! hover:bg-neutral-grey-5! hover:shadow-none!", options: options, value: activeZoomValue, onValueChange: (value) => setActiveSlotZoom(Number(value)), placeholder: zoomLabel(zoom), size: "xs", disabled: !showZoomTools, "data-testid": showZoomTools ? "zoom-select" : undefined }), _jsx(SimpleIconButton, { icon: _jsx(ZoomIn, { className: "h-5 w-5 p-0.5", strokeWidth: 1 }), label: "Zoom in", className: "h-7 w-7 p-0.5", "data-testid": showZoomTools ? "zoom-in-button" : undefined, disabled: !showZoomTools || zoom >= ZOOM_MAX, tabIndex: showZoomTools ? undefined : -1, onClick: () => setActiveSlotZoom((value) => clampZoom(value + ZOOM_STEP)) }), _jsx(SimpleIconButton, { icon: _jsx(RotateCcw, { className: "h-5 w-5 p-0.5", strokeWidth: 1 }), label: "Reset zoom", className: "h-7 w-7 p-0.5", "data-testid": showZoomTools ? "zoom-reset-button" : undefined, disabled: !showZoomTools, tabIndex: showZoomTools ? undefined : -1, onClick: resetZoom })] }), _jsx(Separator, { size: "large" })] }), _jsx("div", { "aria-hidden": showZoomTools, className: cn("absolute inset-0 transition-opacity duration-150 ease-out motion-reduce:transition-none", showZoomTools
|
|
75
|
+
? "pointer-events-none opacity-0"
|
|
76
|
+
: "opacity-100 delay-75"), children: _jsxs("div", { className: "relative h-8 w-8", children: [_jsx(Select, { className: "h-8 w-8 border-transparent! bg-transparent! px-0 shadow-none! hover:border-transparent! hover:bg-neutral-grey-5! hover:shadow-none! focus-visible:border-transparent! aria-expanded:border-transparent! [&>span]:sr-only [&>svg]:hidden", options: options, value: activeZoomValue, onValueChange: (value) => setActiveSlotZoom(Number(value)), placeholder: zoomLabel(zoom), size: "xs", disabled: showZoomTools, "data-testid": !showZoomTools ? "zoom-select" : undefined }), _jsx(ZoomIn, { className: "text-neutral-grey-100 pointer-events-none absolute top-1/2 left-1/2 h-4 w-4 -translate-x-1/2 -translate-y-1/2", strokeWidth: 1 })] }) })] }));
|
|
77
|
+
}
|
|
10
78
|
export function ViewportControls() {
|
|
11
79
|
const editContext = useEditContext();
|
|
12
80
|
// Counter to force re-renders when device changes.
|
|
@@ -23,47 +91,41 @@ export function ViewportControls() {
|
|
|
23
91
|
}, []);
|
|
24
92
|
if (!editContext || editContext.isMobile)
|
|
25
93
|
return null;
|
|
26
|
-
const
|
|
94
|
+
const activeSlotContext = editContext.getActiveSlotContext();
|
|
95
|
+
const pageViewContext = activeSlotContext?.primaryPageViewContext;
|
|
27
96
|
if (!pageViewContext)
|
|
28
97
|
return null;
|
|
29
|
-
const minimapEnabledInSettings = editContext.parheliaSettings?.showMinimap !== false;
|
|
30
98
|
const device = pageViewContext.device;
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
} }), _jsx(SimpleIconButton, { icon: _jsx(Table, { className: "h-6 w-6 p-1", strokeWidth: 1 }), label: "Form", size: "large", "data-testid": "form-viewport-button", selected: !device, onClick: () => setDevice("") }), _jsx(Separator, { size: "large" }), !editContext.isMobile && (_jsx(SimpleIconButton, { icon: _jsx(CompareIcon, { className: "h-6 w-6 p-1" }), label: "Compare", size: "large", "data-testid": "compare-mode-button", className: editContext.getActiveSlotContext()?.compareMode
|
|
44
|
-
? "text-gray-600"
|
|
45
|
-
: "hover:text-gray-600", selected: editContext.getActiveSlotContext()?.compareMode, onClick: () => {
|
|
46
|
-
const slotContext = editContext.getActiveSlotContext();
|
|
47
|
-
if (slotContext) {
|
|
48
|
-
slotContext.setCompareMode(!slotContext.compareMode);
|
|
49
|
-
}
|
|
50
|
-
} })), _jsx(Separator, { size: "large" }), " ", _jsx(SimpleIconButton, { icon: _jsx(FileDiff, { className: "h-6 w-6 p-1", strokeWidth: 1 }), label: "Highlight changes", size: "large", "data-testid": "toggle-version-diff-highlighting-button", selected: editContext.showVersionDiffHighlighting, disabled: !canToggleDiffHighlighting, onClick: () => {
|
|
99
|
+
const hasLayout = activeSlotContext.item?.hasLayout ??
|
|
100
|
+
editContext.item?.hasLayout ??
|
|
101
|
+
pageViewContext.page?.item?.hasLayout ??
|
|
102
|
+
false;
|
|
103
|
+
const canToggleDiffHighlighting = hasLayout && !!device;
|
|
104
|
+
const showZoomControls = hasLayout && !!device;
|
|
105
|
+
return (_jsxs(_Fragment, { children: [hasLayout && (_jsxs(_Fragment, { children: [_jsx(DeviceSwitchToolbar, {}), showZoomControls && _jsx(ZoomControls, {}), _jsx(EditControls, { hideSuggestions: true }), _jsx(Separator, { size: "large" })] })), !editContext.isMobile && (_jsx(SimpleIconButton, { icon: _jsx(CompareIcon, { className: "h-6 w-6 p-1" }), label: "Compare", size: "large", "data-testid": "compare-mode-button", className: activeSlotContext?.compareMode
|
|
106
|
+
? "text-neutral-grey-50"
|
|
107
|
+
: "hover:text-neutral-grey-50", selected: activeSlotContext?.compareMode, onClick: () => {
|
|
108
|
+
activeSlotContext.setCompareMode(!activeSlotContext.compareMode);
|
|
109
|
+
} })), hasLayout && _jsx(SuggestionsModeControl, { leadingSeparator: true }), activeSlotContext.compareMode && (_jsx(SimpleIconButton, { icon: _jsx(FileDiff, { className: "h-6 w-6 p-1", strokeWidth: 1 }), label: "Highlight changes", size: "large", "data-testid": "toggle-version-diff-highlighting-button", selected: editContext.showVersionDiffHighlighting, disabled: !canToggleDiffHighlighting, onClick: () => {
|
|
51
110
|
if (!canToggleDiffHighlighting)
|
|
52
111
|
return;
|
|
53
112
|
editContext.setShowVersionDiffHighlighting(!editContext.showVersionDiffHighlighting);
|
|
54
|
-
} })
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
113
|
+
} }))] }));
|
|
114
|
+
}
|
|
115
|
+
export function ViewPanelControls() {
|
|
116
|
+
const editContext = useEditContext();
|
|
117
|
+
if (!editContext || editContext.isMobile)
|
|
118
|
+
return null;
|
|
119
|
+
const activeSlotContext = editContext.getActiveSlotContext();
|
|
120
|
+
const pageViewContext = activeSlotContext?.primaryPageViewContext;
|
|
121
|
+
if (!pageViewContext)
|
|
122
|
+
return null;
|
|
123
|
+
const hasLayout = activeSlotContext.item?.hasLayout ??
|
|
124
|
+
editContext.item?.hasLayout ??
|
|
125
|
+
pageViewContext.page?.item?.hasLayout ??
|
|
126
|
+
false;
|
|
127
|
+
const minimapEnabledInSettings = editContext.parheliaSettings?.showMinimap !== false;
|
|
128
|
+
const canToggleComponentNavigator = hasLayout;
|
|
129
|
+
return (_jsxs(_Fragment, { children: [minimapEnabledInSettings && (_jsx(SimpleIconButton, { icon: _jsx(Map, { className: "h-6 w-6 p-1", strokeWidth: 1 }), label: "Show minimap", size: "large", "data-testid": "toggle-minimap-button", selected: editContext.showMinimap, onClick: () => editContext.setShowMinimap(!editContext.showMinimap) })), canToggleComponentNavigator && (_jsx(SimpleIconButton, { icon: _jsx(Layers, { className: "h-6 w-6 p-1", strokeWidth: 1 }), label: "Component Navigator", size: "large", "data-testid": "component-navigator-button", selected: editContext.showComponentNavigator, onClick: () => editContext.setShowComponentNavigator(!editContext.showComponentNavigator) }))] }));
|
|
68
130
|
}
|
|
69
131
|
//# sourceMappingURL=ViewportControls.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ViewportControls.js","sourceRoot":"","sources":["../../../../src/editor/menubar/toolbar-sections/ViewportControls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"ViewportControls.js","sourceRoot":"","sources":["../../../../src/editor/menubar/toolbar-sections/ViewportControls.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EACL,GAAG,EACH,MAAM,EACN,QAAQ,EACR,SAAS,EACT,MAAM,EACN,OAAO,GACR,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,OAAO,EAAE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AAG,EAAE,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC,WAAW,CAAC,WAAW,CAAC,GACnE,CACH,EACA,2BAA2B,IAAI,CAC9B,KAAC,gBAAgB,IACf,IAAI,EAAE,KAAC,MAAM,IAAC,SAAS,EAAC,aAAa,EAAC,WAAW,EAAE,CAAC,GAAI,EACxD,KAAK,EAAC,qBAAqB,EAC3B,IAAI,EAAC,OAAO,iBACA,4BAA4B,EACxC,QAAQ,EAAE,WAAW,CAAC,sBAAsB,EAC5C,OAAO,EAAE,GAAG,EAAE,CACZ,WAAW,CAAC,yBAAyB,CACnC,CAAC,WAAW,CAAC,sBAAsB,CACpC,GAEH,CACH,IACA,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
export { ReviewCommands } from "./ReviewCommands";
|
|
2
2
|
export { EditControls } from "./EditControls";
|
|
3
|
+
export { ContentTreeToggle } from "./ContentTreeToggle";
|
|
3
4
|
export { InsertControls } from "./InsertControls";
|
|
4
|
-
export { ViewportControls } from "./ViewportControls";
|
|
5
|
+
export { ViewportControls, ViewPanelControls } from "./ViewportControls";
|
|
6
|
+
export { DeviceSwitchToolbar } from "./DeviceSwitchToolbar";
|
|
5
7
|
export { LayoutModeControls } from "./LayoutModeControls";
|
|
6
8
|
export { UtilityControls } from "./UtilityControls";
|
|
7
9
|
export { CompareControls } from "./CompareControls";
|
|
8
10
|
export { UndoRedoControls } from "./UndoRedoControls";
|
|
9
|
-
export { CustomCommandsToolbar, AgentCommandsToolbar } from "./CustomCommandsToolbar";
|
|
11
|
+
export { CustomCommandsToolbar, AgentCommandsToolbar, } from "./CustomCommandsToolbar";
|
|
10
12
|
export { HelpButton } from "./HelpButton";
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
export { ReviewCommands } from "./ReviewCommands";
|
|
2
2
|
export { EditControls } from "./EditControls";
|
|
3
|
+
export { ContentTreeToggle } from "./ContentTreeToggle";
|
|
3
4
|
export { InsertControls } from "./InsertControls";
|
|
4
|
-
export { ViewportControls } from "./ViewportControls";
|
|
5
|
+
export { ViewportControls, ViewPanelControls } from "./ViewportControls";
|
|
6
|
+
export { DeviceSwitchToolbar } from "./DeviceSwitchToolbar";
|
|
5
7
|
export { LayoutModeControls } from "./LayoutModeControls";
|
|
6
8
|
export { UtilityControls } from "./UtilityControls";
|
|
7
9
|
export { CompareControls } from "./CompareControls";
|
|
8
10
|
export { UndoRedoControls } from "./UndoRedoControls";
|
|
9
|
-
export { CustomCommandsToolbar, AgentCommandsToolbar } from "./CustomCommandsToolbar";
|
|
11
|
+
export { CustomCommandsToolbar, AgentCommandsToolbar, } from "./CustomCommandsToolbar";
|
|
10
12
|
export { HelpButton } from "./HelpButton";
|
|
11
13
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/menubar/toolbar-sections/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/editor/menubar/toolbar-sections/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACzE,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,OAAO,EACL,qBAAqB,EACrB,oBAAoB,GACrB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { type WatchTargetProps } from "./WatchButton";
|
|
2
|
+
export declare function NotificationCenter(props: {
|
|
3
|
+
watchTarget?: Pick<WatchTargetProps, "targetType" | "targetId"> | null;
|
|
4
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,30 +1,35 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Bell } from "lucide-react";
|
|
3
|
-
import {
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Bell, CheckCheck, Inbox, Loader2 } from "lucide-react";
|
|
3
|
+
import { useState } from "react";
|
|
4
4
|
import { useEditContext } from "../client/editContext";
|
|
5
5
|
import { Button } from "../../components/ui/button";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { CountBadge } from "../../components/ui/badge";
|
|
7
|
+
import { Popover, PopoverContent, PopoverTrigger, } from "../../components/ui/popover";
|
|
8
|
+
import { Tooltip, TooltipContent, TooltipTrigger, } from "../../components/ui/tooltip";
|
|
9
|
+
import { cn } from "../../lib/utils";
|
|
8
10
|
import { NotificationItem } from "./NotificationItem";
|
|
9
11
|
import { resolveNotificationAction, resolveNotificationSubscriptionTarget, } from "./notificationRoutes";
|
|
10
12
|
import { useNotifications } from "./useNotifications";
|
|
11
|
-
|
|
13
|
+
import { WatchMenuSection } from "./WatchButton";
|
|
14
|
+
const filterOptions = [
|
|
15
|
+
{ label: "Unread", showAll: false },
|
|
16
|
+
{ label: "All", showAll: true },
|
|
17
|
+
];
|
|
18
|
+
export function NotificationCenter(props) {
|
|
19
|
+
const { watchTarget } = props;
|
|
12
20
|
const editContext = useEditContext();
|
|
13
21
|
const [open, setOpen] = useState(false);
|
|
14
22
|
const [showAll, setShowAll] = useState(false);
|
|
15
23
|
const [unsubscribingId, setUnsubscribingId] = useState(null);
|
|
16
24
|
const { notifications, subscriptions, unreadCount, loading, loadingMore, hasMore, loadMore, markRead, markAllRead, unsubscribe, } = useNotifications(editContext, { showAll });
|
|
17
25
|
const hasNotifications = notifications.length > 0;
|
|
26
|
+
const isWatchingTarget = Boolean(watchTarget &&
|
|
27
|
+
subscriptions.some((subscription) => subscription.targetType.toLowerCase() === watchTarget.targetType &&
|
|
28
|
+
subscription.targetId === watchTarget.targetId &&
|
|
29
|
+
!subscription.isMuted));
|
|
18
30
|
const triggerTooltip = unreadCount > 0
|
|
19
31
|
? `Notifications (${unreadCount > 99 ? "99+" : unreadCount} unread)`
|
|
20
32
|
: "Notifications";
|
|
21
|
-
const headerText = useMemo(() => {
|
|
22
|
-
if (unreadCount <= 0)
|
|
23
|
-
return "All caught up";
|
|
24
|
-
if (unreadCount === 1)
|
|
25
|
-
return "1 unread";
|
|
26
|
-
return `${unreadCount} unread`;
|
|
27
|
-
}, [unreadCount]);
|
|
28
33
|
const handleOpenNotification = async (notification) => {
|
|
29
34
|
const action = resolveNotificationAction(editContext, notification);
|
|
30
35
|
if (!action)
|
|
@@ -46,24 +51,30 @@ export function NotificationCenter() {
|
|
|
46
51
|
await unsubscribe(target.targetType, target.targetId);
|
|
47
52
|
}
|
|
48
53
|
finally {
|
|
49
|
-
setUnsubscribingId((current) =>
|
|
54
|
+
setUnsubscribingId((current) => current === notification.id ? null : current);
|
|
50
55
|
}
|
|
51
56
|
};
|
|
52
|
-
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(PopoverTrigger, { asChild: true, children: _jsxs(Button, { size: "iconSm", variant: "ghost", className: "relative",
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
57
|
+
return (_jsxs(Popover, { open: open, onOpenChange: setOpen, children: [_jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(PopoverTrigger, { asChild: true, children: _jsxs(Button, { size: "iconSm", variant: "ghost", className: cn("relative", isWatchingTarget &&
|
|
58
|
+
"bg-highlight-10 text-accent-foreground hover:bg-highlight-10/90"), "aria-label": triggerTooltip, "data-testid": "notification-center-trigger", children: [_jsx(Bell, { className: "h-4 w-4" }), unreadCount > 0 && (_jsx("span", { className: "bg-feedback-red absolute -top-1 -right-1 min-w-[16px] rounded-full px-1 text-center text-[10px] leading-4 font-medium text-white", children: unreadCount > 99 ? "99+" : unreadCount }))] }) }) }), _jsx(TooltipContent, { children: triggerTooltip })] }), _jsxs(PopoverContent, { align: "end", className: "w-[380px] overflow-hidden p-0 shadow-lg", children: [_jsxs("div", { className: "flex items-center justify-between gap-2 border-b px-3 py-2", children: [_jsxs("div", { className: "flex min-w-0 items-center gap-2", children: [_jsx("span", { className: "text-neutral-grey-100 text-sm font-medium", children: "Notifications" }), unreadCount > 0 ? (_jsx(CountBadge, { children: unreadCount > 99 ? "99+" : unreadCount })) : null] }), _jsxs("div", { className: "flex shrink-0 items-center gap-1.5", children: [_jsx("div", { className: "bg-neutral-grey-5 flex items-center gap-0.5 rounded-md p-0.5", "data-testid": "notification-center-toggle-filter", children: filterOptions.map((option) => (_jsx("button", { type: "button", onClick: () => setShowAll(option.showAll), className: `text-2xs rounded px-2 py-0.5 font-medium transition-colors ${showAll === option.showAll
|
|
59
|
+
? "text-neutral-grey-100 bg-white shadow-sm"
|
|
60
|
+
: "text-neutral-grey-50 hover:text-neutral-grey-100"}`, "data-testid": `notification-center-filter-${option.label.toLowerCase()}`, children: option.label }, option.label))) }), _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Button, { size: "iconXs", variant: "ghost", className: "text-neutral-grey-50 hover:text-neutral-grey-100 size-6", disabled: unreadCount === 0, onClick: () => void markAllRead(), "aria-label": "Mark all as read", "data-testid": "notification-center-mark-all-read", children: _jsx(CheckCheck, { className: "size-3.5" }) }) }), _jsx(TooltipContent, { children: "Mark all as read" })] })] })] }), _jsxs("div", { className: "max-h-[360px] overflow-y-auto overscroll-contain", "data-testid": "notification-center-list", children: [loading && !hasNotifications ? (_jsxs("div", { className: "text-neutral-grey-50 flex items-center justify-center gap-2 py-12 text-xs", children: [_jsx(Loader2, { className: "size-4 animate-spin" }), "Loading notifications..."] })) : null, !loading && !hasNotifications ? (_jsxs("div", { className: "flex flex-col items-center px-6 py-12 text-center", children: [_jsx("span", { className: "bg-neutral-grey-5 flex size-10 items-center justify-center rounded-full", children: showAll ? (_jsx(Inbox, { className: "text-neutral-grey-50 size-5" })) : (_jsx(CheckCheck, { className: "text-feedback-green size-5" })) }), _jsx("div", { className: "text-neutral-grey-100 mt-3 text-xs font-medium", children: showAll ? "No notifications yet" : "You're all caught up" }), _jsx("div", { className: "text-neutral-grey-50 text-2xs mt-1", children: showAll
|
|
61
|
+
? "Updates for items you watch will show up here."
|
|
62
|
+
: "New notifications will show up here." })] })) : null, hasNotifications ? (_jsx("div", { className: "divide-border-default/70 divide-y", children: notifications.map((notification) => {
|
|
63
|
+
const target = resolveNotificationSubscriptionTarget(notification);
|
|
64
|
+
const isSubscribed = Boolean(target &&
|
|
65
|
+
subscriptions.some((subscription) => subscription.targetType.toLowerCase() ===
|
|
66
|
+
target.targetType &&
|
|
67
|
+
subscription.targetId === target.targetId &&
|
|
68
|
+
!subscription.isMuted));
|
|
69
|
+
return (_jsx(NotificationItem, { notification: notification, onOpen: resolveNotificationAction(editContext, notification)
|
|
70
|
+
? () => {
|
|
71
|
+
void handleOpenNotification(notification);
|
|
72
|
+
}
|
|
73
|
+
: undefined, onUnsubscribe: isSubscribed
|
|
74
|
+
? () => {
|
|
75
|
+
void handleUnsubscribe(notification);
|
|
76
|
+
}
|
|
77
|
+
: undefined, unsubscribeDisabled: unsubscribingId === notification.id }, notification.id));
|
|
78
|
+
}) })) : null, hasNotifications && hasMore ? (_jsx("div", { className: "border-t p-1.5", children: _jsx(Button, { size: "sm", variant: "ghost", className: "text-neutral-grey-50 hover:text-neutral-grey-100 h-7 w-full justify-center text-xs font-normal", disabled: loadingMore, onClick: () => void loadMore(), "data-testid": "notification-center-load-more", children: loadingMore ? (_jsxs(_Fragment, { children: [_jsx(Loader2, { className: "size-3.5 animate-spin" }), "Loading more..."] })) : ("Load more") }) })) : null] }), watchTarget ? (_jsx(WatchMenuSection, { targetType: watchTarget.targetType, targetId: watchTarget.targetId })) : null] })] }));
|
|
68
79
|
}
|
|
69
80
|
//# sourceMappingURL=NotificationCenter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationCenter.js","sourceRoot":"","sources":["../../../src/editor/notifications/NotificationCenter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"NotificationCenter.js","sourceRoot":"","sources":["../../../src/editor/notifications/NotificationCenter.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAChE,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,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AM,IACL,IAAI,EAAC,IAAI,EACT,OAAO,EAAC,OAAO,EACf,SAAS,EAAC,gGAAgG,EAC1G,QAAQ,EAAE,WAAW,EACrB,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,QAAQ,EAAE,iBAClB,+BAA+B,YAE1C,WAAW,CAAC,CAAC,CAAC,CACb,8BACE,KAAC,OAAO,IAAC,SAAS,EAAC,uBAAuB,GAAG,uBAE5C,CACJ,CAAC,CAAC,CAAC,CACF,WAAW,CACZ,GACM,GACL,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,EACL,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,gBAAgB,IACf,UAAU,EAAE,WAAW,CAAC,UAAU,EAClC,QAAQ,EAAE,WAAW,CAAC,QAAQ,GAC9B,CACH,CAAC,CAAC,CAAC,IAAI,IACO,IACT,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -1,21 +1,98 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BellRing,
|
|
2
|
+
import { AtSign, BellOff, BellRing, CircleAlert, CircleCheck, CircleX, ClipboardCheck, ClipboardList, Eye, FilePen, Loader2, MessageSquareText, PartyPopper, } from "lucide-react";
|
|
3
3
|
import { Button } from "../../components/ui/button";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
:
|
|
4
|
+
import { Tooltip, TooltipContent, TooltipTrigger, } from "../../components/ui/tooltip";
|
|
5
|
+
import { ParheliaAgentIcon } from "../ui/Icons";
|
|
6
|
+
const typeVisuals = {
|
|
7
|
+
"item-changed": {
|
|
8
|
+
icon: FilePen,
|
|
9
|
+
accent: "bg-feedback-blue-light/60 text-feedback-blue",
|
|
10
|
+
},
|
|
11
|
+
feedback: {
|
|
12
|
+
icon: MessageSquareText,
|
|
13
|
+
accent: "bg-feedback-blue-light/60 text-feedback-blue",
|
|
14
|
+
},
|
|
15
|
+
"review-invitation": {
|
|
16
|
+
icon: Eye,
|
|
17
|
+
accent: "bg-feedback-orange-light/60 text-feedback-orange",
|
|
18
|
+
},
|
|
19
|
+
"review-completed": {
|
|
20
|
+
icon: CircleCheck,
|
|
21
|
+
accent: "bg-feedback-green-light/60 text-feedback-green",
|
|
22
|
+
},
|
|
23
|
+
"review-rejected": {
|
|
24
|
+
icon: CircleX,
|
|
25
|
+
accent: "bg-feedback-red-light/60 text-feedback-red",
|
|
26
|
+
},
|
|
27
|
+
"task-assigned": {
|
|
28
|
+
icon: ClipboardList,
|
|
29
|
+
accent: "bg-feedback-orange-light/60 text-feedback-orange",
|
|
30
|
+
},
|
|
31
|
+
"task-status-changed": {
|
|
32
|
+
icon: ClipboardList,
|
|
33
|
+
accent: "bg-feedback-orange-light/60 text-feedback-orange",
|
|
34
|
+
},
|
|
35
|
+
mention: {
|
|
36
|
+
icon: AtSign,
|
|
37
|
+
accent: "bg-feedback-blue-light/60 text-feedback-blue",
|
|
38
|
+
},
|
|
39
|
+
"project-attention-required": {
|
|
40
|
+
icon: CircleAlert,
|
|
41
|
+
accent: "bg-feedback-orange-light/60 text-feedback-orange",
|
|
42
|
+
},
|
|
43
|
+
"project-task-completed": {
|
|
44
|
+
icon: ClipboardCheck,
|
|
45
|
+
accent: "bg-feedback-green-light/60 text-feedback-green",
|
|
46
|
+
},
|
|
47
|
+
"project-finished": {
|
|
48
|
+
icon: PartyPopper,
|
|
49
|
+
accent: "bg-feedback-green-light/60 text-feedback-green",
|
|
50
|
+
},
|
|
51
|
+
"agent-notification": {
|
|
52
|
+
icon: ParheliaAgentIcon,
|
|
53
|
+
accent: "bg-highlight-10 text-highlight-100",
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
const readAccent = "bg-neutral-grey-5 text-neutral-grey-50";
|
|
57
|
+
function formatTimestamp(value) {
|
|
58
|
+
const date = new Date(value);
|
|
59
|
+
if (Number.isNaN(date.getTime()))
|
|
60
|
+
return null;
|
|
61
|
+
const full = date.toLocaleString(undefined, {
|
|
62
|
+
dateStyle: "medium",
|
|
63
|
+
timeStyle: "short",
|
|
64
|
+
});
|
|
65
|
+
const diffMs = Date.now() - date.getTime();
|
|
66
|
+
const diffMins = Math.floor(diffMs / 60000);
|
|
67
|
+
const diffHours = Math.floor(diffMs / 3600000);
|
|
68
|
+
const diffDays = Math.floor(diffMs / 86400000);
|
|
69
|
+
if (diffMins < 1)
|
|
70
|
+
return { label: "just now", full };
|
|
71
|
+
if (diffMins < 60)
|
|
72
|
+
return { label: `${diffMins}m ago`, full };
|
|
73
|
+
if (diffHours < 24)
|
|
74
|
+
return { label: `${diffHours}h ago`, full };
|
|
75
|
+
if (diffDays < 7)
|
|
76
|
+
return { label: `${diffDays}d ago`, full };
|
|
77
|
+
return {
|
|
78
|
+
label: date.toLocaleDateString(undefined, {
|
|
10
79
|
month: "short",
|
|
11
80
|
day: "numeric",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
81
|
+
}),
|
|
82
|
+
full,
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
export function NotificationItem(props) {
|
|
86
|
+
const { notification, onOpen, onUnsubscribe, unsubscribeDisabled = false, } = props;
|
|
87
|
+
const timestamp = formatTimestamp(notification.createdAt);
|
|
88
|
+
const visual = typeVisuals[notification.type] ?? {
|
|
89
|
+
icon: BellRing,
|
|
90
|
+
accent: readAccent,
|
|
91
|
+
};
|
|
92
|
+
const Icon = visual.icon;
|
|
93
|
+
const className = `group relative flex w-full items-start gap-2.5 px-3 py-2.5 text-left transition-colors ${onOpen
|
|
94
|
+
? "hover:bg-neutral-grey-5 focus-visible:ring-feedback-blue/50 cursor-pointer focus-visible:ring-2 focus-visible:ring-inset focus-visible:outline-none"
|
|
95
|
+
: ""}`;
|
|
19
96
|
const handleOpen = () => {
|
|
20
97
|
if (!onOpen)
|
|
21
98
|
return;
|
|
@@ -35,6 +112,14 @@ export function NotificationItem(props) {
|
|
|
35
112
|
return;
|
|
36
113
|
void onUnsubscribe(notification.id);
|
|
37
114
|
};
|
|
38
|
-
return (_jsxs("div", { className: className, "data-testid": `notification-item-${notification.id}`, onClick: onOpen ? handleOpen : undefined, onKeyDown: onOpen ? handleKeyDown : undefined, role: onOpen ? "button" : undefined, tabIndex: onOpen ? 0 : undefined, children: [_jsx("
|
|
115
|
+
return (_jsxs("div", { className: className, "data-testid": `notification-item-${notification.id}`, onClick: onOpen ? handleOpen : undefined, onKeyDown: onOpen ? handleKeyDown : undefined, role: onOpen ? "button" : undefined, tabIndex: onOpen ? 0 : undefined, children: [_jsx("span", { className: `mt-px flex size-7 shrink-0 items-center justify-center rounded-full ${notification.isRead ? readAccent : visual.accent}`, children: _jsx(Icon, { className: "size-3.5" }) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsxs("div", { className: "flex items-baseline justify-between gap-2", children: [_jsx("div", { className: `min-w-0 truncate text-xs ${notification.isRead
|
|
116
|
+
? "text-neutral-grey-100/75 font-medium"
|
|
117
|
+
: "text-neutral-grey-100 font-medium"}`, children: notification.title }), _jsxs("div", { className: `flex shrink-0 items-center gap-1.5 transition-opacity ${onUnsubscribe
|
|
118
|
+
? "group-focus-within:opacity-0 group-hover:opacity-0"
|
|
119
|
+
: ""} ${onUnsubscribe && unsubscribeDisabled ? "opacity-0" : ""}`, children: [timestamp ? (_jsx("span", { className: "text-neutral-grey-50 text-2xs whitespace-nowrap", title: timestamp.full, children: timestamp.label })) : null, !notification.isRead ? (_jsx("span", { className: "bg-feedback-blue size-1.5 rounded-full", "aria-hidden": "true" })) : null] })] }), _jsx("div", { className: `mt-0.5 line-clamp-2 text-xs [overflow-wrap:anywhere] ${notification.isRead
|
|
120
|
+
? "text-neutral-grey-50"
|
|
121
|
+
: "text-neutral-grey-100/70"}`, children: notification.message })] }), onUnsubscribe ? (_jsx("div", { className: `absolute top-1.5 right-1.5 transition-opacity ${unsubscribeDisabled
|
|
122
|
+
? ""
|
|
123
|
+
: "opacity-0 group-focus-within:opacity-100 group-hover:opacity-100"}`, children: _jsxs(Tooltip, { children: [_jsx(TooltipTrigger, { asChild: true, children: _jsx(Button, { type: "button", size: "iconXs", variant: "ghost", className: "text-neutral-grey-50 hover:text-feedback-red size-6", disabled: unsubscribeDisabled, onClick: handleUnsubscribe, onKeyDown: (event) => event.stopPropagation(), "aria-label": "Unsubscribe", "data-testid": `notification-item-unsubscribe-${notification.id}`, children: unsubscribeDisabled ? (_jsx(Loader2, { className: "size-3.5 animate-spin" })) : (_jsx(BellOff, { className: "size-3.5" })) }) }), _jsx(TooltipContent, { children: "Unsubscribe" })] }) })) : null] }));
|
|
39
124
|
}
|
|
40
125
|
//# sourceMappingURL=NotificationItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationItem.js","sourceRoot":"","sources":["../../../src/editor/notifications/NotificationItem.tsx"],"names":[],"mappings":";AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"NotificationItem.js","sourceRoot":"","sources":["../../../src/editor/notifications/NotificationItem.tsx"],"names":[],"mappings":";AACA,OAAO,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,WAAW,EACX,WAAW,EACX,OAAO,EACP,cAAc,EACd,aAAa,EACb,GAAG,EACH,OAAO,EACP,OAAO,EACP,iBAAiB,EACjB,WAAW,GAEZ,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AACpD,OAAO,EACL,OAAO,EACP,cAAc,EACd,cAAc,GACf,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAWhD,MAAM,WAAW,GAAyD;IACxE,cAAc,EAAE;QACd,IAAI,EAAE,OAAO;QACb,MAAM,EAAE,8CAA8C;KACvD;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,iBAAiB;QACvB,MAAM,EAAE,8CAA8C;KACvD;IACD,mBAAmB,EAAE;QACnB,I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ACrB,KAAC,OAAO,IAAC,SAAS,EAAC,uBAAuB,GAAG,CAC9C,CAAC,CAAC,CAAC,CACF,KAAC,OAAO,IAAC,SAAS,EAAC,UAAU,GAAG,CACjC,GACM,GACM,EACjB,KAAC,cAAc,8BAA6B,IACpC,GACN,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
type WatchTargetType
|
|
2
|
-
export
|
|
1
|
+
import { type WatchTargetType } from "./watchEventOptions";
|
|
2
|
+
export type WatchTargetProps = {
|
|
3
3
|
targetType: WatchTargetType;
|
|
4
4
|
targetId: string;
|
|
5
5
|
className?: string;
|
|
6
|
-
}
|
|
7
|
-
export
|
|
6
|
+
};
|
|
7
|
+
export declare function WatchMenuSection(props: WatchTargetProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function WatchButton(props: WatchTargetProps): import("react/jsx-runtime").JSX.Element;
|