@parhelia/core 0.1.12808 → 0.1.12836
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.js +20 -18
- package/dist/agents-view/AgentCard.js.map +1 -1
- package/dist/agents-view/AgentsSidebar.js +3 -3
- package/dist/agents-view/AgentsSidebar.js.map +1 -1
- package/dist/agents-view/AgentsTitlebar.js +2 -2
- package/dist/agents-view/AgentsTitlebar.js.map +1 -1
- package/dist/agents-view/AgentsView.js +9 -9
- package/dist/agents-view/AgentsView.js.map +1 -1
- package/dist/agents-view/AgentsWorkspaceView.js +20 -16
- package/dist/agents-view/AgentsWorkspaceView.js.map +1 -1
- package/dist/agents-view/CreateAgentView.js +1 -1
- package/dist/agents-view/CreateAgentView.js.map +1 -1
- package/dist/agents-view/DateAgentsGroup.js +1 -1
- package/dist/agents-view/DateAgentsGroup.js.map +1 -1
- package/dist/agents-view/ProfileAgentsGroup.js +5 -5
- package/dist/agents-view/ProfileAgentsGroup.js.map +1 -1
- package/dist/components/FilterInput.js +1 -1
- package/dist/components/FilterInput.js.map +1 -1
- package/dist/components/MarkdownDisplay.js +29 -16
- package/dist/components/MarkdownDisplay.js.map +1 -1
- package/dist/components/PageHeader.js +2 -2
- package/dist/components/PageHeader.js.map +1 -1
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +1 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/ui/LanguageSelectionGrid.d.ts +25 -0
- package/dist/components/ui/LanguageSelectionGrid.js +40 -0
- package/dist/components/ui/LanguageSelectionGrid.js.map +1 -0
- package/dist/components/ui/LanguageSelector.d.ts +3 -1
- package/dist/components/ui/LanguageSelector.js +2 -2
- package/dist/components/ui/LanguageSelector.js.map +1 -1
- package/dist/components/ui/PlaceholderInput.js +2 -2
- package/dist/components/ui/PlaceholderInput.js.map +1 -1
- package/dist/components/ui/PlaceholderInputParser.js.map +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.js +2 -2
- package/dist/components/ui/UserPicker.js.map +1 -1
- package/dist/components/ui/accordion.js +2 -2
- package/dist/components/ui/alert-dialog.js +2 -2
- package/dist/components/ui/alert-dialog.js.map +1 -1
- package/dist/components/ui/alert.js.map +1 -1
- package/dist/components/ui/badge.d.ts +3 -2
- package/dist/components/ui/badge.js +12 -7
- 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 +2 -2
- package/dist/components/ui/button.js +3 -3
- package/dist/components/ui/button.js.map +1 -1
- package/dist/components/ui/card.js +3 -3
- package/dist/components/ui/card.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.js +2 -2
- package/dist/components/ui/command.js.map +1 -1
- package/dist/components/ui/context-menu.js +8 -8
- package/dist/components/ui/context-menu.js.map +1 -1
- package/dist/components/ui/copy-button.js +2 -2
- 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.js +3 -3
- package/dist/components/ui/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu.js +1 -1
- package/dist/components/ui/dropdown-menu.js.map +1 -1
- package/dist/components/ui/input.js +1 -1
- 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/paste-button.js +2 -2
- package/dist/components/ui/paste-button.js.map +1 -1
- package/dist/components/ui/popover.js +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 +2 -2
- package/dist/components/ui/select.js.map +1 -1
- package/dist/components/ui/sonner.js +1 -1
- package/dist/components/ui/styled-dialog-title.js +1 -1
- package/dist/components/ui/styled-dialog-title.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 +24 -35
- 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.js.map +1 -1
- package/dist/editor/AdminRequiredView.js +4 -2
- package/dist/editor/AdminRequiredView.js.map +1 -1
- package/dist/editor/AspectRatioSelector.js +5 -5
- package/dist/editor/AspectRatioSelector.js.map +1 -1
- package/dist/editor/ConcurrentUserLimitDialog.js +11 -4
- package/dist/editor/ConcurrentUserLimitDialog.js.map +1 -1
- package/dist/editor/ConfirmationDialog.js +3 -1
- package/dist/editor/ConfirmationDialog.js.map +1 -1
- package/dist/editor/ContentTree.d.ts +6 -1
- package/dist/editor/ContentTree.js +11 -5
- package/dist/editor/ContentTree.js.map +1 -1
- package/dist/editor/ContextMenu.js +1 -1
- 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.js.map +1 -1
- package/dist/editor/EditorLoadingOverlay.js +1 -1
- package/dist/editor/EditorLoadingOverlay.js.map +1 -1
- package/dist/editor/EditorWarning.js +4 -4
- package/dist/editor/EditorWarning.js.map +1 -1
- package/dist/editor/FieldActionsOverlay.js +7 -7
- 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.js +21 -14
- package/dist/editor/FieldHistory.js.map +1 -1
- package/dist/editor/FieldList.js +1 -1
- package/dist/editor/FieldList.js.map +1 -1
- package/dist/editor/FieldListField.js +27 -26
- 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 +1 -1
- 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.js +2 -1
- 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.js +13 -8
- package/dist/editor/LinkEditorDialog.js.map +1 -1
- package/dist/editor/MainLayout.js +8 -5
- 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 +2 -2
- package/dist/editor/MobileLayout.js.map +1 -1
- package/dist/editor/PictureCropper.js +14 -9
- package/dist/editor/PictureCropper.js.map +1 -1
- package/dist/editor/PictureEditor.js +13 -6
- 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 +6 -4
- package/dist/editor/SetupWizard.js.map +1 -1
- package/dist/editor/ai/AgentInlineDialogContent.js +1 -1
- package/dist/editor/ai/AgentInlineDialogContent.js.map +1 -1
- package/dist/editor/ai/AgentPanesGrid.js +1 -1
- package/dist/editor/ai/AgentPanesGrid.js.map +1 -1
- package/dist/editor/ai/AgentProfileSelector.js +7 -5
- package/dist/editor/ai/AgentProfileSelector.js.map +1 -1
- package/dist/editor/ai/AgentSharingSection.js +7 -7
- package/dist/editor/ai/AgentSharingSection.js.map +1 -1
- package/dist/editor/ai/AgentStatusBadge.js +15 -15
- package/dist/editor/ai/AgentStatusBadge.js.map +1 -1
- package/dist/editor/ai/Agents.js +31 -29
- package/dist/editor/ai/Agents.js.map +1 -1
- package/dist/editor/ai/ContentInspectorPopover.js +18 -13
- package/dist/editor/ai/ContentInspectorPopover.js.map +1 -1
- package/dist/editor/ai/GuidanceOverlay.js +11 -8
- package/dist/editor/ai/GuidanceOverlay.js.map +1 -1
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js +46 -26
- package/dist/editor/ai/HeartbeatDiagnosticsPanel.js.map +1 -1
- package/dist/editor/ai/InlineAiDialog.js +121 -50
- package/dist/editor/ai/InlineAiDialog.js.map +1 -1
- package/dist/editor/ai/InlineAiTrigger.js +9 -4
- 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/agentDiagnostics.js +2 -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/agentWatchdogStatusRegistry.js.map +1 -1
- package/dist/editor/ai/dialogs/AgentDialogHandler.js +2 -4
- package/dist/editor/ai/dialogs/AgentDialogHandler.js.map +1 -1
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js +12 -11
- package/dist/editor/ai/dialogs/ComponentTypeSelectorInline.js.map +1 -1
- package/dist/editor/ai/dialogs/QuestionnaireInline.js +31 -27
- package/dist/editor/ai/dialogs/QuestionnaireInline.js.map +1 -1
- package/dist/editor/ai/dialogs/browserBoundCapture.js +1 -2
- package/dist/editor/ai/dialogs/browserBoundCapture.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageDom.js +2 -1
- package/dist/editor/ai/dialogs/capturePageDom.js.map +1 -1
- package/dist/editor/ai/dialogs/capturePageScreenshot.js +10 -5
- package/dist/editor/ai/dialogs/capturePageScreenshot.js.map +1 -1
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js +1 -1
- package/dist/editor/ai/terminal/agentPromptPlaceholders.js.map +1 -1
- package/dist/editor/ai/terminal/agentQuestionnaireTranscriptRecovery.js.map +1 -1
- package/dist/editor/ai/terminal/agentSessionCostLimit.js.map +1 -1
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js +2 -1
- package/dist/editor/ai/terminal/agentSessionLiveTotals.js.map +1 -1
- package/dist/editor/ai/terminal/agentSessionSelectors.js +1 -1
- package/dist/editor/ai/terminal/agentSessionSelectors.js.map +1 -1
- package/dist/editor/ai/terminal/agentSessionSnapshot.js.map +1 -1
- package/dist/editor/ai/terminal/agentSessionState.js +32 -16
- package/dist/editor/ai/terminal/agentSessionState.js.map +1 -1
- package/dist/editor/ai/terminal/agentStartRequest.js +8 -0
- package/dist/editor/ai/terminal/agentStartRequest.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentBanners.js +3 -3
- package/dist/editor/ai/terminal/components/AgentBanners.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js +1 -1
- package/dist/editor/ai/terminal/components/AgentBrowserClaimBanner.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js +12 -12
- package/dist/editor/ai/terminal/components/AgentCostDisplay.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentDocumentList.js +42 -30
- package/dist/editor/ai/terminal/components/AgentDocumentList.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js +1 -1
- package/dist/editor/ai/terminal/components/AgentFullPromptControls.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentGreeting.js +3 -3
- package/dist/editor/ai/terminal/components/AgentGreeting.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js +1 -1
- package/dist/editor/ai/terminal/components/AgentLoadingContent.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentModeSelector.js +3 -3
- package/dist/editor/ai/terminal/components/AgentModeSelector.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentParentLink.js +1 -1
- package/dist/editor/ai/terminal/components/AgentParentLink.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js +1 -1
- package/dist/editor/ai/terminal/components/AgentPredefinedPromptsButton.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js +3 -3
- package/dist/editor/ai/terminal/components/AgentProfileModelSettingsSection.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js +1 -1
- package/dist/editor/ai/terminal/components/AgentPromptComposer.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js +2 -2
- package/dist/editor/ai/terminal/components/AgentPromptInputArea.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js +5 -5
- package/dist/editor/ai/terminal/components/AgentPromptTrayPopovers.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js +1 -1
- package/dist/editor/ai/terminal/components/AgentReadOnlyNotice.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js +3 -3
- package/dist/editor/ai/terminal/components/AgentRunStatusBanners.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js +1 -1
- package/dist/editor/ai/terminal/components/AgentSettingsContent.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js +1 -1
- package/dist/editor/ai/terminal/components/AgentSettingsPopover.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js +11 -11
- package/dist/editor/ai/terminal/components/AgentSettingsSections.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js +8 -6
- package/dist/editor/ai/terminal/components/AgentSkillSettingsSection.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js +2 -2
- package/dist/editor/ai/terminal/components/AgentSummaryAssistantResponse.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryErrorNotice.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js +1 -1
- package/dist/editor/ai/terminal/components/AgentSummaryPlaceholder.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextChrome.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js +2 -2
- package/dist/editor/ai/terminal/components/AgentTerminalContextPanels.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalDialogHost.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js +2 -4
- package/dist/editor/ai/terminal/components/AgentTerminalFullLayout.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalFullUpperContent.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js +2 -1
- package/dist/editor/ai/terminal/components/AgentTerminalMessageGroups.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js +28 -24
- package/dist/editor/ai/terminal/components/AgentTerminalStatusBar.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalSummaryLayout.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentTerminalView.js.map +1 -1
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js +3 -3
- package/dist/editor/ai/terminal/components/AgentThinkingDots.js.map +1 -1
- package/dist/editor/ai/terminal/components/AiResponseMessage.js +49 -48
- package/dist/editor/ai/terminal/components/AiResponseMessage.js.map +1 -1
- package/dist/editor/ai/terminal/components/ContextInfoBar.js +18 -16
- package/dist/editor/ai/terminal/components/ContextInfoBar.js.map +1 -1
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js +5 -5
- package/dist/editor/ai/terminal/components/EditOperationsPanel.js.map +1 -1
- package/dist/editor/ai/terminal/components/HeartbeatMessage.d.ts +1 -1
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js +2 -2
- package/dist/editor/ai/terminal/components/HeartbeatMessage.js.map +1 -1
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js +2 -2
- package/dist/editor/ai/terminal/components/InitialThinkingSplash.js.map +1 -1
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js +7 -6
- package/dist/editor/ai/terminal/components/QueuedPromptsPanel.js.map +1 -1
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js +22 -22
- package/dist/editor/ai/terminal/components/SpawnedAgentsPanel.js.map +1 -1
- package/dist/editor/ai/terminal/components/TodoListPanel.js +14 -14
- package/dist/editor/ai/terminal/components/TodoListPanel.js.map +1 -1
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js +37 -36
- package/dist/editor/ai/terminal/components/ToolCallDisplay.js.map +1 -1
- package/dist/editor/ai/terminal/components/UserMessage.js +2 -2
- package/dist/editor/ai/terminal/components/UserMessage.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentContextDisplayNames.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js +1 -3
- package/dist/editor/ai/terminal/useAgentCostLimitActions.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js +1 -1
- package/dist/editor/ai/terminal/useAgentCostLimitWatcher.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js +1 -3
- package/dist/editor/ai/terminal/useAgentDraftInitializer.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentEditorContextSync.js +1 -1
- package/dist/editor/ai/terminal/useAgentEditorContextSync.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js +1 -1
- package/dist/editor/ai/terminal/useAgentInfoSocketHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogEvents.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogPipeline.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js +1 -1
- package/dist/editor/ai/terminal/useAgentInlineDialogState.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentLoader.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentModeState.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js +9 -2
- package/dist/editor/ai/terminal/useAgentPendingDialogRecovery.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentProfileSelection.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js +2 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerHandlers.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentPromptComposerSurface.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentPromptDraft.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentQuestionnaireDialogRecovery.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentQuickActions.js +2 -8
- package/dist/editor/ai/terminal/useAgentQuickActions.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentRunDeltaSocketHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js +4 -1
- package/dist/editor/ai/terminal/useAgentRunResyncSocketHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentRunStartSocketHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js +5 -8
- package/dist/editor/ai/terminal/useAgentRunStatusSocketHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSession.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSessionFacade.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSessionSync.js +1 -2
- package/dist/editor/ai/terminal/useAgentSessionSync.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsCommands.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsData.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsPanel.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js +3 -3
- package/dist/editor/ai/terminal/useAgentSettingsSelectOptions.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSkillActions.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSocketMessageRouter.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentStatusBarContent.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentStopGuardState.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentStreamPipeline.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js +1 -5
- package/dist/editor/ai/terminal/useAgentStreamWatchdog.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js +4 -2
- package/dist/editor/ai/terminal/useAgentSubmitHandlers.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSubmitLifecycle.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js +1 -1
- package/dist/editor/ai/terminal/useAgentSummaryQuestionnaireScroll.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalBackgroundEvents.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalChrome.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalController.js +2 -2
- package/dist/editor/ai/terminal/useAgentTerminalController.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalNotices.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalScroll.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewProps.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTerminalViewState.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentTextareaDropHandlers.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js +18 -6
- package/dist/editor/ai/terminal/useAgentToolApprovalSupersede.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js +3 -1
- package/dist/editor/ai/terminal/useAgentToolResultHandler.js.map +1 -1
- package/dist/editor/ai/terminal/useAgentUserMessageSocketHandler.js.map +1 -1
- package/dist/editor/ai/types.d.ts +1 -1
- package/dist/editor/ai/useAgentPanes.js +8 -2
- 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.js +37 -15
- package/dist/editor/ai/useInlineAiPosition.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js +37 -17
- package/dist/editor/ai-image-editor/AiImageEditorDialog.js.map +1 -1
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js +2 -2
- package/dist/editor/ai-image-editor/AiImageResultOverlay.js.map +1 -1
- package/dist/editor/client/AboutDialog.js +2 -2
- package/dist/editor/client/AboutDialog.js.map +1 -1
- package/dist/editor/client/EditorShell.js +60 -42
- 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 +1 -0
- package/dist/editor/client/editContext.js +3 -7
- package/dist/editor/client/editContext.js.map +1 -1
- 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/useEditorWebSocket.js +5 -6
- package/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -1
- package/dist/editor/client/hooks/useMediaSelector.js.map +1 -1
- package/dist/editor/client/hooks/useSocketMessageHandler.js +29 -25
- package/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -1
- package/dist/editor/client/hooks/useWorkbox.d.ts +1 -0
- package/dist/editor/client/hooks/useWorkbox.js +45 -32
- 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.js.map +1 -1
- package/dist/editor/client/operations.d.ts +1 -0
- package/dist/editor/client/operations.js +48 -34
- package/dist/editor/client/operations.js.map +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js +1 -1
- package/dist/editor/client/ui/DevModeIndicator.js.map +1 -1
- package/dist/editor/client/ui/EditorChrome.js +3 -2
- package/dist/editor/client/ui/EditorChrome.js.map +1 -1
- package/dist/editor/client/ui/FullscreenControls.js +1 -1
- package/dist/editor/client/ui/FullscreenControls.js.map +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.js +7 -3
- package/dist/editor/commands/componentCommands.js.map +1 -1
- package/dist/editor/commands/createVersionCommand.js +1 -3
- 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 +25 -2
- package/dist/editor/commands/handlers/uiActionHandlers.js.map +1 -1
- package/dist/editor/commands/itemCommands.js +19 -11
- package/dist/editor/commands/itemCommands.js.map +1 -1
- package/dist/editor/commands/keyboardCommands.js +4 -2
- package/dist/editor/commands/keyboardCommands.js.map +1 -1
- package/dist/editor/commands/templateBuilderCommands.js.map +1 -1
- package/dist/editor/commands/undo.js +7 -3
- package/dist/editor/commands/undo.js.map +1 -1
- package/dist/editor/content-tree/IndicatorSettings.js +2 -2
- 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 +7 -7
- package/dist/editor/context-menu/InsertMenu.js.map +1 -1
- package/dist/editor/field-types/AttachmentEditor.js +3 -3
- package/dist/editor/field-types/AttachmentEditor.js.map +1 -1
- package/dist/editor/field-types/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 +1 -4
- package/dist/editor/field-types/DropLinkEditor.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 +15 -7
- package/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js +1 -1
- package/dist/editor/field-types/LinkFieldEditor.js.map +1 -1
- package/dist/editor/field-types/MultiLineText.js +1 -1
- package/dist/editor/field-types/MultiLineText.js.map +1 -1
- package/dist/editor/field-types/NameValueListEditor.js +3 -2
- package/dist/editor/field-types/NameValueListEditor.js.map +1 -1
- package/dist/editor/field-types/PictureFieldEditor.js +12 -10
- package/dist/editor/field-types/PictureFieldEditor.js.map +1 -1
- package/dist/editor/field-types/RawEditor.js +1 -1
- package/dist/editor/field-types/RawEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditor.js +7 -5
- package/dist/editor/field-types/RichTextEditor.js.map +1 -1
- package/dist/editor/field-types/RichTextEditorComponent.js +10 -7
- package/dist/editor/field-types/RichTextEditorComponent.js.map +1 -1
- package/dist/editor/field-types/SingleLineText.js +1 -1
- package/dist/editor/field-types/SingleLineText.js.map +1 -1
- package/dist/editor/field-types/TreeListEditor.js +66 -8
- package/dist/editor/field-types/TreeListEditor.js.map +1 -1
- 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 +70 -31
- package/dist/editor/field-types/richtext/components/ReactSlate.js +37 -12
- 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 +29 -16
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +1 -1
- package/dist/editor/field-types/richtext/components/SimpleRichTextEditor.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.js +58 -4
- package/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +1 -1
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js +19 -19
- package/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -1
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +1 -1
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +9 -9
- package/dist/editor/field-types/richtext/hooks/useRichTextProfile.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 +275 -212
- 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/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.js +1 -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 +1 -1
- package/dist/editor/media-selector/MediaFolderBrowser.d.ts +1 -1
- package/dist/editor/media-selector/MediaFolderBrowser.js +178 -29
- 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.js +9 -5
- package/dist/editor/media-selector/Preview.js.map +1 -1
- package/dist/editor/media-selector/Thumbnails.js +3 -3
- package/dist/editor/media-selector/Thumbnails.js.map +1 -1
- package/dist/editor/media-selector/TreeSelector.js +7 -7
- package/dist/editor/media-selector/TreeSelector.js.map +1 -1
- package/dist/editor/media-selector/UploadZone.js +4 -4
- package/dist/editor/media-selector/UploadZone.js.map +1 -1
- package/dist/editor/menubar/ActiveUsers.js +5 -5
- package/dist/editor/menubar/ActiveUsers.js.map +1 -1
- package/dist/editor/menubar/FavoritesControls.js +5 -3
- package/dist/editor/menubar/FavoritesControls.js.map +1 -1
- package/dist/editor/menubar/GenericToolbar.js +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js +1 -1
- package/dist/editor/menubar/ItemActionsMenu.js.map +1 -1
- package/dist/editor/menubar/PageSelector.js +3 -3
- package/dist/editor/menubar/PageSelector.js.map +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js +1 -1
- package/dist/editor/menubar/PreviewDatePicker.js.map +1 -1
- package/dist/editor/menubar/Separator.js +1 -1
- package/dist/editor/menubar/Separator.js.map +1 -1
- package/dist/editor/menubar/ToolbarFactory.js +2 -1
- package/dist/editor/menubar/ToolbarFactory.js.map +1 -1
- package/dist/editor/menubar/VersionPreviewCard.js +9 -4
- package/dist/editor/menubar/VersionPreviewCard.js.map +1 -1
- package/dist/editor/menubar/VersionSelector.js +7 -9
- package/dist/editor/menubar/VersionSelector.js.map +1 -1
- package/dist/editor/menubar/WorkflowButton.js +8 -9
- 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/CustomCommandsToolbar.js +1 -1
- package/dist/editor/menubar/toolbar-sections/CustomCommandsToolbar.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/EditControls.js +1 -1
- package/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js +55 -54
- package/dist/editor/menubar/toolbar-sections/ManualBrowser.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js +10 -6
- package/dist/editor/menubar/toolbar-sections/UndoRedoControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js +4 -4
- package/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -1
- package/dist/editor/menubar/toolbar-sections/index.d.ts +1 -1
- package/dist/editor/menubar/toolbar-sections/index.js +1 -1
- package/dist/editor/menubar/toolbar-sections/index.js.map +1 -1
- package/dist/editor/notifications/NotificationCenter.js +6 -5
- package/dist/editor/notifications/NotificationCenter.js.map +1 -1
- package/dist/editor/notifications/NotificationItem.js +5 -5
- package/dist/editor/notifications/NotificationItem.js.map +1 -1
- package/dist/editor/notifications/WatchButton.js +9 -7
- 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/useNotifications.js +47 -18
- package/dist/editor/notifications/useNotifications.js.map +1 -1
- package/dist/editor/notifications/watchEventOptions.js +6 -2
- package/dist/editor/notifications/watchEventOptions.js.map +1 -1
- package/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +2 -3
- package/dist/editor/page-editor-chrome/CommentHighlightings.js +227 -12
- package/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/FieldActionIndicator.js +11 -57
- 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 +17 -76
- 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.js +51 -144
- package/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -1
- package/dist/editor/page-editor-chrome/FrameMenus.js +4 -5
- package/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -1
- package/dist/editor/page-editor-chrome/InlineEditor.js +703 -60
- package/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -1
- package/dist/editor/page-editor-chrome/LockedFieldIndicator.js +92 -12
- 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.js +39 -46
- package/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -1
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js +8 -46
- package/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js +9 -9
- package/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -1
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +2 -4
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js +199 -216
- package/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -1
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +2 -3
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js +227 -12
- package/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.d.ts +1 -2
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js +79 -133
- package/dist/editor/page-editor-chrome/VersionDiffHighlightings.js.map +1 -1
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.d.ts +21 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js +322 -0
- package/dist/editor/page-editor-chrome/overlay/IframeOverlayProvider.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.d.ts +35 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js +137 -0
- package/dist/editor/page-editor-chrome/overlay/geometry.js.map +1 -0
- package/dist/editor/page-editor-chrome/overlay/iframeAccess.d.ts +2 -0
- package/dist/editor/page-editor-chrome/overlay/iframeAccess.js +21 -0
- package/dist/editor/page-editor-chrome/overlay/iframeAccess.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/useInlineAICompletion.js +5 -5
- package/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -1
- 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 +30 -17
- package/dist/editor/page-viewer/EditorForm.js.map +1 -1
- package/dist/editor/page-viewer/EditorFormHintPopover.js +1 -1
- package/dist/editor/page-viewer/EditorFormHintPopover.js.map +1 -1
- package/dist/editor/page-viewer/MiniMap.js +58 -30
- package/dist/editor/page-viewer/MiniMap.js.map +1 -1
- package/dist/editor/page-viewer/PageViewer.js +5 -4
- package/dist/editor/page-viewer/PageViewer.js.map +1 -1
- package/dist/editor/page-viewer/PageViewerFrame.js +68 -10
- 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/pageModelSkeletonBuilder.js +39 -22
- package/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -1
- package/dist/editor/page-viewer/pageViewContext.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 +3 -3
- 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 +5 -1
- package/dist/editor/reviews/Comment.js +32 -102
- package/dist/editor/reviews/Comment.js.map +1 -1
- package/dist/editor/reviews/CommentDisplayPopover.js +239 -78
- package/dist/editor/reviews/CommentDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/CommentEditor.d.ts +4 -2
- package/dist/editor/reviews/CommentEditor.js +16 -8
- package/dist/editor/reviews/CommentEditor.js.map +1 -1
- package/dist/editor/reviews/CommentPopover.js +7 -4
- package/dist/editor/reviews/CommentPopover.js.map +1 -1
- package/dist/editor/reviews/CommentView.d.ts +4 -1
- package/dist/editor/reviews/CommentView.js +37 -38
- package/dist/editor/reviews/CommentView.js.map +1 -1
- package/dist/editor/reviews/Comments.js +219 -26
- 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 +28 -24
- 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 +20 -0
- package/dist/editor/reviews/FeedbackCard.js +30 -0
- package/dist/editor/reviews/FeedbackCard.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 +16 -44
- package/dist/editor/reviews/LatestFeedback.js.map +1 -1
- package/dist/editor/reviews/MentionText.d.ts +3 -0
- package/dist/editor/reviews/MentionText.js +138 -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 +32 -19
- package/dist/editor/reviews/ReviewersPanel.js.map +1 -1
- package/dist/editor/reviews/ReviewsList.js +3 -2
- package/dist/editor/reviews/ReviewsList.js.map +1 -1
- package/dist/editor/reviews/SuggestedEdit.d.ts +4 -1
- package/dist/editor/reviews/SuggestedEdit.js +41 -41
- 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 +39 -38
- package/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -1
- package/dist/editor/reviews/commentAi.js.map +1 -1
- package/dist/editor/reviews/feedbackAvatar.d.ts +7 -0
- package/dist/editor/reviews/feedbackAvatar.js +45 -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/feedbackSelection.d.ts +3 -0
- package/dist/editor/reviews/feedbackSelection.js +37 -0
- package/dist/editor/reviews/feedbackSelection.js.map +1 -0
- package/dist/editor/reviews/latestFeedbackData.d.ts +11 -0
- package/dist/editor/reviews/latestFeedbackData.js +34 -0
- package/dist/editor/reviews/latestFeedbackData.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/useMultiReview.js +5 -4
- package/dist/editor/reviews/useMultiReview.js.map +1 -1
- package/dist/editor/services/agentService.d.ts +5 -2
- package/dist/editor/services/agentService.js +11 -8
- 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/contentService.d.ts +5 -1
- package/dist/editor/services/contentService.js +2 -2
- 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.js +1 -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/notificationService.d.ts +1 -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 +1 -1
- package/dist/editor/services/reviewsService.js +6 -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 +36 -0
- package/dist/editor/services/systemService.js +6 -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/settings/About.js +47 -37
- package/dist/editor/settings/About.js.map +1 -1
- package/dist/editor/settings/IndexOverview.js +9 -8
- 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 +2 -2
- package/dist/editor/settings/QuotaUserPicker.js.map +1 -1
- package/dist/editor/settings/SettingsBreadcrumb.d.ts +3 -6
- package/dist/editor/settings/SettingsBreadcrumb.js +12 -2
- package/dist/editor/settings/SettingsBreadcrumb.js.map +1 -1
- 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 +17 -23
- package/dist/editor/settings/SettingsView.js.map +1 -1
- package/dist/editor/settings/StatusSummary.js +18 -18
- 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/utils.js +16 -16
- package/dist/editor/settings/index/utils.js.map +1 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js +1 -1
- package/dist/editor/settings/panels/AgentProfileConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/AgentToolsPanel.d.ts +2 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js +149 -0
- package/dist/editor/settings/panels/AgentToolsPanel.js.map +1 -0
- package/dist/editor/settings/panels/AgentsPanel.js +27 -10
- package/dist/editor/settings/panels/AgentsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ClusterInstancesPanel.js +18 -52
- 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.js +13 -5
- package/dist/editor/settings/panels/CreateMcpServerDialog.js.map +1 -1
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.d.ts +2 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js +50 -0
- package/dist/editor/settings/panels/FieldTypeSerializersPanel.js.map +1 -0
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js +6 -5
- package/dist/editor/settings/panels/GroupedFieldConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/ItemConfigPanel.js +3 -3
- package/dist/editor/settings/panels/ItemConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/JavaScriptToolAgentPanel.js +1 -1
- 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 +31 -13
- package/dist/editor/settings/panels/JavaScriptToolsPanel.js.map +1 -1
- package/dist/editor/settings/panels/McpToolsPanel.js +26 -15
- 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 +88 -63
- package/dist/editor/settings/panels/ModelsPanel.js.map +1 -1
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js +24 -6
- package/dist/editor/settings/panels/NotificationSubscriptionsPanel.js.map +1 -1
- package/dist/editor/settings/panels/PersistentLogsPanel.js +22 -13
- package/dist/editor/settings/panels/PersistentLogsPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js +1 -1
- package/dist/editor/settings/panels/ProjectTemplateAgentPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProjectTemplateSelector.js +5 -37
- 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 +42 -0
- package/dist/editor/settings/panels/ProjectTemplateSelectorList.js.map +1 -0
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js +106 -84
- package/dist/editor/settings/panels/ProjectTemplatesPanel.js.map +1 -1
- package/dist/editor/settings/panels/ProviderIcon.js +7 -7
- package/dist/editor/settings/panels/ProviderIcon.js.map +1 -1
- package/dist/editor/settings/panels/ProvidersPanel.js +71 -49
- package/dist/editor/settings/panels/ProvidersPanel.js.map +1 -1
- package/dist/editor/settings/panels/SearchConfigPanel.js +10 -9
- package/dist/editor/settings/panels/SearchConfigPanel.js.map +1 -1
- package/dist/editor/settings/panels/SettingsPanel.js +2 -1
- package/dist/editor/settings/panels/SettingsPanel.js.map +1 -1
- package/dist/editor/settings/panels/StatusPanel.js +32 -11
- package/dist/editor/settings/panels/StatusPanel.js.map +1 -1
- package/dist/editor/settings/panels/UserPreferencesPanel.js +3 -2
- package/dist/editor/settings/panels/UserPreferencesPanel.js.map +1 -1
- package/dist/editor/settings/panels/index.d.ts +2 -0
- package/dist/editor/settings/panels/index.js +2 -0
- package/dist/editor/settings/panels/index.js.map +1 -1
- package/dist/editor/settings/status/coreStatusChecks.js +2 -1
- package/dist/editor/settings/status/coreStatusChecks.js.map +1 -1
- package/dist/editor/settings/status/useStartupChecks.js +1 -1
- package/dist/editor/settings/status/useStartupChecks.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CompleteStep.js +6 -3
- package/dist/editor/setup-wizard/steps/CompleteStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.d.ts +1 -1
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js +3 -3
- package/dist/editor/setup-wizard/steps/CreateSettingsStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js +12 -8
- package/dist/editor/setup-wizard/steps/LicenseActivationStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js +3 -3
- package/dist/editor/setup-wizard/steps/LicenseEmailStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js +20 -20
- package/dist/editor/setup-wizard/steps/ModelSelectionStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/ProviderStep.js +25 -15
- package/dist/editor/setup-wizard/steps/ProviderStep.js.map +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js +1 -1
- package/dist/editor/setup-wizard/steps/WelcomeStep.js.map +1 -1
- package/dist/editor/sidebar/Completions.js +1 -1
- package/dist/editor/sidebar/Completions.js.map +1 -1
- package/dist/editor/sidebar/ComponentPalette.js +7 -5
- package/dist/editor/sidebar/ComponentPalette.js.map +1 -1
- package/dist/editor/sidebar/ComponentTree.js +38 -31
- package/dist/editor/sidebar/ComponentTree.js.map +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js +1 -1
- package/dist/editor/sidebar/DictionaryEditor.js.map +1 -1
- package/dist/editor/sidebar/EditHistory.js +2 -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 +39 -55
- 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.js +2 -2
- 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 +3 -3
- 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 +17 -12
- package/dist/editor/sidebar/OperationItem.js.map +1 -1
- package/dist/editor/sidebar/SidebarPanel.js +17 -13
- package/dist/editor/sidebar/SidebarPanel.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 +2 -2
- package/dist/editor/sidebar/Validation.js.map +1 -1
- package/dist/editor/sidebar/Workbox.js +84 -20
- package/dist/editor/sidebar/Workbox.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceButton.js +2 -2
- package/dist/editor/sidebar/WorkspaceButton.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRail.js +3 -3
- package/dist/editor/sidebar/WorkspaceRail.js.map +1 -1
- package/dist/editor/sidebar/WorkspaceRailMobile.js +2 -2
- package/dist/editor/sidebar/WorkspaceRailMobile.js.map +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js +1 -1
- package/dist/editor/template-wizard/TemplateBuilderDialog.js.map +1 -1
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js +162 -96
- package/dist/editor/template-wizard/TemplateStructureInlineEditor.js.map +1 -1
- package/dist/editor/tree-indicators/GutterColumns.js +12 -12
- 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/DragPreview.js +15 -14
- 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 +5 -5
- package/dist/editor/ui/IconSelectorDialog.js.map +1 -1
- package/dist/editor/ui/Icons.js +8 -8
- 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.js +28 -24
- 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.js +2 -2
- package/dist/editor/ui/ItemSearch.js.map +1 -1
- package/dist/editor/ui/PerfectTree.d.ts +3 -1
- package/dist/editor/ui/PerfectTree.js +31 -17
- package/dist/editor/ui/PerfectTree.js.map +1 -1
- package/dist/editor/ui/PublishItemDialog.d.ts +1 -1
- package/dist/editor/ui/PublishItemDialog.js +8 -7
- package/dist/editor/ui/PublishItemDialog.js.map +1 -1
- package/dist/editor/ui/PublishRestrictionsDialog.js +67 -62
- package/dist/editor/ui/PublishRestrictionsDialog.js.map +1 -1
- package/dist/editor/ui/Section.js +7 -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.js +1 -1
- package/dist/editor/ui/SimpleIconButton.js.map +1 -1
- package/dist/editor/ui/SimpleMenu.js +6 -5
- 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 +3 -1
- package/dist/editor/ui/SimpleTabs.js +33 -16
- 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/Splitter.js +12 -8
- 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/splitterResizeEvent.d.ts +2 -0
- package/dist/editor/ui/splitterResizeEvent.js +7 -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/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.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.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 +5 -5
- 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.js +2 -2
- package/dist/editor/views/ItemEditorPane.js.map +1 -1
- package/dist/editor/views/MediaFolderEditView.js +1 -1
- 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.js +2 -1
- package/dist/editor/views/editorSlotContext.js.map +1 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/lib/safelist.js +1 -1
- package/dist/lib/safelist.js.map +1 -1
- package/dist/lib/sanitize.js +79 -11
- package/dist/lib/sanitize.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/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/setup/services/setupWizardService.js +28 -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 +17 -15
- 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.js +201 -65
- package/dist/splash-screen/ModernSplashScreen.js.map +1 -1
- package/dist/splash-screen/NewPage.js +12 -9
- package/dist/splash-screen/NewPage.js.map +1 -1
- package/dist/splash-screen/OpenPage.js +10 -9
- 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.js +11 -10
- package/dist/splash-screen/RecentPages.js.map +1 -1
- package/dist/task-board/TaskBoardWorkspace.js +46 -29
- 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 +6 -4
- 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 +3 -2
- package/dist/task-board/components/CreateTaskDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js +1 -1
- package/dist/task-board/components/ItemCollectionEditorDialog.js.map +1 -1
- package/dist/task-board/components/ItemCollectionPicker.js +3 -3
- package/dist/task-board/components/ItemCollectionPicker.js.map +1 -1
- package/dist/task-board/components/ProjectDashboard.d.ts +1 -0
- package/dist/task-board/components/ProjectDashboard.js +27 -33
- package/dist/task-board/components/ProjectDashboard.js.map +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js +1 -1
- package/dist/task-board/components/ProjectExecutionUserPicker.js.map +1 -1
- package/dist/task-board/components/ProjectListContent.js +10 -9
- package/dist/task-board/components/ProjectListContent.js.map +1 -1
- package/dist/task-board/components/ProjectOverviewContent.js +10 -83
- package/dist/task-board/components/ProjectOverviewContent.js.map +1 -1
- package/dist/task-board/components/ProjectPropertiesPanel.js +10 -9
- package/dist/task-board/components/ProjectPropertiesPanel.js.map +1 -1
- package/dist/task-board/components/ProjectSettingsDialog.js +20 -12
- package/dist/task-board/components/ProjectSettingsDialog.js.map +1 -1
- package/dist/task-board/components/TaskAgentPanel.js +14 -6
- package/dist/task-board/components/TaskAgentPanel.js.map +1 -1
- package/dist/task-board/components/TaskAssigneePicker.js +15 -7
- package/dist/task-board/components/TaskAssigneePicker.js.map +1 -1
- package/dist/task-board/components/TaskAttachmentsSection.js +10 -6
- 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/TaskBoardMyTasksSidebar.js +4 -4
- package/dist/task-board/components/TaskBoardMyTasksSidebar.js.map +1 -1
- package/dist/task-board/components/TaskBoardProjectListSidebar.js +3 -3
- 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 +43 -5
- package/dist/task-board/components/TaskBoardTitlebar.js.map +1 -1
- package/dist/task-board/components/TaskCard.js +32 -7
- package/dist/task-board/components/TaskCard.js.map +1 -1
- package/dist/task-board/components/TaskDetailPanel.js +29 -26
- package/dist/task-board/components/TaskDetailPanel.js.map +1 -1
- package/dist/task-board/components/TaskReviewActions.js +4 -3
- package/dist/task-board/components/TaskReviewActions.js.map +1 -1
- package/dist/task-board/components/TaskRow.js +11 -7
- 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.js +5 -2
- package/dist/task-board/components/WizardCommunicationCenter.js.map +1 -1
- package/dist/task-board/components/WizardCommunicationShared.js +18 -18
- package/dist/task-board/components/WizardCommunicationShared.js.map +1 -1
- package/dist/task-board/components/WizardTask.js +2 -3
- package/dist/task-board/components/WizardTask.js.map +1 -1
- package/dist/task-board/components/WizardTaskDetailsPanel.js +8 -7
- 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.js +4 -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/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/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.js +106 -58
- package/dist/task-board/views/DependencyGraphView.js.map +1 -1
- package/dist/task-board/views/KanbanView.js +44 -16
- package/dist/task-board/views/KanbanView.js.map +1 -1
- package/dist/task-board/views/ListView.js +5 -3
- package/dist/task-board/views/ListView.js.map +1 -1
- package/dist/task-board/views/WizardView.js +30 -27
- 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 +9 -0
- package/package.json +1 -1
- package/styles.css +129 -907
- 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/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/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/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/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-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 -21
- package/dist/task-board/components/ProjectSelector.js +0 -16
- 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
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EditContextType } from "../editor/client/editContext";
|
|
2
|
-
import { Component } from "../editor/pageModel";
|
|
3
|
-
export declare function ErrorFallback(): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare function ErrorFallbackWithDetails({ error, component, editContext, }: {
|
|
5
|
-
error: Error;
|
|
6
|
-
component: Component;
|
|
7
|
-
editContext?: EditContextType;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export declare function AsyncComponent(): import("react/jsx-runtime").JSX.Element;
|
package/dist/components/Error.js
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export function ErrorFallback() {
|
|
4
|
-
// Call resetErrorBoundary() to reset the error boundary and retry the render.
|
|
5
|
-
return (_jsx("div", { role: "alert", children: _jsx("p", { children: "Something went wrong." }) }));
|
|
6
|
-
}
|
|
7
|
-
export function ErrorFallbackWithDetails({ error, component, editContext, }) {
|
|
8
|
-
// Call resetErrorBoundary() to reset the error boundary and retry the render.
|
|
9
|
-
return (_jsx("div", { role: "alert", className: "cursor-pointer", onClick: (ev) => {
|
|
10
|
-
if (!editContext)
|
|
11
|
-
return;
|
|
12
|
-
ev.stopPropagation();
|
|
13
|
-
ev.preventDefault();
|
|
14
|
-
editContext.select([component.id]);
|
|
15
|
-
if (!editContext.configuration.editor.views)
|
|
16
|
-
return;
|
|
17
|
-
if (component.rendering)
|
|
18
|
-
editContext.switchWorkspace("component-designer");
|
|
19
|
-
}, children: _jsxs("div", { className: "text-xs bg-gray-100 p-3", children: [_jsx("div", { className: "font-bold mb-1", children: "Something went wrong" }), _jsxs("div", { children: ["Component id: ", component.id] }), _jsxs("div", { children: ["Component type: ", component.type] }), component.rendering && (_jsxs("div", { children: ["Rendering id: ", component.rendering.id] })), _jsxs("pre", { className: "overflow-x-auto text-red-500 py-2", children: [error.message, " ", error.stack] })] }) }));
|
|
20
|
-
}
|
|
21
|
-
export function AsyncComponent() {
|
|
22
|
-
return _jsx(ErrorFallback, {});
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=Error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Error.js","sourceRoot":"","sources":["../../src/components/Error.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAKb,MAAM,UAAU,aAAa;IAC3B,8EAA8E;IAE9E,OAAO,CACL,cAAK,IAAI,EAAC,OAAO,YACf,gDAA4B,GACxB,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,wBAAwB,CAAC,EACvC,KAAK,EACL,SAAS,EACT,WAAW,GAKZ;IACC,8EAA8E;IAE9E,OAAO,CACL,cACE,IAAI,EAAC,OAAO,EACZ,SAAS,EAAC,gBAAgB,EAC1B,OAAO,EAAE,CAAC,EAAE,EAAE,EAAE;YACd,IAAI,CAAC,WAAW;gBAAE,OAAO;YACzB,EAAE,CAAC,eAAe,EAAE,CAAC;YACrB,EAAE,CAAC,cAAc,EAAE,CAAC;YACpB,WAAW,CAAC,MAAM,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC,CAAC;YACnC,IAAI,CAAC,WAAW,CAAC,aAAa,CAAC,MAAM,CAAC,KAAK;gBAAE,OAAO;YACpD,IAAI,SAAS,CAAC,SAAS;gBAAE,WAAW,CAAC,eAAe,CAAC,oBAAoB,CAAC,CAAC;QAC7E,CAAC,YAED,eAAK,SAAS,EAAC,yBAAyB,aACtC,cAAK,SAAS,EAAC,gBAAgB,qCAA2B,EAC1D,4CAAoB,SAAS,CAAC,EAAE,IAAO,EACvC,8CAAsB,SAAS,CAAC,IAAI,IAAO,EAC1C,SAAS,CAAC,SAAS,IAAI,CACtB,4CAAoB,SAAS,CAAC,SAAS,CAAC,EAAE,IAAO,CAClD,EACD,eAAK,SAAS,EAAC,mCAAmC,aAC/C,KAAK,CAAC,OAAO,OAAG,KAAK,CAAC,KAAK,IACxB,IACF,GACF,CACP,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,cAAc;IAC5B,OAAO,KAAC,aAAa,KAAG,CAAC;AAC3B,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
3
|
-
declare function Menubar({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function MenubarMenu({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Menu>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function MenubarGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function MenubarPortal({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function MenubarRadioGroup({ ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function MenubarTrigger({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React.ComponentProps<typeof MenubarPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function MenubarItem({ className, inset, variant, ...props }: React.ComponentProps<typeof MenubarPrimitive.Item> & {
|
|
11
|
-
inset?: boolean;
|
|
12
|
-
variant?: "default" | "destructive";
|
|
13
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React.ComponentProps<typeof MenubarPrimitive.CheckboxItem>): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function MenubarRadioItem({ className, children, ...props }: React.ComponentProps<typeof MenubarPrimitive.RadioItem>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function MenubarLabel({ className, inset, ...props }: React.ComponentProps<typeof MenubarPrimitive.Label> & {
|
|
17
|
-
inset?: boolean;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function MenubarSeparator({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
declare function MenubarShortcut({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
declare function MenubarSub({ ...props }: React.ComponentProps<typeof MenubarPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare function MenubarSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof MenubarPrimitive.SubTrigger> & {
|
|
23
|
-
inset?: boolean;
|
|
24
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
declare function MenubarSubContent({ className, ...props }: React.ComponentProps<typeof MenubarPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export { Menubar, MenubarPortal, MenubarMenu, MenubarTrigger, MenubarContent, MenubarGroup, MenubarSeparator, MenubarLabel, MenubarItem, MenubarShortcut, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSub, MenubarSubTrigger, MenubarSubContent, };
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import * as MenubarPrimitive from "@radix-ui/react-menubar";
|
|
4
|
-
import { CheckIcon, ChevronRightIcon, CircleIcon } from "lucide-react";
|
|
5
|
-
import { cn } from "../../lib/utils";
|
|
6
|
-
function Menubar({ className, ...props }) {
|
|
7
|
-
return (_jsx(MenubarPrimitive.Root, { "data-slot": "menubar", className: cn("bg-background flex h-9 items-center gap-1 rounded-md border p-1 shadow-xs", className), ...props }));
|
|
8
|
-
}
|
|
9
|
-
function MenubarMenu({ ...props }) {
|
|
10
|
-
return _jsx(MenubarPrimitive.Menu, { "data-slot": "menubar-menu", ...props });
|
|
11
|
-
}
|
|
12
|
-
function MenubarGroup({ ...props }) {
|
|
13
|
-
return _jsx(MenubarPrimitive.Group, { "data-slot": "menubar-group", ...props });
|
|
14
|
-
}
|
|
15
|
-
function MenubarPortal({ ...props }) {
|
|
16
|
-
return _jsx(MenubarPrimitive.Portal, { "data-slot": "menubar-portal", ...props });
|
|
17
|
-
}
|
|
18
|
-
function MenubarRadioGroup({ ...props }) {
|
|
19
|
-
return (_jsx(MenubarPrimitive.RadioGroup, { "data-slot": "menubar-radio-group", ...props }));
|
|
20
|
-
}
|
|
21
|
-
function MenubarTrigger({ className, ...props }) {
|
|
22
|
-
return (_jsx(MenubarPrimitive.Trigger, { "data-slot": "menubar-trigger", className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none", className), ...props }));
|
|
23
|
-
}
|
|
24
|
-
function MenubarContent({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }) {
|
|
25
|
-
return (_jsx(MenubarPortal, { children: _jsx(MenubarPrimitive.Content, { "data-slot": "menubar-content", align: align, alignOffset: alignOffset, sideOffset: sideOffset, className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md", className), ...props }) }));
|
|
26
|
-
}
|
|
27
|
-
function MenubarItem({ className, inset, variant = "default", ...props }) {
|
|
28
|
-
return (_jsx(MenubarPrimitive.Item, { "data-slot": "menubar-item", "data-inset": inset, "data-variant": variant, className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props }));
|
|
29
|
-
}
|
|
30
|
-
function MenubarCheckboxItem({ className, children, checked, ...props }) {
|
|
31
|
-
return (_jsxs(MenubarPrimitive.CheckboxItem, { "data-slot": "menubar-checkbox-item", className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), checked: checked, ...props, children: [_jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: _jsx(MenubarPrimitive.ItemIndicator, { children: _jsx(CheckIcon, { className: "size-4" }) }) }), children] }));
|
|
32
|
-
}
|
|
33
|
-
function MenubarRadioItem({ className, children, ...props }) {
|
|
34
|
-
return (_jsxs(MenubarPrimitive.RadioItem, { "data-slot": "menubar-radio-item", className: cn("focus:bg-accent focus:text-accent-foreground relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props, children: [_jsx("span", { className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center", children: _jsx(MenubarPrimitive.ItemIndicator, { children: _jsx(CircleIcon, { className: "size-2 fill-current" }) }) }), children] }));
|
|
35
|
-
}
|
|
36
|
-
function MenubarLabel({ className, inset, ...props }) {
|
|
37
|
-
return (_jsx(MenubarPrimitive.Label, { "data-slot": "menubar-label", "data-inset": inset, className: cn("px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className), ...props }));
|
|
38
|
-
}
|
|
39
|
-
function MenubarSeparator({ className, ...props }) {
|
|
40
|
-
return (_jsx(MenubarPrimitive.Separator, { "data-slot": "menubar-separator", className: cn("bg-border -mx-1 my-1 h-px", className), ...props }));
|
|
41
|
-
}
|
|
42
|
-
function MenubarShortcut({ className, ...props }) {
|
|
43
|
-
return (_jsx("span", { "data-slot": "menubar-shortcut", className: cn("text-muted-foreground ml-auto text-xs tracking-widest", className), ...props }));
|
|
44
|
-
}
|
|
45
|
-
function MenubarSub({ ...props }) {
|
|
46
|
-
return _jsx(MenubarPrimitive.Sub, { "data-slot": "menubar-sub", ...props });
|
|
47
|
-
}
|
|
48
|
-
function MenubarSubTrigger({ className, inset, children, ...props }) {
|
|
49
|
-
return (_jsxs(MenubarPrimitive.SubTrigger, { "data-slot": "menubar-sub-trigger", "data-inset": inset, className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8", className), ...props, children: [children, _jsx(ChevronRightIcon, { className: "ml-auto h-4 w-4" })] }));
|
|
50
|
-
}
|
|
51
|
-
function MenubarSubContent({ className, ...props }) {
|
|
52
|
-
return (_jsx(MenubarPrimitive.SubContent, { "data-slot": "menubar-sub-content", className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className), ...props }));
|
|
53
|
-
}
|
|
54
|
-
export { Menubar, MenubarPortal, MenubarMenu, MenubarTrigger, MenubarContent, MenubarGroup, MenubarSeparator, MenubarLabel, MenubarItem, MenubarShortcut, MenubarCheckboxItem, MenubarRadioGroup, MenubarRadioItem, MenubarSub, MenubarSubTrigger, MenubarSubContent, };
|
|
55
|
-
//# sourceMappingURL=menubar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menubar.js","sourceRoot":"","sources":["../../../src/components/ui/menubar.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,KAAK,gBAAgB,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,EAAE,EAAE,MAAM,iBAAiB,CAAC;AAErC,SAAS,OAAO,CAAC,EACf,SAAS,EACT,GAAG,KAAK,EAC2C;IACnD,OAAO,CACL,KAAC,gBAAgB,CAAC,IAAI,iBACV,SAAS,EACnB,SAAS,EAAE,EAAE,CACX,2EAA2E,EAC3E,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,EACnB,GAAG,KAAK,EAC2C;IACnD,OAAO,KAAC,gBAAgB,CAAC,IAAI,iBAAW,cAAc,KAAK,KAAK,GAAI,CAAC;AACvE,CAAC;AAED,SAAS,YAAY,CAAC,EACpB,GAAG,KAAK,EAC4C;IACpD,OAAO,KAAC,gBAAgB,CAAC,KAAK,iBAAW,eAAe,KAAK,KAAK,GAAI,CAAC;AACzE,CAAC;AAED,SAAS,aAAa,CAAC,EACrB,GAAG,KAAK,EAC6C;IACrD,OAAO,KAAC,gBAAg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,CAAC;AACJ,CAAC;AAED,SAAS,UAAU,CAAC,EAClB,GAAG,KAAK,EAC0C;IAClD,OAAO,KAAC,gBAAgB,CAAC,GAAG,iBAAW,aAAa,KAAK,KAAK,GAAI,CAAC;AACrE,CAAC;AAED,SAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EAGT;IACC,OAAO,CACL,MAAC,gBAAgB,CAAC,UAAU,iBAChB,qBAAqB,gBACnB,KAAK,EACjB,SAAS,EAAE,EAAE,CACX,8NAA8N,EAC9N,SAAS,CACV,KACG,KAAK,aAER,QAAQ,EACT,KAAC,gBAAgB,IAAC,SAAS,EAAC,iBAAiB,GAAG,IACpB,CAC/B,CAAC;AACJ,CAAC;AAED,SAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,KAAK,EACiD;IACzD,OAAO,CACL,KAAC,gBAAgB,CAAC,UAAU,iBAChB,qBAAqB,EAC/B,SAAS,EAAE,EAAE,CACX,yeAAye,EACze,SAAS,CACV,KACG,KAAK,GACT,CACH,CAAC;AACJ,CAAC;AAED,OAAO,EACL,OAAO,EACP,aAAa,EACb,WAAW,EACX,cAAc,EACd,cAAc,EACd,YAAY,EACZ,gBAAgB,EAChB,YAAY,EACZ,WAAW,EACX,eAAe,EACf,mBAAmB,EACnB,iBAAiB,EACjB,gBAAgB,EAChB,UAAU,EACV,iBAAiB,EACjB,iBAAiB,GAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/config/types/index.ts"],"names":[],"mappings":"AAAA,yCAAyC;AACzC,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC"}
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useEffect, useState } from "react";
|
|
3
|
-
import { ArrowDownLeft, ChevronDown } from "lucide-react";
|
|
4
|
-
export default function FloatingToolbar({ children, onPin, height, width, }) {
|
|
5
|
-
const [position, setPosition] = useState({ x: 0, y: 95 });
|
|
6
|
-
const [size, setSize] = useState({ width: 400, height: 70 });
|
|
7
|
-
const [dragging, setDragging] = useState(false);
|
|
8
|
-
const [resizing, setResizing] = useState(false);
|
|
9
|
-
const [offset, setOffset] = useState({ x: 0, y: 0 });
|
|
10
|
-
const [hidden, setHidden] = useState(false);
|
|
11
|
-
useEffect(() => {
|
|
12
|
-
console.log("WIDTH: ", width, "Height: ", height);
|
|
13
|
-
setSize({ width: width || 400, height: height || 70 });
|
|
14
|
-
}, []);
|
|
15
|
-
const handleMouseDown = useCallback((e) => {
|
|
16
|
-
// Start dragging and calculate the offset from the mouse to the sidebar top-left corner
|
|
17
|
-
setDragging(true);
|
|
18
|
-
setOffset({
|
|
19
|
-
x: e.clientX - position.x,
|
|
20
|
-
y: e.clientY - position.y,
|
|
21
|
-
});
|
|
22
|
-
}, [position]);
|
|
23
|
-
const handleMouseMove = useCallback((e) => {
|
|
24
|
-
if (dragging) {
|
|
25
|
-
// Update the position state based on mouse movement, adjusted by the initial offset
|
|
26
|
-
setPosition({
|
|
27
|
-
x: e.clientX - offset.x,
|
|
28
|
-
y: e.clientY - offset.y,
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
}, [dragging, offset]);
|
|
32
|
-
const handleMouseUp = useCallback(() => {
|
|
33
|
-
// Stop dragging
|
|
34
|
-
setDragging(false);
|
|
35
|
-
}, []);
|
|
36
|
-
const handleResizeMouseDown = useCallback((e) => {
|
|
37
|
-
e.preventDefault();
|
|
38
|
-
setResizing(true);
|
|
39
|
-
setOffset({
|
|
40
|
-
x: e.clientX,
|
|
41
|
-
y: e.clientY,
|
|
42
|
-
});
|
|
43
|
-
}, []);
|
|
44
|
-
const handleResizeMouseMove = useCallback((e) => {
|
|
45
|
-
if (resizing) {
|
|
46
|
-
const newWidth = size.width + (e.clientX - offset.x);
|
|
47
|
-
const newHeight = size.height + (e.clientY - offset.y);
|
|
48
|
-
setSize({
|
|
49
|
-
width: newWidth > 200 ? newWidth : 200, // Minimum width
|
|
50
|
-
height: newHeight > 100 ? newHeight : 100, // Minimum height
|
|
51
|
-
});
|
|
52
|
-
setOffset({
|
|
53
|
-
x: e.clientX,
|
|
54
|
-
y: e.clientY,
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
}, [resizing, offset, size]);
|
|
58
|
-
const handleResizeMouseUp = useCallback(() => {
|
|
59
|
-
setResizing(false);
|
|
60
|
-
}, []);
|
|
61
|
-
useEffect(() => {
|
|
62
|
-
if (resizing) {
|
|
63
|
-
document.addEventListener("mousemove", handleResizeMouseMove);
|
|
64
|
-
document.addEventListener("mouseup", handleResizeMouseUp);
|
|
65
|
-
}
|
|
66
|
-
return () => {
|
|
67
|
-
document.removeEventListener("mousemove", handleResizeMouseMove);
|
|
68
|
-
document.removeEventListener("mouseup", handleResizeMouseUp);
|
|
69
|
-
};
|
|
70
|
-
}, [resizing, handleResizeMouseMove, handleResizeMouseUp]);
|
|
71
|
-
// Add event listeners to the document when the sidebar is being dragged
|
|
72
|
-
useEffect(() => {
|
|
73
|
-
if (dragging) {
|
|
74
|
-
document.addEventListener("mousemove", handleMouseMove);
|
|
75
|
-
document.addEventListener("mouseup", handleMouseUp);
|
|
76
|
-
}
|
|
77
|
-
// Cleanup the document event listeners when the component unmounts or dragging stops
|
|
78
|
-
return () => {
|
|
79
|
-
document.removeEventListener("mousemove", handleMouseMove);
|
|
80
|
-
document.removeEventListener("mouseup", handleMouseUp);
|
|
81
|
-
};
|
|
82
|
-
}, [dragging, handleMouseMove, handleMouseUp]);
|
|
83
|
-
return (_jsxs("div", { className: "z-10 flex flex-col border border-gray-200 drop-shadow", onMouseMove: handleMouseMove, onMouseUp: handleMouseUp, style: {
|
|
84
|
-
left: `${position.x}px`,
|
|
85
|
-
top: `${position.y}px`,
|
|
86
|
-
position: "absolute", // Use 'fixed' or 'absolute' depending on your layout needs
|
|
87
|
-
height: `${hidden ? 30 : size.height}px`,
|
|
88
|
-
width: `${size.width}px`,
|
|
89
|
-
}, children: [_jsxs("div", { className: "items-between flex w-full justify-between bg-gray-100 p-2 text-sm", style: { cursor: "move", userSelect: "none" }, onMouseDown: handleMouseDown, children: ["Toolbar", _jsxs("div", { className: "flex gap-2", children: [hidden && (_jsx("div", { className: "cusor-pointer h-4 w-4 border-2 border-gray-800", onClick: () => setHidden(false) })), !hidden && (_jsx("div", { className: "cusor-pointer h-4 w-4 border-b-2 border-gray-800", onClick: () => setHidden(true) })), onPin && (_jsx(ArrowDownLeft, { className: "h-4 w-4 cursor-pointer", onClick: onPin }))] })] }), _jsx("div", { className: "flex-1", children: !hidden && children }), _jsx("div", { className: "h-4 bg-gray-100" }), _jsx("div", { className: "absolute -right-2 -bottom-1 h-4 w-4 cursor-nwse-resize text-gray-500", onMouseDown: handleResizeMouseDown, children: _jsx(ChevronDown, { className: "h-4 w-4 -rotate-45" }) })] }));
|
|
90
|
-
}
|
|
91
|
-
//# sourceMappingURL=FloatingToolbar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FloatingToolbar.js","sourceRoot":"","sources":["../../src/editor/FloatingToolbar.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAa,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE1D,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,EACtC,QAAQ,EACR,KAAK,EACL,MAAM,EACN,KAAK,GAMN;IACC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,QAAQ,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1D,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAC,EAAE,KAAK,EAAE,GAAG,EAAE,MAAM,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@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { PictureField, PictureValue } from "./fieldTypes";
|
|
2
|
-
import { MediaPictureParams, PictureParams } from "./picture-shared";
|
|
3
|
-
export declare function PictureEditorDialog({ field, onCancel, onOk, params, }: {
|
|
4
|
-
field: PictureField;
|
|
5
|
-
onOk: (link: PictureValue) => void;
|
|
6
|
-
onCancel: () => void;
|
|
7
|
-
params?: PictureParams | MediaPictureParams;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,198 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, } from "../components/ui/dialog";
|
|
3
|
-
import { useEditContext } from "./client/editContext";
|
|
4
|
-
import { useCallback, useEffect, useState } from "react";
|
|
5
|
-
import { Button } from "../components/ui/button";
|
|
6
|
-
import DialogButtons from "./ui/DialogButtons";
|
|
7
|
-
import { AlertTriangle, Pencil } from "lucide-react";
|
|
8
|
-
import { getPictureValue } from "./services/editService";
|
|
9
|
-
import { getRenderedPictureVariant, } from "./picture-shared";
|
|
10
|
-
export function PictureEditorDialog({ field, onCancel, onOk, params, }) {
|
|
11
|
-
const [selectedVariantName, setSelectedVariantName] = useState();
|
|
12
|
-
const [pictureValue, setPictureValue] = useState();
|
|
13
|
-
const [rawValue, setRawValue] = useState();
|
|
14
|
-
const emptyRect = () => ({
|
|
15
|
-
width: 0,
|
|
16
|
-
height: 0,
|
|
17
|
-
top: 0,
|
|
18
|
-
left: 0,
|
|
19
|
-
});
|
|
20
|
-
const [rect, setRect] = useState(emptyRect());
|
|
21
|
-
const editContext = useEditContext();
|
|
22
|
-
useEffect(() => {
|
|
23
|
-
setSelectedVariantName(field?.value?.variants[0].name);
|
|
24
|
-
}, []);
|
|
25
|
-
useEffect(() => {
|
|
26
|
-
const deepCopy = JSON.parse(JSON.stringify(field.value));
|
|
27
|
-
setPictureValue(deepCopy);
|
|
28
|
-
const raw = field?.rawValue
|
|
29
|
-
? JSON.parse(field?.rawValue)
|
|
30
|
-
: { Variants: [] };
|
|
31
|
-
setRawValue(raw);
|
|
32
|
-
if (!field?.value?.variants[0].src)
|
|
33
|
-
selectMedia(field?.value?.variants[0].name, raw);
|
|
34
|
-
}, [field]);
|
|
35
|
-
async function selectMedia(variantName, raw) {
|
|
36
|
-
const chosenImage = await editContext?.selectMedia({
|
|
37
|
-
selectedIdPath: selectedVariant?.idPath || "",
|
|
38
|
-
mode: "images",
|
|
39
|
-
});
|
|
40
|
-
if (chosenImage)
|
|
41
|
-
imageSelected(chosenImage, variantName ?? selectedVariantName, raw ?? rawValue);
|
|
42
|
-
}
|
|
43
|
-
const selectedVariant = pictureValue && pictureValue.variants
|
|
44
|
-
? pictureValue.variants?.find((x) => x.name == selectedVariantName)
|
|
45
|
-
: null;
|
|
46
|
-
useEffect(() => {
|
|
47
|
-
if (selectedVariant?.region &&
|
|
48
|
-
(!selectedVariant.aspectRatioLock ||
|
|
49
|
-
Math.abs(selectedVariant.aspectRatioLock -
|
|
50
|
-
selectedVariant.region.width / selectedVariant.region.height) < 0.1))
|
|
51
|
-
setRect({
|
|
52
|
-
width: selectedVariant.region.width,
|
|
53
|
-
height: selectedVariant.region.height,
|
|
54
|
-
top: selectedVariant.region.y,
|
|
55
|
-
left: selectedVariant.region.x,
|
|
56
|
-
});
|
|
57
|
-
else {
|
|
58
|
-
setRect(emptyRect());
|
|
59
|
-
}
|
|
60
|
-
}, [selectedVariantName]);
|
|
61
|
-
const getPictureFieldValue = async (field, rawValue) => {
|
|
62
|
-
if (!editContext)
|
|
63
|
-
return null;
|
|
64
|
-
const pageViewContext = editContext?.getActiveSlotContext()?.primaryPageViewContext;
|
|
65
|
-
if (!pageViewContext?.site)
|
|
66
|
-
return null;
|
|
67
|
-
return getPictureValue(field, rawValue, pageViewContext.site?.name, editContext.sessionId);
|
|
68
|
-
};
|
|
69
|
-
const imageSelected = useCallback(async (imageId, variantName, rawValue) => {
|
|
70
|
-
if (!variantName || !rawValue)
|
|
71
|
-
return;
|
|
72
|
-
const selected = rawValue.Variants?.find((x) => x.Name == variantName);
|
|
73
|
-
if (!selected) {
|
|
74
|
-
if (!rawValue.Variants)
|
|
75
|
-
rawValue.Variants = [];
|
|
76
|
-
rawValue.Variants.push({
|
|
77
|
-
Name: variantName,
|
|
78
|
-
MediaId: imageId,
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
else {
|
|
82
|
-
selected.MediaId = imageId;
|
|
83
|
-
}
|
|
84
|
-
setRawValue(rawValue);
|
|
85
|
-
const newValue = await getPictureFieldValue(field, rawValue);
|
|
86
|
-
if (newValue) {
|
|
87
|
-
setPictureValue(newValue);
|
|
88
|
-
}
|
|
89
|
-
}, []);
|
|
90
|
-
const updateRawValue = async (rawValue) => {
|
|
91
|
-
setRawValue(rawValue);
|
|
92
|
-
const newValue = await getPictureFieldValue(field, rawValue);
|
|
93
|
-
if (newValue) {
|
|
94
|
-
setPictureValue(newValue);
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
const setVariantCrop = async () => {
|
|
98
|
-
if (!rawValue)
|
|
99
|
-
return;
|
|
100
|
-
if (!selectedVariantName)
|
|
101
|
-
return;
|
|
102
|
-
if (selectedVariant) {
|
|
103
|
-
let selected = rawValue.Variants?.find((x) => x.Name == selectedVariantName);
|
|
104
|
-
if (!selected) {
|
|
105
|
-
selected = {
|
|
106
|
-
Name: selectedVariantName,
|
|
107
|
-
MediaId: selectedVariant.mediaId,
|
|
108
|
-
};
|
|
109
|
-
rawValue.Variants?.push(selected);
|
|
110
|
-
}
|
|
111
|
-
if (selected) {
|
|
112
|
-
selected.Region = {
|
|
113
|
-
X: rect.left,
|
|
114
|
-
Y: rect.top,
|
|
115
|
-
Width: rect.width,
|
|
116
|
-
Height: rect.height,
|
|
117
|
-
};
|
|
118
|
-
await updateRawValue(rawValue);
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
};
|
|
122
|
-
const usage = getUsage(pictureValue, params);
|
|
123
|
-
return (_jsx(_Fragment, { children: _jsx(Dialog, { open: true, onOpenChange: (open) => {
|
|
124
|
-
if (!open) {
|
|
125
|
-
onCancel();
|
|
126
|
-
}
|
|
127
|
-
}, children: _jsxs(DialogContent, { className: "max-w-none", style: { width: "70vw", height: "70vh" }, children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: "Edit " + field.name }) }), _jsx("div", { className: "flex-1 overflow-auto", children: _jsxs("div", { className: "justify flex h-full flex-col gap-1", children: [_jsxs("div", { className: "flex flex-1 gap-2", children: [_jsxs("div", { className: "relative h-full w-48 border-r pt-3", children: [_jsx("div", { className: "absolute inset-0 flex flex-col gap-6 overflow-y-auto", children: pictureValue &&
|
|
128
|
-
pictureValue.variants?.map((variant) => (_jsxs("div", { onClick: () => setSelectedVariantName(variant.name), className: "flex cursor-pointer flex-col items-center justify-center gap-1 text-xs", children: [_jsx("div", { className: "relative flex h-40 w-40 items-center justify-center border" +
|
|
129
|
-
(selectedVariantName == variant.name
|
|
130
|
-
? " shadow-xl"
|
|
131
|
-
: ""), children: variant.src && _jsx("img", { src: variant.thumbSrc }) }), _jsxs("div", { className: "w-40", children: [_jsx("div", { children: variant.name }), _jsx("div", { children: variant.aspectRatioLockText }), _jsxs("div", { children: [_jsxs("div", { className: "break-all", children: ["Name: ", variant.mediaItemName] }), _jsxs("div", { children: ["Orig. size: ", variant.width, " x ", variant.height] }), (variant.width < 1 || variant.height < 1) && (_jsxs("span", { children: [" ", _jsx(AlertTriangle, { className: "inline h-4 w-4 text-red-600" })] }))] })] })] }, variant.name))) }), usage && _jsx("div", { className: "text-xs", children: usage })] }), _jsx("div", { className: "relative flex-1 p-3", children: _jsxs("div", { className: "align-center absolute inset-0 top-3 flex justify-center overflow-auto select-none", children: [selectedVariant && (_jsxs("div", { className: "relative", onDoubleClick: () => selectMedia(), onMouseDown: (ev) => {
|
|
132
|
-
ev.preventDefault();
|
|
133
|
-
ev.stopPropagation();
|
|
134
|
-
const bounds = ev.currentTarget.getBoundingClientRect();
|
|
135
|
-
setRect({
|
|
136
|
-
left: (ev.clientX - bounds.left) / bounds.width,
|
|
137
|
-
top: (ev.clientY - bounds.top) / bounds.height,
|
|
138
|
-
width: 0,
|
|
139
|
-
height: 0,
|
|
140
|
-
});
|
|
141
|
-
}, onMouseMoveCapture: (ev) => {
|
|
142
|
-
if (ev.buttons === 1) {
|
|
143
|
-
const bounds = ev.currentTarget.getBoundingClientRect();
|
|
144
|
-
const width = (ev.clientX - bounds.left) / bounds.width -
|
|
145
|
-
rect.left;
|
|
146
|
-
const newRect = {
|
|
147
|
-
...rect,
|
|
148
|
-
width,
|
|
149
|
-
height: selectedVariant.aspectRatioLock
|
|
150
|
-
? width / selectedVariant.aspectRatioLock
|
|
151
|
-
: (ev.clientY - bounds.top) / bounds.height -
|
|
152
|
-
rect.top,
|
|
153
|
-
};
|
|
154
|
-
setRect(newRect);
|
|
155
|
-
ev.preventDefault();
|
|
156
|
-
ev.stopPropagation();
|
|
157
|
-
}
|
|
158
|
-
}, onMouseUp: () => setVariantCrop(), children: [_jsx("img", { src: selectedVariant.originalSrc ?? selectedVariant.src, className: "h-full w-full object-contain" }), _jsx("div", { className: "bg-opacity-70 absolute bg-gray-300", style: {
|
|
159
|
-
left: rect.left * 100 + "%",
|
|
160
|
-
top: rect.top * 100 + "%",
|
|
161
|
-
width: rect.width * 100 + "%",
|
|
162
|
-
height: rect.height * 100 + "%",
|
|
163
|
-
} })] })), selectedVariant && (_jsxs("div", { className: "bg-opacity-70 absolute top-0 right-0 flex cursor-pointer flex-col items-center gap-1 bg-gray-100 p-2 text-sm", onClick: () => selectMedia(), children: [_jsx(Pencil, { className: "h-5 w-5" }), "Choose"] }))] }) })] }), _jsxs(DialogButtons, { children: [_jsx(Button, { onClick: () => {
|
|
164
|
-
onCancel();
|
|
165
|
-
}, size: "sm", children: "Cancel" }), _jsx(Button, { size: "sm", onClick: () => {
|
|
166
|
-
if (pictureValue) {
|
|
167
|
-
if (field) {
|
|
168
|
-
editContext?.operations.editField({
|
|
169
|
-
field: field.descriptor,
|
|
170
|
-
rawValue: JSON.stringify(rawValue),
|
|
171
|
-
refresh: "immediate",
|
|
172
|
-
});
|
|
173
|
-
}
|
|
174
|
-
onOk(pictureValue);
|
|
175
|
-
}
|
|
176
|
-
}, children: "Ok" })] })] }) })] }) }) }));
|
|
177
|
-
}
|
|
178
|
-
function getUsage(pictureValue, params) {
|
|
179
|
-
if (!params)
|
|
180
|
-
return;
|
|
181
|
-
if (!pictureValue)
|
|
182
|
-
return;
|
|
183
|
-
if (pictureValue.variants.length <= 1)
|
|
184
|
-
return;
|
|
185
|
-
const mediaParams = typeof params === "object" && "default" in params ? params : undefined;
|
|
186
|
-
if (mediaParams) {
|
|
187
|
-
const sources = Object.keys(mediaParams ?? {});
|
|
188
|
-
const variants = sources
|
|
189
|
-
.map((source) => ({
|
|
190
|
-
source,
|
|
191
|
-
variant: getRenderedPictureVariant(mediaParams[source], pictureValue.variants),
|
|
192
|
-
}))
|
|
193
|
-
.filter((x) => x.variant);
|
|
194
|
-
return (_jsxs(_Fragment, { children: ["This field rendering is using these variants:", _jsx("table", { children: variants.map((v) => (_jsxs("tr", { children: [_jsx("td", { children: v.source }), _jsx("td", { children: _jsx("b", { children: v.variant.name }) })] }))) })] }));
|
|
195
|
-
}
|
|
196
|
-
return (_jsxs(_Fragment, { children: ["This field rendering is using the variant", " ", _jsxs("b", { children: [getRenderedPictureVariant(params, pictureValue.variants)?.name, "."] })] }));
|
|
197
|
-
}
|
|
198
|
-
//# sourceMappingURL=PictureEditorDialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PictureEditorDialog.js","sourceRoot":"","sources":["../../src/editor/PictureEditorDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,MAAM,EACN,aAAa,EACb,YAAY,EACZ,WAAW,GACZ,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAA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M,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QAE5B,OAAO,CACL,+EAEE,0BACG,QAAQ,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACnB,yBACE,uBAAK,CAAC,CAAC,MAAM,GAAM,EACnB,uBACE,sBAAI,CAAC,CAAC,OAAO,CAAC,IAAI,GAAK,GACpB,IACF,CACN,CAAC,GACI,IACP,CACJ,CAAC;IACJ,CAAC;IACD,OAAO,CACL,2EAC4C,GAAG,EAC7C,wBAEI,yBAAyB,CACvB,MAAuB,EACvB,YAAY,CAAC,QAAQ,CACtB,EAAE,IAAI,SAGP,IACH,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { ParheliaLogo } from "../splash-screen/ParheliaLogo";
|
|
4
|
-
/**
|
|
5
|
-
* Loading screen displayed while checking setup status
|
|
6
|
-
* Features the Parhelia logo centered on a full-screen overlay
|
|
7
|
-
*/
|
|
8
|
-
export function SetupLoadingScreen() {
|
|
9
|
-
return (_jsxs("div", { className: "fixed inset-0 flex items-center justify-center bg-gradient-to-br from-purple-50/30 via-pink-50/20 to-blue-50/30", children: [_jsx("div", { className: "bg-wizard absolute inset-0 opacity-20" }), _jsx("div", { className: "relative z-10", children: _jsx(ParheliaLogo, {}) })] }));
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=SetupLoadingScreen.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SetupLoadingScreen.js","sourceRoot":"","sources":["../../src/editor/SetupLoadingScreen.tsx"],"names":[],"mappings":"AAAA,YAAY,CAAC;;AAGb,OAAO,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAC;AAE7D;;;GAGG;AACH,MAAM,UAAU,kBAAkB;IAChC,OAAO,CACL,eAAK,SAAS,EAAC,iHAAiH,aAE9H,cAAK,SAAS,EAAC,uCAAuC,GAAG,EAGzD,cAAK,SAAS,EAAC,eAAe,YAC5B,KAAC,YAAY,KAAG,GACZ,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export interface GenericDialogHandle {
|
|
2
|
-
show: (props: {
|
|
3
|
-
title: string;
|
|
4
|
-
content: React.ReactNode;
|
|
5
|
-
width?: string;
|
|
6
|
-
height?: string;
|
|
7
|
-
}) => void;
|
|
8
|
-
hide: () => void;
|
|
9
|
-
}
|
|
10
|
-
export declare const GenericDialog: import("react").ForwardRefExoticComponent<import("react").RefAttributes<GenericDialogHandle>>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Dialog, DialogContent, DialogHeader, DialogTitle, } from "../../components/ui/dialog";
|
|
3
|
-
import { forwardRef, useImperativeHandle, useState } from "react";
|
|
4
|
-
export const GenericDialog = forwardRef((_, ref) => {
|
|
5
|
-
const [content, setContent] = useState(null);
|
|
6
|
-
const [title, setTitle] = useState("");
|
|
7
|
-
const [width, setWidth] = useState("50vw");
|
|
8
|
-
const [height, setHeight] = useState("50vh");
|
|
9
|
-
const [visible, setVisible] = useState(false);
|
|
10
|
-
const show = (props) => {
|
|
11
|
-
setTitle(props.title);
|
|
12
|
-
setContent(props.content);
|
|
13
|
-
if (props.width)
|
|
14
|
-
setWidth(props.width);
|
|
15
|
-
if (props.height)
|
|
16
|
-
setHeight(props.height);
|
|
17
|
-
setVisible(true);
|
|
18
|
-
};
|
|
19
|
-
useImperativeHandle(ref, () => ({
|
|
20
|
-
show,
|
|
21
|
-
hide: () => setVisible(false),
|
|
22
|
-
}));
|
|
23
|
-
return (_jsx(Dialog, { open: visible, onOpenChange: (open) => !open && setVisible(false), children: _jsxs(DialogContent, { className: "max-w-none", style: { width, height }, children: [_jsx(DialogHeader, { children: _jsx(DialogTitle, { children: title }) }), _jsx("div", { className: "flex-1 overflow-auto p-8 pt-4", children: content })] }) }));
|
|
24
|
-
});
|
|
25
|
-
//# sourceMappingURL=GenericDialog.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GenericDialog.js","sourceRoot":"","sources":["../../../src/editor/client/GenericDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,MAAM,EACN,aAAa,EACb,YAAY,EACZ,WAAW,GACZ,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,mBAAmB,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAYlE,MAAM,CAAC,MAAM,aAAa,GAAG,UAAU,CAAsB,CAAC,CAAC,EAAE,GAAG,EAAE,EAAE;IACtE,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAkB,IAAI,CAAC,CAAC;IAC9D,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,EAAE,CAAC,CAAC;IAC/C,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,QAAQ,CAAS,MAAM,CAAC,CAAC;IACnD,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,QAAQ,CAAS,MAAM,CAAC,CAAC;IACrD,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAU,KAAK,CAAC,CAAC;IAEvD,MAAM,IAAI,GAAG,CAAC,KAKb,EAAE,EAAE;QACH,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACtB,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC1B,IAAI,KAAK,CAAC,KAAK;YAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;QACvC,IAAI,KAAK,CAAC,MAAM;YAAE,SAAS,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;QAC1C,UAAU,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC,CAAC;IAEF,mBAAmB,CAAC,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC;QAC9B,IAAI;QACJ,IAAI,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;KAC9B,CAAC,CAAC,CAAC;IAEJ,OAAO,CACL,KAAC,MAAM,IAAC,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,IAAI,IAAI,UAAU,CAAC,KAAK,CAAC,YACvE,MAAC,aAAa,IAAC,SAAS,EAAC,YAAY,EAAC,KAAK,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,aAC5D,KAAC,YAAY,cACX,KAAC,WAAW,cAAE,KAAK,GAAe,GACrB,EACf,cAAK,SAAS,EAAC,+BAA+B,YAAE,OAAO,GAAO,IAChD,GACT,CACV,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DialogProps } from "../../client/editContext";
|
|
2
|
-
import { FullItem } from "../../pageModel";
|
|
3
|
-
import { EditContextType } from "../../client/editContext";
|
|
4
|
-
export type LocalizeItemDialogProps = {
|
|
5
|
-
items: FullItem[];
|
|
6
|
-
editContext: EditContextType;
|
|
7
|
-
};
|
|
8
|
-
export declare function LocalizeItemDialog(props: LocalizeItemDialogProps & DialogProps<string>): import("react/jsx-runtime").JSX.Element;
|