@parhelia/core 0.1.11004 → 0.1.11005
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/dist/agents-view/AgentCard.d.ts +12 -0
- package/dist/dist/agents-view/AgentCard.js +30 -0
- package/dist/dist/agents-view/AgentCard.js.map +1 -0
- package/dist/dist/agents-view/AgentsView.d.ts +5 -0
- package/dist/dist/agents-view/AgentsView.js +255 -0
- package/dist/dist/agents-view/AgentsView.js.map +1 -0
- package/dist/dist/agents-view/ProfileAgentsGroup.d.ts +17 -0
- package/dist/dist/agents-view/ProfileAgentsGroup.js +13 -0
- package/dist/dist/agents-view/ProfileAgentsGroup.js.map +1 -0
- package/dist/dist/client-components/api.d.ts +1 -0
- package/dist/dist/client-components/api.js +4 -0
- package/dist/dist/client-components/api.js.map +1 -0
- package/dist/dist/client-components/index.d.ts +17 -0
- package/dist/dist/client-components/index.js +18 -0
- package/dist/dist/client-components/index.js.map +1 -0
- package/dist/dist/components/ActionButton.d.ts +14 -0
- package/dist/dist/components/ActionButton.js +6 -0
- package/dist/dist/components/ActionButton.js.map +1 -0
- package/dist/dist/components/Error.d.ts +9 -0
- package/dist/dist/components/Error.js +24 -0
- package/dist/dist/components/Error.js.map +1 -0
- package/dist/dist/components/FilterInput.d.ts +22 -0
- package/dist/dist/components/FilterInput.js +29 -0
- package/dist/dist/components/FilterInput.js.map +1 -0
- package/dist/dist/components/index.d.ts +7 -0
- package/dist/dist/components/index.js +5 -0
- package/dist/dist/components/index.js.map +1 -0
- package/dist/dist/components/ui/CardConnector.d.ts +4 -0
- package/dist/dist/components/ui/CardConnector.js +6 -0
- package/dist/dist/components/ui/CardConnector.js.map +1 -0
- package/dist/dist/components/ui/LanguageSelector.d.ts +8 -0
- package/dist/dist/components/ui/LanguageSelector.js +53 -0
- package/dist/dist/components/ui/LanguageSelector.js.map +1 -0
- package/dist/dist/components/ui/PlaceholderInput.d.ts +41 -0
- package/dist/dist/components/ui/PlaceholderInput.js +160 -0
- package/dist/dist/components/ui/PlaceholderInput.js.map +1 -0
- package/dist/dist/components/ui/PlaceholderInputTypes.d.ts +41 -0
- package/dist/dist/components/ui/PlaceholderInputTypes.js +48 -0
- package/dist/dist/components/ui/PlaceholderInputTypes.js.map +1 -0
- package/dist/dist/components/ui/PlaceholderItemSelector.d.ts +7 -0
- package/dist/dist/components/ui/PlaceholderItemSelector.js +154 -0
- package/dist/dist/components/ui/PlaceholderItemSelector.js.map +1 -0
- package/dist/dist/components/ui/alert.d.ts +7 -0
- package/dist/dist/components/ui/alert.js +21 -0
- package/dist/dist/components/ui/alert.js.map +1 -0
- package/dist/dist/components/ui/badge.d.ts +9 -0
- package/dist/dist/components/ui/badge.js +23 -0
- package/dist/dist/components/ui/badge.js.map +1 -0
- package/dist/dist/components/ui/button.d.ts +10 -0
- package/dist/dist/components/ui/button.js +33 -0
- package/dist/dist/components/ui/button.js.map +1 -0
- package/dist/dist/components/ui/calendar.d.ts +7 -0
- package/dist/dist/components/ui/calendar.js +58 -0
- package/dist/dist/components/ui/calendar.js.map +1 -0
- package/dist/dist/components/ui/card.d.ts +19 -0
- package/dist/dist/components/ui/card.js +78 -0
- package/dist/dist/components/ui/card.js.map +1 -0
- package/dist/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/dist/components/ui/checkbox.js +10 -0
- package/dist/dist/components/ui/checkbox.js.map +1 -0
- package/dist/dist/components/ui/command.d.ts +18 -0
- package/dist/dist/components/ui/command.js +35 -0
- package/dist/dist/components/ui/command.js.map +1 -0
- package/dist/dist/components/ui/context-menu.d.ts +53 -0
- package/dist/dist/components/ui/context-menu.js +290 -0
- package/dist/dist/components/ui/context-menu.js.map +1 -0
- package/dist/dist/components/ui/copy-button.d.ts +10 -0
- package/dist/dist/components/ui/copy-button.js +61 -0
- package/dist/dist/components/ui/copy-button.js.map +1 -0
- package/dist/dist/components/ui/dialog.d.ts +16 -0
- package/dist/dist/components/ui/dialog.js +37 -0
- package/dist/dist/components/ui/dialog.js.map +1 -0
- package/dist/dist/components/ui/dropdown-menu.d.ts +25 -0
- package/dist/dist/components/ui/dropdown-menu.js +52 -0
- package/dist/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/dist/components/ui/input.d.ts +3 -0
- package/dist/dist/components/ui/input.js +9 -0
- package/dist/dist/components/ui/input.js.map +1 -0
- package/dist/dist/components/ui/label.d.ts +5 -0
- package/dist/dist/components/ui/label.js +9 -0
- package/dist/dist/components/ui/label.js.map +1 -0
- package/dist/dist/components/ui/menubar.d.ts +26 -0
- package/dist/dist/components/ui/menubar.js +55 -0
- package/dist/dist/components/ui/menubar.js.map +1 -0
- package/dist/dist/components/ui/paste-button.d.ts +14 -0
- package/dist/dist/components/ui/paste-button.js +114 -0
- package/dist/dist/components/ui/paste-button.js.map +1 -0
- package/dist/dist/components/ui/popover.d.ts +11 -0
- package/dist/dist/components/ui/popover.js +66 -0
- package/dist/dist/components/ui/popover.js.map +1 -0
- package/dist/dist/components/ui/progress.d.ts +7 -0
- package/dist/dist/components/ui/progress.js +9 -0
- package/dist/dist/components/ui/progress.js.map +1 -0
- package/dist/dist/components/ui/select.d.ts +18 -0
- package/dist/dist/components/ui/select.js +34 -0
- package/dist/dist/components/ui/select.js.map +1 -0
- package/dist/dist/components/ui/sonner.d.ts +3 -0
- package/dist/dist/components/ui/sonner.js +16 -0
- package/dist/dist/components/ui/sonner.js.map +1 -0
- package/dist/dist/components/ui/switch.d.ts +4 -0
- package/dist/dist/components/ui/switch.js +9 -0
- package/dist/dist/components/ui/switch.js.map +1 -0
- package/dist/dist/components/ui/tabs.d.ts +17 -0
- package/dist/dist/components/ui/tabs.js +27 -0
- package/dist/dist/components/ui/tabs.js.map +1 -0
- package/dist/dist/components/ui/textarea.d.ts +3 -0
- package/dist/dist/components/ui/textarea.js +11 -0
- package/dist/dist/components/ui/textarea.js.map +1 -0
- package/dist/dist/components/ui/tooltip.d.ts +9 -0
- package/dist/dist/components/ui/tooltip.js +18 -0
- package/dist/dist/components/ui/tooltip.js.map +1 -0
- package/dist/dist/components/ui/upload-button.d.ts +15 -0
- package/dist/dist/components/ui/upload-button.js +56 -0
- package/dist/dist/components/ui/upload-button.js.map +1 -0
- package/dist/dist/config/config.d.ts +24 -0
- package/dist/dist/config/config.js +1088 -0
- package/dist/dist/config/config.js.map +1 -0
- package/dist/dist/config/types.d.ts +244 -0
- package/dist/dist/config/types.js +2 -0
- package/dist/dist/config/types.js.map +1 -0
- package/dist/dist/editor/AspectRatioSelector.d.ts +13 -0
- package/dist/dist/editor/AspectRatioSelector.js +71 -0
- package/dist/dist/editor/AspectRatioSelector.js.map +1 -0
- package/dist/dist/editor/ComponentInfo.d.ts +4 -0
- package/dist/dist/editor/ComponentInfo.js +41 -0
- package/dist/dist/editor/ComponentInfo.js.map +1 -0
- package/dist/dist/editor/ConfirmationDialog.d.ts +19 -0
- package/dist/dist/editor/ConfirmationDialog.js +31 -0
- package/dist/dist/editor/ConfirmationDialog.js.map +1 -0
- package/dist/dist/editor/ContentTree.d.ts +39 -0
- package/dist/dist/editor/ContentTree.js +602 -0
- package/dist/dist/editor/ContentTree.js.map +1 -0
- package/dist/dist/editor/ContextMenu.d.ts +15 -0
- package/dist/dist/editor/ContextMenu.js +239 -0
- package/dist/dist/editor/ContextMenu.js.map +1 -0
- package/dist/dist/editor/Editor.d.ts +12 -0
- package/dist/dist/editor/Editor.js +116 -0
- package/dist/dist/editor/Editor.js.map +1 -0
- package/dist/dist/editor/EditorWarning.d.ts +5 -0
- package/dist/dist/editor/EditorWarning.js +12 -0
- package/dist/dist/editor/EditorWarning.js.map +1 -0
- package/dist/dist/editor/EditorWarnings.d.ts +9 -0
- package/dist/dist/editor/EditorWarnings.js +19 -0
- package/dist/dist/editor/EditorWarnings.js.map +1 -0
- package/dist/dist/editor/FieldActionsOverlay.d.ts +18 -0
- package/dist/dist/editor/FieldActionsOverlay.js +201 -0
- package/dist/dist/editor/FieldActionsOverlay.js.map +1 -0
- package/dist/dist/editor/FieldEditorPopup.d.ts +10 -0
- package/dist/dist/editor/FieldEditorPopup.js +23 -0
- package/dist/dist/editor/FieldEditorPopup.js.map +1 -0
- package/dist/dist/editor/FieldHistory.d.ts +7 -0
- package/dist/dist/editor/FieldHistory.js +45 -0
- package/dist/dist/editor/FieldHistory.js.map +1 -0
- package/dist/dist/editor/FieldList.d.ts +19 -0
- package/dist/dist/editor/FieldList.js +90 -0
- package/dist/dist/editor/FieldList.js.map +1 -0
- package/dist/dist/editor/FieldListField.d.ts +16 -0
- package/dist/dist/editor/FieldListField.js +286 -0
- package/dist/dist/editor/FieldListField.js.map +1 -0
- package/dist/dist/editor/FieldListFieldWithFallbacks.d.ts +11 -0
- package/dist/dist/editor/FieldListFieldWithFallbacks.js +120 -0
- package/dist/dist/editor/FieldListFieldWithFallbacks.js.map +1 -0
- package/dist/dist/editor/FloatingToolbar.d.ts +7 -0
- package/dist/dist/editor/FloatingToolbar.js +91 -0
- package/dist/dist/editor/FloatingToolbar.js.map +1 -0
- package/dist/dist/editor/ImageEditButton.d.ts +27 -0
- package/dist/dist/editor/ImageEditButton.js +22 -0
- package/dist/dist/editor/ImageEditButton.js.map +1 -0
- package/dist/dist/editor/ImageEditor.d.ts +5 -0
- package/dist/dist/editor/ImageEditor.js +76 -0
- package/dist/dist/editor/ImageEditor.js.map +1 -0
- package/dist/dist/editor/ItemInfo.d.ts +4 -0
- package/dist/dist/editor/ItemInfo.js +60 -0
- package/dist/dist/editor/ItemInfo.js.map +1 -0
- package/dist/dist/editor/LinkEditorDialog.d.ts +18 -0
- package/dist/dist/editor/LinkEditorDialog.js +101 -0
- package/dist/dist/editor/LinkEditorDialog.js.map +1 -0
- package/dist/dist/editor/MainLayout.d.ts +12 -0
- package/dist/dist/editor/MainLayout.js +124 -0
- package/dist/dist/editor/MainLayout.js.map +1 -0
- package/dist/dist/editor/MobileLayout.d.ts +2 -0
- package/dist/dist/editor/MobileLayout.js +34 -0
- package/dist/dist/editor/MobileLayout.js.map +1 -0
- package/dist/dist/editor/NewEditorClient.d.ts +5 -0
- package/dist/dist/editor/NewEditorClient.js +7 -0
- package/dist/dist/editor/NewEditorClient.js.map +1 -0
- package/dist/dist/editor/PictureCropper.d.ts +6 -0
- package/dist/dist/editor/PictureCropper.js +722 -0
- package/dist/dist/editor/PictureCropper.js.map +1 -0
- package/dist/dist/editor/PictureEditor.d.ts +9 -0
- package/dist/dist/editor/PictureEditor.js +180 -0
- package/dist/dist/editor/PictureEditor.js.map +1 -0
- package/dist/dist/editor/PictureEditorDialog.d.ts +8 -0
- package/dist/dist/editor/PictureEditorDialog.js +195 -0
- package/dist/dist/editor/PictureEditorDialog.js.map +1 -0
- package/dist/dist/editor/QuickItemSwitcher.d.ts +9 -0
- package/dist/dist/editor/QuickItemSwitcher.js +78 -0
- package/dist/dist/editor/QuickItemSwitcher.js.map +1 -0
- package/dist/dist/editor/ScrollingContentTree.d.ts +10 -0
- package/dist/dist/editor/ScrollingContentTree.js +48 -0
- package/dist/dist/editor/ScrollingContentTree.js.map +1 -0
- package/dist/dist/editor/SetupLoadingScreen.d.ts +5 -0
- package/dist/dist/editor/SetupLoadingScreen.js +11 -0
- package/dist/dist/editor/SetupLoadingScreen.js.map +1 -0
- package/dist/dist/editor/Titlebar.d.ts +1 -0
- package/dist/dist/editor/Titlebar.js +46 -0
- package/dist/dist/editor/Titlebar.js.map +1 -0
- package/dist/dist/editor/ai/AgentCostDisplay.d.ts +32 -0
- package/dist/dist/editor/ai/AgentCostDisplay.js +93 -0
- package/dist/dist/editor/ai/AgentCostDisplay.js.map +1 -0
- package/dist/dist/editor/ai/AgentDocumentList.d.ts +8 -0
- package/dist/dist/editor/ai/AgentDocumentList.js +132 -0
- package/dist/dist/editor/ai/AgentDocumentList.js.map +1 -0
- package/dist/dist/editor/ai/AgentHistory.d.ts +11 -0
- package/dist/dist/editor/ai/AgentHistory.js +12 -0
- package/dist/dist/editor/ai/AgentHistory.js.map +1 -0
- package/dist/dist/editor/ai/AgentProfilesOverview.d.ts +9 -0
- package/dist/dist/editor/ai/AgentProfilesOverview.js +16 -0
- package/dist/dist/editor/ai/AgentProfilesOverview.js.map +1 -0
- package/dist/dist/editor/ai/AgentStatusBadge.d.ts +26 -0
- package/dist/dist/editor/ai/AgentStatusBadge.js +126 -0
- package/dist/dist/editor/ai/AgentStatusBadge.js.map +1 -0
- package/dist/dist/editor/ai/AgentTerminal.d.ts +14 -0
- package/dist/dist/editor/ai/AgentTerminal.js +3012 -0
- package/dist/dist/editor/ai/AgentTerminal.js.map +1 -0
- package/dist/dist/editor/ai/Agents.d.ts +4 -0
- package/dist/dist/editor/ai/Agents.js +891 -0
- package/dist/dist/editor/ai/Agents.js.map +1 -0
- package/dist/dist/editor/ai/AiResponseMessage.d.ts +18 -0
- package/dist/dist/editor/ai/AiResponseMessage.js +684 -0
- package/dist/dist/editor/ai/AiResponseMessage.js.map +1 -0
- package/dist/dist/editor/ai/ContextInfoBar.d.ts +14 -0
- package/dist/dist/editor/ai/ContextInfoBar.js +432 -0
- package/dist/dist/editor/ai/ContextInfoBar.js.map +1 -0
- package/dist/dist/editor/ai/DancingDots.d.ts +1 -0
- package/dist/dist/editor/ai/DancingDots.js +6 -0
- package/dist/dist/editor/ai/DancingDots.js.map +1 -0
- package/dist/dist/editor/ai/MediaImage.d.ts +6 -0
- package/dist/dist/editor/ai/MediaImage.js +38 -0
- package/dist/dist/editor/ai/MediaImage.js.map +1 -0
- package/dist/dist/editor/ai/ToolCallDisplay.d.ts +45 -0
- package/dist/dist/editor/ai/ToolCallDisplay.js +292 -0
- package/dist/dist/editor/ai/ToolCallDisplay.js.map +1 -0
- package/dist/dist/editor/ai/aiPageModel.d.ts +24 -0
- package/dist/dist/editor/ai/aiPageModel.js +97 -0
- package/dist/dist/editor/ai/aiPageModel.js.map +1 -0
- package/dist/dist/editor/ai/editorAiContext.d.ts +10 -0
- package/dist/dist/editor/ai/editorAiContext.js +10 -0
- package/dist/dist/editor/ai/editorAiContext.js.map +1 -0
- package/dist/dist/editor/ai/types.d.ts +30 -0
- package/dist/dist/editor/ai/types.js +2 -0
- package/dist/dist/editor/ai/types.js.map +1 -0
- package/dist/dist/editor/ai/useAgentStatus.d.ts +14 -0
- package/dist/dist/editor/ai/useAgentStatus.js +203 -0
- package/dist/dist/editor/ai/useAgentStatus.js.map +1 -0
- package/dist/dist/editor/client/AboutDialog.d.ts +2 -0
- package/dist/dist/editor/client/AboutDialog.js +23 -0
- package/dist/dist/editor/client/AboutDialog.js.map +1 -0
- package/dist/dist/editor/client/EditorShell.d.ts +37 -0
- package/dist/dist/editor/client/EditorShell.js +2283 -0
- package/dist/dist/editor/client/EditorShell.js.map +1 -0
- package/dist/dist/editor/client/GenericDialog.d.ts +10 -0
- package/dist/dist/editor/client/GenericDialog.js +25 -0
- package/dist/dist/editor/client/GenericDialog.js.map +1 -0
- package/dist/dist/editor/client/editContext.d.ts +262 -0
- package/dist/dist/editor/client/editContext.js +29 -0
- package/dist/dist/editor/client/editContext.js.map +1 -0
- package/dist/dist/editor/client/fieldModificationStore.d.ts +25 -0
- package/dist/dist/editor/client/fieldModificationStore.js +184 -0
- package/dist/dist/editor/client/fieldModificationStore.js.map +1 -0
- package/dist/dist/editor/client/helpers.d.ts +12 -0
- package/dist/dist/editor/client/helpers.js +29 -0
- package/dist/dist/editor/client/helpers.js.map +1 -0
- package/dist/dist/editor/client/hooks/useEditorUrlSync.d.ts +18 -0
- package/dist/dist/editor/client/hooks/useEditorUrlSync.js +56 -0
- package/dist/dist/editor/client/hooks/useEditorUrlSync.js.map +1 -0
- package/dist/dist/editor/client/hooks/useEditorWebSocket.d.ts +11 -0
- package/dist/dist/editor/client/hooks/useEditorWebSocket.js +86 -0
- package/dist/dist/editor/client/hooks/useEditorWebSocket.js.map +1 -0
- package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.d.ts +1 -0
- package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js +12 -0
- package/dist/dist/editor/client/hooks/useGlobalEditorKeyDown.js.map +1 -0
- package/dist/dist/editor/client/hooks/useMediaQuery.d.ts +1 -0
- package/dist/dist/editor/client/hooks/useMediaQuery.js +19 -0
- package/dist/dist/editor/client/hooks/useMediaQuery.js.map +1 -0
- package/dist/dist/editor/client/hooks/useMediaSelector.d.ts +12 -0
- package/dist/dist/editor/client/hooks/useMediaSelector.js +30 -0
- package/dist/dist/editor/client/hooks/useMediaSelector.js.map +1 -0
- package/dist/dist/editor/client/hooks/useQuota.d.ts +29 -0
- package/dist/dist/editor/client/hooks/useQuota.js +53 -0
- package/dist/dist/editor/client/hooks/useQuota.js.map +1 -0
- package/dist/dist/editor/client/hooks/useSocketMessageHandler.d.ts +35 -0
- package/dist/dist/editor/client/hooks/useSocketMessageHandler.js +241 -0
- package/dist/dist/editor/client/hooks/useSocketMessageHandler.js.map +1 -0
- package/dist/dist/editor/client/hooks/useWorkbox.d.ts +9 -0
- package/dist/dist/editor/client/hooks/useWorkbox.js +52 -0
- package/dist/dist/editor/client/hooks/useWorkbox.js.map +1 -0
- package/dist/dist/editor/client/itemsRepository.d.ts +38 -0
- package/dist/dist/editor/client/itemsRepository.js +482 -0
- package/dist/dist/editor/client/itemsRepository.js.map +1 -0
- package/dist/dist/editor/client/operations.d.ts +69 -0
- package/dist/dist/editor/client/operations.js +633 -0
- package/dist/dist/editor/client/operations.js.map +1 -0
- package/dist/dist/editor/client/pageModelBuilder.d.ts +6 -0
- package/dist/dist/editor/client/pageModelBuilder.js +171 -0
- package/dist/dist/editor/client/pageModelBuilder.js.map +1 -0
- package/dist/dist/editor/client/ui/EditorChrome.d.ts +12 -0
- package/dist/dist/editor/client/ui/EditorChrome.js +30 -0
- package/dist/dist/editor/client/ui/EditorChrome.js.map +1 -0
- package/dist/dist/editor/client/ui/FullscreenControls.d.ts +7 -0
- package/dist/dist/editor/client/ui/FullscreenControls.js +21 -0
- package/dist/dist/editor/client/ui/FullscreenControls.js.map +1 -0
- package/dist/dist/editor/commands/agentCommands.d.ts +9 -0
- package/dist/dist/editor/commands/agentCommands.js +30 -0
- package/dist/dist/editor/commands/agentCommands.js.map +1 -0
- package/dist/dist/editor/commands/commands.d.ts +19 -0
- package/dist/dist/editor/commands/commands.js +2 -0
- package/dist/dist/editor/commands/commands.js.map +1 -0
- package/dist/dist/editor/commands/componentCommands.d.ts +12 -0
- package/dist/dist/editor/commands/componentCommands.js +367 -0
- package/dist/dist/editor/commands/componentCommands.js.map +1 -0
- package/dist/dist/editor/commands/createVersionCommand.d.ts +4 -0
- package/dist/dist/editor/commands/createVersionCommand.js +24 -0
- package/dist/dist/editor/commands/createVersionCommand.js.map +1 -0
- package/dist/dist/editor/commands/deleteVersionCommand.d.ts +4 -0
- package/dist/dist/editor/commands/deleteVersionCommand.js +53 -0
- package/dist/dist/editor/commands/deleteVersionCommand.js.map +1 -0
- package/dist/dist/editor/commands/itemCommands.d.ts +29 -0
- package/dist/dist/editor/commands/itemCommands.js +448 -0
- package/dist/dist/editor/commands/itemCommands.js.map +1 -0
- package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.d.ts +8 -0
- package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js +91 -0
- package/dist/dist/editor/commands/localizeItem/LocalizeItemDialog.js.map +1 -0
- package/dist/dist/editor/commands/undo.d.ts +15 -0
- package/dist/dist/editor/commands/undo.js +29 -0
- package/dist/dist/editor/commands/undo.js.map +1 -0
- package/dist/dist/editor/componentTreeHelper.d.ts +18 -0
- package/dist/dist/editor/componentTreeHelper.js +123 -0
- package/dist/dist/editor/componentTreeHelper.js.map +1 -0
- package/dist/dist/editor/context-menu/CopyMoveMenu.d.ts +7 -0
- package/dist/dist/editor/context-menu/CopyMoveMenu.js +58 -0
- package/dist/dist/editor/context-menu/CopyMoveMenu.js.map +1 -0
- package/dist/dist/editor/context-menu/InsertMenu.d.ts +9 -0
- package/dist/dist/editor/context-menu/InsertMenu.js +229 -0
- package/dist/dist/editor/context-menu/InsertMenu.js.map +1 -0
- package/dist/dist/editor/control-center/About.d.ts +1 -0
- package/dist/dist/editor/control-center/About.js +8 -0
- package/dist/dist/editor/control-center/About.js.map +1 -0
- package/dist/dist/editor/control-center/AllAgentsPanel.d.ts +5 -0
- package/dist/dist/editor/control-center/AllAgentsPanel.js +126 -0
- package/dist/dist/editor/control-center/AllAgentsPanel.js.map +1 -0
- package/dist/dist/editor/control-center/ControlCenterMenu.d.ts +1 -0
- package/dist/dist/editor/control-center/ControlCenterMenu.js +66 -0
- package/dist/dist/editor/control-center/ControlCenterMenu.js.map +1 -0
- package/dist/dist/editor/control-center/IndexOverview.d.ts +1 -0
- package/dist/dist/editor/control-center/IndexOverview.js +323 -0
- package/dist/dist/editor/control-center/IndexOverview.js.map +1 -0
- package/dist/dist/editor/control-center/Info.d.ts +1 -0
- package/dist/dist/editor/control-center/Info.js +10 -0
- package/dist/dist/editor/control-center/Info.js.map +1 -0
- package/dist/dist/editor/control-center/LatestFeedback.d.ts +1 -0
- package/dist/dist/editor/control-center/LatestFeedback.js +136 -0
- package/dist/dist/editor/control-center/LatestFeedback.js.map +1 -0
- package/dist/dist/editor/control-center/QuotaInfo.d.ts +1 -0
- package/dist/dist/editor/control-center/QuotaInfo.js +102 -0
- package/dist/dist/editor/control-center/QuotaInfo.js.map +1 -0
- package/dist/dist/editor/control-center/Setup.d.ts +1 -0
- package/dist/dist/editor/control-center/Setup.js +174 -0
- package/dist/dist/editor/control-center/Setup.js.map +1 -0
- package/dist/dist/editor/control-center/Status.d.ts +1 -0
- package/dist/dist/editor/control-center/Status.js +79 -0
- package/dist/dist/editor/control-center/Status.js.map +1 -0
- package/dist/dist/editor/control-center/WebSocketMessages.d.ts +1 -0
- package/dist/dist/editor/control-center/WebSocketMessages.js +71 -0
- package/dist/dist/editor/control-center/WebSocketMessages.js.map +1 -0
- package/dist/dist/editor/control-center/parhelia-setup/Overview.d.ts +1 -0
- package/dist/dist/editor/control-center/parhelia-setup/Overview.js +91 -0
- package/dist/dist/editor/control-center/parhelia-setup/Overview.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.d.ts +2 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js +195 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/EmbeddingsModelSection.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.d.ts +2 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js +22 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/index.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.d.ts +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js +233 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/provider/ProviderSection.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.d.ts +15 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js +14 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersList.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.d.ts +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js +94 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/required-containers/RequiredContainersSection.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.d.ts +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js +367 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/tools/GenerateToolsSection.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.d.ts +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js +2 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/types.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.d.ts +5 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js +44 -0
- package/dist/dist/editor/control-center/setup-steps/AiSetupStep/utils.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/DbSetupStep.d.ts +2 -0
- package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js +46 -0
- package/dist/dist/editor/control-center/setup-steps/DbSetupStep.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.d.ts +2 -0
- package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js +36 -0
- package/dist/dist/editor/control-center/setup-steps/IndexSetupStep.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.d.ts +2 -0
- package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js +111 -0
- package/dist/dist/editor/control-center/setup-steps/SettingsSetupStep.js.map +1 -0
- package/dist/dist/editor/control-center/setup-steps/SetupOverview.d.ts +14 -0
- package/dist/dist/editor/control-center/setup-steps/SetupOverview.js +38 -0
- package/dist/dist/editor/control-center/setup-steps/SetupOverview.js.map +1 -0
- package/dist/dist/editor/editor-warnings/ItemLocked.d.ts +2 -0
- package/dist/dist/editor/editor-warnings/ItemLocked.js +38 -0
- package/dist/dist/editor/editor-warnings/ItemLocked.js.map +1 -0
- package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.d.ts +2 -0
- package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js +14 -0
- package/dist/dist/editor/editor-warnings/NoLanguageWriteAccess.js.map +1 -0
- package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.d.ts +2 -0
- package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js +14 -0
- package/dist/dist/editor/editor-warnings/NoWorkflowWriteAccess.js.map +1 -0
- package/dist/dist/editor/editor-warnings/NoWriteAccess.d.ts +2 -0
- package/dist/dist/editor/editor-warnings/NoWriteAccess.js +14 -0
- package/dist/dist/editor/editor-warnings/NoWriteAccess.js.map +1 -0
- package/dist/dist/editor/editor-warnings/ValidationErrors.d.ts +2 -0
- package/dist/dist/editor/editor-warnings/ValidationErrors.js +28 -0
- package/dist/dist/editor/editor-warnings/ValidationErrors.js.map +1 -0
- package/dist/dist/editor/field-types/AttachmentEditor.d.ts +9 -0
- package/dist/dist/editor/field-types/AttachmentEditor.js +68 -0
- package/dist/dist/editor/field-types/AttachmentEditor.js.map +1 -0
- package/dist/dist/editor/field-types/CheckboxEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/CheckboxEditor.js +30 -0
- package/dist/dist/editor/field-types/CheckboxEditor.js.map +1 -0
- package/dist/dist/editor/field-types/DateFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/DateFieldEditor.js +93 -0
- package/dist/dist/editor/field-types/DateFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/DateTimeFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/DateTimeFieldEditor.js +151 -0
- package/dist/dist/editor/field-types/DateTimeFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/DropLinkEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/DropLinkEditor.js +42 -0
- package/dist/dist/editor/field-types/DropLinkEditor.js.map +1 -0
- package/dist/dist/editor/field-types/DropListEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/DropListEditor.js +46 -0
- package/dist/dist/editor/field-types/DropListEditor.js.map +1 -0
- package/dist/dist/editor/field-types/ImageFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/ImageFieldEditor.js +34 -0
- package/dist/dist/editor/field-types/ImageFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/InternalLinkFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/InternalLinkFieldEditor.js +172 -0
- package/dist/dist/editor/field-types/InternalLinkFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/LinkFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/LinkFieldEditor.js +62 -0
- package/dist/dist/editor/field-types/LinkFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/MultiLineText.d.ts +7 -0
- package/dist/dist/editor/field-types/MultiLineText.js +48 -0
- package/dist/dist/editor/field-types/MultiLineText.js.map +1 -0
- package/dist/dist/editor/field-types/NameValueListEditor.d.ts +7 -0
- package/dist/dist/editor/field-types/NameValueListEditor.js +101 -0
- package/dist/dist/editor/field-types/NameValueListEditor.js.map +1 -0
- package/dist/dist/editor/field-types/PictureFieldEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/PictureFieldEditor.js +58 -0
- package/dist/dist/editor/field-types/PictureFieldEditor.js.map +1 -0
- package/dist/dist/editor/field-types/RawEditor.d.ts +6 -0
- package/dist/dist/editor/field-types/RawEditor.js +31 -0
- package/dist/dist/editor/field-types/RawEditor.js.map +1 -0
- package/dist/dist/editor/field-types/ReactQuill.d.ts +125 -0
- package/dist/dist/editor/field-types/ReactQuill.js +385 -0
- package/dist/dist/editor/field-types/ReactQuill.js.map +1 -0
- package/dist/dist/editor/field-types/RichTextEditor.d.ts +7 -0
- package/dist/dist/editor/field-types/RichTextEditor.js +21 -0
- package/dist/dist/editor/field-types/RichTextEditor.js.map +1 -0
- package/dist/dist/editor/field-types/RichTextEditorComponent.d.ts +8 -0
- package/dist/dist/editor/field-types/RichTextEditorComponent.js +88 -0
- package/dist/dist/editor/field-types/RichTextEditorComponent.js.map +1 -0
- package/dist/dist/editor/field-types/SingleLineText.d.ts +7 -0
- package/dist/dist/editor/field-types/SingleLineText.js +113 -0
- package/dist/dist/editor/field-types/SingleLineText.js.map +1 -0
- package/dist/dist/editor/field-types/TreeListEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/TreeListEditor.js +387 -0
- package/dist/dist/editor/field-types/TreeListEditor.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/EditorDropdown.css +82 -0
- package/dist/dist/editor/field-types/richtext/components/EditorDropdown.d.ts +11 -0
- package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js +83 -0
- package/dist/dist/editor/field-types/richtext/components/EditorDropdown.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/ReactSlate.css +208 -0
- package/dist/dist/editor/field-types/richtext/components/ReactSlate.d.ts +5 -0
- package/dist/dist/editor/field-types/richtext/components/ReactSlate.js +607 -0
- package/dist/dist/editor/field-types/richtext/components/ReactSlate.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.d.ts +18 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js +71 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleDropdown.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.css +325 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.d.ts +5 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js +359 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleRichTextEditor.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.d.ts +16 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js +181 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbar.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.d.ts +9 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js +14 -0
- package/dist/dist/editor/field-types/richtext/components/SimpleToolbarButton.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/components/ToolbarButton.d.ts +3 -0
- package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js +6 -0
- package/dist/dist/editor/field-types/richtext/components/ToolbarButton.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/config/pluginFactory.d.ts +19 -0
- package/dist/dist/editor/field-types/richtext/config/pluginFactory.js +17 -0
- package/dist/dist/editor/field-types/richtext/config/pluginFactory.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/contextMenuFactory.d.ts +4 -0
- package/dist/dist/editor/field-types/richtext/contextMenuFactory.js +201 -0
- package/dist/dist/editor/field-types/richtext/contextMenuFactory.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.d.ts +68 -0
- package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js +214 -0
- package/dist/dist/editor/field-types/richtext/hooks/useProfileCache.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.d.ts +25 -0
- package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js +64 -0
- package/dist/dist/editor/field-types/richtext/hooks/useRichTextProfile.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/index.d.ts +6 -0
- package/dist/dist/editor/field-types/richtext/index.js +7 -0
- package/dist/dist/editor/field-types/richtext/index.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/types.d.ts +288 -0
- package/dist/dist/editor/field-types/richtext/types.js +107 -0
- package/dist/dist/editor/field-types/richtext/types.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/utils/conversion.d.ts +7 -0
- package/dist/dist/editor/field-types/richtext/utils/conversion.js +762 -0
- package/dist/dist/editor/field-types/richtext/utils/conversion.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/utils/plugins.d.ts +170 -0
- package/dist/dist/editor/field-types/richtext/utils/plugins.js +490 -0
- package/dist/dist/editor/field-types/richtext/utils/plugins.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/utils/profileMapper.d.ts +38 -0
- package/dist/dist/editor/field-types/richtext/utils/profileMapper.js +386 -0
- package/dist/dist/editor/field-types/richtext/utils/profileMapper.js.map +1 -0
- package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.d.ts +37 -0
- package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js +119 -0
- package/dist/dist/editor/field-types/richtext/utils/profileServiceCache.js.map +1 -0
- package/dist/dist/editor/fieldTypes.d.ts +129 -0
- package/dist/dist/editor/fieldTypes.js +2 -0
- package/dist/dist/editor/fieldTypes.js.map +1 -0
- package/dist/dist/editor/hooks/useEditorSettings.d.ts +17 -0
- package/dist/dist/editor/hooks/useEditorSettings.js +61 -0
- package/dist/dist/editor/hooks/useEditorSettings.js.map +1 -0
- package/dist/dist/editor/hooks/useParheliaSettings.d.ts +17 -0
- package/dist/dist/editor/hooks/useParheliaSettings.js +61 -0
- package/dist/dist/editor/hooks/useParheliaSettings.js.map +1 -0
- package/dist/dist/editor/media-selector/AiImageSearch.d.ts +4 -0
- package/dist/dist/editor/media-selector/AiImageSearch.js +164 -0
- package/dist/dist/editor/media-selector/AiImageSearch.js.map +1 -0
- package/dist/dist/editor/media-selector/AiImageSearchPrompt.d.ts +3 -0
- package/dist/dist/editor/media-selector/AiImageSearchPrompt.js +57 -0
- package/dist/dist/editor/media-selector/AiImageSearchPrompt.js.map +1 -0
- package/dist/dist/editor/media-selector/MediaFolderBrowser.d.ts +5 -0
- package/dist/dist/editor/media-selector/MediaFolderBrowser.js +182 -0
- package/dist/dist/editor/media-selector/MediaFolderBrowser.js.map +1 -0
- package/dist/dist/editor/media-selector/MediaSelector.d.ts +9 -0
- package/dist/dist/editor/media-selector/MediaSelector.js +8 -0
- package/dist/dist/editor/media-selector/MediaSelector.js.map +1 -0
- package/dist/dist/editor/media-selector/Preview.d.ts +4 -0
- package/dist/dist/editor/media-selector/Preview.js +19 -0
- package/dist/dist/editor/media-selector/Preview.js.map +1 -0
- package/dist/dist/editor/media-selector/Thumbnails.d.ts +8 -0
- package/dist/dist/editor/media-selector/Thumbnails.js +10 -0
- package/dist/dist/editor/media-selector/Thumbnails.js.map +1 -0
- package/dist/dist/editor/media-selector/TreeSelector.d.ts +7 -0
- package/dist/dist/editor/media-selector/TreeSelector.js +183 -0
- package/dist/dist/editor/media-selector/TreeSelector.js.map +1 -0
- package/dist/dist/editor/media-selector/UploadZone.d.ts +4 -0
- package/dist/dist/editor/media-selector/UploadZone.js +81 -0
- package/dist/dist/editor/media-selector/UploadZone.js.map +1 -0
- package/dist/dist/editor/media-selector/index.d.ts +8 -0
- package/dist/dist/editor/media-selector/index.js +9 -0
- package/dist/dist/editor/media-selector/index.js.map +1 -0
- package/dist/dist/editor/menubar/ActiveUsers.d.ts +1 -0
- package/dist/dist/editor/menubar/ActiveUsers.js +120 -0
- package/dist/dist/editor/menubar/ActiveUsers.js.map +1 -0
- package/dist/dist/editor/menubar/ApproveAndPublish.d.ts +1 -0
- package/dist/dist/editor/menubar/ApproveAndPublish.js +13 -0
- package/dist/dist/editor/menubar/ApproveAndPublish.js.map +1 -0
- package/dist/dist/editor/menubar/FavoritesControls.d.ts +8 -0
- package/dist/dist/editor/menubar/FavoritesControls.js +217 -0
- package/dist/dist/editor/menubar/FavoritesControls.js.map +1 -0
- package/dist/dist/editor/menubar/GenericToolbar.d.ts +11 -0
- package/dist/dist/editor/menubar/GenericToolbar.js +10 -0
- package/dist/dist/editor/menubar/GenericToolbar.js.map +1 -0
- package/dist/dist/editor/menubar/ItemActionsMenu.d.ts +3 -0
- package/dist/dist/editor/menubar/ItemActionsMenu.js +23 -0
- package/dist/dist/editor/menubar/ItemActionsMenu.js.map +1 -0
- package/dist/dist/editor/menubar/ItemLanguageVersion.d.ts +1 -0
- package/dist/dist/editor/menubar/ItemLanguageVersion.js +54 -0
- package/dist/dist/editor/menubar/ItemLanguageVersion.js.map +1 -0
- package/dist/dist/editor/menubar/ItemToolbar.d.ts +1 -0
- package/dist/dist/editor/menubar/ItemToolbar.js +11 -0
- package/dist/dist/editor/menubar/ItemToolbar.js.map +1 -0
- package/dist/dist/editor/menubar/NavButtons.d.ts +1 -0
- package/dist/dist/editor/menubar/NavButtons.js +40 -0
- package/dist/dist/editor/menubar/NavButtons.js.map +1 -0
- package/dist/dist/editor/menubar/PageSelector.d.ts +4 -0
- package/dist/dist/editor/menubar/PageSelector.js +152 -0
- package/dist/dist/editor/menubar/PageSelector.js.map +1 -0
- package/dist/dist/editor/menubar/Separator.d.ts +3 -0
- package/dist/dist/editor/menubar/Separator.js +6 -0
- package/dist/dist/editor/menubar/Separator.js.map +1 -0
- package/dist/dist/editor/menubar/SiteInfo.d.ts +1 -0
- package/dist/dist/editor/menubar/SiteInfo.js +24 -0
- package/dist/dist/editor/menubar/SiteInfo.js.map +1 -0
- package/dist/dist/editor/menubar/ToolbarFactory.d.ts +2 -0
- package/dist/dist/editor/menubar/ToolbarFactory.js +55 -0
- package/dist/dist/editor/menubar/ToolbarFactory.js.map +1 -0
- package/dist/dist/editor/menubar/User.d.ts +4 -0
- package/dist/dist/editor/menubar/User.js +18 -0
- package/dist/dist/editor/menubar/User.js.map +1 -0
- package/dist/dist/editor/menubar/VersionSelector.d.ts +10 -0
- package/dist/dist/editor/menubar/VersionSelector.js +53 -0
- package/dist/dist/editor/menubar/VersionSelector.js.map +1 -0
- package/dist/dist/editor/menubar/WorkflowButton.d.ts +1 -0
- package/dist/dist/editor/menubar/WorkflowButton.js +93 -0
- package/dist/dist/editor/menubar/WorkflowButton.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/CompareControls.d.ts +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js +11 -0
- package/dist/dist/editor/menubar/toolbar-sections/CompareControls.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/EditControls.d.ts +7 -0
- package/dist/dist/editor/menubar/toolbar-sections/EditControls.js +15 -0
- package/dist/dist/editor/menubar/toolbar-sections/EditControls.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/InsertControls.d.ts +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js +15 -0
- package/dist/dist/editor/menubar/toolbar-sections/InsertControls.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.d.ts +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js +41 -0
- package/dist/dist/editor/menubar/toolbar-sections/ReviewCommands.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.d.ts +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js +17 -0
- package/dist/dist/editor/menubar/toolbar-sections/UtilityControls.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.d.ts +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js +21 -0
- package/dist/dist/editor/menubar/toolbar-sections/ViewportControls.js.map +1 -0
- package/dist/dist/editor/menubar/toolbar-sections/index.d.ts +6 -0
- package/dist/dist/editor/menubar/toolbar-sections/index.js +7 -0
- package/dist/dist/editor/menubar/toolbar-sections/index.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlighting.d.ts +6 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js +270 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlighting.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlightings.d.ts +4 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js +15 -0
- package/dist/dist/editor/page-editor-chrome/CommentHighlightings.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.d.ts +4 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js +35 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicator.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.d.ts +1 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js +13 -0
- package/dist/dist/editor/page-editor-chrome/FieldActionIndicators.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.d.ts +8 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js +26 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicator.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.d.ts +6 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js +14 -0
- package/dist/dist/editor/page-editor-chrome/FieldEditedIndicators.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenu.d.ts +7 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenu.js +346 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenu.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenus.d.ts +5 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenus.js +22 -0
- package/dist/dist/editor/page-editor-chrome/FrameMenus.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/InlineEditor.d.ts +5 -0
- package/dist/dist/editor/page-editor-chrome/InlineEditor.js +704 -0
- package/dist/dist/editor/page-editor-chrome/InlineEditor.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.d.ts +1 -0
- package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js +33 -0
- package/dist/dist/editor/page-editor-chrome/LockedFieldIndicator.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/NoLayout.d.ts +1 -0
- package/dist/dist/editor/page-editor-chrome/NoLayout.js +19 -0
- package/dist/dist/editor/page-editor-chrome/NoLayout.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/PageEditorChrome.d.ts +6 -0
- package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js +64 -0
- package/dist/dist/editor/page-editor-chrome/PageEditorChrome.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.d.ts +1 -0
- package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js +190 -0
- package/dist/dist/editor/page-editor-chrome/PictureEditorOverlay.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.d.ts +18 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js +122 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZone.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.d.ts +5 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js +289 -0
- package/dist/dist/editor/page-editor-chrome/PlaceholderDropZones.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.d.ts +6 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js +224 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlighting.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.d.ts +4 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js +16 -0
- package/dist/dist/editor/page-editor-chrome/SuggestionHighlightings.js.map +1 -0
- package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.d.ts +7 -0
- package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js +699 -0
- package/dist/dist/editor/page-editor-chrome/useInlineAICompletion.js.map +1 -0
- package/dist/dist/editor/page-viewer/DeviceToolbar.d.ts +6 -0
- package/dist/dist/editor/page-viewer/DeviceToolbar.js +21 -0
- package/dist/dist/editor/page-viewer/DeviceToolbar.js.map +1 -0
- package/dist/dist/editor/page-viewer/EditorForm.d.ts +8 -0
- package/dist/dist/editor/page-viewer/EditorForm.js +264 -0
- package/dist/dist/editor/page-viewer/EditorForm.js.map +1 -0
- package/dist/dist/editor/page-viewer/EditorFormPopup.d.ts +11 -0
- package/dist/dist/editor/page-viewer/EditorFormPopup.js +41 -0
- package/dist/dist/editor/page-viewer/EditorFormPopup.js.map +1 -0
- package/dist/dist/editor/page-viewer/MiniMap.d.ts +9 -0
- package/dist/dist/editor/page-viewer/MiniMap.js +234 -0
- package/dist/dist/editor/page-viewer/MiniMap.js.map +1 -0
- package/dist/dist/editor/page-viewer/PageViewer.d.ts +10 -0
- package/dist/dist/editor/page-viewer/PageViewer.js +67 -0
- package/dist/dist/editor/page-viewer/PageViewer.js.map +1 -0
- package/dist/dist/editor/page-viewer/PageViewerFrame.d.ts +11 -0
- package/dist/dist/editor/page-viewer/PageViewerFrame.js +846 -0
- package/dist/dist/editor/page-viewer/PageViewerFrame.js.map +1 -0
- package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.d.ts +3 -0
- package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js +349 -0
- package/dist/dist/editor/page-viewer/pageModelSkeletonBuilder.js.map +1 -0
- package/dist/dist/editor/page-viewer/pageViewContext.d.ts +40 -0
- package/dist/dist/editor/page-viewer/pageViewContext.js +155 -0
- package/dist/dist/editor/page-viewer/pageViewContext.js.map +1 -0
- package/dist/dist/editor/pageModel.d.ts +223 -0
- package/dist/dist/editor/pageModel.js +2 -0
- package/dist/dist/editor/pageModel.js.map +1 -0
- package/dist/dist/editor/picture-shared.d.ts +16 -0
- package/dist/dist/editor/picture-shared.js +25 -0
- package/dist/dist/editor/picture-shared.js.map +1 -0
- package/dist/dist/editor/reviews/Comment.d.ts +8 -0
- package/dist/dist/editor/reviews/Comment.js +162 -0
- package/dist/dist/editor/reviews/Comment.js.map +1 -0
- package/dist/dist/editor/reviews/CommentDisplayPopover.d.ts +9 -0
- package/dist/dist/editor/reviews/CommentDisplayPopover.js +104 -0
- package/dist/dist/editor/reviews/CommentDisplayPopover.js.map +1 -0
- package/dist/dist/editor/reviews/CommentEditor.d.ts +20 -0
- package/dist/dist/editor/reviews/CommentEditor.js +57 -0
- package/dist/dist/editor/reviews/CommentEditor.js.map +1 -0
- package/dist/dist/editor/reviews/CommentPopover.d.ts +22 -0
- package/dist/dist/editor/reviews/CommentPopover.js +145 -0
- package/dist/dist/editor/reviews/CommentPopover.js.map +1 -0
- package/dist/dist/editor/reviews/CommentView.d.ts +21 -0
- package/dist/dist/editor/reviews/CommentView.js +52 -0
- package/dist/dist/editor/reviews/CommentView.js.map +1 -0
- package/dist/dist/editor/reviews/Comments.d.ts +3 -0
- package/dist/dist/editor/reviews/Comments.js +118 -0
- package/dist/dist/editor/reviews/Comments.js.map +1 -0
- package/dist/dist/editor/reviews/CreateReviewDialog.d.ts +9 -0
- package/dist/dist/editor/reviews/CreateReviewDialog.js +454 -0
- package/dist/dist/editor/reviews/CreateReviewDialog.js.map +1 -0
- package/dist/dist/editor/reviews/DecisionsMatrix.d.ts +29 -0
- package/dist/dist/editor/reviews/DecisionsMatrix.js +739 -0
- package/dist/dist/editor/reviews/DecisionsMatrix.js.map +1 -0
- package/dist/dist/editor/reviews/DiffView.d.ts +17 -0
- package/dist/dist/editor/reviews/DiffView.js +57 -0
- package/dist/dist/editor/reviews/DiffView.js.map +1 -0
- package/dist/dist/editor/reviews/EditReviewSettingsDialog.d.ts +20 -0
- package/dist/dist/editor/reviews/EditReviewSettingsDialog.js +208 -0
- package/dist/dist/editor/reviews/EditReviewSettingsDialog.js.map +1 -0
- package/dist/dist/editor/reviews/ItemTreeSelector.d.ts +9 -0
- package/dist/dist/editor/reviews/ItemTreeSelector.js +43 -0
- package/dist/dist/editor/reviews/ItemTreeSelector.js.map +1 -0
- package/dist/dist/editor/reviews/MultiReviewManager.d.ts +1 -0
- package/dist/dist/editor/reviews/MultiReviewManager.js +50 -0
- package/dist/dist/editor/reviews/MultiReviewManager.js.map +1 -0
- package/dist/dist/editor/reviews/PagesPanel.d.ts +21 -0
- package/dist/dist/editor/reviews/PagesPanel.js +124 -0
- package/dist/dist/editor/reviews/PagesPanel.js.map +1 -0
- package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.d.ts +9 -0
- package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js +55 -0
- package/dist/dist/editor/reviews/PreconfiguredReviewerSelector.js.map +1 -0
- package/dist/dist/editor/reviews/PreviewInfo.d.ts +1 -0
- package/dist/dist/editor/reviews/PreviewInfo.js +12 -0
- package/dist/dist/editor/reviews/PreviewInfo.js.map +1 -0
- package/dist/dist/editor/reviews/ReviewDetail.d.ts +8 -0
- package/dist/dist/editor/reviews/ReviewDetail.js +189 -0
- package/dist/dist/editor/reviews/ReviewDetail.js.map +1 -0
- package/dist/dist/editor/reviews/ReviewersPanel.d.ts +14 -0
- package/dist/dist/editor/reviews/ReviewersPanel.js +216 -0
- package/dist/dist/editor/reviews/ReviewersPanel.js.map +1 -0
- package/dist/dist/editor/reviews/Reviews.d.ts +1 -0
- package/dist/dist/editor/reviews/Reviews.js +6 -0
- package/dist/dist/editor/reviews/Reviews.js.map +1 -0
- package/dist/dist/editor/reviews/ReviewsList.d.ts +11 -0
- package/dist/dist/editor/reviews/ReviewsList.js +134 -0
- package/dist/dist/editor/reviews/ReviewsList.js.map +1 -0
- package/dist/dist/editor/reviews/SuggestedEdit.d.ts +4 -0
- package/dist/dist/editor/reviews/SuggestedEdit.js +200 -0
- package/dist/dist/editor/reviews/SuggestedEdit.js.map +1 -0
- package/dist/dist/editor/reviews/SuggestionDisplayPopover.d.ts +9 -0
- package/dist/dist/editor/reviews/SuggestionDisplayPopover.js +204 -0
- package/dist/dist/editor/reviews/SuggestionDisplayPopover.js.map +1 -0
- package/dist/dist/editor/reviews/commentAi.d.ts +7 -0
- package/dist/dist/editor/reviews/commentAi.js +100 -0
- package/dist/dist/editor/reviews/commentAi.js.map +1 -0
- package/dist/dist/editor/reviews/reviewCommands.d.ts +3 -0
- package/dist/dist/editor/reviews/reviewCommands.js +38 -0
- package/dist/dist/editor/reviews/reviewCommands.js.map +1 -0
- package/dist/dist/editor/reviews/useMultiReview.d.ts +42 -0
- package/dist/dist/editor/reviews/useMultiReview.js +377 -0
- package/dist/dist/editor/reviews/useMultiReview.js.map +1 -0
- package/dist/dist/editor/reviews/useReviews.d.ts +12 -0
- package/dist/dist/editor/reviews/useReviews.js +43 -0
- package/dist/dist/editor/reviews/useReviews.js.map +1 -0
- package/dist/dist/editor/services/agentService.d.ts +368 -0
- package/dist/dist/editor/services/agentService.js +721 -0
- package/dist/dist/editor/services/agentService.js.map +1 -0
- package/dist/dist/editor/services/aiService.d.ts +111 -0
- package/dist/dist/editor/services/aiService.js +294 -0
- package/dist/dist/editor/services/aiService.js.map +1 -0
- package/dist/dist/editor/services/componentDesignerService.d.ts +46 -0
- package/dist/dist/editor/services/componentDesignerService.js +72 -0
- package/dist/dist/editor/services/componentDesignerService.js.map +1 -0
- package/dist/dist/editor/services/contentService.d.ts +79 -0
- package/dist/dist/editor/services/contentService.js +127 -0
- package/dist/dist/editor/services/contentService.js.map +1 -0
- package/dist/dist/editor/services/contextService.d.ts +26 -0
- package/dist/dist/editor/services/contextService.js +103 -0
- package/dist/dist/editor/services/contextService.js.map +1 -0
- package/dist/dist/editor/services/editService.d.ts +66 -0
- package/dist/dist/editor/services/editService.js +325 -0
- package/dist/dist/editor/services/editService.js.map +1 -0
- package/dist/dist/editor/services/favouritesService.d.ts +47 -0
- package/dist/dist/editor/services/favouritesService.js +28 -0
- package/dist/dist/editor/services/favouritesService.js.map +1 -0
- package/dist/dist/editor/services/iconService.d.ts +8 -0
- package/dist/dist/editor/services/iconService.js +6 -0
- package/dist/dist/editor/services/iconService.js.map +1 -0
- package/dist/dist/editor/services/indexService.d.ts +13 -0
- package/dist/dist/editor/services/indexService.js +45 -0
- package/dist/dist/editor/services/indexService.js.map +1 -0
- package/dist/dist/editor/services/reviewsService.d.ts +53 -0
- package/dist/dist/editor/services/reviewsService.js +130 -0
- package/dist/dist/editor/services/reviewsService.js.map +1 -0
- package/dist/dist/editor/services/searchService.d.ts +17 -0
- package/dist/dist/editor/services/searchService.js +25 -0
- package/dist/dist/editor/services/searchService.js.map +1 -0
- package/dist/dist/editor/services/serviceHelper.d.ts +10 -0
- package/dist/dist/editor/services/serviceHelper.js +118 -0
- package/dist/dist/editor/services/serviceHelper.js.map +1 -0
- package/dist/dist/editor/services/setupService.d.ts +30 -0
- package/dist/dist/editor/services/setupService.js +17 -0
- package/dist/dist/editor/services/setupService.js.map +1 -0
- package/dist/dist/editor/services/suggestedEditsService.d.ts +18 -0
- package/dist/dist/editor/services/suggestedEditsService.js +44 -0
- package/dist/dist/editor/services/suggestedEditsService.js.map +1 -0
- package/dist/dist/editor/services/systemService.d.ts +4 -0
- package/dist/dist/editor/services/systemService.js +11 -0
- package/dist/dist/editor/services/systemService.js.map +1 -0
- package/dist/dist/editor/services-server/api.d.ts +19 -0
- package/dist/dist/editor/services-server/api.js +111 -0
- package/dist/dist/editor/services-server/api.js.map +1 -0
- package/dist/dist/editor/services-server/graphQL.d.ts +29 -0
- package/dist/dist/editor/services-server/graphQL.js +53 -0
- package/dist/dist/editor/services-server/graphQL.js.map +1 -0
- package/dist/dist/editor/sidebar/Completions.d.ts +1 -0
- package/dist/dist/editor/sidebar/Completions.js +55 -0
- package/dist/dist/editor/sidebar/Completions.js.map +1 -0
- package/dist/dist/editor/sidebar/ComponentPalette.d.ts +1 -0
- package/dist/dist/editor/sidebar/ComponentPalette.js +86 -0
- package/dist/dist/editor/sidebar/ComponentPalette.js.map +1 -0
- package/dist/dist/editor/sidebar/ComponentTree.d.ts +1 -0
- package/dist/dist/editor/sidebar/ComponentTree.js +691 -0
- package/dist/dist/editor/sidebar/ComponentTree.js.map +1 -0
- package/dist/dist/editor/sidebar/Debug.d.ts +1 -0
- package/dist/dist/editor/sidebar/Debug.js +71 -0
- package/dist/dist/editor/sidebar/Debug.js.map +1 -0
- package/dist/dist/editor/sidebar/DictionaryEditor.d.ts +1 -0
- package/dist/dist/editor/sidebar/DictionaryEditor.js +158 -0
- package/dist/dist/editor/sidebar/DictionaryEditor.js.map +1 -0
- package/dist/dist/editor/sidebar/Divider.d.ts +6 -0
- package/dist/dist/editor/sidebar/Divider.js +6 -0
- package/dist/dist/editor/sidebar/Divider.js.map +1 -0
- package/dist/dist/editor/sidebar/EditHistory.d.ts +1 -0
- package/dist/dist/editor/sidebar/EditHistory.js +80 -0
- package/dist/dist/editor/sidebar/EditHistory.js.map +1 -0
- package/dist/dist/editor/sidebar/GraphQL.d.ts +2 -0
- package/dist/dist/editor/sidebar/GraphQL.js +234 -0
- package/dist/dist/editor/sidebar/GraphQL.js.map +1 -0
- package/dist/dist/editor/sidebar/Insert.d.ts +1 -0
- package/dist/dist/editor/sidebar/Insert.js +22 -0
- package/dist/dist/editor/sidebar/Insert.js.map +1 -0
- package/dist/dist/editor/sidebar/LeftToolbar.d.ts +1 -0
- package/dist/dist/editor/sidebar/LeftToolbar.js +16 -0
- package/dist/dist/editor/sidebar/LeftToolbar.js.map +1 -0
- package/dist/dist/editor/sidebar/MainContentTree.d.ts +5 -0
- package/dist/dist/editor/sidebar/MainContentTree.js +70 -0
- package/dist/dist/editor/sidebar/MainContentTree.js.map +1 -0
- package/dist/dist/editor/sidebar/Performance.d.ts +1 -0
- package/dist/dist/editor/sidebar/Performance.js +32 -0
- package/dist/dist/editor/sidebar/Performance.js.map +1 -0
- package/dist/dist/editor/sidebar/SEOInfo.d.ts +1 -0
- package/dist/dist/editor/sidebar/SEOInfo.js +158 -0
- package/dist/dist/editor/sidebar/SEOInfo.js.map +1 -0
- package/dist/dist/editor/sidebar/Sessions.d.ts +1 -0
- package/dist/dist/editor/sidebar/Sessions.js +29 -0
- package/dist/dist/editor/sidebar/Sessions.js.map +1 -0
- package/dist/dist/editor/sidebar/Sidebar.d.ts +1 -0
- package/dist/dist/editor/sidebar/Sidebar.js +13 -0
- package/dist/dist/editor/sidebar/Sidebar.js.map +1 -0
- package/dist/dist/editor/sidebar/SidebarView.d.ts +13 -0
- package/dist/dist/editor/sidebar/SidebarView.js +53 -0
- package/dist/dist/editor/sidebar/SidebarView.js.map +1 -0
- package/dist/dist/editor/sidebar/Validation.d.ts +1 -0
- package/dist/dist/editor/sidebar/Validation.js +51 -0
- package/dist/dist/editor/sidebar/Validation.js.map +1 -0
- package/dist/dist/editor/sidebar/ViewSelector.d.ts +4 -0
- package/dist/dist/editor/sidebar/ViewSelector.js +191 -0
- package/dist/dist/editor/sidebar/ViewSelector.js.map +1 -0
- package/dist/dist/editor/sidebar/Workbox.d.ts +1 -0
- package/dist/dist/editor/sidebar/Workbox.js +79 -0
- package/dist/dist/editor/sidebar/Workbox.js.map +1 -0
- package/dist/dist/editor/ui/CenteredMessage.d.ts +3 -0
- package/dist/dist/editor/ui/CenteredMessage.js +5 -0
- package/dist/dist/editor/ui/CenteredMessage.js.map +1 -0
- package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.d.ts +10 -0
- package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js +38 -0
- package/dist/dist/editor/ui/CopyMoveTargetSelectorDialog.js.map +1 -0
- package/dist/dist/editor/ui/DialogButtons.d.ts +4 -0
- package/dist/dist/editor/ui/DialogButtons.js +6 -0
- package/dist/dist/editor/ui/DialogButtons.js.map +1 -0
- package/dist/dist/editor/ui/DragPreview.d.ts +14 -0
- package/dist/dist/editor/ui/DragPreview.js +33 -0
- package/dist/dist/editor/ui/DragPreview.js.map +1 -0
- package/dist/dist/editor/ui/IconSelectorDialog.d.ts +5 -0
- package/dist/dist/editor/ui/IconSelectorDialog.js +239 -0
- package/dist/dist/editor/ui/IconSelectorDialog.js.map +1 -0
- package/dist/dist/editor/ui/Icons.d.ts +74 -0
- package/dist/dist/editor/ui/Icons.js +106 -0
- package/dist/dist/editor/ui/Icons.js.map +1 -0
- package/dist/dist/editor/ui/ItemList.d.ts +16 -0
- package/dist/dist/editor/ui/ItemList.js +19 -0
- package/dist/dist/editor/ui/ItemList.js.map +1 -0
- package/dist/dist/editor/ui/ItemNameDialogNew.d.ts +10 -0
- package/dist/dist/editor/ui/ItemNameDialogNew.js +82 -0
- package/dist/dist/editor/ui/ItemNameDialogNew.js.map +1 -0
- package/dist/dist/editor/ui/ItemSearch.d.ts +25 -0
- package/dist/dist/editor/ui/ItemSearch.js +92 -0
- package/dist/dist/editor/ui/ItemSearch.js.map +1 -0
- package/dist/dist/editor/ui/PerfectTree.d.ts +78 -0
- package/dist/dist/editor/ui/PerfectTree.js +860 -0
- package/dist/dist/editor/ui/PerfectTree.js.map +1 -0
- package/dist/dist/editor/ui/Section.d.ts +4 -0
- package/dist/dist/editor/ui/Section.js +12 -0
- package/dist/dist/editor/ui/Section.js.map +1 -0
- package/dist/dist/editor/ui/SimpleIconButton.d.ts +14 -0
- package/dist/dist/editor/ui/SimpleIconButton.js +15 -0
- package/dist/dist/editor/ui/SimpleIconButton.js.map +1 -0
- package/dist/dist/editor/ui/SimpleMenu.d.ts +6 -0
- package/dist/dist/editor/ui/SimpleMenu.js +7 -0
- package/dist/dist/editor/ui/SimpleMenu.js.map +1 -0
- package/dist/dist/editor/ui/SimpleTable.d.ts +14 -0
- package/dist/dist/editor/ui/SimpleTable.js +9 -0
- package/dist/dist/editor/ui/SimpleTable.js.map +1 -0
- package/dist/dist/editor/ui/SimpleTabs.d.ts +16 -0
- package/dist/dist/editor/ui/SimpleTabs.js +20 -0
- package/dist/dist/editor/ui/SimpleTabs.js.map +1 -0
- package/dist/dist/editor/ui/SimpleToolbar.d.ts +3 -0
- package/dist/dist/editor/ui/SimpleToolbar.js +5 -0
- package/dist/dist/editor/ui/SimpleToolbar.js.map +1 -0
- package/dist/dist/editor/ui/Spinner.d.ts +4 -0
- package/dist/dist/editor/ui/Spinner.js +18 -0
- package/dist/dist/editor/ui/Spinner.js.map +1 -0
- package/dist/dist/editor/ui/Splitter.d.ts +22 -0
- package/dist/dist/editor/ui/Splitter.js +443 -0
- package/dist/dist/editor/ui/Splitter.js.map +1 -0
- package/dist/dist/editor/ui/TemplateSelectorDialog.d.ts +8 -0
- package/dist/dist/editor/ui/TemplateSelectorDialog.js +138 -0
- package/dist/dist/editor/ui/TemplateSelectorDialog.js.map +1 -0
- package/dist/dist/editor/ui/Toolbar.d.ts +3 -0
- package/dist/dist/editor/ui/Toolbar.js +5 -0
- package/dist/dist/editor/ui/Toolbar.js.map +1 -0
- package/dist/dist/editor/utils/id-helper.d.ts +1 -0
- package/dist/dist/editor/utils/id-helper.js +5 -0
- package/dist/dist/editor/utils/id-helper.js.map +1 -0
- package/dist/dist/editor/utils/insertOptions.d.ts +3 -0
- package/dist/dist/editor/utils/insertOptions.js +43 -0
- package/dist/dist/editor/utils/insertOptions.js.map +1 -0
- package/dist/dist/editor/utils/itemConverters.d.ts +3 -0
- package/dist/dist/editor/utils/itemConverters.js +53 -0
- package/dist/dist/editor/utils/itemConverters.js.map +1 -0
- package/dist/dist/editor/utils/itemutils.d.ts +3 -0
- package/dist/dist/editor/utils/itemutils.js +24 -0
- package/dist/dist/editor/utils/itemutils.js.map +1 -0
- package/dist/dist/editor/utils/jsonCleaner.d.ts +8 -0
- package/dist/dist/editor/utils/jsonCleaner.js +76 -0
- package/dist/dist/editor/utils/jsonCleaner.js.map +1 -0
- package/dist/dist/editor/utils/keyboardNavigation.d.ts +34 -0
- package/dist/dist/editor/utils/keyboardNavigation.js +237 -0
- package/dist/dist/editor/utils/keyboardNavigation.js.map +1 -0
- package/dist/dist/editor/utils/urlUtils.d.ts +9 -0
- package/dist/dist/editor/utils/urlUtils.js +25 -0
- package/dist/dist/editor/utils/urlUtils.js.map +1 -0
- package/dist/dist/editor/utils/useMemoDebug.d.ts +1 -0
- package/dist/dist/editor/utils/useMemoDebug.js +18 -0
- package/dist/dist/editor/utils/useMemoDebug.js.map +1 -0
- package/dist/dist/editor/utils.d.ts +65 -0
- package/dist/dist/editor/utils.js +488 -0
- package/dist/dist/editor/utils.js.map +1 -0
- package/dist/dist/editor/views/CompareView.d.ts +1 -0
- package/dist/dist/editor/views/CompareView.js +148 -0
- package/dist/dist/editor/views/CompareView.js.map +1 -0
- package/dist/dist/editor/views/EditView.d.ts +1 -0
- package/dist/dist/editor/views/EditView.js +15 -0
- package/dist/dist/editor/views/EditView.js.map +1 -0
- package/dist/dist/editor/views/ItemEditor.d.ts +7 -0
- package/dist/dist/editor/views/ItemEditor.js +29 -0
- package/dist/dist/editor/views/ItemEditor.js.map +1 -0
- package/dist/dist/editor/views/MediaFolderEditView.d.ts +4 -0
- package/dist/dist/editor/views/MediaFolderEditView.js +40 -0
- package/dist/dist/editor/views/MediaFolderEditView.js.map +1 -0
- package/dist/dist/editor/views/ParheliaView.d.ts +5 -0
- package/dist/dist/editor/views/ParheliaView.js +163 -0
- package/dist/dist/editor/views/ParheliaView.js.map +1 -0
- package/dist/dist/editor/views/SingleEditView.d.ts +9 -0
- package/dist/dist/editor/views/SingleEditView.js +33 -0
- package/dist/dist/editor/views/SingleEditView.js.map +1 -0
- package/dist/dist/images/bg-shape-black.webp +0 -0
- package/dist/dist/images/wizard-bg.png +0 -0
- package/dist/dist/images/wizard-tour.png +0 -0
- package/dist/dist/images/wizard.png +0 -0
- package/dist/dist/index.d.ts +67 -0
- package/dist/dist/index.js +57 -0
- package/dist/dist/index.js.map +1 -0
- package/dist/dist/lib/safelist.d.ts +1 -0
- package/dist/dist/lib/safelist.js +5 -0
- package/dist/dist/lib/safelist.js.map +1 -0
- package/dist/dist/lib/utils.d.ts +2 -0
- package/dist/dist/lib/utils.js +6 -0
- package/dist/dist/lib/utils.js.map +1 -0
- package/dist/dist/revision.d.ts +2 -0
- package/dist/dist/revision.js +3 -0
- package/dist/dist/revision.js.map +1 -0
- package/dist/dist/setup/SetupWizardPage.d.ts +5 -0
- package/dist/dist/setup/SetupWizardPage.js +8 -0
- package/dist/dist/setup/SetupWizardPage.js.map +1 -0
- package/dist/dist/setup/services/setupWizardService.d.ts +89 -0
- package/dist/dist/setup/services/setupWizardService.js +92 -0
- package/dist/dist/setup/services/setupWizardService.js.map +1 -0
- package/dist/dist/setup/utils/modelPricing.d.ts +7 -0
- package/dist/dist/setup/utils/modelPricing.js +106 -0
- package/dist/dist/setup/utils/modelPricing.js.map +1 -0
- package/dist/dist/setup/wizard/SetupWizard.d.ts +27 -0
- package/dist/dist/setup/wizard/SetupWizard.js +92 -0
- package/dist/dist/setup/wizard/SetupWizard.js.map +1 -0
- package/dist/dist/setup/wizard/index.d.ts +6 -0
- package/dist/dist/setup/wizard/index.js +6 -0
- package/dist/dist/setup/wizard/index.js.map +1 -0
- package/dist/dist/setup/wizard/steps/AgentsStep.d.ts +2 -0
- package/dist/dist/setup/wizard/steps/AgentsStep.js +117 -0
- package/dist/dist/setup/wizard/steps/AgentsStep.js.map +1 -0
- package/dist/dist/setup/wizard/steps/EndpointsStep.d.ts +2 -0
- package/dist/dist/setup/wizard/steps/EndpointsStep.js +94 -0
- package/dist/dist/setup/wizard/steps/EndpointsStep.js.map +1 -0
- package/dist/dist/setup/wizard/steps/ModelsStep.d.ts +2 -0
- package/dist/dist/setup/wizard/steps/ModelsStep.js +287 -0
- package/dist/dist/setup/wizard/steps/ModelsStep.js.map +1 -0
- package/dist/dist/setup/wizard/steps/SearchStep.d.ts +2 -0
- package/dist/dist/setup/wizard/steps/SearchStep.js +95 -0
- package/dist/dist/setup/wizard/steps/SearchStep.js.map +1 -0
- package/dist/dist/splash-screen/ModernSplashScreen.d.ts +8 -0
- package/dist/dist/splash-screen/ModernSplashScreen.js +36 -0
- package/dist/dist/splash-screen/ModernSplashScreen.js.map +1 -0
- package/dist/dist/splash-screen/NewPage.d.ts +3 -0
- package/dist/dist/splash-screen/NewPage.js +145 -0
- package/dist/dist/splash-screen/NewPage.js.map +1 -0
- package/dist/dist/splash-screen/OpenPage.d.ts +1 -0
- package/dist/dist/splash-screen/OpenPage.js +56 -0
- package/dist/dist/splash-screen/OpenPage.js.map +1 -0
- package/dist/dist/splash-screen/ParheliaAssistantChat.d.ts +8 -0
- package/dist/dist/splash-screen/ParheliaAssistantChat.js +169 -0
- package/dist/dist/splash-screen/ParheliaAssistantChat.js.map +1 -0
- package/dist/dist/splash-screen/ParheliaLogo.d.ts +5 -0
- package/dist/dist/splash-screen/ParheliaLogo.js +71 -0
- package/dist/dist/splash-screen/ParheliaLogo.js.map +1 -0
- package/dist/dist/splash-screen/RecentAgents.d.ts +7 -0
- package/dist/dist/splash-screen/RecentAgents.js +76 -0
- package/dist/dist/splash-screen/RecentAgents.js.map +1 -0
- package/dist/dist/splash-screen/RecentPages.d.ts +1 -0
- package/dist/dist/splash-screen/RecentPages.js +59 -0
- package/dist/dist/splash-screen/RecentPages.js.map +1 -0
- package/dist/dist/splash-screen/SectionHeadline.d.ts +4 -0
- package/dist/dist/splash-screen/SectionHeadline.js +7 -0
- package/dist/dist/splash-screen/SectionHeadline.js.map +1 -0
- package/dist/dist/styles.css +6035 -0
- package/dist/dist/tour/Tour.d.ts +3 -0
- package/dist/dist/tour/Tour.js +426 -0
- package/dist/dist/tour/Tour.js.map +1 -0
- package/dist/dist/tour/default-tour.d.ts +9 -0
- package/dist/dist/tour/default-tour.js +302 -0
- package/dist/dist/tour/default-tour.js.map +1 -0
- package/dist/dist/tour/preview-tour.d.ts +2 -0
- package/dist/dist/tour/preview-tour.js +93 -0
- package/dist/dist/tour/preview-tour.js.map +1 -0
- package/dist/dist/types.d.ts +490 -0
- package/dist/dist/types.js +2 -0
- package/dist/dist/types.js.map +1 -0
- package/dist/editor/control-center/parhelia-setup/Overview.d.ts +1 -0
- package/dist/editor/control-center/parhelia-setup/Overview.js +91 -0
- package/dist/editor/control-center/parhelia-setup/Overview.js.map +1 -0
- package/dist/editor/hooks/useEditorSettings.d.ts +17 -0
- package/dist/editor/hooks/useEditorSettings.js +61 -0
- package/dist/editor/hooks/useEditorSettings.js.map +1 -0
- package/dist/editor/page-viewer/EditorFormPopup.d.ts +11 -0
- package/dist/editor/page-viewer/EditorFormPopup.js +41 -0
- package/dist/editor/page-viewer/EditorFormPopup.js.map +1 -0
- package/dist/revision.d.ts +2 -2
- package/dist/revision.js +2 -2
- package/dist/revision.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Agent } from "../editor/services/agentService";
|
|
3
|
+
interface AgentCardProps {
|
|
4
|
+
agent: Agent;
|
|
5
|
+
onClick: (agent: Agent) => void;
|
|
6
|
+
onResume: (agent: Agent) => void;
|
|
7
|
+
onClose: (agentId: string, agentName: string) => void;
|
|
8
|
+
onDelete: (agentId: string, agentName: string, event: React.MouseEvent) => void;
|
|
9
|
+
formatDateTime: (dateString: string) => string;
|
|
10
|
+
}
|
|
11
|
+
export declare function AgentCard({ agent, onClick, onResume, onClose, onDelete, formatDateTime, }: AgentCardProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { getAgentStatusConfig } from "../editor/ai/AgentStatusBadge";
|
|
3
|
+
import { cn } from "../lib/utils";
|
|
4
|
+
import { Trash, X, Play, Users } from "lucide-react";
|
|
5
|
+
import { SimpleIconButton } from "../editor/ui/SimpleIconButton";
|
|
6
|
+
import { SecretAgentIcon } from "../editor/ui/Icons";
|
|
7
|
+
export function AgentCard({ agent, onClick, onResume, onClose, onDelete, formatDateTime, }) {
|
|
8
|
+
const statusConfig = getAgentStatusConfig(agent);
|
|
9
|
+
const isClosed = agent.status === "closed" || agent.status === 5;
|
|
10
|
+
const handleCardClick = () => {
|
|
11
|
+
if (isClosed) {
|
|
12
|
+
// If agent is closed, resume it directly
|
|
13
|
+
onResume(agent);
|
|
14
|
+
}
|
|
15
|
+
else {
|
|
16
|
+
// If agent is active, just select it
|
|
17
|
+
onClick(agent);
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
return (_jsx("div", { className: "cursor-pointer rounded-lg border border-gray-200 bg-white p-3 shadow-sm transition-shadow hover:shadow-md", onClick: handleCardClick, children: _jsxs("div", { className: "flex items-start justify-between", children: [_jsx("div", { className: "mr-3 flex-shrink-0", children: agent.profileSvgIcon ? (_jsx("div", { className: "flex h-6 w-6 items-center justify-center text-gray-400 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: {
|
|
21
|
+
__html: agent.profileSvgIcon,
|
|
22
|
+
} })) : (_jsx(SecretAgentIcon, { size: 24, strokeWidth: 1, className: "text-gray-400" })) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsxs("div", { className: "mb-1 flex items-center gap-2", children: [_jsx("div", { className: cn("h-2 w-2 flex-shrink-0 rounded-full", statusConfig.color, statusConfig.shouldPulse && "animate-pulse"), title: statusConfig.label }), _jsx("h4", { className: "truncate font-medium text-gray-900", children: agent.name }), agent.isShared && (_jsxs("div", { className: "flex items-center gap-1 rounded bg-blue-50 px-2 py-0.5 text-xs text-blue-700", children: [_jsx(Users, { className: "size-3", strokeWidth: 1 }), _jsx("span", { children: "Shared" })] }))] }), agent.isShared && agent.ownerName && (_jsxs("p", { className: "mb-1 text-xs text-gray-500", children: ["Created by ", agent.ownerName] })), agent.description && (_jsx("p", { className: "mb-2 truncate text-xs text-gray-500", children: agent.description })), _jsxs("div", { className: "space-y-1 text-xs text-gray-600", children: [_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Updated:" }), _jsx("span", { children: formatDateTime(agent.updatedDate) })] }), agent.messageCount !== undefined && agent.messageCount > 0 && (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Messages:" }), _jsx("span", { children: agent.messageCount })] })), agent.totalCost !== undefined && agent.totalCost > 0 && (_jsxs("div", { className: "flex items-center gap-2", children: [_jsx("span", { className: "font-medium", children: "Cost:" }), _jsxs("span", { children: ["$", agent.totalCost.toFixed(2)] })] }))] })] }), _jsxs("div", { className: "ml-3 flex gap-1", children: [isClosed && (_jsx(SimpleIconButton, { onClick: (e) => {
|
|
23
|
+
e.stopPropagation();
|
|
24
|
+
onResume(agent);
|
|
25
|
+
}, icon: _jsx(Play, { className: "size-3", strokeWidth: 1.5 }), label: "Resume Agent", className: "text-blue-600 opacity-60 hover:text-blue-700 hover:opacity-100" })), !isClosed && (_jsx(SimpleIconButton, { onClick: (e) => {
|
|
26
|
+
e.stopPropagation();
|
|
27
|
+
onClose(agent.id, agent.name);
|
|
28
|
+
}, icon: _jsx(X, { className: "size-3", strokeWidth: 1.5 }), label: "Close Agent", className: "text-gray-600 opacity-60 hover:text-gray-800 hover:opacity-100" })), _jsx(SimpleIconButton, { onClick: (e) => onDelete(agent.id, agent.name, e), icon: _jsx(Trash, { className: "size-3", strokeWidth: 1.5 }), label: "Delete Agent", className: "text-red-600 opacity-60 hover:text-red-700 hover:opacity-100" })] })] }) }, agent.id));
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=AgentCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentCard.js","sourceRoot":"","sources":["../../src/agents-view/AgentCard.tsx"],"names":[],"mappings":";AAEA,OAA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,iBAAiB,aAC7B,QAAQ,IAAI,CACX,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,QAAQ,CAAC,KAAK,CAAC,CAAC;4BAClB,CAAC,EACD,IAAI,EAAE,KAAC,IAAI,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EACnD,KAAK,EAAC,cAAc,EACpB,SAAS,EAAC,gEAAgE,GAC1E,CACH,EACA,CAAC,QAAQ,IAAI,CACZ,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,OAAO,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,CAAC,CAAC;4BAChC,CAAC,EACD,IAAI,EAAE,KAAC,CAAC,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EAChD,KAAK,EAAC,aAAa,EACnB,SAAS,EAAC,gEAAgE,GAC1E,CACH,EACD,KAAC,gBAAgB,IACf,OAAO,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE,EAAE,KAAK,CAAC,IAAI,EAAE,CAAC,CAAC,EACjD,IAAI,EAAE,KAAC,KAAK,IAAC,SAAS,EAAC,QAAQ,EAAC,WAAW,EAAE,GAAG,GAAI,EACpD,KAAK,EAAC,cAAc,EACpB,SAAS,EAAC,8DAA8D,GACxE,IACE,IACF,IA7GD,KAAK,CAAC,EAAE,CA8GT,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { useState, useEffect, useCallback } from "react";
|
|
3
|
+
import { getAgentsGrouped, getClosedAgentsByProfile, closeAgent, deleteAgent, } from "../editor/services/agentService";
|
|
4
|
+
import { cn } from "../lib/utils";
|
|
5
|
+
import { RefreshCw } from "lucide-react";
|
|
6
|
+
import { SimpleIconButton } from "../editor/ui/SimpleIconButton";
|
|
7
|
+
import { FilterInput } from "../components/FilterInput";
|
|
8
|
+
import { useEditContext } from "../editor/client/editContext";
|
|
9
|
+
import { AgentCard } from "./AgentCard";
|
|
10
|
+
import { ProfileAgentsGroup } from "./ProfileAgentsGroup";
|
|
11
|
+
import { Checkbox } from "../components/ui/checkbox";
|
|
12
|
+
/**
|
|
13
|
+
* Agents overview view that displays active agents at the top
|
|
14
|
+
* and closed agents grouped by profile below with interactive controls
|
|
15
|
+
*/
|
|
16
|
+
export function AgentsView() {
|
|
17
|
+
const editContext = useEditContext();
|
|
18
|
+
const [activeAgents, setActiveAgents] = useState([]);
|
|
19
|
+
const [profileGroups, setProfileGroups] = useState([]);
|
|
20
|
+
const [expandedProfiles, setExpandedProfiles] = useState(new Set());
|
|
21
|
+
const [loadingMoreForProfile, setLoadingMoreForProfile] = useState(null);
|
|
22
|
+
const [loading, setLoading] = useState(true);
|
|
23
|
+
const [initialLoad, setInitialLoad] = useState(true);
|
|
24
|
+
const [error, setError] = useState(null);
|
|
25
|
+
const [refreshing, setRefreshing] = useState(false);
|
|
26
|
+
const [searchTerm, setSearchTerm] = useState("");
|
|
27
|
+
const [debouncedSearchTerm, setDebouncedSearchTerm] = useState("");
|
|
28
|
+
const [showOnlyMyAgents, setShowOnlyMyAgents] = useState(false);
|
|
29
|
+
// Debounce search term
|
|
30
|
+
useEffect(() => {
|
|
31
|
+
const timer = setTimeout(() => {
|
|
32
|
+
setDebouncedSearchTerm(searchTerm);
|
|
33
|
+
}, 400);
|
|
34
|
+
return () => clearTimeout(timer);
|
|
35
|
+
}, [searchTerm]);
|
|
36
|
+
const loadAgents = useCallback(async () => {
|
|
37
|
+
try {
|
|
38
|
+
setLoading(true);
|
|
39
|
+
setError(null);
|
|
40
|
+
const response = await getAgentsGrouped(debouncedSearchTerm || undefined, !showOnlyMyAgents, // includeShared
|
|
41
|
+
true);
|
|
42
|
+
setActiveAgents(response.activeAgents);
|
|
43
|
+
setProfileGroups(response.closedAgentsByProfile);
|
|
44
|
+
}
|
|
45
|
+
catch (err) {
|
|
46
|
+
console.error("Failed to load agents:", err);
|
|
47
|
+
setError(err?.message || "Failed to load agents. Please try again later.");
|
|
48
|
+
}
|
|
49
|
+
finally {
|
|
50
|
+
setLoading(false);
|
|
51
|
+
setRefreshing(false);
|
|
52
|
+
setInitialLoad(false);
|
|
53
|
+
}
|
|
54
|
+
}, [showOnlyMyAgents, debouncedSearchTerm]);
|
|
55
|
+
// Initial load and reload when filters change
|
|
56
|
+
useEffect(() => {
|
|
57
|
+
loadAgents();
|
|
58
|
+
}, [loadAgents]);
|
|
59
|
+
// Subscribe to websocket messages for real-time agent updates
|
|
60
|
+
useEffect(() => {
|
|
61
|
+
if (!editContext?.addSocketMessageListener)
|
|
62
|
+
return;
|
|
63
|
+
const unsubscribe = editContext.addSocketMessageListener((message) => {
|
|
64
|
+
if (message.type === "agent:run:start") {
|
|
65
|
+
const { agentId, agentName } = message.payload;
|
|
66
|
+
if (!agentId || !agentName) {
|
|
67
|
+
console.warn("Invalid agent:run:start message payload:", message.payload);
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
// Update or add agent in active agents list
|
|
71
|
+
setActiveAgents((prevAgents) => {
|
|
72
|
+
const existingAgentIndex = prevAgents.findIndex((agent) => agent.id === agentId);
|
|
73
|
+
if (existingAgentIndex !== -1) {
|
|
74
|
+
// Update existing agent
|
|
75
|
+
const updatedAgents = [...prevAgents];
|
|
76
|
+
const existingAgent = updatedAgents[existingAgentIndex];
|
|
77
|
+
updatedAgents[existingAgentIndex] = {
|
|
78
|
+
...existingAgent,
|
|
79
|
+
name: agentName,
|
|
80
|
+
status: "running",
|
|
81
|
+
updatedDate: new Date().toISOString(),
|
|
82
|
+
};
|
|
83
|
+
return updatedAgents;
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
// Agent not found - reload to get full details
|
|
87
|
+
loadAgents();
|
|
88
|
+
return prevAgents;
|
|
89
|
+
}
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
else if (message.type === "agent:info:updated") {
|
|
93
|
+
const { agentId, agentName, agentDescription } = message.payload || {};
|
|
94
|
+
if (!agentId)
|
|
95
|
+
return;
|
|
96
|
+
// Update agent in active agents list
|
|
97
|
+
setActiveAgents((prevAgents) => {
|
|
98
|
+
const existingIndex = prevAgents.findIndex((a) => a.id === agentId);
|
|
99
|
+
if (existingIndex === -1)
|
|
100
|
+
return prevAgents;
|
|
101
|
+
const updatedAgents = [...prevAgents];
|
|
102
|
+
const existingAgent = updatedAgents[existingIndex];
|
|
103
|
+
updatedAgents[existingIndex] = {
|
|
104
|
+
...existingAgent,
|
|
105
|
+
...(agentName !== undefined && { name: agentName }),
|
|
106
|
+
...(agentDescription !== undefined && {
|
|
107
|
+
description: agentDescription,
|
|
108
|
+
}),
|
|
109
|
+
updatedDate: new Date().toISOString(),
|
|
110
|
+
};
|
|
111
|
+
return updatedAgents;
|
|
112
|
+
});
|
|
113
|
+
}
|
|
114
|
+
else if (message.type === "agent:run:closed") {
|
|
115
|
+
// Reload agents when one is closed - it should move to closed section
|
|
116
|
+
loadAgents();
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
return unsubscribe;
|
|
120
|
+
}, [editContext?.addSocketMessageListener, loadAgents]);
|
|
121
|
+
const handleRefresh = async () => {
|
|
122
|
+
setRefreshing(true);
|
|
123
|
+
await loadAgents();
|
|
124
|
+
};
|
|
125
|
+
const handleToggleProfile = (profileId) => {
|
|
126
|
+
const key = profileId || "null";
|
|
127
|
+
setExpandedProfiles((prev) => {
|
|
128
|
+
const newSet = new Set(prev);
|
|
129
|
+
if (newSet.has(key)) {
|
|
130
|
+
newSet.delete(key);
|
|
131
|
+
}
|
|
132
|
+
else {
|
|
133
|
+
newSet.add(key);
|
|
134
|
+
}
|
|
135
|
+
return newSet;
|
|
136
|
+
});
|
|
137
|
+
};
|
|
138
|
+
const handleLoadMoreForProfile = async (profileId) => {
|
|
139
|
+
if (!profileId || loadingMoreForProfile)
|
|
140
|
+
return;
|
|
141
|
+
try {
|
|
142
|
+
setLoadingMoreForProfile(profileId);
|
|
143
|
+
// Find the current profile group
|
|
144
|
+
const profileGroup = profileGroups.find((g) => g.profileId === profileId);
|
|
145
|
+
if (!profileGroup)
|
|
146
|
+
return;
|
|
147
|
+
const currentCount = profileGroup.agents.length;
|
|
148
|
+
// Load more agents for this profile
|
|
149
|
+
const response = await getClosedAgentsByProfile(profileId, currentCount, 10, debouncedSearchTerm || undefined);
|
|
150
|
+
// Update the profile group with new agents
|
|
151
|
+
setProfileGroups((prevGroups) => prevGroups.map((group) => {
|
|
152
|
+
if (group.profileId === profileId) {
|
|
153
|
+
return {
|
|
154
|
+
...group,
|
|
155
|
+
agents: [...group.agents, ...response.agents],
|
|
156
|
+
};
|
|
157
|
+
}
|
|
158
|
+
return group;
|
|
159
|
+
}));
|
|
160
|
+
}
|
|
161
|
+
catch (err) {
|
|
162
|
+
console.error("Failed to load more agents:", err);
|
|
163
|
+
editContext?.showToast(`Failed to load more agents: ${err?.message || "Unknown error"}`);
|
|
164
|
+
}
|
|
165
|
+
finally {
|
|
166
|
+
setLoadingMoreForProfile(null);
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
const handleResumeAgent = (agent) => {
|
|
170
|
+
// Ensure agents panel is visible, but don't switch views
|
|
171
|
+
editContext?.setShowAgentsPanel?.(true);
|
|
172
|
+
// Delay briefly for any UI updates, then dispatch event to open existing agent
|
|
173
|
+
setTimeout(() => {
|
|
174
|
+
window.dispatchEvent(new CustomEvent("editor:openAgent", {
|
|
175
|
+
detail: { agentId: agent.id },
|
|
176
|
+
}));
|
|
177
|
+
}, 100);
|
|
178
|
+
};
|
|
179
|
+
const handleCloseAgent = async (agentId, agentName) => {
|
|
180
|
+
editContext?.confirm({
|
|
181
|
+
header: "Close Agent",
|
|
182
|
+
message: `Are you sure you want to close "${agentName}"? This will stop its execution if running.`,
|
|
183
|
+
acceptLabel: "Close Agent",
|
|
184
|
+
accept: async () => {
|
|
185
|
+
try {
|
|
186
|
+
await closeAgent(agentId);
|
|
187
|
+
// Reload to move agent from active to closed section
|
|
188
|
+
loadAgents();
|
|
189
|
+
}
|
|
190
|
+
catch (err) {
|
|
191
|
+
console.error("Failed to close agent:", err);
|
|
192
|
+
editContext?.showToast(`Failed to close agent: ${err?.message || "Unknown error"}`);
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
showCancel: true,
|
|
196
|
+
});
|
|
197
|
+
};
|
|
198
|
+
const handleDeleteAgent = async (agentId, agentName, event) => {
|
|
199
|
+
event.stopPropagation();
|
|
200
|
+
editContext?.confirm({
|
|
201
|
+
header: "Delete Agent",
|
|
202
|
+
message: `Are you sure you want to permanently delete "${agentName}"? This action cannot be undone.`,
|
|
203
|
+
acceptLabel: "Delete Agent",
|
|
204
|
+
accept: async () => {
|
|
205
|
+
try {
|
|
206
|
+
await deleteAgent(agentId);
|
|
207
|
+
// Remove from both active and closed lists
|
|
208
|
+
setActiveAgents((prev) => prev.filter((a) => a.id !== agentId));
|
|
209
|
+
setProfileGroups((prevGroups) => prevGroups.map((group) => ({
|
|
210
|
+
...group,
|
|
211
|
+
agents: group.agents.filter((a) => a.id !== agentId),
|
|
212
|
+
totalClosedCount: Math.max(0, group.totalClosedCount - 1),
|
|
213
|
+
})));
|
|
214
|
+
}
|
|
215
|
+
catch (err) {
|
|
216
|
+
console.error("Failed to delete agent:", err);
|
|
217
|
+
editContext?.showToast(`Failed to delete agent: ${err?.message || "Unknown error"}`);
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
showCancel: true,
|
|
221
|
+
});
|
|
222
|
+
};
|
|
223
|
+
const handleAgentClick = (agent) => {
|
|
224
|
+
// Only select the agent in the agents panel; do not switch views
|
|
225
|
+
window.dispatchEvent(new CustomEvent("editor:selectAgent", {
|
|
226
|
+
detail: { agentId: agent.id },
|
|
227
|
+
}));
|
|
228
|
+
};
|
|
229
|
+
const formatDateTime = (dateString) => {
|
|
230
|
+
try {
|
|
231
|
+
const date = new Date(dateString);
|
|
232
|
+
return date.toLocaleString();
|
|
233
|
+
}
|
|
234
|
+
catch {
|
|
235
|
+
return dateString;
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
// Show full-screen loading only on initial load
|
|
239
|
+
if (initialLoad && loading) {
|
|
240
|
+
return (_jsx("div", { className: "flex h-full items-center justify-center", children: _jsx("div", { className: "text-sm text-gray-500", children: "Loading agents..." }) }));
|
|
241
|
+
}
|
|
242
|
+
const totalActiveCount = activeAgents.length;
|
|
243
|
+
const totalClosedCount = profileGroups.reduce((sum, group) => sum + group.totalClosedCount, 0);
|
|
244
|
+
const totalCount = totalActiveCount + totalClosedCount;
|
|
245
|
+
return (_jsxs("div", { className: "absolute inset-0 flex flex-col", children: [_jsxs("div", { className: "flex-shrink-0 border-b border-gray-200 bg-white p-4", children: [_jsxs("div", { className: "mb-3 flex items-center justify-between", children: [_jsxs("div", { children: [_jsx("h2", { className: "text-md font-semibold text-dark", children: "Agents" }), _jsxs("p", { className: "text-xs text-gray-500", children: [totalActiveCount, " active, ", totalClosedCount, " closed (", totalCount, " ", "total)"] })] }), _jsx("div", { className: "flex items-center gap-2", children: _jsx(SimpleIconButton, { onClick: handleRefresh, icon: _jsx(RefreshCw, { className: cn("size-4", refreshing && "animate-spin"), strokeWidth: 1 }), label: "Refresh", disabled: refreshing, className: "text-gray-600 hover:text-gray-800" }) })] }), _jsx("div", { className: "mb-3", children: _jsxs("label", { className: "flex cursor-pointer items-center gap-2 text-sm", children: [_jsx(Checkbox, { checked: showOnlyMyAgents, onCheckedChange: (checked) => setShowOnlyMyAgents(checked === true) }), _jsx("span", { className: "text-gray-700", children: "Show only my agents" })] }) }), _jsx(FilterInput, { value: searchTerm, onChange: setSearchTerm, placeholder: "Search by name or description...", loading: loading && !initialLoad, size: "md" })] }), _jsxs("div", { className: "relative flex-1 overflow-y-auto", children: [loading && !initialLoad && (_jsx("div", { className: "absolute top-2 left-1/2 z-10 -translate-x-1/2 rounded-md bg-white px-3 py-1.5 shadow-md", children: _jsxs("div", { className: "flex items-center gap-2 text-sm text-gray-600", children: [_jsx(RefreshCw, { className: "size-3 animate-spin", strokeWidth: 1 }), _jsx("span", { children: "Loading..." })] }) })), error ? (_jsx("div", { className: "flex h-full items-center justify-center", children: _jsxs("div", { className: "max-w-md text-center", children: [_jsx("div", { className: "mb-4 text-sm text-red-600", children: error }), _jsx("button", { onClick: handleRefresh, className: "rounded bg-blue-500 px-4 py-2 text-xs text-white hover:bg-blue-600", children: "Retry" })] }) })) : totalCount === 0 && !loading ? (_jsx("div", { className: "flex h-full items-center justify-center text-sm text-gray-500", children: searchTerm.trim()
|
|
246
|
+
? "No agents match your search"
|
|
247
|
+
: "No agents found" })) : (_jsxs("div", { className: cn("space-y-4 p-4", loading && "opacity-60"), children: [activeAgents.length > 0 && (_jsxs("div", { className: "space-y-2", children: [_jsx("h3", { className: "text-sm font-semibold text-gray-700", children: "Active Agents" }), activeAgents.map((agent) => (_jsx(AgentCard, { agent: agent, onClick: handleAgentClick, onResume: handleResumeAgent, onClose: handleCloseAgent, onDelete: handleDeleteAgent, formatDateTime: formatDateTime }, agent.id)))] })), profileGroups.length > 0 && (_jsxs("div", { className: "space-y-2", children: [_jsx("h3", { className: "text-sm font-semibold text-gray-700", children: "Closed Agents by Profile" }), profileGroups.map((profileGroup) => {
|
|
248
|
+
const profileKey = profileGroup.profileId || "null";
|
|
249
|
+
const isExpanded = expandedProfiles.has(profileKey);
|
|
250
|
+
const isLoadingMore = loadingMoreForProfile === profileGroup.profileId;
|
|
251
|
+
const hasMore = profileGroup.agents.length < profileGroup.totalClosedCount;
|
|
252
|
+
return (_jsx(ProfileAgentsGroup, { profileGroup: profileGroup, isExpanded: isExpanded, isLoadingMore: isLoadingMore, hasMore: hasMore, onToggle: () => handleToggleProfile(profileGroup.profileId), onLoadMore: () => handleLoadMoreForProfile(profileGroup.profileId), onAgentClick: handleAgentClick, onResumeAgent: handleResumeAgent, onCloseAgent: handleCloseAgent, onDeleteAgent: handleDeleteAgent, formatDateTime: formatDateTime }, profileKey));
|
|
253
|
+
})] }))] }))] })] }));
|
|
254
|
+
}
|
|
255
|
+
//# sourceMappingURL=AgentsView.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AgentsView.js","sourceRoot":"","sources":["../../src/agents-view/AgentsView.tsx"],"names":[],"mappings":";AAAA,OAAc,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AAChE,OAAO,EAEL,gBAAgB,EAChB,wBAAwB,EAExB,UAAU,EACV,WAAW,GACZ,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAClC,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,+BAA+B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,OAAO,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAC;AAErD;;;GAGG;AACH,MAAM,UAAU,UAAU;IACxB,MAAM,WAAW,GAAG,cAAc,EAAE,CAAC;IACrC,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,GAAG,QAAQ,CAAU,EAAE,CAAC,CAAC;IAC9D,MAAM,CAAC,aAAa,EAAE,gBAAgB,CAAC,GAAG,QAAQ,CAAiB,EAAE,CAAC,CAAC;IACvE,MAAM,CAAC,gBAAgB,EAAE,mBAAmB,CAAC,GAAG,QAAQ,CACtD,IAAI,GAAG,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a,CAAC,MAAM,GAAG,CAAC,IAAI,CAC3B,eAAK,SAAS,EAAC,WAAW,aACxB,aAAI,SAAS,EAAC,qCAAqC,yCAE9C,EACJ,aAAa,CAAC,GAAG,CAAC,CAAC,YAAY,EAAE,EAAE;wCAClC,MAAM,UAAU,GAAG,YAAY,CAAC,SAAS,IAAI,MAAM,CAAC;wCACpD,MAAM,UAAU,GAAG,gBAAgB,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;wCACpD,MAAM,aAAa,GACjB,qBAAqB,KAAK,YAAY,CAAC,SAAS,CAAC;wCACnD,MAAM,OAAO,GACX,YAAY,CAAC,MAAM,CAAC,MAAM,GAAG,YAAY,CAAC,gBAAgB,CAAC;wCAE7D,OAAO,CACL,KAAC,kBAAkB,IAEjB,YAAY,EAAE,YAAY,EAC1B,UAAU,EAAE,UAAU,EACtB,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,GAAG,EAAE,CACb,mBAAmB,CAAC,YAAY,CAAC,SAAS,CAAC,EAE7C,UAAU,EAAE,GAAG,EAAE,CACf,wBAAwB,CAAC,YAAY,CAAC,SAAS,CAAC,EAElD,YAAY,EAAE,gBAAgB,EAC9B,aAAa,EAAE,iBAAiB,EAChC,YAAY,EAAE,gBAAgB,EAC9B,aAAa,EAAE,iBAAiB,EAChC,cAAc,EAAE,cAAc,IAfzB,UAAU,CAgBf,CACH,CAAC;oCACJ,CAAC,CAAC,IACE,CACP,IACG,CACP,IACG,IACF,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Agent, ProfileAgentsGroup as ProfileGroup } from "../editor/services/agentService";
|
|
3
|
+
interface ProfileAgentsGroupProps {
|
|
4
|
+
profileGroup: ProfileGroup;
|
|
5
|
+
isExpanded: boolean;
|
|
6
|
+
isLoadingMore: boolean;
|
|
7
|
+
hasMore: boolean;
|
|
8
|
+
onToggle: () => void;
|
|
9
|
+
onLoadMore: () => void;
|
|
10
|
+
onAgentClick: (agent: Agent) => void;
|
|
11
|
+
onResumeAgent: (agent: Agent) => void;
|
|
12
|
+
onCloseAgent: (agentId: string, agentName: string) => void;
|
|
13
|
+
onDeleteAgent: (agentId: string, agentName: string, event: React.MouseEvent) => void;
|
|
14
|
+
formatDateTime: (dateString: string) => string;
|
|
15
|
+
}
|
|
16
|
+
export declare function ProfileAgentsGroup({ profileGroup, isExpanded, isLoadingMore, hasMore, onToggle, onLoadMore, onAgentClick, onResumeAgent, onCloseAgent, onDeleteAgent, formatDateTime, }: ProfileAgentsGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronDown, ChevronUp } from "lucide-react";
|
|
3
|
+
import { AgentCard } from "./AgentCard";
|
|
4
|
+
import { SecretAgentIcon } from "../editor/ui/Icons";
|
|
5
|
+
export function ProfileAgentsGroup({ profileGroup, isExpanded, isLoadingMore, hasMore, onToggle, onLoadMore, onAgentClick, onResumeAgent, onCloseAgent, onDeleteAgent, formatDateTime, }) {
|
|
6
|
+
return (_jsxs("div", { className: "rounded-lg border border-gray-200 bg-white shadow-sm", children: [_jsxs("button", { onClick: onToggle, className: "flex w-full items-center gap-3 bg-gray-50 p-3 text-left transition-colors hover:bg-gray-100", children: [_jsx("div", { className: "flex-shrink-0", children: profileGroup.profileSvgIcon ? (_jsx("div", { className: "flex h-6 w-6 items-center justify-center text-gray-500 [&>svg]:h-full [&>svg]:w-full", dangerouslySetInnerHTML: {
|
|
7
|
+
__html: profileGroup.profileSvgIcon,
|
|
8
|
+
} })) : (_jsx(SecretAgentIcon, { size: 24, strokeWidth: 1, className: "text-gray-500" })) }), _jsx("div", { className: "min-w-0 flex-1", children: _jsx("h3", { className: "truncate font-medium text-gray-900", children: profileGroup.profileName }) }), _jsxs("div", { className: "flex-shrink-0 rounded-full bg-gray-200 px-3 py-1 text-xs font-medium text-gray-700", children: [profileGroup.totalClosedCount, " closed agent", profileGroup.totalClosedCount !== 1 ? "s" : ""] }), _jsx("div", { className: "flex-shrink-0 text-gray-500", children: isExpanded ? (_jsx(ChevronUp, { className: "size-5", strokeWidth: 1 })) : (_jsx(ChevronDown, { className: "size-5", strokeWidth: 1 })) })] }), isExpanded && (_jsxs("div", { className: "space-y-2 p-3", children: [profileGroup.agents.map((agent) => (_jsx(AgentCard, { agent: agent, onClick: onAgentClick, onResume: onResumeAgent, onClose: onCloseAgent, onDelete: onDeleteAgent, formatDateTime: formatDateTime }, agent.id))), hasMore && (_jsx("div", { className: "flex justify-center pt-2", children: _jsx("button", { onClick: (e) => {
|
|
9
|
+
e.stopPropagation();
|
|
10
|
+
onLoadMore();
|
|
11
|
+
}, disabled: isLoadingMore, className: "rounded-lg border border-gray-300 bg-white px-6 py-2 text-sm font-medium text-gray-700 hover:bg-gray-50 disabled:opacity-50", children: isLoadingMore ? "Loading..." : "Load More" }) }))] }))] }));
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=ProfileAgentsGroup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProfileAgentsGroup.js","sourceRoot":"","sources":["../../src/agents-view/ProfileAgentsGroup.tsx"],"names":[],"mappings":";AAKA,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACtD,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAoBrD,MAAM,UAAU,kBAAkB,CAAC,EACjC,YAAY,EACZ,UAAU,EACV,aAAa,EACb,OAAO,EACP,QAAQ,EACR,UAAU,EACV,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,aAAa,EACb,cAAc,GACU;IACxB,OAAO,CACL,eAAK,SAAS,EAAC,sDAAsD,aAEnE,kBACE,OAAO,EAA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O,EAAE,CAAC,CAAC,EAAE,EAAE;gCACb,CAAC,CAAC,eAAe,EAAE,CAAC;gCACpB,UAAU,EAAE,CAAC;4BACf,CAAC,EACD,QAAQ,EAAE,aAAa,EACvB,SAAS,EAAC,6HAA6H,YAEtI,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,WAAW,GACpC,GACL,CACP,IACG,CACP,IACG,CACP,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function selectComponents(componentIds: string[]): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/client-components/api.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU,gBAAgB,CAAC,YAAsB;IACrD,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,WAAW,CAC5B,EAAE,YAAY,EAAE,IAAI,EAAE,oBAAoB,EAAE,EAC5C,GAAG,CACJ,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export { useEditContext } from "../editor/client/editContext";
|
|
2
|
+
export { selectComponents } from "./api";
|
|
3
|
+
export { getDefaultTourSteps } from "../tour/default-tour";
|
|
4
|
+
export * from "../editor/field-types/DropLinkEditor";
|
|
5
|
+
export * from "../editor/field-types/TreeListEditor";
|
|
6
|
+
export * from "../editor/field-types/DropListEditor";
|
|
7
|
+
export * from "../editor/field-types/AttachmentEditor";
|
|
8
|
+
export * from "../editor/field-types/CheckboxEditor";
|
|
9
|
+
export * from "../editor/field-types/DateFieldEditor";
|
|
10
|
+
export * from "../editor/field-types/LinkFieldEditor";
|
|
11
|
+
export * from "../editor/field-types/PictureFieldEditor";
|
|
12
|
+
export * from "../editor/field-types/RichTextEditor";
|
|
13
|
+
export * from "../editor/field-types/SingleLineText";
|
|
14
|
+
export * from "../editor/field-types/MultiLineText";
|
|
15
|
+
export * from "../editor/field-types/RawEditor";
|
|
16
|
+
export * from "../editor/field-types/RichTextEditor";
|
|
17
|
+
export * from "../editor/field-types/InternalLinkFieldEditor";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export { useEditContext } from "../editor/client/editContext";
|
|
2
|
+
export { selectComponents } from "./api";
|
|
3
|
+
export { getDefaultTourSteps } from "../tour/default-tour";
|
|
4
|
+
export * from "../editor/field-types/DropLinkEditor";
|
|
5
|
+
export * from "../editor/field-types/TreeListEditor";
|
|
6
|
+
export * from "../editor/field-types/DropListEditor";
|
|
7
|
+
export * from "../editor/field-types/AttachmentEditor";
|
|
8
|
+
export * from "../editor/field-types/CheckboxEditor";
|
|
9
|
+
export * from "../editor/field-types/DateFieldEditor";
|
|
10
|
+
export * from "../editor/field-types/LinkFieldEditor";
|
|
11
|
+
export * from "../editor/field-types/PictureFieldEditor";
|
|
12
|
+
export * from "../editor/field-types/RichTextEditor";
|
|
13
|
+
export * from "../editor/field-types/SingleLineText";
|
|
14
|
+
export * from "../editor/field-types/MultiLineText";
|
|
15
|
+
export * from "../editor/field-types/RawEditor";
|
|
16
|
+
export * from "../editor/field-types/RichTextEditor";
|
|
17
|
+
export * from "../editor/field-types/InternalLinkFieldEditor";
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/client-components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,OAAO,CAAC;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC3D,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,wCAAwC,CAAC;AACvD,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,uCAAuC,CAAC;AACtD,cAAc,0CAA0C,CAAC;AACzD,cAAc,sCAAsC,CAAC;AACrD,cAAc,sCAAsC,CAAC;AACrD,cAAc,qCAAqC,CAAC;AACpD,cAAc,iCAAiC,CAAC;AAChD,cAAc,sCAAsC,CAAC;AACrD,cAAc,+CAA+C,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ActionButtonProps {
|
|
3
|
+
id?: string;
|
|
4
|
+
isLoading?: boolean;
|
|
5
|
+
onClick?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
loadingText?: string;
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
type?: "button" | "submit" | "reset";
|
|
10
|
+
className?: string;
|
|
11
|
+
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
12
|
+
}
|
|
13
|
+
export declare const ActionButton: React.FC<ActionButtonProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { Button } from "./ui/button";
|
|
3
|
+
export const ActionButton = ({ id, isLoading, onClick, disabled = false, loadingText = "Loading...", children, type = "button", className = "", variant = "default", ...props }) => {
|
|
4
|
+
return (_jsx(Button, { id: id, type: type, onClick: onClick, disabled: disabled || isLoading, className: className, variant: variant, size: "sm", ...props, children: isLoading ? (_jsxs("div", { className: "flex items-center justify-center gap-2", children: [_jsx("div", { className: "mr-2 h-4 w-4 animate-spin rounded-full border-2 border-white border-t-transparent" }), _jsx("div", { children: loadingText })] })) : (children) }));
|
|
5
|
+
};
|
|
6
|
+
//# sourceMappingURL=ActionButton.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ActionButton.js","sourceRoot":"","sources":["../../src/components/ActionButton.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAoBrC,MAAM,CAAC,MAAM,YAAY,GAAgC,CAAC,EACxD,EAAE,EACF,SAAS,EACT,OAAO,EACP,QAAQ,GAAG,KAAK,EAChB,WAAW,GAAG,YAAY,EAC1B,QAAQ,EACR,IAAI,GAAG,QAAQ,EACf,SAAS,GAAG,EAAE,EACd,OAAO,GAAG,SAAS,EACnB,GAAG,KAAK,EACT,EAAE,EAAE;IACH,OAAO,CACL,KAAC,MAAM,IACL,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,QAAQ,IAAI,SAAS,EAC/B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,OAAO,EAChB,IAAI,EAAC,IAAI,KACL,KAAK,YAER,SAAS,CAAC,CAAC,CAAC,CACX,eAAK,SAAS,EAAC,wCAAwC,aACrD,cAAK,SAAS,EAAC,mFAAmF,GAAO,EACzG,wBAAM,WAAW,GAAO,IACpB,CACP,CAAC,CAAC,CAAC,CACF,QAAQ,CACT,GACM,CACV,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
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;
|
|
@@ -0,0 +1,24 @@
|
|
|
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.switchView("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
|
|
@@ -0,0 +1 @@
|
|
|
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,UAAU,CAAC,oBAAoB,CAAC,CAAC;QACxE,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface FilterInputProps {
|
|
2
|
+
value: string;
|
|
3
|
+
onChange: (value: string) => void;
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
showSearchIcon?: boolean;
|
|
7
|
+
showClearIcon?: boolean;
|
|
8
|
+
disabled?: boolean;
|
|
9
|
+
autoFocus?: boolean;
|
|
10
|
+
loading?: boolean;
|
|
11
|
+
size?: "sm" | "md" | "lg";
|
|
12
|
+
spinnerStyle?: React.CSSProperties;
|
|
13
|
+
onClear?: () => void;
|
|
14
|
+
}
|
|
15
|
+
export declare const FilterInput: import("react").ForwardRefExoticComponent<FilterInputProps & import("react").RefAttributes<HTMLInputElement>>;
|
|
16
|
+
/**
|
|
17
|
+
* Utility function to highlight matching text in search results
|
|
18
|
+
* @param text - The text to highlight
|
|
19
|
+
* @param filter - The filter string to match
|
|
20
|
+
* @returns JSX elements with highlighted matches
|
|
21
|
+
*/
|
|
22
|
+
export declare const highlightMatch: (text: string, filter: string) => string | ("" | import("react/jsx-runtime").JSX.Element)[];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef } from "react";
|
|
3
|
+
import { Search, X, Loader2 } from "lucide-react";
|
|
4
|
+
import { Input } from "./ui/input";
|
|
5
|
+
import { cn } from "../lib/utils";
|
|
6
|
+
export const FilterInput = forwardRef(({ value, onChange, placeholder = "Filter...", className, showSearchIcon = true, showClearIcon = true, disabled = false, autoFocus = false, loading = false, size = "sm", spinnerStyle, onClear, }, ref) => {
|
|
7
|
+
const handleClear = () => {
|
|
8
|
+
onChange("");
|
|
9
|
+
if (onClear) {
|
|
10
|
+
onClear();
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
return (_jsxs("div", { className: cn("relative flex items-center", className), children: [_jsx(Input, { ref: ref, type: "text", value: value, onChange: (e) => onChange(e.target.value), className: cn("pr-8 text-xs", size === "sm" && "h-7", size === "md" && "h-8", size === "lg" && "h-9"), placeholder: placeholder, disabled: disabled, autoFocus: autoFocus }), loading && (_jsx(Loader2, { className: "absolute right-2 h-4 w-4 animate-spin text-gray-400", style: spinnerStyle })), !loading && !value && showSearchIcon && (_jsx(Search, { className: "absolute right-2 h-4 w-4 text-gray-400" })), !loading && value && showClearIcon && (_jsx(X, { className: "absolute right-2 h-4 w-4 cursor-pointer text-gray-400 hover:text-gray-600", onClick: handleClear }))] }));
|
|
14
|
+
});
|
|
15
|
+
FilterInput.displayName = "FilterInput";
|
|
16
|
+
/**
|
|
17
|
+
* Utility function to highlight matching text in search results
|
|
18
|
+
* @param text - The text to highlight
|
|
19
|
+
* @param filter - The filter string to match
|
|
20
|
+
* @returns JSX elements with highlighted matches
|
|
21
|
+
*/
|
|
22
|
+
export const highlightMatch = (text, filter) => {
|
|
23
|
+
if (!filter.trim())
|
|
24
|
+
return text;
|
|
25
|
+
return text
|
|
26
|
+
.split(new RegExp(`(${filter})`, "i"))
|
|
27
|
+
.map((part, i) => part.toLowerCase() === filter.toLowerCase() && part ? (_jsx("u", { className: "font-bold", children: part }, i)) : (part && _jsx("span", { children: part }, i)));
|
|
28
|
+
};
|
|
29
|
+
//# sourceMappingURL=FilterInput.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FilterInput.js","sourceRoot":"","sources":["../../src/components/FilterInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,OAAO,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACnC,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAiBlC,MAAM,CAAC,MAAM,WAAW,GAAG,UAAU,CACnC,CACE,EACE,KAAK,EACL,QAAQ,EACR,WAAW,GAAG,WAAW,EACzB,SAAS,EACT,cAAc,GAAG,IAAI,EACrB,aAAa,GAAG,IAAI,EACpB,QAAQ,GAAG,KAAK,EAChB,SAAS,GAAG,KAAK,EACjB,OAAO,GAAG,KAAK,EACf,IAAI,GAAG,IAAI,EACX,YAAY,EACZ,OAAO,GACR,EACD,GAAG,EACH,EAAE;IACF,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,QAAQ,CAAC,EAAE,CAAC,CAAC;QACb,IAAI,OAAO,EAAE,CAAC;YACZ,OAAO,EAAE,CAAC;QACZ,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,CACL,eAAK,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,aACzD,KAAC,KAAK,IACJ,GAAG,EAAE,GAAG,EACR,IAAI,EAAC,MAAM,EACX,KAAK,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ACF,IAAI,IAAI,yBAAe,IAAI,IAAR,CAAC,CAAe,CACpC,CACF,CAAC;AACN,CAAC,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export { FilterInput, highlightMatch } from "./FilterInput";
|
|
2
|
+
export type { FilterInputProps } from "./FilterInput";
|
|
3
|
+
export { LanguageSelector } from "./ui/LanguageSelector";
|
|
4
|
+
export { Select } from "./ui/select";
|
|
5
|
+
export type { SelectOption, SelectProps } from "./ui/select";
|
|
6
|
+
export { TabView, TabPanel } from "./ui/tabs";
|
|
7
|
+
export type { TabViewProps, TabPanelProps } from "./ui/tabs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AAE5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAErC,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../../lib/utils";
|
|
3
|
+
export function CardConnector({ className, direction, }) {
|
|
4
|
+
return (_jsxs(_Fragment, { children: [_jsx("div", { className: cn("mt-[-3px] mb-[-3px] flex items-center justify-center", className, (!direction || direction === "horizontal") && "md:hidden"), children: _jsx("svg", { width: "40", height: "31", viewBox: "0 0 40 31", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M40 3.04199C33.8405 3.55018 29 8.70936 29 15C29 21.2906 33.8405 26.4498 40 26.958L40 31L-1.35505e-06 31L-1.18021e-06 27C6.62741 27 12 21.6274 12 15C12 8.37258 6.62741 3 -1.31134e-07 3L0 -1.74846e-06L40 0L40 3.04199Z", fill: "white" }) }) }), _jsx("div", { className: cn("mt-6 mr-[-3px] ml-[-3px] hidden", className, (!direction || direction === "horizontal") && "md:block"), children: _jsx("svg", { className: className, width: "31", height: "40", viewBox: "0 0 31 40", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: _jsx("path", { d: "M3.04199 0C3.55018 6.15949 8.70936 11 15 11C21.2906 11 26.4498 6.1595 26.958 0H31V40H27C27 33.3726 21.6274 28 15 28C8.37258 28 3 33.3726 3 40H0V0H3.04199Z", fill: "white" }) }) })] }));
|
|
5
|
+
}
|
|
6
|
+
//# sourceMappingURL=CardConnector.js.map
|