@vertesia/ui 1.0.0-dev.20260128.144200 → 1.0.0-dev.20260225.024852Z
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/lib/esm/core/components/InputList.js +1 -1
- package/lib/esm/core/components/InputList.js.map +1 -1
- package/lib/esm/core/components/Overlay.js +1 -1
- package/lib/esm/core/components/Overlay.js.map +1 -1
- package/lib/esm/core/components/SidePanel.js +8 -2
- package/lib/esm/core/components/SidePanel.js.map +1 -1
- package/lib/esm/core/components/Switch.js +1 -1
- package/lib/esm/core/components/Switch.js.map +1 -1
- package/lib/esm/core/components/index.js +0 -8
- package/lib/esm/core/components/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/MessageBox.js.map +1 -0
- package/lib/esm/core/components/shadcn/Panel.js +13 -0
- package/lib/esm/core/components/shadcn/Panel.js.map +1 -0
- package/lib/esm/core/components/{Badge.js → shadcn/badge.js} +2 -2
- package/lib/esm/core/components/shadcn/badge.js.map +1 -0
- package/lib/esm/core/components/shadcn/command.js +1 -1
- package/lib/esm/core/components/shadcn/command.js.map +1 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +73 -83
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +1 -1
- package/lib/esm/core/components/shadcn/index.js +4 -2
- package/lib/esm/core/components/shadcn/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js +10 -0
- package/lib/esm/core/components/shadcn/modal/ConfirmModal.js.map +1 -0
- package/lib/esm/core/components/{DeleteModal.js → shadcn/modal/DeleteModal.js} +1 -1
- package/lib/esm/core/components/shadcn/modal/DeleteModal.js.map +1 -0
- package/lib/esm/core/components/shadcn/{dialog.js → modal/dialog.js} +19 -15
- package/lib/esm/core/components/shadcn/modal/dialog.js.map +1 -0
- package/lib/esm/core/components/shadcn/modal/index.js +4 -0
- package/lib/esm/core/components/shadcn/modal/index.js.map +1 -0
- package/lib/esm/core/components/shadcn/popover.js +4 -2
- package/lib/esm/core/components/shadcn/popover.js.map +1 -1
- package/lib/esm/core/components/shadcn/selectBox.js +19 -15
- package/lib/esm/core/components/shadcn/selectBox.js.map +1 -1
- package/lib/esm/core/components/shadcn/tabs.js +16 -14
- package/lib/esm/core/components/shadcn/tabs.js.map +1 -1
- package/lib/esm/core/components/shadcn/textarea.js +30 -2
- package/lib/esm/core/components/shadcn/textarea.js.map +1 -1
- package/lib/esm/core/components/shadcn/tooltip.js +5 -1
- package/lib/esm/core/components/shadcn/tooltip.js.map +1 -1
- package/lib/esm/features/agent/PayloadBuilder.js +45 -0
- package/lib/esm/features/agent/PayloadBuilder.js.map +1 -1
- package/lib/esm/features/agent/chat/AgentChart.js +12 -232
- package/lib/esm/features/agent/chat/AgentChart.js.map +1 -1
- package/lib/esm/features/agent/chat/AskUserWidget.js +2 -1
- package/lib/esm/features/agent/chat/AskUserWidget.js.map +1 -1
- package/lib/esm/features/agent/chat/DocumentPanel.js +46 -0
- package/lib/esm/features/agent/chat/DocumentPanel.js.map +1 -0
- package/lib/esm/features/agent/chat/DocumentTabBar.js +17 -0
- package/lib/esm/features/agent/chat/DocumentTabBar.js.map +1 -0
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +159 -402
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +99 -57
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +4 -4
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +4 -4
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +3 -3
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +25 -22
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +110 -55
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js +2 -2
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +146 -55
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +5 -6
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +1 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +110 -2
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +1 -1
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js +28 -15
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js.map +1 -1
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js +146 -0
- package/lib/esm/features/agent/chat/hooks/useAgentPlans.js.map +1 -0
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js +180 -0
- package/lib/esm/features/agent/chat/hooks/useAgentStream.js.map +1 -0
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js +100 -0
- package/lib/esm/features/agent/chat/hooks/useDocumentPanel.js.map +1 -0
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js +90 -0
- package/lib/esm/features/agent/chat/hooks/useFileProcessing.js.map +1 -0
- package/lib/esm/features/agent/chat/index.js +6 -5
- package/lib/esm/features/agent/chat/index.js.map +1 -1
- package/lib/esm/features/agent/chat/types/document.js +2 -0
- package/lib/esm/features/agent/chat/types/document.js.map +1 -0
- package/lib/esm/features/agent/index.js +0 -2
- package/lib/esm/features/agent/index.js.map +1 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +4 -6
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +1 -1
- package/lib/esm/features/store/collections/CreateCollection.js +4 -4
- package/lib/esm/features/store/collections/CreateCollection.js.map +1 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +1 -1
- package/lib/esm/features/store/collections/EditCollectionView.js.map +1 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +5 -5
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +1 -1
- package/lib/esm/features/store/objects/ExportPropertiesModal.js +3 -3
- package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +1 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +19 -120
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +1 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +1 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +1 -1
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js +2 -2
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +1 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js +1 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +1 -1
- package/lib/esm/features/store/objects/components/index.js +1 -1
- package/lib/esm/features/store/objects/components/index.js.map +1 -1
- package/lib/esm/features/store/objects/components/useDownloadFile.js +192 -0
- package/lib/esm/features/store/objects/components/useDownloadFile.js.map +1 -0
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +1 -2
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +1 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +5 -8
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +4 -4
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +2 -2
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +1 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +1 -1
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +3 -3
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +1 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +13 -13
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +1 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +15 -8
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +6 -5
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +1 -1
- package/lib/esm/features/store/types/SelectContentType.js +3 -3
- package/lib/esm/features/store/types/SelectContentType.js.map +1 -1
- package/lib/esm/features/store/types/SelectContentTypeModal.js +5 -4
- package/lib/esm/features/store/types/SelectContentTypeModal.js.map +1 -1
- package/lib/esm/features/store/types/TableLayoutEditor.js +4 -4
- package/lib/esm/features/store/types/TableLayoutEditor.js.map +1 -1
- package/lib/esm/features/user/UserInfo.js +73 -9
- package/lib/esm/features/user/UserInfo.js.map +1 -1
- package/lib/esm/features/utils/print.js +0 -1
- package/lib/esm/features/utils/print.js.map +1 -1
- package/lib/esm/layout/AppLayout.js +3 -4
- package/lib/esm/layout/AppLayout.js.map +1 -1
- package/lib/esm/layout/Sidebar.js +5 -5
- package/lib/esm/layout/Sidebar.js.map +1 -1
- package/lib/esm/router/HistoryNavigator.js +7 -1
- package/lib/esm/router/HistoryNavigator.js.map +1 -1
- package/lib/esm/router/Nav.js +2 -2
- package/lib/esm/router/Nav.js.map +1 -1
- package/lib/esm/session/UserSession.js +35 -9
- package/lib/esm/session/UserSession.js.map +1 -1
- package/lib/esm/session/UserSessionProvider.js +3 -2
- package/lib/esm/session/UserSessionProvider.js.map +1 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +2 -2
- package/lib/esm/shell/apps/AppProjectSelector.js.map +1 -1
- package/lib/esm/shell/apps/StandaloneApp.js +2 -2
- package/lib/esm/shell/apps/StandaloneApp.js.map +1 -1
- package/lib/esm/shell/login/InviteAcceptModal.js +2 -2
- package/lib/esm/shell/login/InviteAcceptModal.js.map +1 -1
- package/lib/esm/shell/login/SignInModal.js +1 -1
- package/lib/esm/shell/login/SignInModal.js.map +1 -1
- package/lib/esm/shell/login/SignupForm.js +2 -2
- package/lib/esm/shell/login/SignupForm.js.map +1 -1
- package/lib/esm/shell/login/UserInfo.js +2 -2
- package/lib/esm/shell/login/UserInfo.js.map +1 -1
- package/lib/esm/widgets/json-view/JSONCode.js +1 -1
- package/lib/esm/widgets/json-view/JSONCode.js.map +1 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js +1 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js.map +1 -1
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js +84 -13
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js.map +1 -1
- package/lib/esm/widgets/markdown/MarkdownFigure.js +40 -0
- package/lib/esm/widgets/markdown/MarkdownFigure.js.map +1 -0
- package/lib/esm/widgets/markdown/MarkdownRenderer.js +42 -7
- package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +1 -1
- package/lib/esm/widgets/markdown/MermaidDiagram.js +80 -5
- package/lib/esm/widgets/markdown/MermaidDiagram.js.map +1 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.js +33 -33
- package/lib/esm/widgets/markdown/codeBlockHandlers.js.map +1 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js +2 -29
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js.map +1 -1
- package/lib/esm/widgets/markdown/index.js +1 -0
- package/lib/esm/widgets/markdown/index.js.map +1 -1
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js +77 -0
- package/lib/esm/widgets/markdown/normalizeCustomSchemeLinks.js.map +1 -0
- package/lib/esm/widgets/markdown/normalizeDirectives.js +45 -0
- package/lib/esm/widgets/markdown/normalizeDirectives.js.map +1 -0
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js +96 -0
- package/lib/esm/widgets/markdown/remarkDirectiveHandler.js.map +1 -0
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js +8 -14
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +1 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +1 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +3 -3
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +1 -1
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/core/components/SidePanel.d.ts +4 -1
- package/lib/types/core/components/SidePanel.d.ts.map +1 -1
- package/lib/types/core/components/index.d.ts +0 -8
- package/lib/types/core/components/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/MessageBox.d.ts.map +1 -0
- package/lib/types/core/components/{Panel.d.ts → shadcn/Panel.d.ts} +3 -1
- package/lib/types/core/components/shadcn/Panel.d.ts.map +1 -0
- package/lib/types/core/components/{Badge.d.ts → shadcn/badge.d.ts} +4 -4
- package/lib/types/core/components/shadcn/badge.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/button.d.ts +1 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/index.d.ts +4 -2
- package/lib/types/core/components/shadcn/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/input.d.ts +1 -1
- package/lib/types/core/components/shadcn/modal/ConfirmModal.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/modal/DeleteModal.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/{dialog.d.ts → modal/dialog.d.ts} +7 -4
- package/lib/types/core/components/shadcn/modal/dialog.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/modal/index.d.ts +4 -0
- package/lib/types/core/components/shadcn/modal/index.d.ts.map +1 -0
- package/lib/types/core/components/shadcn/popover.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +9 -5
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +14 -5
- package/lib/types/core/components/shadcn/tabs.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +6 -2
- package/lib/types/core/components/shadcn/textarea.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/tooltip.d.ts.map +1 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +22 -4
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +1 -1
- package/lib/types/features/agent/chat/AgentChart.d.ts +3 -44
- package/lib/types/features/agent/chat/AgentChart.d.ts.map +1 -1
- package/lib/types/features/agent/chat/AskUserWidget.d.ts.map +1 -1
- package/lib/types/features/agent/chat/DocumentPanel.d.ts +16 -0
- package/lib/types/features/agent/chat/DocumentPanel.d.ts.map +1 -0
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts +10 -0
- package/lib/types/features/agent/chat/DocumentTabBar.d.ts.map +1 -0
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +69 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +36 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +18 -2
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +4 -7
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +2 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +35 -7
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +11 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +20 -2
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +1 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +18 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +1 -1
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts.map +1 -1
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts +22 -0
- package/lib/types/features/agent/chat/hooks/useAgentPlans.d.ts.map +1 -0
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts +42 -0
- package/lib/types/features/agent/chat/hooks/useAgentStream.d.ts.map +1 -0
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts +22 -0
- package/lib/types/features/agent/chat/hooks/useDocumentPanel.d.ts.map +1 -0
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts +27 -0
- package/lib/types/features/agent/chat/hooks/useFileProcessing.d.ts.map +1 -0
- package/lib/types/features/agent/chat/index.d.ts +12 -8
- package/lib/types/features/agent/chat/index.d.ts.map +1 -1
- package/lib/types/features/agent/chat/types/document.d.ts +5 -0
- package/lib/types/features/agent/chat/types/document.d.ts.map +1 -0
- package/lib/types/features/agent/index.d.ts +0 -2
- package/lib/types/features/agent/index.d.ts.map +1 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +1 -1
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/index.d.ts +1 -1
- package/lib/types/features/store/objects/components/index.d.ts.map +1 -1
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts +35 -0
- package/lib/types/features/store/objects/components/useDownloadFile.d.ts.map +1 -0
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts +1 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +1 -1
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +1 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +2 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +1 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts +1 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +1 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts +2 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +1 -1
- package/lib/types/features/user/UserInfo.d.ts +12 -1
- package/lib/types/features/user/UserInfo.d.ts.map +1 -1
- package/lib/types/features/utils/print.d.ts.map +1 -1
- package/lib/types/layout/AppLayout.d.ts.map +1 -1
- package/lib/types/layout/Sidebar.d.ts +4 -2
- package/lib/types/layout/Sidebar.d.ts.map +1 -1
- package/lib/types/router/HistoryNavigator.d.ts.map +1 -1
- package/lib/types/router/Nav.d.ts +6 -1
- package/lib/types/router/Nav.d.ts.map +1 -1
- package/lib/types/session/UserSession.d.ts.map +1 -1
- package/lib/types/session/UserSessionProvider.d.ts +1 -0
- package/lib/types/session/UserSessionProvider.d.ts.map +1 -1
- package/lib/types/widgets/json-view/JSONCode.d.ts.map +1 -1
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts +10 -1
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts.map +1 -1
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts +15 -0
- package/lib/types/widgets/markdown/MarkdownFigure.d.ts.map +1 -0
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +1 -1
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts.map +1 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts +5 -2
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts.map +1 -1
- package/lib/types/widgets/markdown/index.d.ts +1 -0
- package/lib/types/widgets/markdown/index.d.ts.map +1 -1
- package/lib/types/widgets/markdown/normalizeCustomSchemeLinks.d.ts +9 -0
- package/lib/types/widgets/markdown/normalizeCustomSchemeLinks.d.ts.map +1 -0
- package/lib/types/widgets/markdown/normalizeDirectives.d.ts +20 -0
- package/lib/types/widgets/markdown/normalizeDirectives.d.ts.map +1 -0
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts +2 -0
- package/lib/types/widgets/markdown/remarkDirectiveHandler.d.ts.map +1 -0
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +1 -3
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +1 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +1 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +1 -1
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-layout.js +1 -1
- package/lib/vertesia-ui-layout.js.map +1 -1
- package/lib/vertesia-ui-router.js +1 -1
- package/lib/vertesia-ui-router.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/lib/vertesia-ui-widgets.js +1 -1
- package/lib/vertesia-ui-widgets.js.map +1 -1
- package/package.json +14 -10
- package/src/core/components/InputList.tsx +1 -1
- package/src/core/components/Overlay.tsx +1 -1
- package/src/core/components/SidePanel.tsx +29 -15
- package/src/core/components/Switch.tsx +1 -1
- package/src/core/components/index.ts +0 -8
- package/src/core/components/shadcn/Panel.tsx +50 -0
- package/src/core/components/{Badge.tsx → shadcn/badge.tsx} +3 -3
- package/src/core/components/shadcn/command.tsx +1 -1
- package/src/core/components/shadcn/filters/filterBar.tsx +76 -87
- package/src/core/components/shadcn/index.ts +5 -3
- package/src/core/components/{ConfirmModal.tsx → shadcn/modal/ConfirmModal.tsx} +8 -8
- package/src/core/components/{DeleteModal.tsx → shadcn/modal/DeleteModal.tsx} +1 -1
- package/src/core/components/shadcn/{dialog.tsx → modal/dialog.tsx} +43 -32
- package/src/core/components/shadcn/modal/index.ts +3 -0
- package/src/core/components/shadcn/popover.tsx +4 -2
- package/src/core/components/shadcn/selectBox.tsx +71 -52
- package/src/core/components/shadcn/tabs.tsx +36 -19
- package/src/core/components/shadcn/textarea.tsx +43 -2
- package/src/core/components/shadcn/tooltip.tsx +23 -17
- package/src/features/agent/PayloadBuilder.tsx +70 -9
- package/src/features/agent/chat/AgentChart.tsx +46 -678
- package/src/features/agent/chat/AskUserWidget.tsx +4 -3
- package/src/features/agent/chat/DocumentPanel.tsx +120 -0
- package/src/features/agent/chat/DocumentTabBar.tsx +49 -0
- package/src/features/agent/chat/ModernAgentConversation.tsx +403 -549
- package/src/features/agent/chat/ModernAgentOutput/AllMessagesMixed.tsx +162 -55
- package/src/features/agent/chat/ModernAgentOutput/BatchProgressPanel.tsx +40 -10
- package/src/features/agent/chat/ModernAgentOutput/Header.tsx +12 -16
- package/src/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.tsx +3 -3
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +68 -75
- package/src/features/agent/chat/ModernAgentOutput/MessageItem.tsx +206 -94
- package/src/features/agent/chat/ModernAgentOutput/StreamingMessage.tsx +22 -5
- package/src/features/agent/chat/ModernAgentOutput/ToolCallGroup.tsx +295 -113
- package/src/features/agent/chat/ModernAgentOutput/WorkstreamTabs.tsx +11 -8
- package/src/features/agent/chat/ModernAgentOutput/utils.ts +133 -4
- package/src/features/agent/chat/SkillWidgetProvider.tsx +32 -15
- package/src/features/agent/chat/hooks/useAgentPlans.ts +190 -0
- package/src/features/agent/chat/hooks/useAgentStream.ts +239 -0
- package/src/features/agent/chat/hooks/useDocumentPanel.ts +118 -0
- package/src/features/agent/chat/hooks/useFileProcessing.ts +126 -0
- package/src/features/agent/chat/index.ts +18 -17
- package/src/features/agent/chat/types/document.ts +4 -0
- package/src/features/agent/index.ts +0 -2
- package/src/features/store/collections/BrowseCollectionView.tsx +5 -8
- package/src/features/store/collections/CreateCollection.tsx +8 -8
- package/src/features/store/collections/EditCollectionView.tsx +1 -1
- package/src/features/store/objects/DocumentSearchResults.tsx +9 -13
- package/src/features/store/objects/ExportPropertiesModal.tsx +9 -7
- package/src/features/store/objects/components/ContentOverview.tsx +29 -155
- package/src/features/store/objects/components/PropertiesEditorModal.tsx +0 -1
- package/src/features/store/objects/components/SelectDocumentModal.tsx +6 -6
- package/src/features/store/objects/components/VectorSearchWidget.tsx +2 -2
- package/src/features/store/objects/components/index.ts +1 -1
- package/src/features/store/objects/components/useDownloadFile.ts +237 -0
- package/src/features/store/objects/search/DocumentSearchContext.ts +1 -2
- package/src/features/store/objects/selection/SelectionActions.tsx +0 -4
- package/src/features/store/objects/selection/actions/AddToCollectionAction.tsx +13 -13
- package/src/features/store/objects/selection/actions/ChangeTypeAction.tsx +2 -6
- package/src/features/store/objects/selection/actions/ExportPropertiesAction.tsx +1 -3
- package/src/features/store/objects/selection/actions/StartWorkflowComponent.tsx +8 -8
- package/src/features/store/objects/upload/DocumentUploadModal.tsx +25 -25
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +16 -10
- package/src/features/store/types/ObjectSchemaEditor.tsx +32 -29
- package/src/features/store/types/SelectContentType.tsx +3 -3
- package/src/features/store/types/SelectContentTypeModal.tsx +17 -30
- package/src/features/store/types/TableLayoutEditor.tsx +14 -18
- package/src/features/user/UserInfo.tsx +176 -10
- package/src/features/utils/print.ts +0 -1
- package/src/layout/AppLayout.tsx +16 -44
- package/src/layout/Sidebar.tsx +7 -5
- package/src/router/HistoryNavigator.ts +9 -1
- package/src/router/Nav.tsx +7 -2
- package/src/session/UserSession.ts +38 -9
- package/src/session/UserSessionProvider.tsx +3 -2
- package/src/shell/apps/AppProjectSelector.tsx +2 -2
- package/src/shell/apps/StandaloneApp.tsx +3 -3
- package/src/shell/login/InviteAcceptModal.tsx +6 -6
- package/src/shell/login/SignInModal.tsx +1 -1
- package/src/shell/login/SignupForm.tsx +3 -3
- package/src/shell/login/UserInfo.tsx +5 -5
- package/src/widgets/json-view/JSONCode.tsx +1 -3
- package/src/widgets/json-view/JSONDisplay.tsx +1 -1
- package/src/widgets/markdown/ArtifactContentRenderer.tsx +115 -14
- package/src/widgets/markdown/MarkdownFigure.tsx +100 -0
- package/src/widgets/markdown/MarkdownRenderer.tsx +62 -9
- package/src/widgets/markdown/MermaidDiagram.tsx +97 -5
- package/src/widgets/markdown/codeBlockHandlers.test.tsx +3 -34
- package/src/widgets/markdown/codeBlockHandlers.tsx +47 -42
- package/src/widgets/markdown/index.ts +1 -0
- package/src/widgets/markdown/markdown.css +192 -0
- package/src/widgets/markdown/normalizeCustomSchemeLinks.test.ts +86 -0
- package/src/widgets/markdown/normalizeCustomSchemeLinks.ts +91 -0
- package/src/widgets/markdown/normalizeDirectives.ts +50 -0
- package/src/widgets/markdown/remarkDirectiveHandler.ts +119 -0
- package/src/widgets/monacoEditor/MonacoEditor.tsx +8 -22
- package/src/widgets/schema-editor/ManagedSchema.ts +1 -1
- package/src/widgets/schema-editor/editor/PropertyEditor.tsx +5 -5
- package/src/widgets/schema-editor/json-schema4-utils.ts +1 -1
- package/lib/esm/core/components/Badge.js.map +0 -1
- package/lib/esm/core/components/Button.js +0 -32
- package/lib/esm/core/components/Button.js.map +0 -1
- package/lib/esm/core/components/ConfirmModal.js +0 -10
- package/lib/esm/core/components/ConfirmModal.js.map +0 -1
- package/lib/esm/core/components/DeleteModal.js.map +0 -1
- package/lib/esm/core/components/MessageBox.js.map +0 -1
- package/lib/esm/core/components/Modal.js +0 -26
- package/lib/esm/core/components/Modal.js.map +0 -1
- package/lib/esm/core/components/Panel.js +0 -8
- package/lib/esm/core/components/Panel.js.map +0 -1
- package/lib/esm/core/components/SelectBox.js +0 -67
- package/lib/esm/core/components/SelectBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/dialog.js.map +0 -1
- package/lib/esm/core/components/tabs/Tabs.js +0 -78
- package/lib/esm/core/components/tabs/Tabs.js.map +0 -1
- package/lib/esm/core/components/tabs/TabsContext.js +0 -7
- package/lib/esm/core/components/tabs/TabsContext.js.map +0 -1
- package/lib/esm/core/components/tabs/index.js +0 -3
- package/lib/esm/core/components/tabs/index.js.map +0 -1
- package/lib/esm/features/agent/createChartTool.js +0 -632
- package/lib/esm/features/agent/createChartTool.js.map +0 -1
- package/lib/esm/features/agent/examples.js +0 -295
- package/lib/esm/features/agent/examples.js.map +0 -1
- package/lib/esm/features/agent/visualization.js +0 -165
- package/lib/esm/features/agent/visualization.js.map +0 -1
- package/lib/esm/features/store/objects/components/useDownloadObject.js +0 -21
- package/lib/esm/features/store/objects/components/useDownloadObject.js.map +0 -1
- package/lib/types/core/components/Badge.d.ts.map +0 -1
- package/lib/types/core/components/Button.d.ts +0 -14
- package/lib/types/core/components/Button.d.ts.map +0 -1
- package/lib/types/core/components/ConfirmModal.d.ts.map +0 -1
- package/lib/types/core/components/DeleteModal.d.ts.map +0 -1
- package/lib/types/core/components/MessageBox.d.ts.map +0 -1
- package/lib/types/core/components/Modal.d.ts +0 -30
- package/lib/types/core/components/Modal.d.ts.map +0 -1
- package/lib/types/core/components/Panel.d.ts.map +0 -1
- package/lib/types/core/components/SelectBox.d.ts +0 -36
- package/lib/types/core/components/SelectBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/dialog.d.ts.map +0 -1
- package/lib/types/core/components/tabs/Tabs.d.ts +0 -25
- package/lib/types/core/components/tabs/Tabs.d.ts.map +0 -1
- package/lib/types/core/components/tabs/TabsContext.d.ts +0 -17
- package/lib/types/core/components/tabs/TabsContext.d.ts.map +0 -1
- package/lib/types/core/components/tabs/index.d.ts +0 -3
- package/lib/types/core/components/tabs/index.d.ts.map +0 -1
- package/lib/types/features/agent/createChartTool.d.ts +0 -178
- package/lib/types/features/agent/createChartTool.d.ts.map +0 -1
- package/lib/types/features/agent/examples.d.ts +0 -59
- package/lib/types/features/agent/examples.d.ts.map +0 -1
- package/lib/types/features/agent/visualization.d.ts +0 -95
- package/lib/types/features/agent/visualization.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts +0 -4
- package/lib/types/features/store/objects/components/useDownloadObject.d.ts.map +0 -1
- package/src/core/components/Button.tsx +0 -63
- package/src/core/components/Modal.tsx +0 -144
- package/src/core/components/Panel.tsx +0 -34
- package/src/core/components/SelectBox.tsx +0 -188
- package/src/core/components/tabs/Tabs.tsx +0 -132
- package/src/core/components/tabs/TabsContext.ts +0 -25
- package/src/core/components/tabs/index.ts +0 -2
- package/src/features/agent/CHART_INSTRUCTIONS.md +0 -228
- package/src/features/agent/createChartTool.ts +0 -643
- package/src/features/agent/examples.ts +0 -321
- package/src/features/agent/visualization.ts +0 -227
- package/src/features/store/objects/components/useDownloadObject.ts +0 -29
- /package/lib/esm/core/components/{MessageBox.js → shadcn/MessageBox.js} +0 -0
- /package/lib/types/core/components/{MessageBox.d.ts → shadcn/MessageBox.d.ts} +0 -0
- /package/lib/types/core/components/{ConfirmModal.d.ts → shadcn/modal/ConfirmModal.d.ts} +0 -0
- /package/lib/types/core/components/{DeleteModal.d.ts → shadcn/modal/DeleteModal.d.ts} +0 -0
- /package/src/core/components/{MessageBox.tsx → shadcn/MessageBox.tsx} +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AsyncExecutionResult, VertesiaClient } from '@vertesia/client';
|
|
2
|
+
import { ConversationFile } from '@vertesia/common';
|
|
3
|
+
export interface UseFileProcessingResult {
|
|
4
|
+
processingFiles: Map<string, ConversationFile>;
|
|
5
|
+
hasProcessingFiles: boolean;
|
|
6
|
+
handleFileUpload: (files: File[]) => Promise<void>;
|
|
7
|
+
}
|
|
8
|
+
type ToastFn = (opts: {
|
|
9
|
+
status: 'success' | 'error' | 'warning' | 'info';
|
|
10
|
+
title: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
duration?: number;
|
|
13
|
+
}) => void;
|
|
14
|
+
/**
|
|
15
|
+
* Hook that manages file upload and processing state.
|
|
16
|
+
*
|
|
17
|
+
* Combines local optimistic upload state with server-side processing
|
|
18
|
+
* status updates (from `useAgentStream.serverFileUpdates`).
|
|
19
|
+
*
|
|
20
|
+
* @param client - Vertesia client for artifact uploads and workflow signals
|
|
21
|
+
* @param run - Current workflow execution
|
|
22
|
+
* @param serverFileUpdates - Server-side file processing updates from useAgentStream
|
|
23
|
+
* @param toast - Toast notification function for error display
|
|
24
|
+
*/
|
|
25
|
+
export declare function useFileProcessing(client: VertesiaClient, run: AsyncExecutionResult, serverFileUpdates: Map<string, ConversationFile>, toast: ToastFn): UseFileProcessingResult;
|
|
26
|
+
export {};
|
|
27
|
+
//# sourceMappingURL=useFileProcessing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useFileProcessing.d.ts","sourceRoot":"","sources":["../../../../../../src/features/agent/chat/hooks/useFileProcessing.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACxE,OAAO,EACH,gBAAgB,EAGnB,MAAM,kBAAkB,CAAC;AAE1B,MAAM,WAAW,uBAAuB;IACpC,eAAe,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAC;IAC/C,kBAAkB,EAAE,OAAO,CAAC;IAC5B,gBAAgB,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACtD;AAED,KAAK,OAAO,GAAG,CAAC,IAAI,EAAE;IAAE,MAAM,EAAE,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAAE,KAAK,IAAI,CAAC;AAE5I;;;;;;;;;;GAUG;AACH,wBAAgB,iBAAiB,CAC7B,MAAM,EAAE,cAAc,EACtB,GAAG,EAAE,oBAAoB,EACzB,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,gBAAgB,CAAC,EAChD,KAAK,EAAE,OAAO,GACf,uBAAuB,CA6FzB"}
|
|
@@ -1,17 +1,21 @@
|
|
|
1
|
+
export { AgentChart, isRechartsSpec, isVegaLiteSpec, type AgentChartSpec, type RechartsChartSpec, type VegaLiteChartSpec } from "./AgentChart";
|
|
2
|
+
export * from "./AnimatedThinkingDots";
|
|
1
3
|
export * from "./JumpingDots";
|
|
2
4
|
export { ModernAgentConversation } from "./ModernAgentConversation";
|
|
3
|
-
export * from "./WaitingMessages";
|
|
4
|
-
export * from "./AnimatedThinkingDots";
|
|
5
|
-
export { AgentChart, type AgentChartSpec, type RechartsChartSpec, type VegaLiteChartSpec, isVegaLiteSpec, isRechartsSpec, } from "./AgentChart";
|
|
6
5
|
export { VegaLiteChart } from "./VegaLiteChart";
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export {
|
|
10
|
-
export
|
|
6
|
+
export * from "./WaitingMessages";
|
|
7
|
+
export type { SelectedDocument, UploadedFile } from "./ModernAgentOutput/MessageInput";
|
|
8
|
+
export { AskUserWidget, ConfirmationWidget, type AskUserOption, type AskUserWidgetProps, type ConfirmationWidgetProps } from "./AskUserWidget";
|
|
9
|
+
export { default as MessageItem, MESSAGE_STYLES } from "./ModernAgentOutput/MessageItem";
|
|
10
|
+
export type { MessageItemProps, MessageItemClassNames, MessageStyleConfig } from "./ModernAgentOutput/MessageItem";
|
|
11
11
|
export { default as MessagesContainer } from "./ModernAgentOutput/MessagesContainer";
|
|
12
12
|
export type { MessagesContainerProps } from "./ModernAgentOutput/MessagesContainer";
|
|
13
13
|
export { default as Header } from "./ModernAgentOutput/Header";
|
|
14
14
|
export type { HeaderProps } from "./ModernAgentOutput/Header";
|
|
15
15
|
export { default as StreamingMessage } from "./ModernAgentOutput/StreamingMessage";
|
|
16
|
-
export type { StreamingMessageProps } from "./ModernAgentOutput/StreamingMessage";
|
|
16
|
+
export type { StreamingMessageProps, StreamingMessageClassNames } from "./ModernAgentOutput/StreamingMessage";
|
|
17
|
+
export type { ToolCallGroupClassNames } from "./ModernAgentOutput/ToolCallGroup";
|
|
18
|
+
export type { BatchProgressPanelClassNames } from "./ModernAgentOutput/BatchProgressPanel";
|
|
19
|
+
export * from "./SkillWidgetProvider";
|
|
20
|
+
export type { AgentConversationViewMode } from "./ModernAgentOutput/AllMessagesMixed";
|
|
17
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/chat/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/agent/chat/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,UAAU,EAAE,cAAc,EAAE,cAAc,EAAE,KAAK,cAAc,EAC/D,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,EACzB,MAAM,cAAc,CAAC;AACtB,cAAc,wBAAwB,CAAC;AACvC,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,uBAAuB,EAAE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|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/features/agent/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,kBAAkB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BrowseCollectionView.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/collections/BrowseCollectionView.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BrowseCollectionView.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/collections/BrowseCollectionView.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuB,MAAM,kBAAkB,CAAC;AAMnE,UAAU,yBAAyB;IAC/B,UAAU,EAAE,UAAU,CAAC;CAC1B;AACD,wBAAgB,oBAAoB,CAAC,EAAE,UAAU,EAAE,EAAE,yBAAyB,2CAqB7E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportPropertiesModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/objects/ExportPropertiesModal.tsx"],"names":[],"mappings":"AAGA,oBAAY,WAAW;IACnB,GAAG,QAAQ;IAAE,IAAI,SAAS;CAC7B;AAED,UAAU,0BAA0B;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAClF;AACD,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"ExportPropertiesModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/objects/ExportPropertiesModal.tsx"],"names":[],"mappings":"AAGA,oBAAY,WAAW;IACnB,GAAG,QAAQ;IAAE,IAAI,SAAS;CAC7B;AAED,UAAU,0BAA0B;IAChC,WAAW,EAAE,OAAO,CAAC;IACrB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CAClF;AACD,wBAAgB,qBAAqB,CAAC,EAAE,WAAW,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,0BAA0B,2CAgBjG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentOverview.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/ContentOverview.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ContentOverview.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/ContentOverview.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAsD,aAAa,EAA0N,MAAM,kBAAkB,CAAC;AA+K7T,UAAU,oBAAoB;IAC1B,MAAM,EAAE,aAAa,CAAC;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACpC;AACD,wBAAgB,eAAe,CAAC,EAC5B,MAAM,EACN,QAAQ,EACR,OAAO,GACV,EAAE,oBAAoB,2CAyCtB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PropertiesEditorModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/PropertiesEditorModal.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASjD,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACpC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,0BAA0B,
|
|
1
|
+
{"version":3,"file":"PropertiesEditorModal.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/PropertiesEditorModal.tsx"],"names":[],"mappings":"AAWA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AASjD,MAAM,WAAW,0BAA0B;IACvC,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,aAAa,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,OAAO,CAAC,OAAO,CAAC,CAAC;CACpC;AAED,wBAAgB,qBAAqB,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,0BAA0B,2CAqNrG"}
|
|
@@ -4,7 +4,7 @@ export * from "./DocumentIcon";
|
|
|
4
4
|
export * from "./DocumentInput";
|
|
5
5
|
export * from "./SelectDocument";
|
|
6
6
|
export * from "./SelectDocumentModal";
|
|
7
|
-
export * from "./
|
|
7
|
+
export * from "./useDownloadFile";
|
|
8
8
|
export * from "./PropertiesEditorModal";
|
|
9
9
|
export * from "./SaveVersionConfirmModal";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,4BAA4B,CAAA;AAC1C,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { VertesiaClient, ZenoClient } from "@vertesia/client";
|
|
2
|
+
import { MarkdownRenditionFormat } from "@vertesia/common";
|
|
3
|
+
import { ToastFn } from "@vertesia/ui/core";
|
|
4
|
+
export interface UseDownloadFileOptions {
|
|
5
|
+
client: VertesiaClient | ZenoClient;
|
|
6
|
+
toast: ToastFn;
|
|
7
|
+
}
|
|
8
|
+
export interface RenderAndDownloadOptions {
|
|
9
|
+
/** Format to render to */
|
|
10
|
+
format: MarkdownRenditionFormat;
|
|
11
|
+
/** Title for the document */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** Artifact run ID for resolving artifact URLs in content */
|
|
14
|
+
artifactRunId?: string;
|
|
15
|
+
/** Additional Pandoc options */
|
|
16
|
+
pandocOptions?: string[];
|
|
17
|
+
}
|
|
18
|
+
export interface UseDownloadFileResult {
|
|
19
|
+
/** Download a file from a content source URI (gs:// or file path) via the files API */
|
|
20
|
+
downloadFromContentSource: (uri: string, filename?: string) => Promise<void>;
|
|
21
|
+
/** Download a file from a direct URL (already signed or public) */
|
|
22
|
+
downloadFromUrl: (url: string, filename?: string) => void;
|
|
23
|
+
/** Render a document by objectId to PDF/DOCX and download the result */
|
|
24
|
+
renderDocument: (objectId: string, options: RenderAndDownloadOptions) => Promise<void>;
|
|
25
|
+
/** Render markdown content to PDF/DOCX and download the result */
|
|
26
|
+
renderContent: (content: string, options: RenderAndDownloadOptions) => Promise<void>;
|
|
27
|
+
/** Whether a download is currently in progress */
|
|
28
|
+
isDownloading: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Hook for downloading files from various sources.
|
|
32
|
+
* Handles GCS URIs (via client.files API), direct URLs, and markdown rendering.
|
|
33
|
+
*/
|
|
34
|
+
export declare function useDownloadFile({ client, toast }: UseDownloadFileOptions): UseDownloadFileResult;
|
|
35
|
+
//# sourceMappingURL=useDownloadFile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useDownloadFile.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/components/useDownloadFile.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAE,uBAAuB,EAAyB,MAAM,kBAAkB,CAAC;AAElF,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAE5C,MAAM,WAAW,sBAAsB;IACnC,MAAM,EAAE,cAAc,GAAG,UAAU,CAAC;IACpC,KAAK,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,wBAAwB;IACrC,0BAA0B;IAC1B,MAAM,EAAE,uBAAuB,CAAC;IAChC,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6DAA6D;IAC7D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gCAAgC;IAChC,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;CAC5B;AAED,MAAM,WAAW,qBAAqB;IAClC,uFAAuF;IACvF,yBAAyB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7E,mEAAmE;IACnE,eAAe,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,wEAAwE;IACxE,cAAc,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACvF,kEAAkE;IAClE,aAAa,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrF,kDAAkD;IAClD,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,sBAAsB,GAAG,qBAAqB,CAgJhG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DocumentSearchContext.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/search/DocumentSearchContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAwB,kBAAkB,EAA6B,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrK,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,UAAU,oBAAoB;IAC1B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAGD,qBAAa,cAAe,YAAW,eAAe;IAS/B,MAAM,EAAE,UAAU;IAAS,KAAK;IAPnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,qCAA8C;IACpD,MAAM,oCAA4E;IAElF,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7B,KAAK,EAAE,kBAAkB,CAAM;gBAEZ,MAAM,EAAE,UAAU,EAAS,KAAK,SAAM;IAEzD,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE;IAK9B,IAAI,OAAO,6CAEV;IAED,IAAI,KAAK,sBAER;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,cAAc,CAAC,IAAI,EAAE,MAAM;IAI3B,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAMvC,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE;IAI1B,YAAY,CAAC,UAAU,GAAE,OAAc;
|
|
1
|
+
{"version":3,"file":"DocumentSearchContext.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/search/DocumentSearchContext.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAuB,MAAM,mBAAmB,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAwB,kBAAkB,EAA6B,iBAAiB,EAAE,WAAW,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrK,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAEvD,UAAU,oBAAoB;IAC1B,OAAO,EAAE,iBAAiB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AAGD,qBAAa,cAAe,YAAW,eAAe;IAS/B,MAAM,EAAE,UAAU;IAAS,KAAK;IAPnD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,qCAA8C;IACpD,MAAM,oCAA4E;IAElF,UAAU,EAAE,SAAS,EAAE,CAAM;IAC7B,KAAK,EAAE,kBAAkB,CAAM;gBAEZ,MAAM,EAAE,UAAU,EAAS,KAAK,SAAM;IAEzD,UAAU,CAAC,MAAM,EAAE,SAAS,EAAE;IAK9B,IAAI,OAAO,6CAEV;IAED,IAAI,KAAK,sBAER;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IAED,IAAI,OAAO,IAAI,OAAO,CAErB;IAED,cAAc,CAAC,IAAI,EAAE,MAAM;IAI3B,cAAc,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG;IAMvC,cAAc,CAAC,IAAI,EAAE,GAAG,EAAE;IAI1B,YAAY,CAAC,UAAU,GAAE,OAAc;IAkBvC,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE;IAI5C,WAAW;IAIX,KAAK,CAAC,SAAS,UAAQ;IAQvB,mBAAmB,CAAC,KAAK,EAAE,OAAO;IAUlC,cAAc,CAAC,KAAK,EAAE,kBAAkB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,aAAa,GAAE,OAAc;IAetG,cAAc;IAOd,aAAa,CAAC,MAAM,EAAE,iBAAiB;IAMvC,OAAO,CAAC,QAAQ,UAAQ,EAAE,QAAQ,UAAQ;IAuC1C,MAAM,CAAC,QAAQ,UAAQ;IAQvB,QAAQ,CAAC,QAAQ,UAAQ;CAQ5B;AAED,QAAA,MAAM,qBAAqB,qDAAuD,CAAC;AAEnF,wBAAgB,iBAAiB,mBAEhC;AAED,wBAAgB,4BAA4B,0BAE3C;AAED,wBAAgB,4BAA4B;;aAhM/B,iBAAiB,EAAE;YACpB,KAAK;eACF,OAAO;cACR,OAAO;EAiMpB;AAED,wBAAgB,sBAAsB,uBAIrC;AAGD,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,CAAC"}
|
|
@@ -2,5 +2,5 @@ export declare function SelectionActions(): import("react/jsx-runtime").JSX.Elem
|
|
|
2
2
|
export declare function UploadObjectsButton({ collectionId, allowFolders }: {
|
|
3
3
|
collectionId?: string;
|
|
4
4
|
allowFolders?: boolean;
|
|
5
|
-
}):
|
|
5
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
6
6
|
//# sourceMappingURL=SelectionActions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionActions.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/selection/SelectionActions.tsx"],"names":[],"mappings":"AAWA,wBAAgB,gBAAgB,4CAkC/B;AAUD,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,YAAmB,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"SelectionActions.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/selection/SelectionActions.tsx"],"names":[],"mappings":"AAWA,wBAAgB,gBAAgB,4CAkC/B;AAUD,wBAAgB,mBAAmB,CAAC,EAAE,YAAY,EAAE,YAAmB,EAAE,EAAE;IAAE,YAAY,CAAC,EAAE,MAAM,CAAC;IAAC,YAAY,CAAC,EAAE,OAAO,CAAA;CAAE,2CA4B3H"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChangeTypeAction.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/store/objects/selection/actions/ChangeTypeAction.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ChangeTypeAction.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/store/objects/selection/actions/ChangeTypeAction.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,wBAAwB,2CAwDlG;AAED,eAAO,MAAM,gBAAgB,EAAE,iBAM9B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExportPropertiesAction.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/store/objects/selection/actions/ExportPropertiesAction.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,wBAAwB,
|
|
1
|
+
{"version":3,"file":"ExportPropertiesAction.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/store/objects/selection/actions/ExportPropertiesAction.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEnF,wBAAgB,yBAAyB,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,EAAE,wBAAwB,2CAmGxF;AAED,eAAO,MAAM,sBAAsB,EAAE,iBAMpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSmartFileUploadProcessing.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/upload/useSmartFileUploadProcessing.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,gBAAgB;IACxB,MAAM,WAAW,CAAE,8BAA8B;IACjD,IAAI,SAAS,CAAE,+CAA+C;IAC9D,MAAM,WAAW;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC;AA0ED;;;;GAIG;AACH,wBAAgB,4BAA4B;qCAY7B,IAAI,EAAE,mBACI,MAAM,GAAG,IAAI,wBACR,MAAM,KAC7B,OAAO,CAAC,gBAAgB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"useSmartFileUploadProcessing.d.ts","sourceRoot":"","sources":["../../../../../../src/features/store/objects/upload/useSmartFileUploadProcessing.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,gBAAgB;IACxB,MAAM,WAAW,CAAE,8BAA8B;IACjD,IAAI,SAAS,CAAE,+CAA+C;IAC9D,MAAM,WAAW;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC7B,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAE1B,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAClC;AA0ED;;;;GAIG;AACH,wBAAgB,4BAA4B;qCAY7B,IAAI,EAAE,mBACI,MAAM,GAAG,IAAI,wBACR,MAAM,KAC7B,OAAO,CAAC,gBAAgB,EAAE,CAAC;EA+HjC"}
|
|
@@ -2,7 +2,8 @@ import { ContentObjectType } from '@vertesia/common';
|
|
|
2
2
|
interface ObjectSchemaEditorProps {
|
|
3
3
|
objectType: ContentObjectType;
|
|
4
4
|
onSchemaUpdate: (jsonSchema: any) => void;
|
|
5
|
+
readonly?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare function ObjectSchemaEditor({ objectType, onSchemaUpdate }: ObjectSchemaEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function ObjectSchemaEditor({ objectType, onSchemaUpdate, readonly }: ObjectSchemaEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export {};
|
|
8
9
|
//# sourceMappingURL=ObjectSchemaEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ObjectSchemaEditor.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/ObjectSchemaEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGrD,UAAU,uBAAuB;IAC7B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"ObjectSchemaEditor.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/ObjectSchemaEditor.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAGrD,UAAU,uBAAuB;IAC7B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,CAAC,UAAU,EAAE,GAAG,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,wBAAgB,kBAAkB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,QAAgB,EAAE,EAAE,uBAAuB,2CAuG3G"}
|
|
@@ -28,6 +28,6 @@ interface SelectContentTypeModalProps {
|
|
|
28
28
|
* without any file upload functionality. Used for changing types, setting
|
|
29
29
|
* types in other contexts, etc.
|
|
30
30
|
*/
|
|
31
|
-
export declare function SelectContentTypeModal({ isOpen, onClose, title, children, initialSelectedType,
|
|
31
|
+
export declare function SelectContentTypeModal({ isOpen, onClose, title, children, initialSelectedType, allowNone, }: SelectContentTypeModalProps): import("react/jsx-runtime").JSX.Element;
|
|
32
32
|
export {};
|
|
33
33
|
//# sourceMappingURL=SelectContentTypeModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectContentTypeModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/SelectContentTypeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"SelectContentTypeModal.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/SelectContentTypeModal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,SAAS,EAAE,MAAM,OAAO,CAAC;AAU5C,OAAO,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC;AAIzD;;GAEG;AACH,UAAU,2BAA2B;IACjC,gCAAgC;IAChC,MAAM,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,KAAK,IAAI,CAAC;IACtD,0BAA0B;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qCAAqC;IACrC,mBAAmB,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAC;IACnD,gCAAgC;IAChC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,mCAAmC;IACnC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,yCAAyC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB;AAED;;;;;;GAMG;AACH,wBAAgB,sBAAsB,CAAC,EACnC,MAAM,EACN,OAAO,EACP,KAA6B,EAC7B,QAAQ,EACR,mBAA0B,EAC1B,SAAgB,GACnB,EAAE,2BAA2B,2CA8E7B"}
|
|
@@ -2,8 +2,9 @@ import { ColumnLayout, ContentObjectType } from '@vertesia/common';
|
|
|
2
2
|
interface TableLayoutEditorProps {
|
|
3
3
|
objectType: ContentObjectType;
|
|
4
4
|
onLayoutUpdate: (value: ColumnLayout[] | undefined) => void;
|
|
5
|
+
readonly?: boolean;
|
|
5
6
|
}
|
|
6
|
-
export declare function TableLayoutEditor({ objectType, onLayoutUpdate }: TableLayoutEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function TableLayoutEditor({ objectType, onLayoutUpdate, readonly }: TableLayoutEditorProps): import("react/jsx-runtime").JSX.Element;
|
|
7
8
|
export declare function stringifyTableLayout(obj: any): string;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=TableLayoutEditor.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableLayoutEditor.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/TableLayoutEditor.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,UAAU,sBAAsB;IAC5B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"TableLayoutEditor.d.ts","sourceRoot":"","sources":["../../../../../src/features/store/types/TableLayoutEditor.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAKnE,UAAU,sBAAsB;IAC5B,UAAU,EAAE,iBAAiB,CAAC;IAC9B,cAAc,EAAE,CAAC,KAAK,EAAE,YAAY,EAAE,GAAG,SAAS,KAAK,IAAI,CAAC;IAC5D,QAAQ,CAAC,EAAE,OAAO,CAAC;CACtB;AACD,wBAAgB,iBAAiB,CAAC,EAAE,UAAU,EAAE,cAAc,EAAE,QAAgB,EAAE,EAAE,sBAAsB,2CAkFzG;AAGD,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,GAAG,UAK5C"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { User, UserGroup } from "@vertesia/common";
|
|
1
|
+
import { ApiKey, User, UserGroup } from "@vertesia/common";
|
|
2
2
|
/**
|
|
3
3
|
* Fetch the user information given a user reference.
|
|
4
4
|
* The reference has the format: `type:id`. A special reference `system` is used to refer to the system user.
|
|
@@ -22,6 +22,17 @@ export declare function useFetchGroupInfo(groupId: string): {
|
|
|
22
22
|
setData: import("react").Dispatch<import("react").SetStateAction<UserGroup | undefined>>;
|
|
23
23
|
refetch: () => Promise<void>;
|
|
24
24
|
};
|
|
25
|
+
/**
|
|
26
|
+
* Fetch the API key information given a key ID.
|
|
27
|
+
* @param keyId
|
|
28
|
+
*/
|
|
29
|
+
export declare function useFetchApiKeyInfo(keyId: string): {
|
|
30
|
+
data: ApiKey | undefined;
|
|
31
|
+
isLoading: boolean;
|
|
32
|
+
error: any;
|
|
33
|
+
setData: import("react").Dispatch<import("react").SetStateAction<ApiKey | undefined>>;
|
|
34
|
+
refetch: () => Promise<void>;
|
|
35
|
+
};
|
|
25
36
|
interface InfoProps {
|
|
26
37
|
showTitle?: boolean;
|
|
27
38
|
size?: 'sm' | 'md' | 'lg' | 'xl' | '2xl';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserInfo.d.ts","sourceRoot":"","sources":["../../../../src/features/user/UserInfo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserInfo.d.ts","sourceRoot":"","sources":["../../../../src/features/user/UserInfo.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAiB,IAAI,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAW1E;;;;GAIG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM;;;;;;EAa9C;AAED;;;GAGG;AACH,wBAAgB,iBAAiB,CAAC,OAAO,EAAE,MAAM;;;;;;EAahD;AAED;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM;;;;;;EAa/C;AAMD,UAAU,SAAS;IACf,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,KAAK,CAAC;CAC5C;AAsID,UAAU,aAAc,SAAQ,SAAS;IACrC;;;;;;;;;OASG;IACH,OAAO,EAAE,MAAM,GAAG,SAAS,CAAC;CAC/B;AACD,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,SAAiB,EAAE,IAAW,EAAE,EAAE,aAAa,2CA6ElF;AAoFD,UAAU,iBAAkB,SAAQ,SAAS;IACzC,KAAK,EAAE,MAAM,CAAC;CACjB;AACD,wBAAgB,YAAY,CAAC,EAAE,KAAK,EAAE,SAAiB,EAAE,IAAW,EAAE,EAAE,iBAAiB,2CAuCxF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/print.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"print.d.ts","sourceRoot":"","sources":["../../../../src/features/utils/print.ts"],"names":[],"mappings":"AAoIA;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,WAAW,EAAE,KAAK,EAAE,MAAM,GAAG,OAAO,CA+CpF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/AppLayout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"AppLayout.d.ts","sourceRoot":"","sources":["../../../src/layout/AppLayout.tsx"],"names":[],"mappings":"AAQA,UAAU,cAAc;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC7C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC5C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC7C,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC5B;AACD,wBAAgB,SAAS,CAAC,EAAE,gBAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,cAAc,2CAqFzH"}
|
|
@@ -9,8 +9,9 @@ interface SidebarSectionProps {
|
|
|
9
9
|
title?: React.ReactNode;
|
|
10
10
|
action?: React.ReactNode;
|
|
11
11
|
isFooter?: boolean;
|
|
12
|
+
className?: string;
|
|
12
13
|
}
|
|
13
|
-
export declare function SidebarSection({ children, title, action, isFooter }: SidebarSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
export declare function SidebarSection({ children, title, action, isFooter, className }: SidebarSectionProps): import("react/jsx-runtime").JSX.Element;
|
|
14
15
|
export declare function SidebarTooltip({ children, text }: {
|
|
15
16
|
children: React.ReactNode;
|
|
16
17
|
text?: string;
|
|
@@ -25,7 +26,8 @@ export interface SidebarItemProps {
|
|
|
25
26
|
className?: string;
|
|
26
27
|
id?: string;
|
|
27
28
|
external?: boolean;
|
|
29
|
+
replace?: boolean;
|
|
28
30
|
}
|
|
29
|
-
export declare function SidebarItem({ external, className, tools, children, icon: Icon, href, current, onClick }: SidebarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
export declare function SidebarItem({ external, className, tools, children, icon: Icon, href, current, onClick, replace }: SidebarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
30
32
|
export {};
|
|
31
33
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../../../src/layout/Sidebar.tsx"],"names":[],"mappings":"AAOA,UAAU,YAAY;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAA;IAC7C,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;CACrB;AAED,wB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If true, use replaceState instead of pushState (no new browser history entry).
|
|
15
|
+
* Defaults to true for backward compatibility.
|
|
16
|
+
*/
|
|
17
|
+
replace?: boolean;
|
|
13
18
|
}
|
|
14
|
-
export declare function Nav({ children, onClick }: NavProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function Nav({ children, onClick, replace }: NavProps): import("react/jsx-runtime").JSX.Element;
|
|
15
20
|
/**
|
|
16
21
|
* A anchor tag that performs navigation through the router.
|
|
17
22
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../src/router/Nav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC;;GAEG;AACH,UAAU,QAAQ;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"Nav.d.ts","sourceRoot":"","sources":["../../../src/router/Nav.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAGvC;;GAEG;AACH,UAAU,QAAQ;IACd,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C;;;;OAIG;IACH,OAAO,CAAC,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,IAAI,CAAC;IACvC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACrB;AACD,wBAAgB,GAAG,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAc,EAAE,EAAE,QAAQ,2CAclE;AAED;;GAEG;AACH,UAAU,YAAY;IAClB,QAAQ,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,SAAS,EAAE,CAAC;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,gBAAgB,CAAC,EAAE,OAAO,CAAC;CAC9B;AACD,wBAAgB,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAwB,EAAE,EAAE,YAAY,2CAWzG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSession.d.ts","sourceRoot":"","sources":["../../../src/session/UserSession.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"UserSession.d.ts","sourceRoot":"","sources":["../../../src/session/UserSession.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAKpD,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,CAAC;AAKhE,cAAM,WAAW;IAEb,SAAS,UAAQ;IACjB,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI,CAAC;IAC5C,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpC,kBAAkB,CAAC,EAAE,OAAO,CAAC;gBAEjB,MAAM,CAAC,EAAE,cAAc,EAAE,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,WAAW,KAAK,IAAI;IAmBhF,IAAI,KAAK,0CAER;IAED,IAAI,IAAI,iCAEP;IAED,IAAI,OAAO,sDAEV;IAED,IAAI,OAAO,sDAEV;IAED,IAAI,QAAQ,wDAEX;IAED,IAAI,YAAY,oBAEf;IAED,IAAI,YAAY,oBASf;IAED,OAAO;IAIP,UAAU;IAIJ,KAAK,CAAC,KAAK,EAAE,MAAM;IAuBzB,UAAU;IAKV,MAAM;IAuCA,aAAa,CAAC,eAAe,EAAE,MAAM;IAarC,aAAa,CAAC,eAAe,EAAE,MAAM;IAQrC,UAAU;IAYV,WAAW;IAMX,aAAa;IAab,qBAAqB,IAAI,OAAO,CAAC,OAAO,CAAC;IAqB/C,KAAK;CAYR;AAED,QAAA,MAAM,kBAAkB,sCAA+C,CAAC;AAExE,wBAAgB,cAAc,gBAO7B;AAED,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserSessionProvider.d.ts","sourceRoot":"","sources":["../../../src/session/UserSessionProvider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"UserSessionProvider.d.ts","sourceRoot":"","sources":["../../../src/session/UserSessionProvider.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAS/D,wBAAgB,2BAA2B,YAO1C;AAED,UAAU,wBAAwB;IAC9B,QAAQ,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;CACrC;AACD,wBAAgB,mBAAmB,CAAC,EAAE,QAAQ,EAAE,EAAE,wBAAwB,2CAsKzE"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"JSONCode.d.ts","sourceRoot":"","sources":["../../../../src/widgets/json-view/JSONCode.tsx"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"JSONCode.d.ts","sourceRoot":"","sources":["../../../../src/widgets/json-view/JSONCode.tsx"],"names":[],"mappings":"AAKA,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE;IAAE,IAAI,EAAE,GAAG,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAA;CAAE,2CA0B9E"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Supports rendering charts, tables, markdown, fusion fragments, and more.
|
|
5
5
|
*/
|
|
6
6
|
import { type ReactElement } from 'react';
|
|
7
|
-
export type ExpandRenderType = 'chart' | 'vega-lite' | 'table' | 'markdown' | 'fusion-fragment' | 'code' | 'image' | 'auto';
|
|
7
|
+
export type ExpandRenderType = 'chart' | 'vega-lite' | 'table' | 'markdown' | 'fusion-fragment' | 'mockup' | 'code' | 'image' | 'auto';
|
|
8
8
|
export interface ArtifactContentRendererProps {
|
|
9
9
|
/** The fetched content (parsed JSON or string) */
|
|
10
10
|
content: unknown;
|
|
@@ -17,6 +17,15 @@ export interface ArtifactContentRendererProps {
|
|
|
17
17
|
/** Content type detected from path */
|
|
18
18
|
contentType?: 'json' | 'text' | 'binary';
|
|
19
19
|
}
|
|
20
|
+
/**
|
|
21
|
+
* Sanitize SVG markup using DOMPurify.
|
|
22
|
+
* Allows only safe SVG elements; strips scripts, event handlers, and foreignObject.
|
|
23
|
+
*/
|
|
24
|
+
export declare function sanitizeSvg(svg: string): string;
|
|
25
|
+
/**
|
|
26
|
+
* Make SVG responsive — remove fixed dimensions, ensure viewBox.
|
|
27
|
+
*/
|
|
28
|
+
export declare function makeSvgResponsive(svg: string): string;
|
|
20
29
|
/**
|
|
21
30
|
* ArtifactContentRenderer - Main component
|
|
22
31
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ArtifactContentRenderer.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/ArtifactContentRenderer.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ArtifactContentRenderer.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/ArtifactContentRenderer.tsx"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAW,KAAK,YAAY,EAAE,MAAM,OAAO,CAAC;AASnD,MAAM,MAAM,gBAAgB,GACtB,OAAO,GACP,WAAW,GACX,OAAO,GACP,UAAU,GACV,iBAAiB,GACjB,QAAQ,GACR,MAAM,GACN,OAAO,GACP,MAAM,CAAC;AAEb,MAAM,WAAW,4BAA4B;IACzC,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAC;IACjB,yDAAyD;IACzD,UAAU,EAAE,gBAAgB,CAAC;IAC7B,qDAAqD;IACrD,IAAI,EAAE,MAAM,CAAC;IACb,4CAA4C;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAC;CAC5C;AAgKD;;;GAGG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAM/C;AAED;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAsBrD;AAyCD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,EACpC,OAAO,EACP,UAAU,EACV,IAAI,EACJ,KAAK,EACL,WAAW,GACd,EAAE,4BAA4B,GAAG,YAAY,CAmH7C"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface MarkdownFigureProps {
|
|
2
|
+
src?: string;
|
|
3
|
+
alt?: string;
|
|
4
|
+
caption: string;
|
|
5
|
+
className?: string;
|
|
6
|
+
artifactRunId?: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Markdown figure component for images with captions.
|
|
10
|
+
* Wraps the image in a <figure> element with a <figcaption>.
|
|
11
|
+
*
|
|
12
|
+
* Usage in markdown: 
|
|
13
|
+
*/
|
|
14
|
+
export declare function MarkdownFigure({ src, alt, caption, className, artifactRunId, }: MarkdownFigureProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
//# sourceMappingURL=MarkdownFigure.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownFigure.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/MarkdownFigure.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,mBAAmB;IAChC,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;GAKG;AACH,wBAAgB,cAAc,CAAC,EAC3B,GAAG,EACH,GAAG,EACH,OAAO,EACP,SAAS,EACT,aAAa,GAChB,EAAE,mBAAmB,2CA0BrB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/MarkdownRenderer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MarkdownRenderer.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/MarkdownRenderer.tsx"],"names":[],"mappings":"AA8DA,MAAM,WAAW,qBAAqB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,CAAC,EAAE,GAAG,CAAC;IACjB,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC;IACtB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2CAA2C;IAC3C,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sCAAsC;IACtC,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,gEAAgE;IAChE,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;CACjD;AAKD,wBAAgB,gBAAgB,CAAC,EAC7B,QAAQ,EACR,UAAU,EACV,aAAkB,EAClB,cAAqB,EACrB,aAAa,EACb,SAAS,EACT,aAAa,EACb,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,gBAAgB,GACnB,EAAE,qBAAqB,2CAqMvB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MermaidDiagram.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/MermaidDiagram.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"MermaidDiagram.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/MermaidDiagram.tsx"],"names":[],"mappings":"AAsGA,MAAM,WAAW,mBAAmB;IAChC,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,6CAA6C;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,mBAAmB,kDAmEtE"}
|
|
@@ -19,8 +19,7 @@ export declare function useCodeBlockContext(): CodeBlockHandlerContext;
|
|
|
19
19
|
export declare function VegaLiteCodeBlockHandler({ code }: CodeBlockRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
20
20
|
/**
|
|
21
21
|
* Chart code block handler
|
|
22
|
-
*
|
|
23
|
-
* Routes directly to the appropriate chart component based on detected library
|
|
22
|
+
* `chart` now accepts Vega-Lite specifications only.
|
|
24
23
|
*/
|
|
25
24
|
export declare function ChartCodeBlockHandler({ code }: CodeBlockRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
26
25
|
/**
|
|
@@ -31,6 +30,10 @@ export declare function MermaidCodeBlockHandler({ code }: CodeBlockRendererProps
|
|
|
31
30
|
* Proposal/AskUser code block handler
|
|
32
31
|
*/
|
|
33
32
|
export declare function ProposalCodeBlockHandler({ code }: CodeBlockRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
/**
|
|
34
|
+
* Mockup code block handler — renders inline SVG after sanitization.
|
|
35
|
+
*/
|
|
36
|
+
export declare function MockupCodeBlockHandler({ code }: CodeBlockRendererProps): import("react/jsx-runtime").JSX.Element;
|
|
34
37
|
/**
|
|
35
38
|
* Expand code block handler - fetches artifact and renders content inline.
|
|
36
39
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codeBlockHandlers.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/codeBlockHandlers.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AASnE;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC9C,gBAAgB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM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AAsB,2CAqBtE;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,sBAAsB,2CAsEhF;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAEtE;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,8BAA8B,IAAI,MAAM,CACpD,MAAM,EACN,KAAK,CAAC,iBAAiB,CAAC,sBAAsB,CAAC,CAClD,CAmBA"}
|
|
@@ -2,6 +2,7 @@ export { CodeBlockRendererProvider, useCodeBlockComponent, useCodeBlockRendererR
|
|
|
2
2
|
export { MarkdownRenderer, type MarkdownRendererProps } from './MarkdownRenderer';
|
|
3
3
|
export { MarkdownLink, type MarkdownLinkProps } from './MarkdownLink';
|
|
4
4
|
export { MarkdownImage, type MarkdownImageProps } from './MarkdownImage';
|
|
5
|
+
export { MarkdownFigure, type MarkdownFigureProps } from './MarkdownFigure';
|
|
5
6
|
export { useResolvedUrl, parseUrlScheme, mapSchemeToRoute, type UrlScheme, type ResolvedUrlState, type UseResolvedUrlOptions, } from './useResolvedUrl';
|
|
6
7
|
export { CodeBlockPlaceholder, CodeBlockErrorBoundary, type CodeBlockPlaceholderProps, type CodeBlockType, } from './CodeBlockPlaceholder';
|
|
7
8
|
export { ChartCodeBlockHandler, MermaidCodeBlockHandler, ProposalCodeBlockHandler, ExpandCodeBlockHandler, CodeBlockHandlerProvider, useCodeBlockContext, createDefaultCodeBlockHandlers, isExpandLanguage, type CodeBlockHandlerContext, } from './codeBlockHandlers';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,KAAK,sBAAsB,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EACH,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,oBAAoB,EACpB,sBAAsB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,GACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,8BAA8B,EAC9B,gBAAgB,EAChB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACH,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACH,uBAAuB,EACvB,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,GACxB,MAAM,2BAA2B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACH,yBAAyB,EACzB,qBAAqB,EACrB,4BAA4B,EAC5B,KAAK,sBAAsB,GAC9B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,KAAK,qBAAqB,EAAE,MAAM,oBAAoB,CAAC;AAClF,OAAO,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACtE,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,KAAK,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAC5E,OAAO,EACH,cAAc,EACd,cAAc,EACd,gBAAgB,EAChB,KAAK,SAAS,EACd,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,GAC7B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACH,oBAAoB,EACpB,sBAAsB,EACtB,KAAK,yBAAyB,EAC9B,KAAK,aAAa,GACrB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EACvB,wBAAwB,EACxB,sBAAsB,EACtB,wBAAwB,EACxB,mBAAmB,EACnB,8BAA8B,EAC9B,gBAAgB,EAChB,KAAK,uBAAuB,GAC/B,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAClD,OAAO,EACH,kBAAkB,EAClB,KAAK,oBAAoB,EACzB,KAAK,yBAAyB,GACjC,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACH,uBAAuB,EACvB,KAAK,4BAA4B,EACjC,KAAK,gBAAgB,GACxB,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Normalizes inline markdown links/images with custom URL schemes so they parse
|
|
3
|
+
* correctly even when paths contain spaces (e.g. artifact:out/INVOICE 2025-001.pdf).
|
|
4
|
+
*
|
|
5
|
+
* CommonMark requires destinations with spaces to be wrapped in <...>.
|
|
6
|
+
* We apply this only outside fenced/inline code spans.
|
|
7
|
+
*/
|
|
8
|
+
export declare function normalizeCustomSchemeLinks(markdown: string): string;
|
|
9
|
+
//# sourceMappingURL=normalizeCustomSchemeLinks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeCustomSchemeLinks.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/normalizeCustomSchemeLinks.ts"],"names":[],"mappings":"AAiEA;;;;;;GAMG;AACH,wBAAgB,0BAA0B,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAkBnE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Normalize Pandoc-style single-line fenced divs into remark-directive syntax.
|
|
3
|
+
*
|
|
4
|
+
* Pandoc allows single-line containers:
|
|
5
|
+
* ::: pagebreak :::
|
|
6
|
+
* ::: tip Some content here. :::
|
|
7
|
+
*
|
|
8
|
+
* remark-directive requires multi-line containers:
|
|
9
|
+
* :::pagebreak
|
|
10
|
+
* :::
|
|
11
|
+
*
|
|
12
|
+
* :::tip
|
|
13
|
+
* Some content here.
|
|
14
|
+
* :::
|
|
15
|
+
*
|
|
16
|
+
* This preprocessor converts the single-line form into multi-line so that
|
|
17
|
+
* remark-directive can parse them correctly.
|
|
18
|
+
*/
|
|
19
|
+
export declare function normalizeDirectives(markdown: string): string;
|
|
20
|
+
//# sourceMappingURL=normalizeDirectives.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalizeDirectives.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/normalizeDirectives.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AAgBH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAgB5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"remarkDirectiveHandler.d.ts","sourceRoot":"","sources":["../../../../src/widgets/markdown/remarkDirectiveHandler.ts"],"names":[],"mappings":"AAwCA,wBAAgB,sBAAsB,KAE1B,MAAM,GAAG,UA4EpB"}
|