@vertesia/ui 1.0.0-dev.20260128.144200 → 1.0.0-dev.20260203.130115Z
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/package.json +5 -5
- package/src/core/components/InputList.tsx +1 -1
- package/src/core/components/Overlay.tsx +1 -1
- package/src/core/components/SidePanel.tsx +25 -13
- package/src/core/components/index.ts +0 -8
- package/src/core/components/{Panel.tsx → shadcn/Panel.tsx} +1 -1
- 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/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 +14 -12
- package/src/core/components/shadcn/tabs.tsx +16 -7
- package/src/core/components/shadcn/tooltip.tsx +23 -17
- package/src/features/agent/chat/AskUserWidget.tsx +4 -3
- package/src/features/agent/chat/ModernAgentConversation.tsx +8 -8
- package/src/features/agent/chat/ModernAgentOutput/MessageInput.tsx +23 -32
- package/src/features/store/collections/CreateCollection.tsx +8 -8
- package/src/features/store/collections/EditCollectionView.tsx +1 -1
- package/src/features/store/objects/components/ContentOverview.tsx +8 -8
- 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/selection/actions/AddToCollectionAction.tsx +13 -13
- 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/types/ObjectSchemaEditor.tsx +28 -27
- package/src/features/store/types/SelectContentType.tsx +3 -3
- package/src/features/store/types/TableLayoutEditor.tsx +11 -17
- package/src/features/user/UserInfo.tsx +158 -10
- package/src/layout/AppLayout.tsx +16 -44
- package/src/layout/Sidebar.tsx +4 -3
- 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/monacoEditor/MonacoEditor.tsx +2 -17
- package/src/widgets/schema-editor/editor/PropertyEditor.tsx +5 -5
- package/lib/esm/core/components/Avatar.js +0 -31
- package/lib/esm/core/components/Avatar.js.map +0 -1
- package/lib/esm/core/components/Badge.js +0 -62
- 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/Center.js +0 -6
- package/lib/esm/core/components/Center.js.map +0 -1
- package/lib/esm/core/components/ComboBox.js +0 -356
- package/lib/esm/core/components/ComboBox.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 +0 -28
- package/lib/esm/core/components/DeleteModal.js.map +0 -1
- package/lib/esm/core/components/Divider.js +0 -6
- package/lib/esm/core/components/Divider.js.map +0 -1
- package/lib/esm/core/components/Dropdown.js +0 -16
- package/lib/esm/core/components/Dropdown.js.map +0 -1
- package/lib/esm/core/components/DropdownList.js +0 -9
- package/lib/esm/core/components/DropdownList.js.map +0 -1
- package/lib/esm/core/components/EmptyCollection.js +0 -7
- package/lib/esm/core/components/EmptyCollection.js.map +0 -1
- package/lib/esm/core/components/FileUpload.js +0 -119
- package/lib/esm/core/components/FileUpload.js.map +0 -1
- package/lib/esm/core/components/FormItem.js +0 -9
- package/lib/esm/core/components/FormItem.js.map +0 -1
- package/lib/esm/core/components/InputList.js +0 -61
- package/lib/esm/core/components/InputList.js.map +0 -1
- package/lib/esm/core/components/Link.js +0 -13
- package/lib/esm/core/components/Link.js.map +0 -1
- package/lib/esm/core/components/MenuList.js +0 -20
- package/lib/esm/core/components/MenuList.js.map +0 -1
- package/lib/esm/core/components/MessageBox.js +0 -66
- 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/NumberInput.js +0 -43
- package/lib/esm/core/components/NumberInput.js.map +0 -1
- package/lib/esm/core/components/Overlay.js +0 -57
- package/lib/esm/core/components/Overlay.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/Portal.js +0 -28
- package/lib/esm/core/components/Portal.js.map +0 -1
- package/lib/esm/core/components/RadioGroup.js +0 -34
- package/lib/esm/core/components/RadioGroup.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/SelectList.js +0 -52
- package/lib/esm/core/components/SelectList.js.map +0 -1
- package/lib/esm/core/components/SelectStack.js +0 -8
- package/lib/esm/core/components/SelectStack.js.map +0 -1
- package/lib/esm/core/components/SidePanel.js +0 -33
- package/lib/esm/core/components/SidePanel.js.map +0 -1
- package/lib/esm/core/components/Spinner.js +0 -18
- package/lib/esm/core/components/Spinner.js.map +0 -1
- package/lib/esm/core/components/Switch.js +0 -12
- package/lib/esm/core/components/Switch.js.map +0 -1
- package/lib/esm/core/components/TagsInput.js +0 -194
- package/lib/esm/core/components/TagsInput.js.map +0 -1
- package/lib/esm/core/components/index.js +0 -36
- package/lib/esm/core/components/index.js.map +0 -1
- package/lib/esm/core/components/libs/utils.js +0 -6
- package/lib/esm/core/components/libs/utils.js.map +0 -1
- package/lib/esm/core/components/libs/visuallyHidden.js +0 -16
- package/lib/esm/core/components/libs/visuallyHidden.js.map +0 -1
- package/lib/esm/core/components/popup/Popup.js +0 -60
- package/lib/esm/core/components/popup/Popup.js.map +0 -1
- package/lib/esm/core/components/popup/PopupController.js +0 -149
- package/lib/esm/core/components/popup/PopupController.js.map +0 -1
- package/lib/esm/core/components/popup/index.js +0 -4
- package/lib/esm/core/components/popup/index.js.map +0 -1
- package/lib/esm/core/components/popup/position.js +0 -221
- package/lib/esm/core/components/popup/position.js.map +0 -1
- package/lib/esm/core/components/popup/utils.js +0 -74
- package/lib/esm/core/components/popup/utils.js.map +0 -1
- package/lib/esm/core/components/shadcn/breadcrumb.js +0 -51
- package/lib/esm/core/components/shadcn/breadcrumb.js.map +0 -1
- package/lib/esm/core/components/shadcn/button.js +0 -76
- package/lib/esm/core/components/shadcn/button.js.map +0 -1
- package/lib/esm/core/components/shadcn/calendar.js +0 -13
- package/lib/esm/core/components/shadcn/calendar.js.map +0 -1
- package/lib/esm/core/components/shadcn/card.js +0 -17
- package/lib/esm/core/components/shadcn/card.js.map +0 -1
- package/lib/esm/core/components/shadcn/checkbox.js +0 -9
- package/lib/esm/core/components/shadcn/checkbox.js.map +0 -1
- package/lib/esm/core/components/shadcn/command.js +0 -29
- package/lib/esm/core/components/shadcn/command.js.map +0 -1
- package/lib/esm/core/components/shadcn/dialog.js +0 -74
- package/lib/esm/core/components/shadcn/dialog.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js +0 -38
- package/lib/esm/core/components/shadcn/filters/DynamicLabel.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js +0 -23
- package/lib/esm/core/components/shadcn/filters/animateChangeInHeight.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js +0 -129
- package/lib/esm/core/components/shadcn/filters/comboBox/DateCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js +0 -46
- package/lib/esm/core/components/shadcn/filters/comboBox/SelectCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js +0 -23
- package/lib/esm/core/components/shadcn/filters/comboBox/StringListCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js +0 -28
- package/lib/esm/core/components/shadcn/filters/comboBox/TextCombobox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js +0 -5
- package/lib/esm/core/components/shadcn/filters/comboBox/comboBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js +0 -98
- package/lib/esm/core/components/shadcn/filters/filter/SelectFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js +0 -24
- package/lib/esm/core/components/shadcn/filters/filter/StringListFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js +0 -21
- package/lib/esm/core/components/shadcn/filters/filter/TextFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js +0 -161
- package/lib/esm/core/components/shadcn/filters/filter/dateFilter.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filter-styles.js +0 -88
- package/lib/esm/core/components/shadcn/filters/filter-styles.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filterBar.js +0 -242
- package/lib/esm/core/components/shadcn/filters/filterBar.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/filters.js +0 -57
- package/lib/esm/core/components/shadcn/filters/filters.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/index.js +0 -6
- package/lib/esm/core/components/shadcn/filters/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/filters/types.js +0 -10
- package/lib/esm/core/components/shadcn/filters/types.js.map +0 -1
- package/lib/esm/core/components/shadcn/heading.js +0 -17
- package/lib/esm/core/components/shadcn/heading.js.map +0 -1
- package/lib/esm/core/components/shadcn/index.js +0 -23
- package/lib/esm/core/components/shadcn/index.js.map +0 -1
- package/lib/esm/core/components/shadcn/input.js +0 -41
- package/lib/esm/core/components/shadcn/input.js.map +0 -1
- package/lib/esm/core/components/shadcn/label.js +0 -10
- package/lib/esm/core/components/shadcn/label.js.map +0 -1
- package/lib/esm/core/components/shadcn/popover.js +0 -50
- package/lib/esm/core/components/shadcn/popover.js.map +0 -1
- package/lib/esm/core/components/shadcn/resizeable.js +0 -15
- package/lib/esm/core/components/shadcn/resizeable.js.map +0 -1
- package/lib/esm/core/components/shadcn/selectBox.js +0 -152
- package/lib/esm/core/components/shadcn/selectBox.js.map +0 -1
- package/lib/esm/core/components/shadcn/separator.js +0 -8
- package/lib/esm/core/components/shadcn/separator.js.map +0 -1
- package/lib/esm/core/components/shadcn/tabs.js +0 -132
- package/lib/esm/core/components/shadcn/tabs.js.map +0 -1
- package/lib/esm/core/components/shadcn/text.js +0 -30
- package/lib/esm/core/components/shadcn/text.js.map +0 -1
- package/lib/esm/core/components/shadcn/textarea.js +0 -7
- package/lib/esm/core/components/shadcn/textarea.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js +0 -39
- package/lib/esm/core/components/shadcn/theme/ThemeProvider.js.map +0 -1
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js +0 -13
- package/lib/esm/core/components/shadcn/theme/ThemeSwitcher.js.map +0 -1
- package/lib/esm/core/components/shadcn/tooltip.js +0 -14
- package/lib/esm/core/components/shadcn/tooltip.js.map +0 -1
- package/lib/esm/core/components/styles.js +0 -10
- package/lib/esm/core/components/styles.js.map +0 -1
- package/lib/esm/core/components/table/index.js +0 -24
- package/lib/esm/core/components/table/index.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/core/components/toast/NotificationPanel.js +0 -43
- package/lib/esm/core/components/toast/NotificationPanel.js.map +0 -1
- package/lib/esm/core/components/toast/ToastContext.js +0 -7
- package/lib/esm/core/components/toast/ToastContext.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProps.js +0 -2
- package/lib/esm/core/components/toast/ToastProps.js.map +0 -1
- package/lib/esm/core/components/toast/ToastProvider.js +0 -13
- package/lib/esm/core/components/toast/ToastProvider.js.map +0 -1
- package/lib/esm/core/components/toast/index.js +0 -3
- package/lib/esm/core/components/toast/index.js.map +0 -1
- package/lib/esm/core/hooks/CompositeState.js +0 -256
- package/lib/esm/core/hooks/CompositeState.js.map +0 -1
- package/lib/esm/core/hooks/PortalContainerProvider.js +0 -44
- package/lib/esm/core/hooks/PortalContainerProvider.js.map +0 -1
- package/lib/esm/core/hooks/SharedState.js +0 -64
- package/lib/esm/core/hooks/SharedState.js.map +0 -1
- package/lib/esm/core/hooks/index.js +0 -16
- package/lib/esm/core/hooks/index.js.map +0 -1
- package/lib/esm/core/hooks/useClickOutside.js +0 -29
- package/lib/esm/core/hooks/useClickOutside.js.map +0 -1
- package/lib/esm/core/hooks/useCopyToClipboard.js +0 -23
- package/lib/esm/core/hooks/useCopyToClipboard.js.map +0 -1
- package/lib/esm/core/hooks/useDarkMode.js +0 -11
- package/lib/esm/core/hooks/useDarkMode.js.map +0 -1
- package/lib/esm/core/hooks/useDebounce.js +0 -14
- package/lib/esm/core/hooks/useDebounce.js.map +0 -1
- package/lib/esm/core/hooks/useEventSource.js +0 -31
- package/lib/esm/core/hooks/useEventSource.js.map +0 -1
- package/lib/esm/core/hooks/useFetch.js +0 -40
- package/lib/esm/core/hooks/useFetch.js.map +0 -1
- package/lib/esm/core/hooks/useFlag.js +0 -13
- package/lib/esm/core/hooks/useFlag.js.map +0 -1
- package/lib/esm/core/hooks/useIntersectionObserver.js +0 -34
- package/lib/esm/core/hooks/useIntersectionObserver.js.map +0 -1
- package/lib/esm/core/hooks/useIsFistRendering.js +0 -14
- package/lib/esm/core/hooks/useIsFistRendering.js.map +0 -1
- package/lib/esm/core/hooks/useSafeLayoutEffect.js +0 -4
- package/lib/esm/core/hooks/useSafeLayoutEffect.js.map +0 -1
- package/lib/esm/core/hooks/useScrollableSearch.js +0 -92
- package/lib/esm/core/hooks/useScrollableSearch.js.map +0 -1
- package/lib/esm/core/hooks/useSharedValue.js +0 -21
- package/lib/esm/core/hooks/useSharedValue.js.map +0 -1
- package/lib/esm/core/index.js +0 -4
- package/lib/esm/core/index.js.map +0 -1
- package/lib/esm/core/utils/cn.js +0 -6
- package/lib/esm/core/utils/cn.js.map +0 -1
- package/lib/esm/core/utils/index.js +0 -2
- package/lib/esm/core/utils/index.js.map +0 -1
- package/lib/esm/env/index.js +0 -75
- package/lib/esm/env/index.js.map +0 -1
- package/lib/esm/features/activity-doc/ActivityDoc.js +0 -71
- package/lib/esm/features/activity-doc/ActivityDoc.js.map +0 -1
- package/lib/esm/features/activity-doc/index.js +0 -2
- package/lib/esm/features/activity-doc/index.js.map +0 -1
- package/lib/esm/features/agent/PayloadBuilder.js +0 -291
- package/lib/esm/features/agent/PayloadBuilder.js.map +0 -1
- package/lib/esm/features/agent/chat/AgentChart.js +0 -246
- package/lib/esm/features/agent/chat/AgentChart.js.map +0 -1
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js +0 -243
- package/lib/esm/features/agent/chat/AnimatedThinkingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/AskUserWidget.js +0 -113
- package/lib/esm/features/agent/chat/AskUserWidget.js.map +0 -1
- package/lib/esm/features/agent/chat/ImageLightbox.js +0 -33
- package/lib/esm/features/agent/chat/ImageLightbox.js.map +0 -1
- package/lib/esm/features/agent/chat/JumpingDots.js +0 -6
- package/lib/esm/features/agent/chat/JumpingDots.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentConversation.js +0 -953
- package/lib/esm/features/agent/chat/ModernAgentConversation.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js +0 -372
- package/lib/esm/features/agent/chat/ModernAgentOutput/AllMessagesMixed.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js +0 -88
- package/lib/esm/features/agent/chat/ModernAgentOutput/BatchProgressPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js +0 -64
- package/lib/esm/features/agent/chat/ModernAgentOutput/Header.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js +0 -29
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js +0 -95
- package/lib/esm/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js +0 -197
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageInput.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js +0 -252
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessageItem.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js +0 -20
- package/lib/esm/features/agent/chat/ModernAgentOutput/MessagesContainer.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js +0 -63
- package/lib/esm/features/agent/chat/ModernAgentOutput/PlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js +0 -23
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlideInPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js +0 -52
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js +0 -82
- package/lib/esm/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js +0 -13
- package/lib/esm/features/agent/chat/ModernAgentOutput/StackedMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js +0 -201
- package/lib/esm/features/agent/chat/ModernAgentOutput/StreamingMessage.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js +0 -374
- package/lib/esm/features/agent/chat/ModernAgentOutput/ToolCallGroup.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js +0 -105
- package/lib/esm/features/agent/chat/ModernAgentOutput/WorkstreamTabs.js.map +0 -1
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js +0 -415
- package/lib/esm/features/agent/chat/ModernAgentOutput/utils.js.map +0 -1
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js +0 -132
- package/lib/esm/features/agent/chat/SkillWidgetProvider.js.map +0 -1
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js +0 -266
- package/lib/esm/features/agent/chat/SlidingThinkingIndicator.js.map +0 -1
- package/lib/esm/features/agent/chat/VegaLiteChart.js +0 -781
- package/lib/esm/features/agent/chat/VegaLiteChart.js.map +0 -1
- package/lib/esm/features/agent/chat/WaitingMessages.js +0 -60
- package/lib/esm/features/agent/chat/WaitingMessages.js.map +0 -1
- package/lib/esm/features/agent/chat/index.js +0 -17
- package/lib/esm/features/agent/chat/index.js.map +0 -1
- package/lib/esm/features/agent/chat/useArtifactUrlCache.js +0 -62
- package/lib/esm/features/agent/chat/useArtifactUrlCache.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/index.js +0 -5
- package/lib/esm/features/agent/index.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/errors/PanelErrorBoundary.js +0 -11
- package/lib/esm/features/errors/PanelErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/RowErrorBoundary.js +0 -9
- package/lib/esm/features/errors/RowErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/VertesiaErrorBoundary.js +0 -15
- package/lib/esm/features/errors/VertesiaErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/WidgetErrorBoundary.js +0 -11
- package/lib/esm/features/errors/WidgetErrorBoundary.js.map +0 -1
- package/lib/esm/features/errors/index.js +0 -5
- package/lib/esm/features/errors/index.js.map +0 -1
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js +0 -86
- package/lib/esm/features/facets/AgentRunnerFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/CollectionsFacetsNav.js +0 -89
- package/lib/esm/features/facets/CollectionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/DocumentsFacetsNav.js +0 -147
- package/lib/esm/features/facets/DocumentsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/EnvironmentFacet.js +0 -39
- package/lib/esm/features/facets/EnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/InteractionsFacetsNav.js +0 -88
- package/lib/esm/features/facets/InteractionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/PromptsFacetsNav.js +0 -80
- package/lib/esm/features/facets/PromptsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/RunsFacetsNav.js +0 -157
- package/lib/esm/features/facets/RunsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js +0 -119
- package/lib/esm/features/facets/WorkflowExecutionsFacetsNav.js.map +0 -1
- package/lib/esm/features/facets/index.js +0 -16
- package/lib/esm/features/facets/index.js.map +0 -1
- package/lib/esm/features/facets/utils/SearchInterface.js +0 -2
- package/lib/esm/features/facets/utils/SearchInterface.js.map +0 -1
- package/lib/esm/features/facets/utils/StringFacet.js +0 -12
- package/lib/esm/features/facets/utils/StringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/StringListFacet.js +0 -11
- package/lib/esm/features/facets/utils/StringListFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/TypeFacet.js +0 -42
- package/lib/esm/features/facets/utils/TypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js +0 -25
- package/lib/esm/features/facets/utils/VEnvironmentFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VInteractionFacet.js +0 -45
- package/lib/esm/features/facets/utils/VInteractionFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VStringFacet.js +0 -20
- package/lib/esm/features/facets/utils/VStringFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VTypeFacet.js +0 -61
- package/lib/esm/features/facets/utils/VTypeFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/VUserFacet.js +0 -31
- package/lib/esm/features/facets/utils/VUserFacet.js.map +0 -1
- package/lib/esm/features/facets/utils/utils.js +0 -7
- package/lib/esm/features/facets/utils/utils.js.map +0 -1
- package/lib/esm/features/index.js +0 -12
- package/lib/esm/features/index.js.map +0 -1
- package/lib/esm/features/layout/GenericPageNavHeader.js +0 -74
- package/lib/esm/features/layout/GenericPageNavHeader.js.map +0 -1
- package/lib/esm/features/layout/NotFoundView.js +0 -5
- package/lib/esm/features/layout/NotFoundView.js.map +0 -1
- package/lib/esm/features/layout/index.js +0 -3
- package/lib/esm/features/layout/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js +0 -268
- package/lib/esm/features/magic-pdf/AnnotatedImageSlider.js.map +0 -1
- package/lib/esm/features/magic-pdf/DownloadPopover.js +0 -28
- package/lib/esm/features/magic-pdf/DownloadPopover.js.map +0 -1
- package/lib/esm/features/magic-pdf/ExtractedContentView.js +0 -77
- package/lib/esm/features/magic-pdf/ExtractedContentView.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js +0 -242
- package/lib/esm/features/magic-pdf/MagicPdfProvider.js.map +0 -1
- package/lib/esm/features/magic-pdf/MagicPdfView.js +0 -61
- package/lib/esm/features/magic-pdf/MagicPdfView.js.map +0 -1
- package/lib/esm/features/magic-pdf/index.js +0 -2
- package/lib/esm/features/magic-pdf/index.js.map +0 -1
- package/lib/esm/features/magic-pdf/types.js +0 -2
- package/lib/esm/features/magic-pdf/types.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js +0 -261
- package/lib/esm/features/pdf-viewer/PdfPageRenderer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js +0 -276
- package/lib/esm/features/pdf-viewer/PdfPageSlider.js.map +0 -1
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js +0 -71
- package/lib/esm/features/pdf-viewer/SimplePdfViewer.js.map +0 -1
- package/lib/esm/features/pdf-viewer/index.js +0 -4
- package/lib/esm/features/pdf-viewer/index.js.map +0 -1
- package/lib/esm/features/permissions/SecureButton.js +0 -13
- package/lib/esm/features/permissions/SecureButton.js.map +0 -1
- package/lib/esm/features/permissions/SecureSidebarItem.js +0 -14
- package/lib/esm/features/permissions/SecureSidebarItem.js.map +0 -1
- package/lib/esm/features/permissions/UserPermissionsProvider.js +0 -87
- package/lib/esm/features/permissions/UserPermissionsProvider.js.map +0 -1
- package/lib/esm/features/permissions/helpers.js +0 -12
- package/lib/esm/features/permissions/helpers.js.map +0 -1
- package/lib/esm/features/permissions/index.js +0 -5
- package/lib/esm/features/permissions/index.js.map +0 -1
- package/lib/esm/features/store/collections/BrowseCollectionView.js +0 -40
- package/lib/esm/features/store/collections/BrowseCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/CollectionsTable.js +0 -64
- package/lib/esm/features/store/collections/CollectionsTable.js.map +0 -1
- package/lib/esm/features/store/collections/CreateCollection.js +0 -87
- package/lib/esm/features/store/collections/CreateCollection.js.map +0 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +0 -181
- package/lib/esm/features/store/collections/EditCollectionView.js.map +0 -1
- package/lib/esm/features/store/collections/SelectCollection.js +0 -119
- package/lib/esm/features/store/collections/SelectCollection.js.map +0 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +0 -39
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +0 -1
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +0 -35
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +0 -1
- package/lib/esm/features/store/collections/index.js +0 -8
- package/lib/esm/features/store/collections/index.js.map +0 -1
- package/lib/esm/features/store/index.js +0 -4
- package/lib/esm/features/store/index.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js +0 -147
- package/lib/esm/features/store/objects/DocumentPreviewPanel.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSearchResults.js +0 -204
- package/lib/esm/features/store/objects/DocumentSearchResults.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js +0 -81
- package/lib/esm/features/store/objects/DocumentSelectionProvider.js.map +0 -1
- package/lib/esm/features/store/objects/DocumentTable.js +0 -278
- package/lib/esm/features/store/objects/DocumentTable.js.map +0 -1
- package/lib/esm/features/store/objects/ExportPropertiesModal.js +0 -31
- package/lib/esm/features/store/objects/ExportPropertiesModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js +0 -31
- package/lib/esm/features/store/objects/components/ContentDispositionButton.js.map +0 -1
- package/lib/esm/features/store/objects/components/ContentOverview.js +0 -629
- package/lib/esm/features/store/objects/components/ContentOverview.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentIcon.js +0 -33
- package/lib/esm/features/store/objects/components/DocumentIcon.js.map +0 -1
- package/lib/esm/features/store/objects/components/DocumentInput.js +0 -51
- package/lib/esm/features/store/objects/components/DocumentInput.js.map +0 -1
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js +0 -157
- package/lib/esm/features/store/objects/components/PropertiesEditorModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js +0 -53
- package/lib/esm/features/store/objects/components/SaveVersionConfirmModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocument.js +0 -55
- package/lib/esm/features/store/objects/components/SelectDocument.js.map +0 -1
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js +0 -7
- package/lib/esm/features/store/objects/components/SelectDocumentModal.js.map +0 -1
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js +0 -90
- package/lib/esm/features/store/objects/components/VectorSearchWidget.js.map +0 -1
- package/lib/esm/features/store/objects/components/index.js +0 -10
- package/lib/esm/features/store/objects/components/index.js.map +0 -1
- package/lib/esm/features/store/objects/components/useContentPanelHooks.js +0 -169
- package/lib/esm/features/store/objects/components/useContentPanelHooks.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/esm/features/store/objects/index.js +0 -11
- package/lib/esm/features/store/objects/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js +0 -86
- package/lib/esm/features/store/objects/layout/DocumentTableColumn.js.map +0 -1
- package/lib/esm/features/store/objects/layout/documentLayout.js +0 -15
- package/lib/esm/features/store/objects/layout/documentLayout.js.map +0 -1
- package/lib/esm/features/store/objects/layout/index.js +0 -3
- package/lib/esm/features/store/objects/layout/index.js.map +0 -1
- package/lib/esm/features/store/objects/layout/renderers.js +0 -157
- package/lib/esm/features/store/objects/layout/renderers.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js +0 -175
- package/lib/esm/features/store/objects/search/DocumentSearchContext.js.map +0 -1
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js +0 -39
- package/lib/esm/features/store/objects/search/DocumentSearchProvider.js.map +0 -1
- package/lib/esm/features/store/objects/search/index.js +0 -3
- package/lib/esm/features/store/objects/search/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js +0 -150
- package/lib/esm/features/store/objects/selection/ObjectsActionContext.js.map +0 -1
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js +0 -2
- package/lib/esm/features/store/objects/selection/ObjectsActionSpec.js.map +0 -1
- package/lib/esm/features/store/objects/selection/SelectionActions.js +0 -69
- package/lib/esm/features/store/objects/selection/SelectionActions.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js +0 -81
- package/lib/esm/features/store/objects/selection/actions/AddToCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js +0 -53
- package/lib/esm/features/store/objects/selection/actions/ChangeTypeAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js +0 -30
- package/lib/esm/features/store/objects/selection/actions/ConfirmAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js +0 -84
- package/lib/esm/features/store/objects/selection/actions/DeleteObjectsAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js +0 -106
- package/lib/esm/features/store/objects/selection/actions/ExportPropertiesAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js +0 -64
- package/lib/esm/features/store/objects/selection/actions/RemoveFromCollectionAction.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js +0 -72
- package/lib/esm/features/store/objects/selection/actions/StartWorkflowComponent.js.map +0 -1
- package/lib/esm/features/store/objects/selection/actions/index.js +0 -8
- package/lib/esm/features/store/objects/selection/actions/index.js.map +0 -1
- package/lib/esm/features/store/objects/selection/index.js +0 -5
- package/lib/esm/features/store/objects/selection/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js +0 -519
- package/lib/esm/features/store/objects/upload/DocumentUploadModal.js.map +0 -1
- package/lib/esm/features/store/objects/upload/index.js +0 -4
- package/lib/esm/features/store/objects/upload/index.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +0 -195
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +0 -1
- package/lib/esm/features/store/objects/upload/useUploadHandler.js +0 -230
- package/lib/esm/features/store/objects/upload/useUploadHandler.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js +0 -81
- package/lib/esm/features/store/types/ContentObjectTypesSearch.js.map +0 -1
- package/lib/esm/features/store/types/ContentObjectTypesTable.js +0 -11
- package/lib/esm/features/store/types/ContentObjectTypesTable.js.map +0 -1
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js +0 -26
- package/lib/esm/features/store/types/CreateOrUpdateTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/ObjectSchemaEditor.js +0 -101
- package/lib/esm/features/store/types/ObjectSchemaEditor.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentType.js +0 -43
- package/lib/esm/features/store/types/SelectContentType.js.map +0 -1
- package/lib/esm/features/store/types/SelectContentTypeModal.js +0 -28
- package/lib/esm/features/store/types/SelectContentTypeModal.js.map +0 -1
- package/lib/esm/features/store/types/TableLayoutEditor.js +0 -76
- package/lib/esm/features/store/types/TableLayoutEditor.js.map +0 -1
- package/lib/esm/features/store/types/index.js +0 -9
- package/lib/esm/features/store/types/index.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js +0 -98
- package/lib/esm/features/store/types/search/ObjectTypeSearchContext.js.map +0 -1
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js +0 -15
- package/lib/esm/features/store/types/search/ObjectTypeSearchProvider.js.map +0 -1
- package/lib/esm/features/store/types/search/index.js +0 -3
- package/lib/esm/features/store/types/search/index.js.map +0 -1
- package/lib/esm/features/user/UserAvatar.js +0 -18
- package/lib/esm/features/user/UserAvatar.js.map +0 -1
- package/lib/esm/features/user/UserInfo.js +0 -121
- package/lib/esm/features/user/UserInfo.js.map +0 -1
- package/lib/esm/features/user/index.js +0 -3
- package/lib/esm/features/user/index.js.map +0 -1
- package/lib/esm/features/utils/index.js +0 -6
- package/lib/esm/features/utils/index.js.map +0 -1
- package/lib/esm/features/utils/mimeType.js +0 -17
- package/lib/esm/features/utils/mimeType.js.map +0 -1
- package/lib/esm/features/utils/print.js +0 -181
- package/lib/esm/features/utils/print.js.map +0 -1
- package/lib/esm/features/utils/rendition.js +0 -67
- package/lib/esm/features/utils/rendition.js.map +0 -1
- package/lib/esm/features/utils/text.js +0 -10
- package/lib/esm/features/utils/text.js.map +0 -1
- package/lib/esm/features/utils/workflowStatus.js +0 -43
- package/lib/esm/features/utils/workflowStatus.js.map +0 -1
- package/lib/esm/layout/AppLayout.js +0 -46
- package/lib/esm/layout/AppLayout.js.map +0 -1
- package/lib/esm/layout/FullHeightLayout.js +0 -18
- package/lib/esm/layout/FullHeightLayout.js.map +0 -1
- package/lib/esm/layout/Navbar.js +0 -40
- package/lib/esm/layout/Navbar.js.map +0 -1
- package/lib/esm/layout/Sidebar.js +0 -45
- package/lib/esm/layout/Sidebar.js.map +0 -1
- package/lib/esm/layout/SidebarContext.js +0 -10
- package/lib/esm/layout/SidebarContext.js.map +0 -1
- package/lib/esm/layout/TitleBar.js +0 -5
- package/lib/esm/layout/TitleBar.js.map +0 -1
- package/lib/esm/layout/index.js +0 -7
- package/lib/esm/layout/index.js.map +0 -1
- package/lib/esm/router/FixLinks.js +0 -23
- package/lib/esm/router/FixLinks.js.map +0 -1
- package/lib/esm/router/HistoryNavigator.js +0 -192
- package/lib/esm/router/HistoryNavigator.js.map +0 -1
- package/lib/esm/router/Nav.js +0 -26
- package/lib/esm/router/Nav.js.map +0 -1
- package/lib/esm/router/NestedNavigationContext.js +0 -19
- package/lib/esm/router/NestedNavigationContext.js.map +0 -1
- package/lib/esm/router/NestedRouterProvider.js +0 -44
- package/lib/esm/router/NestedRouterProvider.js.map +0 -1
- package/lib/esm/router/PathMatcher.js +0 -159
- package/lib/esm/router/PathMatcher.js.map +0 -1
- package/lib/esm/router/PathWithParams.js +0 -34
- package/lib/esm/router/PathWithParams.js.map +0 -1
- package/lib/esm/router/Route404.js +0 -18
- package/lib/esm/router/Route404.js.map +0 -1
- package/lib/esm/router/RouteComponent.js +0 -32
- package/lib/esm/router/RouteComponent.js.map +0 -1
- package/lib/esm/router/Router.js +0 -161
- package/lib/esm/router/Router.js.map +0 -1
- package/lib/esm/router/RouterProvider.js +0 -41
- package/lib/esm/router/RouterProvider.js.map +0 -1
- package/lib/esm/router/index.js +0 -11
- package/lib/esm/router/index.js.map +0 -1
- package/lib/esm/router/path.js +0 -140
- package/lib/esm/router/path.js.map +0 -1
- package/lib/esm/session/TypeRegistry.js +0 -24
- package/lib/esm/session/TypeRegistry.js.map +0 -1
- package/lib/esm/session/UserSession.js +0 -192
- package/lib/esm/session/UserSession.js.map +0 -1
- package/lib/esm/session/UserSessionProvider.js +0 -179
- package/lib/esm/session/UserSessionProvider.js.map +0 -1
- package/lib/esm/session/auth/composable.js +0 -255
- package/lib/esm/session/auth/composable.js.map +0 -1
- package/lib/esm/session/auth/firebase.js +0 -158
- package/lib/esm/session/auth/firebase.js.map +0 -1
- package/lib/esm/session/auth/useAuthState.js +0 -46
- package/lib/esm/session/auth/useAuthState.js.map +0 -1
- package/lib/esm/session/auth/useCurrentTenant.js +0 -63
- package/lib/esm/session/auth/useCurrentTenant.js.map +0 -1
- package/lib/esm/session/constants.js +0 -3
- package/lib/esm/session/constants.js.map +0 -1
- package/lib/esm/session/index.js +0 -9
- package/lib/esm/session/index.js.map +0 -1
- package/lib/esm/session/useUXTracking.js +0 -29
- package/lib/esm/session/useUXTracking.js.map +0 -1
- package/lib/esm/shell/SplashScreen.js +0 -26
- package/lib/esm/shell/SplashScreen.js.map +0 -1
- package/lib/esm/shell/VertesiaShell.js +0 -10
- package/lib/esm/shell/VertesiaShell.js.map +0 -1
- package/lib/esm/shell/apps/AppInstallationProvider.js +0 -13
- package/lib/esm/shell/apps/AppInstallationProvider.js.map +0 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +0 -36
- package/lib/esm/shell/apps/AppProjectSelector.js.map +0 -1
- package/lib/esm/shell/apps/StandaloneApp.js +0 -87
- package/lib/esm/shell/apps/StandaloneApp.js.map +0 -1
- package/lib/esm/shell/apps/index.js +0 -4
- package/lib/esm/shell/apps/index.js.map +0 -1
- package/lib/esm/shell/index.js +0 -8
- package/lib/esm/shell/index.js.map +0 -1
- package/lib/esm/shell/login/EnterpriseSigninButton.js +0 -84
- package/lib/esm/shell/login/EnterpriseSigninButton.js.map +0 -1
- package/lib/esm/shell/login/GitHubSignInButton.js +0 -24
- package/lib/esm/shell/login/GitHubSignInButton.js.map +0 -1
- package/lib/esm/shell/login/GoogleSignInButton.js +0 -25
- package/lib/esm/shell/login/GoogleSignInButton.js.map +0 -1
- package/lib/esm/shell/login/InviteAcceptModal.js +0 -62
- package/lib/esm/shell/login/InviteAcceptModal.js.map +0 -1
- package/lib/esm/shell/login/MicrosoftSigninButton.js +0 -19
- package/lib/esm/shell/login/MicrosoftSigninButton.js.map +0 -1
- package/lib/esm/shell/login/PreviewIcon.js +0 -23
- package/lib/esm/shell/login/PreviewIcon.js.map +0 -1
- package/lib/esm/shell/login/SignInModal.js +0 -9
- package/lib/esm/shell/login/SignInModal.js.map +0 -1
- package/lib/esm/shell/login/SigninScreen.js +0 -64
- package/lib/esm/shell/login/SigninScreen.js.map +0 -1
- package/lib/esm/shell/login/SignupForm.js +0 -91
- package/lib/esm/shell/login/SignupForm.js.map +0 -1
- package/lib/esm/shell/login/TerminalLogin.js +0 -208
- package/lib/esm/shell/login/TerminalLogin.js.map +0 -1
- package/lib/esm/shell/login/UserInfo.js +0 -41
- package/lib/esm/shell/login/UserInfo.js.map +0 -1
- package/lib/esm/shell/login/UserSessionMenu.js +0 -37
- package/lib/esm/shell/login/UserSessionMenu.js.map +0 -1
- package/lib/esm/shell/utils.js +0 -6
- package/lib/esm/shell/utils.js.map +0 -1
- package/lib/esm/widgets/Progress.js +0 -5
- package/lib/esm/widgets/Progress.js.map +0 -1
- package/lib/esm/widgets/SvgIcon.js +0 -36
- package/lib/esm/widgets/SvgIcon.js.map +0 -1
- package/lib/esm/widgets/form/Form.js +0 -100
- package/lib/esm/widgets/form/Form.js.map +0 -1
- package/lib/esm/widgets/form/FormContext.js +0 -31
- package/lib/esm/widgets/form/FormContext.js.map +0 -1
- package/lib/esm/widgets/form/ManagedObject.js +0 -287
- package/lib/esm/widgets/form/ManagedObject.js.map +0 -1
- package/lib/esm/widgets/form/fields.js +0 -12
- package/lib/esm/widgets/form/fields.js.map +0 -1
- package/lib/esm/widgets/form/index.js +0 -7
- package/lib/esm/widgets/form/index.js.map +0 -1
- package/lib/esm/widgets/form/inputs.js +0 -38
- package/lib/esm/widgets/form/inputs.js.map +0 -1
- package/lib/esm/widgets/form/schema.js +0 -199
- package/lib/esm/widgets/form/schema.js.map +0 -1
- package/lib/esm/widgets/index.js +0 -12
- package/lib/esm/widgets/index.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONCode.js +0 -22
- package/lib/esm/widgets/json-view/JSONCode.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONDisplay.js +0 -10
- package/lib/esm/widgets/json-view/JSONDisplay.js.map +0 -1
- package/lib/esm/widgets/json-view/JSONView.js +0 -106
- package/lib/esm/widgets/json-view/JSONView.js.map +0 -1
- package/lib/esm/widgets/json-view/index.js +0 -4
- package/lib/esm/widgets/json-view/index.js.map +0 -1
- package/lib/esm/widgets/json-view/types.js +0 -2
- package/lib/esm/widgets/json-view/types.js.map +0 -1
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js +0 -157
- package/lib/esm/widgets/markdown/ArtifactContentRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js +0 -56
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js +0 -50
- package/lib/esm/widgets/markdown/CodeBlockPlaceholder.test.js.map +0 -1
- package/lib/esm/widgets/markdown/CodeBlockRendering.js +0 -38
- package/lib/esm/widgets/markdown/CodeBlockRendering.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownImage.js +0 -41
- package/lib/esm/widgets/markdown/MarkdownImage.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownLink.js +0 -46
- package/lib/esm/widgets/markdown/MarkdownLink.js.map +0 -1
- package/lib/esm/widgets/markdown/MarkdownRenderer.js +0 -126
- package/lib/esm/widgets/markdown/MarkdownRenderer.js.map +0 -1
- package/lib/esm/widgets/markdown/MermaidDiagram.js +0 -73
- package/lib/esm/widgets/markdown/MermaidDiagram.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.js +0 -330
- package/lib/esm/widgets/markdown/codeBlockHandlers.js.map +0 -1
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js +0 -206
- package/lib/esm/widgets/markdown/codeBlockHandlers.test.js.map +0 -1
- package/lib/esm/widgets/markdown/index.js +0 -11
- package/lib/esm/widgets/markdown/index.js.map +0 -1
- package/lib/esm/widgets/markdown/useArtifactContent.js +0 -174
- package/lib/esm/widgets/markdown/useArtifactContent.js.map +0 -1
- package/lib/esm/widgets/markdown/useResolvedUrl.js +0 -175
- package/lib/esm/widgets/markdown/useResolvedUrl.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js +0 -140
- package/lib/esm/widgets/monacoEditor/MonacoEditor.js.map +0 -1
- package/lib/esm/widgets/monacoEditor/index.js +0 -2
- package/lib/esm/widgets/monacoEditor/index.js.map +0 -1
- package/lib/esm/widgets/popover/Popover.js +0 -73
- package/lib/esm/widgets/popover/Popover.js.map +0 -1
- package/lib/esm/widgets/popover/context.js +0 -7
- package/lib/esm/widgets/popover/context.js.map +0 -1
- package/lib/esm/widgets/popover/index.js +0 -3
- package/lib/esm/widgets/popover/index.js.map +0 -1
- package/lib/esm/widgets/popover/slots.js +0 -22
- package/lib/esm/widgets/popover/slots.js.map +0 -1
- package/lib/esm/widgets/properties/PropertiesView.js +0 -8
- package/lib/esm/widgets/properties/PropertiesView.js.map +0 -1
- package/lib/esm/widgets/properties/index.js +0 -2
- package/lib/esm/widgets/properties/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/ManagedSchema.js +0 -300
- package/lib/esm/widgets/schema-editor/ManagedSchema.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/Editable.js +0 -110
- package/lib/esm/widgets/schema-editor/editor/Editable.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js +0 -8
- package/lib/esm/widgets/schema-editor/editor/EditableSchemaProperty.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js +0 -81
- package/lib/esm/widgets/schema-editor/editor/PropertyEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js +0 -7
- package/lib/esm/widgets/schema-editor/editor/PropertyViewer.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js +0 -9
- package/lib/esm/widgets/schema-editor/editor/SchemaContext.js.map +0 -1
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js +0 -84
- package/lib/esm/widgets/schema-editor/editor/SchemaEditor.js.map +0 -1
- package/lib/esm/widgets/schema-editor/index.js +0 -7
- package/lib/esm/widgets/schema-editor/index.js.map +0 -1
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js +0 -188
- package/lib/esm/widgets/schema-editor/json-schema4-utils.js.map +0 -1
- package/lib/esm/widgets/schema-editor/type-signature.js +0 -30
- package/lib/esm/widgets/schema-editor/type-signature.js.map +0 -1
- package/lib/esm/widgets/upload/DropZone.js +0 -175
- package/lib/esm/widgets/upload/DropZone.js.map +0 -1
- package/lib/esm/widgets/upload/UploadResultCategory.js +0 -19
- package/lib/esm/widgets/upload/UploadResultCategory.js.map +0 -1
- package/lib/esm/widgets/upload/UploadSummary.js +0 -30
- package/lib/esm/widgets/upload/UploadSummary.js.map +0 -1
- package/lib/esm/widgets/upload/index.js +0 -4
- package/lib/esm/widgets/upload/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/Attributes/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js +0 -8
- package/lib/esm/widgets/xml-viewer/components/CDataTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CollapseIcon/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js +0 -11
- package/lib/esm/widgets/xml-viewer/components/CommentTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js +0 -9
- package/lib/esm/widgets/xml-viewer/components/DeclarationTag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js +0 -36
- package/lib/esm/widgets/xml-viewer/components/Elements/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js +0 -5
- package/lib/esm/widgets/xml-viewer/components/InvalidXml/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js +0 -13
- package/lib/esm/widgets/xml-viewer/components/Tag/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js +0 -13
- package/lib/esm/widgets/xml-viewer/components/TextElement/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js +0 -39
- package/lib/esm/widgets/xml-viewer/components/XMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/components/types.js +0 -2
- package/lib/esm/widgets/xml-viewer/components/types.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/constants/index.js +0 -27
- package/lib/esm/widgets/xml-viewer/constants/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js +0 -10
- package/lib/esm/widgets/xml-viewer/context/xml-viewer-context.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/helpers/index.js +0 -40
- package/lib/esm/widgets/xml-viewer/helpers/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js +0 -22
- package/lib/esm/widgets/xml-viewer/hooks/useCollapsible.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js +0 -31
- package/lib/esm/widgets/xml-viewer/hooks/useXMLViewer.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/index.js +0 -3
- package/lib/esm/widgets/xml-viewer/index.js.map +0 -1
- package/lib/esm/widgets/xml-viewer/types/index.js +0 -2
- package/lib/esm/widgets/xml-viewer/types/index.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/core/components/Avatar.d.ts +0 -16
- package/lib/types/core/components/Avatar.d.ts.map +0 -1
- package/lib/types/core/components/Badge.d.ts +0 -21
- 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/Center.d.ts +0 -8
- package/lib/types/core/components/Center.d.ts.map +0 -1
- package/lib/types/core/components/ComboBox.d.ts +0 -124
- package/lib/types/core/components/ComboBox.d.ts.map +0 -1
- package/lib/types/core/components/ConfirmModal.d.ts +0 -11
- package/lib/types/core/components/ConfirmModal.d.ts.map +0 -1
- package/lib/types/core/components/DeleteModal.d.ts +0 -11
- package/lib/types/core/components/DeleteModal.d.ts.map +0 -1
- package/lib/types/core/components/Divider.d.ts +0 -6
- package/lib/types/core/components/Divider.d.ts.map +0 -1
- package/lib/types/core/components/Dropdown.d.ts +0 -15
- package/lib/types/core/components/Dropdown.d.ts.map +0 -1
- package/lib/types/core/components/DropdownList.d.ts +0 -13
- package/lib/types/core/components/DropdownList.d.ts.map +0 -1
- package/lib/types/core/components/EmptyCollection.d.ts +0 -9
- package/lib/types/core/components/EmptyCollection.d.ts.map +0 -1
- package/lib/types/core/components/FileUpload.d.ts +0 -29
- package/lib/types/core/components/FileUpload.d.ts.map +0 -1
- package/lib/types/core/components/FormItem.d.ts +0 -13
- package/lib/types/core/components/FormItem.d.ts.map +0 -1
- package/lib/types/core/components/InputList.d.ts +0 -12
- package/lib/types/core/components/InputList.d.ts.map +0 -1
- package/lib/types/core/components/Link.d.ts +0 -7
- package/lib/types/core/components/Link.d.ts.map +0 -1
- package/lib/types/core/components/MenuList.d.ts +0 -14
- package/lib/types/core/components/MenuList.d.ts.map +0 -1
- package/lib/types/core/components/MessageBox.d.ts +0 -36
- 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/NumberInput.d.ts +0 -16
- package/lib/types/core/components/NumberInput.d.ts.map +0 -1
- package/lib/types/core/components/Overlay.d.ts +0 -25
- package/lib/types/core/components/Overlay.d.ts.map +0 -1
- package/lib/types/core/components/Panel.d.ts +0 -11
- package/lib/types/core/components/Panel.d.ts.map +0 -1
- package/lib/types/core/components/Portal.d.ts +0 -6
- package/lib/types/core/components/Portal.d.ts.map +0 -1
- package/lib/types/core/components/RadioGroup.d.ts +0 -26
- package/lib/types/core/components/RadioGroup.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/SelectList.d.ts +0 -19
- package/lib/types/core/components/SelectList.d.ts.map +0 -1
- package/lib/types/core/components/SelectStack.d.ts +0 -13
- package/lib/types/core/components/SelectStack.d.ts.map +0 -1
- package/lib/types/core/components/SidePanel.d.ts +0 -11
- package/lib/types/core/components/SidePanel.d.ts.map +0 -1
- package/lib/types/core/components/Spinner.d.ts +0 -7
- package/lib/types/core/components/Spinner.d.ts.map +0 -1
- package/lib/types/core/components/Switch.d.ts +0 -11
- package/lib/types/core/components/Switch.d.ts.map +0 -1
- package/lib/types/core/components/TagsInput.d.ts +0 -16
- package/lib/types/core/components/TagsInput.d.ts.map +0 -1
- package/lib/types/core/components/index.d.ts +0 -40
- package/lib/types/core/components/index.d.ts.map +0 -1
- package/lib/types/core/components/libs/utils.d.ts +0 -3
- package/lib/types/core/components/libs/utils.d.ts.map +0 -1
- package/lib/types/core/components/libs/visuallyHidden.d.ts +0 -7
- package/lib/types/core/components/libs/visuallyHidden.d.ts.map +0 -1
- package/lib/types/core/components/popup/Popup.d.ts +0 -26
- package/lib/types/core/components/popup/Popup.d.ts.map +0 -1
- package/lib/types/core/components/popup/PopupController.d.ts +0 -41
- package/lib/types/core/components/popup/PopupController.d.ts.map +0 -1
- package/lib/types/core/components/popup/index.d.ts +0 -4
- package/lib/types/core/components/popup/index.d.ts.map +0 -1
- package/lib/types/core/components/popup/position.d.ts +0 -59
- package/lib/types/core/components/popup/position.d.ts.map +0 -1
- package/lib/types/core/components/popup/utils.d.ts +0 -30
- package/lib/types/core/components/popup/utils.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/breadcrumb.d.ts +0 -15
- package/lib/types/core/components/shadcn/breadcrumb.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/button.d.ts +0 -27
- package/lib/types/core/components/shadcn/button.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/calendar.d.ts +0 -11
- package/lib/types/core/components/shadcn/calendar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/card.d.ts +0 -9
- package/lib/types/core/components/shadcn/card.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/checkbox.d.ts +0 -5
- package/lib/types/core/components/shadcn/checkbox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/command.d.ts +0 -17
- package/lib/types/core/components/shadcn/command.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/dialog.d.ts +0 -38
- package/lib/types/core/components/shadcn/dialog.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/DynamicLabel.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts +0 -7
- package/lib/types/core/components/shadcn/filters/animateChangeInHeight.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/DateCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts +0 -9
- package/lib/types/core/components/shadcn/filters/comboBox/SelectCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/StringListCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/comboBox/TextCombobox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts +0 -5
- package/lib/types/core/components/shadcn/filters/comboBox/comboBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts +0 -12
- package/lib/types/core/components/shadcn/filters/filter/SelectFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts +0 -11
- package/lib/types/core/components/shadcn/filters/filter/StringListFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts +0 -13
- package/lib/types/core/components/shadcn/filters/filter/TextFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts +0 -14
- package/lib/types/core/components/shadcn/filters/filter/dateFilter.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts +0 -2
- package/lib/types/core/components/shadcn/filters/filter-styles.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts +0 -20
- package/lib/types/core/components/shadcn/filters/filterBar.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/filters.d.ts +0 -10
- package/lib/types/core/components/shadcn/filters/filters.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/index.d.ts +0 -6
- package/lib/types/core/components/shadcn/filters/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/filters/types.d.ts +0 -35
- package/lib/types/core/components/shadcn/filters/types.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/heading.d.ts +0 -6
- package/lib/types/core/components/shadcn/heading.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/index.d.ts +0 -23
- package/lib/types/core/components/shadcn/index.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/input.d.ts +0 -17
- package/lib/types/core/components/shadcn/input.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/label.d.ts +0 -10
- package/lib/types/core/components/shadcn/label.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/popover.d.ts +0 -24
- package/lib/types/core/components/shadcn/popover.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/resizeable.d.ts +0 -9
- package/lib/types/core/components/shadcn/resizeable.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/selectBox.d.ts +0 -36
- package/lib/types/core/components/shadcn/selectBox.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/separator.d.ts +0 -6
- package/lib/types/core/components/shadcn/separator.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tabs.d.ts +0 -36
- package/lib/types/core/components/shadcn/tabs.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/text.d.ts +0 -11
- package/lib/types/core/components/shadcn/text.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/textarea.d.ts +0 -4
- package/lib/types/core/components/shadcn/textarea.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts +0 -15
- package/lib/types/core/components/shadcn/theme/ThemeProvider.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts +0 -10
- package/lib/types/core/components/shadcn/theme/ThemeSwitcher.d.ts.map +0 -1
- package/lib/types/core/components/shadcn/tooltip.d.ts +0 -21
- package/lib/types/core/components/shadcn/tooltip.d.ts.map +0 -1
- package/lib/types/core/components/styles.d.ts +0 -7
- package/lib/types/core/components/styles.d.ts.map +0 -1
- package/lib/types/core/components/table/index.d.ts +0 -19
- package/lib/types/core/components/table/index.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/core/components/toast/NotificationPanel.d.ts +0 -8
- package/lib/types/core/components/toast/NotificationPanel.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastContext.d.ts +0 -6
- package/lib/types/core/components/toast/ToastContext.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProps.d.ts +0 -7
- package/lib/types/core/components/toast/ToastProps.d.ts.map +0 -1
- package/lib/types/core/components/toast/ToastProvider.d.ts +0 -6
- package/lib/types/core/components/toast/ToastProvider.d.ts.map +0 -1
- package/lib/types/core/components/toast/index.d.ts +0 -3
- package/lib/types/core/components/toast/index.d.ts.map +0 -1
- package/lib/types/core/hooks/CompositeState.d.ts +0 -137
- package/lib/types/core/hooks/CompositeState.d.ts.map +0 -1
- package/lib/types/core/hooks/PortalContainerProvider.d.ts +0 -7
- package/lib/types/core/hooks/PortalContainerProvider.d.ts.map +0 -1
- package/lib/types/core/hooks/SharedState.d.ts +0 -10
- package/lib/types/core/hooks/SharedState.d.ts.map +0 -1
- package/lib/types/core/hooks/index.d.ts +0 -16
- package/lib/types/core/hooks/index.d.ts.map +0 -1
- package/lib/types/core/hooks/useClickOutside.d.ts +0 -8
- package/lib/types/core/hooks/useClickOutside.d.ts.map +0 -1
- package/lib/types/core/hooks/useCopyToClipboard.d.ts +0 -5
- package/lib/types/core/hooks/useCopyToClipboard.d.ts.map +0 -1
- package/lib/types/core/hooks/useDarkMode.d.ts +0 -2
- package/lib/types/core/hooks/useDarkMode.d.ts.map +0 -1
- package/lib/types/core/hooks/useDebounce.d.ts +0 -2
- package/lib/types/core/hooks/useDebounce.d.ts.map +0 -1
- package/lib/types/core/hooks/useEventSource.d.ts +0 -2
- package/lib/types/core/hooks/useEventSource.d.ts.map +0 -1
- package/lib/types/core/hooks/useFetch.d.ts +0 -24
- package/lib/types/core/hooks/useFetch.d.ts.map +0 -1
- package/lib/types/core/hooks/useFlag.d.ts +0 -9
- package/lib/types/core/hooks/useFlag.d.ts.map +0 -1
- package/lib/types/core/hooks/useIntersectionObserver.d.ts +0 -14
- package/lib/types/core/hooks/useIntersectionObserver.d.ts.map +0 -1
- package/lib/types/core/hooks/useIsFistRendering.d.ts +0 -2
- package/lib/types/core/hooks/useIsFistRendering.d.ts.map +0 -1
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts +0 -4
- package/lib/types/core/hooks/useSafeLayoutEffect.d.ts.map +0 -1
- package/lib/types/core/hooks/useScrollableSearch.d.ts +0 -82
- package/lib/types/core/hooks/useScrollableSearch.d.ts.map +0 -1
- package/lib/types/core/hooks/useSharedValue.d.ts +0 -12
- package/lib/types/core/hooks/useSharedValue.d.ts.map +0 -1
- package/lib/types/core/index.d.ts +0 -4
- package/lib/types/core/index.d.ts.map +0 -1
- package/lib/types/core/utils/cn.d.ts +0 -3
- package/lib/types/core/utils/cn.d.ts.map +0 -1
- package/lib/types/core/utils/index.d.ts +0 -2
- package/lib/types/core/utils/index.d.ts.map +0 -1
- package/lib/types/env/index.d.ts +0 -76
- package/lib/types/env/index.d.ts.map +0 -1
- package/lib/types/features/activity-doc/ActivityDoc.d.ts +0 -14
- package/lib/types/features/activity-doc/ActivityDoc.d.ts.map +0 -1
- package/lib/types/features/activity-doc/index.d.ts +0 -2
- package/lib/types/features/activity-doc/index.d.ts.map +0 -1
- package/lib/types/features/agent/PayloadBuilder.d.ts +0 -69
- package/lib/types/features/agent/PayloadBuilder.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AgentChart.d.ts +0 -75
- package/lib/types/features/agent/chat/AgentChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts +0 -38
- package/lib/types/features/agent/chat/AnimatedThinkingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/AskUserWidget.d.ts +0 -84
- package/lib/types/features/agent/chat/AskUserWidget.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ImageLightbox.d.ts +0 -18
- package/lib/types/features/agent/chat/ImageLightbox.d.ts.map +0 -1
- package/lib/types/features/agent/chat/JumpingDots.d.ts +0 -7
- package/lib/types/features/agent/chat/JumpingDots.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts +0 -64
- package/lib/types/features/agent/chat/ModernAgentConversation.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts +0 -29
- package/lib/types/features/agent/chat/ModernAgentOutput/AllMessagesMixed.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/BatchProgressPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts +0 -27
- package/lib/types/features/agent/chat/ModernAgentOutput/Header.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts +0 -18
- package/lib/types/features/agent/chat/ModernAgentOutput/InlineSlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts +0 -61
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageInput.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts +0 -30
- package/lib/types/features/agent/chat/ModernAgentOutput/MessageItem.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts +0 -15
- package/lib/types/features/agent/chat/ModernAgentOutput/MessagesContainer.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts +0 -9
- package/lib/types/features/agent/chat/ModernAgentOutput/PlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts +0 -11
- package/lib/types/features/agent/chat/ModernAgentOutput/SlideInPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts +0 -10
- package/lib/types/features/agent/chat/ModernAgentOutput/SlidingPlanPanel.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts +0 -8
- package/lib/types/features/agent/chat/ModernAgentOutput/StackedMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts +0 -26
- package/lib/types/features/agent/chat/ModernAgentOutput/StreamingMessage.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts +0 -12
- package/lib/types/features/agent/chat/ModernAgentOutput/ToolCallGroup.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts +0 -22
- package/lib/types/features/agent/chat/ModernAgentOutput/WorkstreamTabs.d.ts.map +0 -1
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts +0 -107
- package/lib/types/features/agent/chat/ModernAgentOutput/utils.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts +0 -11
- package/lib/types/features/agent/chat/SkillWidgetProvider.d.ts.map +0 -1
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts +0 -18
- package/lib/types/features/agent/chat/SlidingThinkingIndicator.d.ts.map +0 -1
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts +0 -18
- package/lib/types/features/agent/chat/VegaLiteChart.d.ts.map +0 -1
- package/lib/types/features/agent/chat/WaitingMessages.d.ts +0 -2
- package/lib/types/features/agent/chat/WaitingMessages.d.ts.map +0 -1
- package/lib/types/features/agent/chat/index.d.ts +0 -17
- package/lib/types/features/agent/chat/index.d.ts.map +0 -1
- package/lib/types/features/agent/chat/useArtifactUrlCache.d.ts +0 -28
- package/lib/types/features/agent/chat/useArtifactUrlCache.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/index.d.ts +0 -5
- package/lib/types/features/agent/index.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/errors/PanelErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/PanelErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/RowErrorBoundary.d.ts +0 -8
- package/lib/types/features/errors/RowErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts +0 -12
- package/lib/types/features/errors/VertesiaErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts +0 -5
- package/lib/types/features/errors/WidgetErrorBoundary.d.ts.map +0 -1
- package/lib/types/features/errors/index.d.ts +0 -5
- package/lib/types/features/errors/index.d.ts.map +0 -1
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/AgentRunnerFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/CollectionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts +0 -17
- package/lib/types/features/facets/DocumentsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/EnvironmentFacet.d.ts +0 -10
- package/lib/types/features/facets/EnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/InteractionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/PromptsFacetsNav.d.ts +0 -15
- package/lib/types/features/facets/PromptsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/RunsFacetsNav.d.ts +0 -20
- package/lib/types/features/facets/RunsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts +0 -14
- package/lib/types/features/facets/WorkflowExecutionsFacetsNav.d.ts.map +0 -1
- package/lib/types/features/facets/index.d.ts +0 -16
- package/lib/types/features/facets/index.d.ts.map +0 -1
- package/lib/types/features/facets/utils/SearchInterface.d.ts +0 -14
- package/lib/types/features/facets/utils/SearchInterface.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/StringListFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/StringListFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/TypeFacet.d.ts +0 -16
- package/lib/types/features/facets/utils/TypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VEnvironmentFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts +0 -15
- package/lib/types/features/facets/utils/VInteractionFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VStringFacet.d.ts +0 -21
- package/lib/types/features/facets/utils/VStringFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VTypeFacet.d.ts +0 -12
- package/lib/types/features/facets/utils/VTypeFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/VUserFacet.d.ts +0 -11
- package/lib/types/features/facets/utils/VUserFacet.d.ts.map +0 -1
- package/lib/types/features/facets/utils/utils.d.ts +0 -4
- package/lib/types/features/facets/utils/utils.d.ts.map +0 -1
- package/lib/types/features/index.d.ts +0 -12
- package/lib/types/features/index.d.ts.map +0 -1
- package/lib/types/features/layout/GenericPageNavHeader.d.ts +0 -14
- package/lib/types/features/layout/GenericPageNavHeader.d.ts.map +0 -1
- package/lib/types/features/layout/NotFoundView.d.ts +0 -5
- package/lib/types/features/layout/NotFoundView.d.ts.map +0 -1
- package/lib/types/features/layout/index.d.ts +0 -3
- package/lib/types/features/layout/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts +0 -13
- package/lib/types/features/magic-pdf/AnnotatedImageSlider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts +0 -7
- package/lib/types/features/magic-pdf/DownloadPopover.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts +0 -8
- package/lib/types/features/magic-pdf/ExtractedContentView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts +0 -58
- package/lib/types/features/magic-pdf/MagicPdfProvider.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts +0 -7
- package/lib/types/features/magic-pdf/MagicPdfView.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/index.d.ts +0 -2
- package/lib/types/features/magic-pdf/index.d.ts.map +0 -1
- package/lib/types/features/magic-pdf/types.d.ts +0 -2
- package/lib/types/features/magic-pdf/types.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts +0 -83
- package/lib/types/features/pdf-viewer/PdfPageRenderer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts +0 -29
- package/lib/types/features/pdf-viewer/PdfPageSlider.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts +0 -19
- package/lib/types/features/pdf-viewer/SimplePdfViewer.d.ts.map +0 -1
- package/lib/types/features/pdf-viewer/index.d.ts +0 -4
- package/lib/types/features/pdf-viewer/index.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureButton.d.ts +0 -8
- package/lib/types/features/permissions/SecureButton.d.ts.map +0 -1
- package/lib/types/features/permissions/SecureSidebarItem.d.ts +0 -8
- package/lib/types/features/permissions/SecureSidebarItem.d.ts.map +0 -1
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts +0 -21
- package/lib/types/features/permissions/UserPermissionsProvider.d.ts.map +0 -1
- package/lib/types/features/permissions/helpers.d.ts +0 -5
- package/lib/types/features/permissions/helpers.d.ts.map +0 -1
- package/lib/types/features/permissions/index.d.ts +0 -5
- package/lib/types/features/permissions/index.d.ts.map +0 -1
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts +0 -7
- package/lib/types/features/store/collections/BrowseCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/CollectionsTable.d.ts +0 -6
- package/lib/types/features/store/collections/CollectionsTable.d.ts.map +0 -1
- package/lib/types/features/store/collections/CreateCollection.d.ts +0 -13
- package/lib/types/features/store/collections/CreateCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts +0 -8
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +0 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +0 -20
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +0 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +0 -7
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +0 -1
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +0 -7
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +0 -1
- package/lib/types/features/store/collections/index.d.ts +0 -8
- package/lib/types/features/store/collections/index.d.ts.map +0 -1
- package/lib/types/features/store/index.d.ts +0 -4
- package/lib/types/features/store/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts +0 -8
- package/lib/types/features/store/objects/DocumentPreviewPanel.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts +0 -20
- package/lib/types/features/store/objects/DocumentSearchResults.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts +0 -33
- package/lib/types/features/store/objects/DocumentSelectionProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/DocumentTable.d.ts +0 -25
- package/lib/types/features/store/objects/DocumentTable.d.ts.map +0 -1
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts +0 -12
- package/lib/types/features/store/objects/ExportPropertiesModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentDispositionButton.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/ContentOverview.d.ts +0 -9
- package/lib/types/features/store/objects/components/ContentOverview.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts +0 -18
- package/lib/types/features/store/objects/components/DocumentIcon.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/DocumentInput.d.ts +0 -8
- package/lib/types/features/store/objects/components/DocumentInput.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/PropertiesEditorModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SaveVersionConfirmModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocument.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocument.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts +0 -9
- package/lib/types/features/store/objects/components/SelectDocumentModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts +0 -12
- package/lib/types/features/store/objects/components/VectorSearchWidget.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/index.d.ts +0 -10
- package/lib/types/features/store/objects/components/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/components/useContentPanelHooks.d.ts +0 -30
- package/lib/types/features/store/objects/components/useContentPanelHooks.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/lib/types/features/store/objects/index.d.ts +0 -11
- package/lib/types/features/store/objects/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts +0 -18
- package/lib/types/features/store/objects/layout/DocumentTableColumn.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/documentLayout.d.ts +0 -20
- package/lib/types/features/store/objects/layout/documentLayout.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/index.d.ts +0 -3
- package/lib/types/features/store/objects/layout/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/layout/renderers.d.ts +0 -3
- package/lib/types/features/store/objects/layout/renderers.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts +0 -52
- package/lib/types/features/store/objects/search/DocumentSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts +0 -14
- package/lib/types/features/store/objects/search/DocumentSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/objects/search/index.d.ts +0 -3
- package/lib/types/features/store/objects/search/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts +0 -26
- package/lib/types/features/store/objects/selection/ObjectsActionContext.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts +0 -28
- package/lib/types/features/store/objects/selection/ObjectsActionSpec.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts +0 -6
- package/lib/types/features/store/objects/selection/SelectionActions.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/AddToCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ChangeTypeAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts +0 -16
- package/lib/types/features/store/objects/selection/actions/ConfirmAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts +0 -5
- package/lib/types/features/store/objects/selection/actions/DeleteObjectsAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/ExportPropertiesAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/RemoveFromCollectionAction.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts +0 -4
- package/lib/types/features/store/objects/selection/actions/StartWorkflowComponent.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/actions/index.d.ts +0 -8
- package/lib/types/features/store/objects/selection/actions/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/selection/index.d.ts +0 -5
- package/lib/types/features/store/objects/selection/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts +0 -39
- package/lib/types/features/store/objects/upload/DocumentUploadModal.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/index.d.ts +0 -4
- package/lib/types/features/store/objects/upload/index.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts +0 -30
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +0 -1
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts +0 -50
- package/lib/types/features/store/objects/upload/useUploadHandler.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts +0 -6
- package/lib/types/features/store/types/ContentObjectTypesSearch.d.ts.map +0 -1
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts +0 -8
- package/lib/types/features/store/types/ContentObjectTypesTable.d.ts.map +0 -1
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts +0 -15
- package/lib/types/features/store/types/CreateOrUpdateTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts +0 -8
- package/lib/types/features/store/types/ObjectSchemaEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentType.d.ts +0 -11
- package/lib/types/features/store/types/SelectContentType.d.ts.map +0 -1
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts +0 -33
- package/lib/types/features/store/types/SelectContentTypeModal.d.ts.map +0 -1
- package/lib/types/features/store/types/TableLayoutEditor.d.ts +0 -9
- package/lib/types/features/store/types/TableLayoutEditor.d.ts.map +0 -1
- package/lib/types/features/store/types/index.d.ts +0 -9
- package/lib/types/features/store/types/index.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts +0 -36
- package/lib/types/features/store/types/search/ObjectTypeSearchContext.d.ts.map +0 -1
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts +0 -11
- package/lib/types/features/store/types/search/ObjectTypeSearchProvider.d.ts.map +0 -1
- package/lib/types/features/store/types/search/index.d.ts +0 -3
- package/lib/types/features/store/types/search/index.d.ts.map +0 -1
- package/lib/types/features/user/UserAvatar.d.ts +0 -9
- package/lib/types/features/user/UserAvatar.d.ts.map +0 -1
- package/lib/types/features/user/UserInfo.d.ts +0 -48
- package/lib/types/features/user/UserInfo.d.ts.map +0 -1
- package/lib/types/features/user/index.d.ts +0 -3
- package/lib/types/features/user/index.d.ts.map +0 -1
- package/lib/types/features/utils/index.d.ts +0 -6
- package/lib/types/features/utils/index.d.ts.map +0 -1
- package/lib/types/features/utils/mimeType.d.ts +0 -6
- package/lib/types/features/utils/mimeType.d.ts.map +0 -1
- package/lib/types/features/utils/print.d.ts +0 -10
- package/lib/types/features/utils/print.d.ts.map +0 -1
- package/lib/types/features/utils/rendition.d.ts +0 -4
- package/lib/types/features/utils/rendition.d.ts.map +0 -1
- package/lib/types/features/utils/text.d.ts +0 -3
- package/lib/types/features/utils/text.d.ts.map +0 -1
- package/lib/types/features/utils/workflowStatus.d.ts +0 -10
- package/lib/types/features/utils/workflowStatus.d.ts.map +0 -1
- package/lib/types/layout/AppLayout.d.ts +0 -13
- package/lib/types/layout/AppLayout.d.ts.map +0 -1
- package/lib/types/layout/FullHeightLayout.d.ts +0 -27
- package/lib/types/layout/FullHeightLayout.d.ts.map +0 -1
- package/lib/types/layout/Navbar.d.ts +0 -33
- package/lib/types/layout/Navbar.d.ts.map +0 -1
- package/lib/types/layout/Sidebar.d.ts +0 -31
- package/lib/types/layout/Sidebar.d.ts.map +0 -1
- package/lib/types/layout/SidebarContext.d.ts +0 -9
- package/lib/types/layout/SidebarContext.d.ts.map +0 -1
- package/lib/types/layout/TitleBar.d.ts +0 -6
- package/lib/types/layout/TitleBar.d.ts.map +0 -1
- package/lib/types/layout/index.d.ts +0 -7
- package/lib/types/layout/index.d.ts.map +0 -1
- package/lib/types/router/FixLinks.d.ts +0 -7
- package/lib/types/router/FixLinks.d.ts.map +0 -1
- package/lib/types/router/HistoryNavigator.d.ts +0 -59
- package/lib/types/router/HistoryNavigator.d.ts.map +0 -1
- package/lib/types/router/Nav.d.ts +0 -30
- package/lib/types/router/Nav.d.ts.map +0 -1
- package/lib/types/router/NestedNavigationContext.d.ts +0 -9
- package/lib/types/router/NestedNavigationContext.d.ts.map +0 -1
- package/lib/types/router/NestedRouterProvider.d.ts +0 -14
- package/lib/types/router/NestedRouterProvider.d.ts.map +0 -1
- package/lib/types/router/PathMatcher.d.ts +0 -36
- package/lib/types/router/PathMatcher.d.ts.map +0 -1
- package/lib/types/router/PathWithParams.d.ts +0 -9
- package/lib/types/router/PathWithParams.d.ts.map +0 -1
- package/lib/types/router/Route404.d.ts +0 -4
- package/lib/types/router/Route404.d.ts.map +0 -1
- package/lib/types/router/RouteComponent.d.ts +0 -6
- package/lib/types/router/RouteComponent.d.ts.map +0 -1
- package/lib/types/router/Router.d.ts +0 -74
- package/lib/types/router/Router.d.ts.map +0 -1
- package/lib/types/router/RouterProvider.d.ts +0 -15
- package/lib/types/router/RouterProvider.d.ts.map +0 -1
- package/lib/types/router/index.d.ts +0 -11
- package/lib/types/router/index.d.ts.map +0 -1
- package/lib/types/router/path.d.ts +0 -8
- package/lib/types/router/path.d.ts.map +0 -1
- package/lib/types/session/TypeRegistry.d.ts +0 -10
- package/lib/types/session/TypeRegistry.d.ts.map +0 -1
- package/lib/types/session/UserSession.d.ts +0 -40
- package/lib/types/session/UserSession.d.ts.map +0 -1
- package/lib/types/session/UserSessionProvider.d.ts +0 -7
- package/lib/types/session/UserSessionProvider.d.ts.map +0 -1
- package/lib/types/session/auth/composable.d.ts +0 -26
- package/lib/types/session/auth/composable.d.ts.map +0 -1
- package/lib/types/session/auth/firebase.d.ts +0 -10
- package/lib/types/session/auth/firebase.d.ts.map +0 -1
- package/lib/types/session/auth/useAuthState.d.ts +0 -10
- package/lib/types/session/auth/useAuthState.d.ts.map +0 -1
- package/lib/types/session/auth/useCurrentTenant.d.ts +0 -15
- package/lib/types/session/auth/useCurrentTenant.d.ts.map +0 -1
- package/lib/types/session/constants.d.ts +0 -3
- package/lib/types/session/constants.d.ts.map +0 -1
- package/lib/types/session/index.d.ts +0 -9
- package/lib/types/session/index.d.ts.map +0 -1
- package/lib/types/session/useUXTracking.d.ts +0 -6
- package/lib/types/session/useUXTracking.d.ts.map +0 -1
- package/lib/types/shell/SplashScreen.d.ts +0 -7
- package/lib/types/shell/SplashScreen.d.ts.map +0 -1
- package/lib/types/shell/VertesiaShell.d.ts +0 -10
- package/lib/types/shell/VertesiaShell.d.ts.map +0 -1
- package/lib/types/shell/apps/AppInstallationProvider.d.ts +0 -12
- package/lib/types/shell/apps/AppInstallationProvider.d.ts.map +0 -1
- package/lib/types/shell/apps/AppProjectSelector.d.ts +0 -12
- package/lib/types/shell/apps/AppProjectSelector.d.ts.map +0 -1
- package/lib/types/shell/apps/StandaloneApp.d.ts +0 -23
- package/lib/types/shell/apps/StandaloneApp.d.ts.map +0 -1
- package/lib/types/shell/apps/index.d.ts +0 -4
- package/lib/types/shell/apps/index.d.ts.map +0 -1
- package/lib/types/shell/index.d.ts +0 -8
- package/lib/types/shell/index.d.ts.map +0 -1
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts +0 -6
- package/lib/types/shell/login/EnterpriseSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/GitHubSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GitHubSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/GoogleSignInButton.d.ts +0 -6
- package/lib/types/shell/login/GoogleSignInButton.d.ts.map +0 -1
- package/lib/types/shell/login/InviteAcceptModal.d.ts +0 -2
- package/lib/types/shell/login/InviteAcceptModal.d.ts.map +0 -1
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts +0 -6
- package/lib/types/shell/login/MicrosoftSigninButton.d.ts.map +0 -1
- package/lib/types/shell/login/PreviewIcon.d.ts +0 -6
- package/lib/types/shell/login/PreviewIcon.d.ts.map +0 -1
- package/lib/types/shell/login/SignInModal.d.ts +0 -7
- package/lib/types/shell/login/SignInModal.d.ts.map +0 -1
- package/lib/types/shell/login/SigninScreen.d.ts +0 -9
- package/lib/types/shell/login/SigninScreen.d.ts.map +0 -1
- package/lib/types/shell/login/SignupForm.d.ts +0 -8
- package/lib/types/shell/login/SignupForm.d.ts.map +0 -1
- package/lib/types/shell/login/TerminalLogin.d.ts +0 -2
- package/lib/types/shell/login/TerminalLogin.d.ts.map +0 -1
- package/lib/types/shell/login/UserInfo.d.ts +0 -6
- package/lib/types/shell/login/UserInfo.d.ts.map +0 -1
- package/lib/types/shell/login/UserSessionMenu.d.ts +0 -9
- package/lib/types/shell/login/UserSessionMenu.d.ts.map +0 -1
- package/lib/types/shell/utils.d.ts +0 -2
- package/lib/types/shell/utils.d.ts.map +0 -1
- package/lib/types/widgets/Progress.d.ts +0 -6
- package/lib/types/widgets/Progress.d.ts.map +0 -1
- package/lib/types/widgets/SvgIcon.d.ts +0 -7
- package/lib/types/widgets/SvgIcon.d.ts.map +0 -1
- package/lib/types/widgets/form/Form.d.ts +0 -22
- package/lib/types/widgets/form/Form.d.ts.map +0 -1
- package/lib/types/widgets/form/FormContext.d.ts +0 -20
- package/lib/types/widgets/form/FormContext.d.ts.map +0 -1
- package/lib/types/widgets/form/ManagedObject.d.ts +0 -82
- package/lib/types/widgets/form/ManagedObject.d.ts.map +0 -1
- package/lib/types/widgets/form/fields.d.ts +0 -16
- package/lib/types/widgets/form/fields.d.ts.map +0 -1
- package/lib/types/widgets/form/index.d.ts +0 -7
- package/lib/types/widgets/form/index.d.ts.map +0 -1
- package/lib/types/widgets/form/inputs.d.ts +0 -8
- package/lib/types/widgets/form/inputs.d.ts.map +0 -1
- package/lib/types/widgets/form/schema.d.ts +0 -47
- package/lib/types/widgets/form/schema.d.ts.map +0 -1
- package/lib/types/widgets/index.d.ts +0 -12
- package/lib/types/widgets/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONCode.d.ts +0 -5
- package/lib/types/widgets/json-view/JSONCode.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONDisplay.d.ts +0 -8
- package/lib/types/widgets/json-view/JSONDisplay.d.ts.map +0 -1
- package/lib/types/widgets/json-view/JSONView.d.ts +0 -7
- package/lib/types/widgets/json-view/JSONView.d.ts.map +0 -1
- package/lib/types/widgets/json-view/index.d.ts +0 -5
- package/lib/types/widgets/json-view/index.d.ts.map +0 -1
- package/lib/types/widgets/json-view/types.d.ts +0 -8
- package/lib/types/widgets/json-view/types.d.ts.map +0 -1
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts +0 -26
- package/lib/types/widgets/markdown/ArtifactContentRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts +0 -42
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts +0 -2
- package/lib/types/widgets/markdown/CodeBlockPlaceholder.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts +0 -23
- package/lib/types/widgets/markdown/CodeBlockRendering.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownImage.d.ts +0 -16
- package/lib/types/widgets/markdown/MarkdownImage.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownLink.d.ts +0 -17
- package/lib/types/widgets/markdown/MarkdownLink.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts +0 -26
- package/lib/types/widgets/markdown/MarkdownRenderer.d.ts.map +0 -1
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts +0 -23
- package/lib/types/widgets/markdown/MermaidDiagram.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts +0 -66
- package/lib/types/widgets/markdown/codeBlockHandlers.d.ts.map +0 -1
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts +0 -2
- package/lib/types/widgets/markdown/codeBlockHandlers.test.d.ts.map +0 -1
- package/lib/types/widgets/markdown/index.d.ts +0 -11
- package/lib/types/widgets/markdown/index.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useArtifactContent.d.ts +0 -41
- package/lib/types/widgets/markdown/useArtifactContent.d.ts.map +0 -1
- package/lib/types/widgets/markdown/useResolvedUrl.d.ts +0 -38
- package/lib/types/widgets/markdown/useResolvedUrl.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts +0 -41
- package/lib/types/widgets/monacoEditor/MonacoEditor.d.ts.map +0 -1
- package/lib/types/widgets/monacoEditor/index.d.ts +0 -3
- package/lib/types/widgets/monacoEditor/index.d.ts.map +0 -1
- package/lib/types/widgets/popover/Popover.d.ts +0 -38
- package/lib/types/widgets/popover/Popover.d.ts.map +0 -1
- package/lib/types/widgets/popover/context.d.ts +0 -8
- package/lib/types/widgets/popover/context.d.ts.map +0 -1
- package/lib/types/widgets/popover/index.d.ts +0 -3
- package/lib/types/widgets/popover/index.d.ts.map +0 -1
- package/lib/types/widgets/popover/slots.d.ts +0 -5
- package/lib/types/widgets/popover/slots.d.ts.map +0 -1
- package/lib/types/widgets/properties/PropertiesView.d.ts +0 -11
- package/lib/types/widgets/properties/PropertiesView.d.ts.map +0 -1
- package/lib/types/widgets/properties/index.d.ts +0 -2
- package/lib/types/widgets/properties/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts +0 -75
- package/lib/types/widgets/schema-editor/ManagedSchema.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts +0 -40
- package/lib/types/widgets/schema-editor/editor/Editable.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts +0 -8
- package/lib/types/widgets/schema-editor/editor/EditableSchemaProperty.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts +0 -5
- package/lib/types/widgets/schema-editor/editor/PropertyEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts +0 -4
- package/lib/types/widgets/schema-editor/editor/PropertyViewer.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts +0 -3
- package/lib/types/widgets/schema-editor/editor/SchemaContext.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts +0 -9
- package/lib/types/widgets/schema-editor/editor/SchemaEditor.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/index.d.ts +0 -7
- package/lib/types/widgets/schema-editor/index.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts +0 -16
- package/lib/types/widgets/schema-editor/json-schema4-utils.d.ts.map +0 -1
- package/lib/types/widgets/schema-editor/type-signature.d.ts +0 -19
- package/lib/types/widgets/schema-editor/type-signature.d.ts.map +0 -1
- package/lib/types/widgets/upload/DropZone.d.ts +0 -41
- package/lib/types/widgets/upload/DropZone.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadResultCategory.d.ts +0 -26
- package/lib/types/widgets/upload/UploadResultCategory.d.ts.map +0 -1
- package/lib/types/widgets/upload/UploadSummary.d.ts +0 -38
- package/lib/types/widgets/upload/UploadSummary.d.ts.map +0 -1
- package/lib/types/widgets/upload/index.d.ts +0 -4
- package/lib/types/widgets/upload/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts +0 -6
- package/lib/types/widgets/xml-viewer/components/Attributes/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/CDataTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts +0 -5
- package/lib/types/widgets/xml-viewer/components/CollapseIcon/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts +0 -9
- package/lib/types/widgets/xml-viewer/components/CommentTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/DeclarationTag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/Elements/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts +0 -2
- package/lib/types/widgets/xml-viewer/components/InvalidXml/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/components/Tag/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts +0 -8
- package/lib/types/widgets/xml-viewer/components/TextElement/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/components/XMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/components/types.d.ts +0 -104
- package/lib/types/widgets/xml-viewer/components/types.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/constants/index.d.ts +0 -27
- package/lib/types/widgets/xml-viewer/constants/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts +0 -4
- package/lib/types/widgets/xml-viewer/context/xml-viewer-context.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts +0 -13
- package/lib/types/widgets/xml-viewer/helpers/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts +0 -15
- package/lib/types/widgets/xml-viewer/hooks/useCollapsible.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts +0 -10
- package/lib/types/widgets/xml-viewer/hooks/useXMLViewer.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/index.d.ts +0 -3
- package/lib/types/widgets/xml-viewer/index.d.ts.map +0 -1
- package/lib/types/widgets/xml-viewer/types/index.d.ts +0 -16
- package/lib/types/widgets/xml-viewer/types/index.d.ts.map +0 -1
- package/lib/vertesia-ui-core.js +0 -2
- package/lib/vertesia-ui-core.js.map +0 -1
- package/lib/vertesia-ui-env.js +0 -2
- package/lib/vertesia-ui-env.js.map +0 -1
- package/lib/vertesia-ui-features.js +0 -2
- package/lib/vertesia-ui-features.js.map +0 -1
- package/lib/vertesia-ui-layout.js +0 -2
- package/lib/vertesia-ui-layout.js.map +0 -1
- package/lib/vertesia-ui-router.js +0 -2
- package/lib/vertesia-ui-router.js.map +0 -1
- package/lib/vertesia-ui-session.js +0 -2
- package/lib/vertesia-ui-session.js.map +0 -1
- package/lib/vertesia-ui-shell.js +0 -2
- package/lib/vertesia-ui-shell.js.map +0 -1
- package/lib/vertesia-ui-widgets.js +0 -2
- package/lib/vertesia-ui-widgets.js.map +0 -1
- package/src/core/components/Button.tsx +0 -63
- package/src/core/components/Modal.tsx +0 -144
- 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/core/components/{MessageBox.tsx → shadcn/MessageBox.tsx} +0 -0
|
@@ -1,953 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
3
|
-
import { Bot, Cpu, FileTextIcon, SendIcon, UploadIcon, XIcon } from "lucide-react";
|
|
4
|
-
import { useUserSession } from "@vertesia/ui/session";
|
|
5
|
-
import { AgentMessageType, FileProcessingStatus, } from "@vertesia/common";
|
|
6
|
-
import { FusionFragmentProvider } from "@vertesia/fusion-ux";
|
|
7
|
-
import { Button, MessageBox, Spinner, useToast, VModal, VModalBody, VModalFooter, VModalTitle } from "@vertesia/ui/core";
|
|
8
|
-
import { AnimatedThinkingDots, PulsatingCircle } from "./AnimatedThinkingDots";
|
|
9
|
-
import { ImageLightboxProvider } from "./ImageLightbox";
|
|
10
|
-
import AllMessagesMixed from "./ModernAgentOutput/AllMessagesMixed";
|
|
11
|
-
import Header from "./ModernAgentOutput/Header";
|
|
12
|
-
import MessageInput from "./ModernAgentOutput/MessageInput";
|
|
13
|
-
import { getWorkstreamId, insertMessageInTimeline, isInProgress } from "./ModernAgentOutput/utils";
|
|
14
|
-
import { ThinkingMessages } from "./WaitingMessages";
|
|
15
|
-
import InlineSlidingPlanPanel from "./ModernAgentOutput/InlineSlidingPlanPanel";
|
|
16
|
-
import { SkillWidgetProvider } from "./SkillWidgetProvider";
|
|
17
|
-
import { ArtifactUrlCacheProvider } from "./useArtifactUrlCache.js";
|
|
18
|
-
import { VegaLiteChart } from "./VegaLiteChart";
|
|
19
|
-
function printElementToPdf(sourceElement, title) {
|
|
20
|
-
if (typeof window === "undefined" || typeof document === "undefined") {
|
|
21
|
-
return false;
|
|
22
|
-
}
|
|
23
|
-
// Use a hidden iframe to avoid opening a new window
|
|
24
|
-
const iframe = document.createElement("iframe");
|
|
25
|
-
iframe.style.position = "fixed";
|
|
26
|
-
iframe.style.right = "0";
|
|
27
|
-
iframe.style.bottom = "0";
|
|
28
|
-
iframe.style.width = "0";
|
|
29
|
-
iframe.style.height = "0";
|
|
30
|
-
iframe.style.border = "0";
|
|
31
|
-
iframe.style.visibility = "hidden";
|
|
32
|
-
document.body.appendChild(iframe);
|
|
33
|
-
const iframeWindow = iframe.contentWindow;
|
|
34
|
-
if (!iframeWindow) {
|
|
35
|
-
iframe.parentNode?.removeChild(iframe);
|
|
36
|
-
return false;
|
|
37
|
-
}
|
|
38
|
-
const doc = iframeWindow.document;
|
|
39
|
-
doc.open();
|
|
40
|
-
doc.write(`<!doctype html><html><head><title>${title}</title></head><body></body></html>`);
|
|
41
|
-
doc.close();
|
|
42
|
-
doc.title = title;
|
|
43
|
-
const styles = document.querySelectorAll("link[rel=\"stylesheet\"], style");
|
|
44
|
-
styles.forEach((node) => {
|
|
45
|
-
doc.head.appendChild(node.cloneNode(true));
|
|
46
|
-
});
|
|
47
|
-
doc.body.innerHTML = sourceElement.innerHTML;
|
|
48
|
-
iframeWindow.focus();
|
|
49
|
-
iframeWindow.print();
|
|
50
|
-
setTimeout(() => {
|
|
51
|
-
iframe.parentNode?.removeChild(iframe);
|
|
52
|
-
}, 1000);
|
|
53
|
-
return true;
|
|
54
|
-
}
|
|
55
|
-
export function ModernAgentConversation(props) {
|
|
56
|
-
const { run, startWorkflow } = props;
|
|
57
|
-
if (run) {
|
|
58
|
-
// If we have a run, convert it to AsyncExecutionResult format if needed
|
|
59
|
-
const execRun = "runId" in run
|
|
60
|
-
? run
|
|
61
|
-
: {
|
|
62
|
-
runId: run.run_id,
|
|
63
|
-
workflowId: run.workflow_id,
|
|
64
|
-
};
|
|
65
|
-
return (_jsx(SkillWidgetProvider, { children: _jsx(ModernAgentConversationInner, { ...props, run: execRun }) }));
|
|
66
|
-
}
|
|
67
|
-
else if (startWorkflow) {
|
|
68
|
-
// If we have startWorkflow capability but no run yet
|
|
69
|
-
return _jsx(StartWorkflowView, { ...props });
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
// Empty state
|
|
73
|
-
return _jsx(EmptyState, {});
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
// Empty state when no agent is running
|
|
77
|
-
function EmptyState() {
|
|
78
|
-
return (_jsxs(MessageBox, { status: "info", icon: _jsx(Bot, { className: "size-16 text-muted mb-4" }), children: [_jsx("div", { className: "text-base font-medium text-muted", children: "No agent currently running" }), _jsx("div", { className: "mt-3 text-sm text-muted", children: "Select an interaction and click Start to start an agent" })] }));
|
|
79
|
-
}
|
|
80
|
-
// Start workflow view - allows initiating a new agent conversation
|
|
81
|
-
// Files can be staged locally before workflow starts, then uploaded when the workflow is created
|
|
82
|
-
function StartWorkflowView({ initialMessage, startWorkflow, onClose, isModal = false, fullWidth = false, placeholder = "Type your message...", startButtonText = "Start Agent", title = "Start New Conversation",
|
|
83
|
-
// Attachment callback - used to include existing document attachments in the first message
|
|
84
|
-
getAttachedDocs, onAttachmentsSent,
|
|
85
|
-
// File upload props
|
|
86
|
-
acceptedFileTypes = ".pdf,.doc,.docx,.txt,.csv,.xlsx,.xls,.png,.jpg,.jpeg,.gif,.webp", maxFiles = 5, }) {
|
|
87
|
-
const { client } = useUserSession();
|
|
88
|
-
const [inputValue, setInputValue] = useState("");
|
|
89
|
-
const [isSending, setIsSending] = useState(false);
|
|
90
|
-
const [run, setRun] = useState();
|
|
91
|
-
const toast = useToast();
|
|
92
|
-
const inputRef = useRef(null);
|
|
93
|
-
const fileInputRef = useRef(null);
|
|
94
|
-
// Staged files - stored locally until workflow starts
|
|
95
|
-
const [stagedFiles, setStagedFiles] = useState([]);
|
|
96
|
-
// Drag and drop state
|
|
97
|
-
const [isDragOver, setIsDragOver] = useState(false);
|
|
98
|
-
const dragCounterRef = useRef(0);
|
|
99
|
-
// Drag and drop handlers for file staging
|
|
100
|
-
const handleDragEnter = useCallback((e) => {
|
|
101
|
-
e.preventDefault();
|
|
102
|
-
e.stopPropagation();
|
|
103
|
-
dragCounterRef.current++;
|
|
104
|
-
if (e.dataTransfer?.types?.includes('Files')) {
|
|
105
|
-
setIsDragOver(true);
|
|
106
|
-
}
|
|
107
|
-
}, []);
|
|
108
|
-
const handleDragOver = useCallback((e) => {
|
|
109
|
-
e.preventDefault();
|
|
110
|
-
e.stopPropagation();
|
|
111
|
-
}, []);
|
|
112
|
-
const handleDragLeave = useCallback((e) => {
|
|
113
|
-
e.preventDefault();
|
|
114
|
-
e.stopPropagation();
|
|
115
|
-
dragCounterRef.current--;
|
|
116
|
-
if (dragCounterRef.current === 0) {
|
|
117
|
-
setIsDragOver(false);
|
|
118
|
-
}
|
|
119
|
-
}, []);
|
|
120
|
-
const handleDrop = useCallback((e) => {
|
|
121
|
-
e.preventDefault();
|
|
122
|
-
e.stopPropagation();
|
|
123
|
-
dragCounterRef.current = 0;
|
|
124
|
-
setIsDragOver(false);
|
|
125
|
-
if (e.dataTransfer?.files && e.dataTransfer.files.length > 0) {
|
|
126
|
-
const filesArray = Array.from(e.dataTransfer.files);
|
|
127
|
-
setStagedFiles(prev => {
|
|
128
|
-
const newFiles = [...prev, ...filesArray].slice(0, maxFiles);
|
|
129
|
-
return newFiles;
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
}, [maxFiles]);
|
|
133
|
-
const handleFileInputChange = useCallback((e) => {
|
|
134
|
-
if (e.target.files && e.target.files.length > 0) {
|
|
135
|
-
const filesArray = Array.from(e.target.files);
|
|
136
|
-
setStagedFiles(prev => {
|
|
137
|
-
const newFiles = [...prev, ...filesArray].slice(0, maxFiles);
|
|
138
|
-
return newFiles;
|
|
139
|
-
});
|
|
140
|
-
}
|
|
141
|
-
// Reset input so the same file can be selected again
|
|
142
|
-
e.target.value = '';
|
|
143
|
-
}, [maxFiles]);
|
|
144
|
-
const removeStagedFile = useCallback((index) => {
|
|
145
|
-
setStagedFiles(prev => prev.filter((_, i) => i !== index));
|
|
146
|
-
}, []);
|
|
147
|
-
useEffect(() => {
|
|
148
|
-
// Focus the input field when component mounts
|
|
149
|
-
if (inputRef.current) {
|
|
150
|
-
inputRef.current.focus();
|
|
151
|
-
}
|
|
152
|
-
}, []);
|
|
153
|
-
// Start a new workflow with the message
|
|
154
|
-
const startWorkflowWithMessage = async () => {
|
|
155
|
-
if (!startWorkflow)
|
|
156
|
-
return;
|
|
157
|
-
const message = inputValue.trim();
|
|
158
|
-
if (!message || isSending)
|
|
159
|
-
return;
|
|
160
|
-
setIsSending(true);
|
|
161
|
-
try {
|
|
162
|
-
// Reset plan panel state when starting a new agent
|
|
163
|
-
sessionStorage.removeItem("plan-panel-shown");
|
|
164
|
-
toast({
|
|
165
|
-
title: stagedFiles.length > 0 ? "Starting agent and uploading files..." : "Starting agent...",
|
|
166
|
-
status: "info",
|
|
167
|
-
duration: 3000,
|
|
168
|
-
});
|
|
169
|
-
// Get attached document IDs if callback provided
|
|
170
|
-
const attachedDocs = getAttachedDocs?.() || [];
|
|
171
|
-
// Build message content with attachment references if present
|
|
172
|
-
let messageContent = message;
|
|
173
|
-
if (attachedDocs.length > 0 && !/store:\S+/.test(message)) {
|
|
174
|
-
const lines = attachedDocs.map((id) => `store:${id}`);
|
|
175
|
-
messageContent = [message, '', 'Attachments:', ...lines].join('\n');
|
|
176
|
-
}
|
|
177
|
-
// If files are staged, add a note to the message so the agent knows files are coming
|
|
178
|
-
if (stagedFiles.length > 0) {
|
|
179
|
-
const fileNames = stagedFiles.map(f => f.name).join(', ');
|
|
180
|
-
messageContent = [
|
|
181
|
-
messageContent,
|
|
182
|
-
'',
|
|
183
|
-
`[System: ${stagedFiles.length} file(s) are being uploaded: ${fileNames}. Please wait for the "Files Ready" notification before processing them.]`
|
|
184
|
-
].join('\n');
|
|
185
|
-
}
|
|
186
|
-
const newRun = await startWorkflow(messageContent);
|
|
187
|
-
if (newRun) {
|
|
188
|
-
// Upload staged files to the new run's artifact space and signal workflow
|
|
189
|
-
const uploadedFiles = [];
|
|
190
|
-
if (stagedFiles.length > 0) {
|
|
191
|
-
for (const file of stagedFiles) {
|
|
192
|
-
try {
|
|
193
|
-
const artifactPath = `files/${file.name}`;
|
|
194
|
-
await client.files.uploadArtifact(newRun.run_id, artifactPath, file);
|
|
195
|
-
// Signal workflow that file was uploaded
|
|
196
|
-
await client.store.workflows.sendSignal(newRun.workflow_id, newRun.run_id, "FileUploaded", {
|
|
197
|
-
id: `file-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`,
|
|
198
|
-
name: file.name,
|
|
199
|
-
content_type: file.type || 'application/octet-stream',
|
|
200
|
-
reference: `artifact:${artifactPath}`,
|
|
201
|
-
artifact_path: artifactPath,
|
|
202
|
-
});
|
|
203
|
-
uploadedFiles.push(file.name);
|
|
204
|
-
}
|
|
205
|
-
catch (uploadErr) {
|
|
206
|
-
console.error(`Failed to upload staged file ${file.name}:`, uploadErr);
|
|
207
|
-
// Continue with other files
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
|
-
// Send a follow-up message to notify the agent that all files are ready
|
|
211
|
-
if (uploadedFiles.length > 0) {
|
|
212
|
-
try {
|
|
213
|
-
await client.store.workflows.sendSignal(newRun.workflow_id, newRun.run_id, "UserInput", {
|
|
214
|
-
message: `[Files Ready] All ${uploadedFiles.length} file(s) have been uploaded and are now available: ${uploadedFiles.join(', ')}. You can now process them.`,
|
|
215
|
-
metadata: {
|
|
216
|
-
type: 'files_ready',
|
|
217
|
-
files: uploadedFiles,
|
|
218
|
-
},
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
catch (signalErr) {
|
|
222
|
-
console.error('Failed to send files ready signal:', signalErr);
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
setStagedFiles([]);
|
|
226
|
-
}
|
|
227
|
-
// Clear attachments after successful start
|
|
228
|
-
onAttachmentsSent?.();
|
|
229
|
-
setRun({
|
|
230
|
-
runId: newRun.run_id,
|
|
231
|
-
workflowId: newRun.workflow_id,
|
|
232
|
-
});
|
|
233
|
-
setInputValue("");
|
|
234
|
-
toast({
|
|
235
|
-
title: "Agent started",
|
|
236
|
-
status: "success",
|
|
237
|
-
duration: 3000,
|
|
238
|
-
});
|
|
239
|
-
}
|
|
240
|
-
}
|
|
241
|
-
catch (err) {
|
|
242
|
-
toast({
|
|
243
|
-
title: "Error starting workflow",
|
|
244
|
-
status: "error",
|
|
245
|
-
duration: 3000,
|
|
246
|
-
description: err instanceof Error ? err.message : "Unknown error",
|
|
247
|
-
});
|
|
248
|
-
}
|
|
249
|
-
finally {
|
|
250
|
-
setIsSending(false);
|
|
251
|
-
}
|
|
252
|
-
};
|
|
253
|
-
const handleKeyDown = (e) => {
|
|
254
|
-
if (e.key === "Enter" && !e.shiftKey) {
|
|
255
|
-
e.preventDefault();
|
|
256
|
-
startWorkflowWithMessage();
|
|
257
|
-
}
|
|
258
|
-
// Shift+Enter allows newline (default textarea behavior)
|
|
259
|
-
};
|
|
260
|
-
// Auto-resize textarea as content grows
|
|
261
|
-
const adjustTextareaHeight = useCallback(() => {
|
|
262
|
-
const textarea = inputRef.current;
|
|
263
|
-
if (textarea) {
|
|
264
|
-
textarea.style.height = 'auto';
|
|
265
|
-
textarea.style.height = `${Math.min(textarea.scrollHeight, 200)}px`;
|
|
266
|
-
}
|
|
267
|
-
}, []);
|
|
268
|
-
useEffect(() => {
|
|
269
|
-
adjustTextareaHeight();
|
|
270
|
-
}, [inputValue, adjustTextareaHeight]);
|
|
271
|
-
// If a run has been started, show the conversation
|
|
272
|
-
if (run) {
|
|
273
|
-
return (_jsx(ModernAgentConversationInner, { onClose, isModal, initialMessage, placeholder, run: run, title: title }));
|
|
274
|
-
}
|
|
275
|
-
return (_jsxs("div", { className: `flex flex-col h-full bg-white dark:bg-gray-900 overflow-hidden border-0 relative ${isDragOver ? 'ring-2 ring-blue-400 ring-inset' : ''}`, onDragEnter: handleDragEnter, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, children: [isDragOver && (_jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-blue-100/80 dark:bg-blue-900/40 z-50 pointer-events-none rounded-lg", children: _jsxs("div", { className: "text-blue-600 dark:text-blue-400 font-medium flex items-center gap-2 text-lg", children: [_jsx(UploadIcon, { className: "size-6" }), "Drop files to stage for upload"] }) })), _jsx("input", { ref: fileInputRef, type: "file", multiple: true, accept: acceptedFileTypes, onChange: handleFileInputChange, className: "hidden" }), _jsxs("div", { className: "flex items-center justify-between py-2 px-3 border-b border-gray-100 dark:border-gray-800 bg-white dark:bg-gray-900", children: [_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("div", { className: "p-1", children: _jsx(Cpu, { className: "size-3.5 text-muted" }) }), _jsx("span", { className: "font-medium text-sm text-gray-700 dark:text-gray-300", children: title })] }), onClose && !isModal && (_jsx(Button, { size: "xs", variant: "ghost", onClick: onClose, title: "Close", className: "text-slate-500 hover:text-slate-700", children: _jsx(XIcon, { className: "size-4" }) }))] }), _jsxs("div", { className: `flex-1 overflow-y-auto px-4 py-6 bg-white dark:bg-gray-900 flex flex-col ${fullWidth ? 'items-start justify-start' : 'items-center justify-center'}`, children: [initialMessage && (_jsx("div", { className: `px-4 py-3 mb-4 bg-blue-50/80 dark:bg-blue-900/30 border-l-2 border-blue-400 dark:border-blue-500 text-blue-700 dark:text-blue-300 ${fullWidth ? 'w-full' : 'max-w-md'}`, children: initialMessage })), _jsxs("div", { className: `bg-white dark:bg-slate-800 p-4 border-l-2 border-blue-400 dark:border-blue-500 ${fullWidth ? 'w-full' : 'max-w-md'}`, children: [_jsx("div", { className: "text-base text-slate-600 dark:text-slate-300 font-medium", children: "Enter a message to start a conversation" }), _jsxs("div", { className: "mt-3 text-sm text-slate-500 dark:text-slate-400", children: ["Type your question below and press Enter or click ", startButtonText, " ", "to begin"] })] })] }), _jsxs("div", { className: "py-3 px-3 border-t border-gray-100 dark:border-gray-800 bg-white dark:bg-gray-900", children: [stagedFiles.length > 0 && (_jsx("div", { className: "flex flex-wrap gap-2 mb-3", children: stagedFiles.map((file, index) => (_jsxs("div", { className: "flex items-center gap-1.5 px-2 py-1 bg-attention/10 text-attention rounded-md text-sm", children: [_jsx(FileTextIcon, { className: "size-3.5" }), _jsx("span", { className: "max-w-[120px] truncate", children: file.name }), _jsx("span", { className: "text-xs opacity-70", children: "Staged" }), _jsx("button", { onClick: () => removeStagedFile(index), className: "ml-1 p-0.5 hover:bg-attention/20 rounded", children: _jsx(XIcon, { className: "size-3" }) })] }, `${file.name}-${index}`))) })), _jsx("div", { className: "flex gap-2 mb-2", children: _jsxs(Button, { variant: "outline", size: "sm", onClick: () => fileInputRef.current?.click(), disabled: isSending || stagedFiles.length >= maxFiles, className: "text-xs", children: [_jsx(UploadIcon, { className: "size-3.5 mr-1.5" }), "Upload"] }) }), _jsxs("div", { className: "flex items-end gap-2", children: [_jsx("div", { className: "flex-1", children: _jsx("textarea", { ref: inputRef, value: inputValue, onChange: (e) => setInputValue(e.target.value), onKeyDown: handleKeyDown, placeholder: placeholder, disabled: isSending, rows: 2, className: "w-full py-2.5 px-3 text-sm border border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-white focus:border-gray-300 dark:focus:border-gray-600 focus:outline-none focus:ring-1 focus:ring-gray-300 dark:focus:ring-gray-600 rounded-md resize-none overflow-hidden", style: { minHeight: '60px', maxHeight: '200px' } }) }), _jsxs(Button, { onClick: startWorkflowWithMessage, disabled: !inputValue.trim() || isSending, className: "px-3 py-2.5 bg-gray-800 dark:bg-gray-700 hover:bg-gray-700 dark:hover:bg-gray-600 text-white text-xs rounded-md transition-colors", children: [isSending ? (_jsx(Spinner, { size: "sm", className: "mr-1.5" })) : (_jsx(SendIcon, { className: "size-3.5 mr-1.5" })), startButtonText] })] }), _jsx("div", { className: "text-xs text-gray-400 dark:text-gray-500 mt-2 text-center", children: stagedFiles.length > 0
|
|
276
|
-
? `${stagedFiles.length} file${stagedFiles.length > 1 ? 's' : ''} staged - will upload when conversation starts`
|
|
277
|
-
: 'Enter to send • Shift+Enter for new line' })] })] }));
|
|
278
|
-
}
|
|
279
|
-
// Inner component that handles the agent conversation - similar to ModernAgentOutput
|
|
280
|
-
function ModernAgentConversationInner({ run, title, interactive = true, onClose, isModal = false, fullWidth = false, placeholder = "Type your message...", resetWorkflow,
|
|
281
|
-
// File upload props (onFilesSelected handled internally by handleFileUpload)
|
|
282
|
-
uploadedFiles, onRemoveFile, acceptedFileTypes, maxFiles,
|
|
283
|
-
// Document search props
|
|
284
|
-
renderDocumentSearch, selectedDocuments, onRemoveDocument,
|
|
285
|
-
// Object linking
|
|
286
|
-
hideObjectLinking,
|
|
287
|
-
// Attachment callback
|
|
288
|
-
getAttachedDocs, onAttachmentsSent,
|
|
289
|
-
// Upload state
|
|
290
|
-
isUploading = false,
|
|
291
|
-
// Context callback
|
|
292
|
-
getMessageContext,
|
|
293
|
-
// Styling props
|
|
294
|
-
inputContainerClassName, inputClassName,
|
|
295
|
-
// Fusion fragment data
|
|
296
|
-
fusionData, }) {
|
|
297
|
-
const { client } = useUserSession();
|
|
298
|
-
const bottomRef = useRef(null);
|
|
299
|
-
const conversationRef = useRef(null);
|
|
300
|
-
const [messages, setMessages] = useState([]);
|
|
301
|
-
const [isCompleted, setIsCompleted] = useState(false);
|
|
302
|
-
const [isSending, setIsSending] = useState(false);
|
|
303
|
-
const [viewMode, setViewMode] = useState("sliding");
|
|
304
|
-
const [showSlidingPanel, setShowSlidingPanel] = useState(!isModal);
|
|
305
|
-
const [isStopping, setIsStopping] = useState(false);
|
|
306
|
-
// Keep track of multiple plans and their timestamps
|
|
307
|
-
const [plans, setPlans] = useState([]);
|
|
308
|
-
// Track which plan is currently active in the UI
|
|
309
|
-
const [activePlanIndex, setActivePlanIndex] = useState(0);
|
|
310
|
-
// Store workstream status for each plan separately
|
|
311
|
-
const [workstreamStatusMap, setWorkstreamStatusMap] = useState(new Map());
|
|
312
|
-
const [thinkingMessageIndex, setThinkingMessageIndex] = useState(0);
|
|
313
|
-
const toast = useToast();
|
|
314
|
-
const [showInput, setShowInput] = useState(interactive);
|
|
315
|
-
const [workflowStatus, setWorkflowStatus] = useState(null);
|
|
316
|
-
// Track streaming messages by streaming_id for real-time chunk aggregation
|
|
317
|
-
// Include startTimestamp to preserve chronological order when converting to regular messages
|
|
318
|
-
const [streamingMessages, setStreamingMessages] = useState(new Map());
|
|
319
|
-
// Track files being processed by the workflow
|
|
320
|
-
const [processingFiles, setProcessingFiles] = useState(new Map());
|
|
321
|
-
// Check if any files are still uploading or processing
|
|
322
|
-
const hasProcessingFiles = useMemo(() => Array.from(processingFiles.values()).some(f => f.status === FileProcessingStatus.UPLOADING || f.status === FileProcessingStatus.PROCESSING), [processingFiles]);
|
|
323
|
-
// Performance optimization: Batch streaming updates using RAF
|
|
324
|
-
// Instead of updating state on every chunk (100+ times/sec), batch them per animation frame
|
|
325
|
-
const pendingStreamingChunks = useRef(new Map());
|
|
326
|
-
const streamingFlushScheduled = useRef(null);
|
|
327
|
-
// Debug: Track chunk arrivals and renders
|
|
328
|
-
const [_debugChunkCount, setDebugChunkCount] = useState(0);
|
|
329
|
-
const [_debugRenderCount, setDebugRenderCount] = useState(0);
|
|
330
|
-
const [debugChunkFlash, setDebugChunkFlash] = useState(false);
|
|
331
|
-
const debugFlashTimeout = useRef(null);
|
|
332
|
-
const flushStreamingChunks = useCallback(() => {
|
|
333
|
-
if (pendingStreamingChunks.current.size > 0) {
|
|
334
|
-
setStreamingMessages(new Map(pendingStreamingChunks.current));
|
|
335
|
-
setDebugRenderCount(c => c + 1);
|
|
336
|
-
}
|
|
337
|
-
streamingFlushScheduled.current = null;
|
|
338
|
-
}, []);
|
|
339
|
-
// Drag and drop state for full-panel file upload
|
|
340
|
-
const [isDragOver, setIsDragOver] = useState(false);
|
|
341
|
-
const dragCounterRef = useRef(0);
|
|
342
|
-
// Helper function to get the current active plan and its workstream status
|
|
343
|
-
const getActivePlan = useMemo(() => {
|
|
344
|
-
const currentPlanData = plans[activePlanIndex] || {
|
|
345
|
-
plan: { plan: [] },
|
|
346
|
-
timestamp: 0,
|
|
347
|
-
};
|
|
348
|
-
const currentWorkstreamStatus = workstreamStatusMap.get(currentPlanData.timestamp) || new Map();
|
|
349
|
-
return {
|
|
350
|
-
plan: currentPlanData.plan,
|
|
351
|
-
workstreamStatus: currentWorkstreamStatus,
|
|
352
|
-
};
|
|
353
|
-
}, [plans, activePlanIndex, workstreamStatusMap]);
|
|
354
|
-
// PERFORMANCE: Stabilize callback props to prevent child re-renders
|
|
355
|
-
const handleTogglePlanPanel = useCallback(() => {
|
|
356
|
-
setShowSlidingPanel((prev) => {
|
|
357
|
-
if (!prev) {
|
|
358
|
-
sessionStorage.setItem("plan-panel-shown", "true");
|
|
359
|
-
}
|
|
360
|
-
return !prev;
|
|
361
|
-
});
|
|
362
|
-
}, []);
|
|
363
|
-
const handleChangePlan = useCallback((index) => {
|
|
364
|
-
setActivePlanIndex(index);
|
|
365
|
-
}, []);
|
|
366
|
-
const handleClosePlanPanel = useCallback(() => {
|
|
367
|
-
setShowSlidingPanel(false);
|
|
368
|
-
}, []);
|
|
369
|
-
// Show rotating thinking messages
|
|
370
|
-
useEffect(() => {
|
|
371
|
-
if (!isCompleted) {
|
|
372
|
-
const interval = setInterval(() => {
|
|
373
|
-
setThinkingMessageIndex(() => Math.floor(Math.random() * (ThinkingMessages.length - 1)));
|
|
374
|
-
}, 4000);
|
|
375
|
-
return () => clearInterval(interval);
|
|
376
|
-
}
|
|
377
|
-
}, [isCompleted]);
|
|
378
|
-
const checkWorkflowStatus = async () => {
|
|
379
|
-
try {
|
|
380
|
-
const statusResult = await client.store.workflows.getRunDetails(run.runId, run.workflowId);
|
|
381
|
-
setWorkflowStatus(statusResult.status);
|
|
382
|
-
}
|
|
383
|
-
catch (error) {
|
|
384
|
-
console.error('Failed to check workflow status:', error);
|
|
385
|
-
}
|
|
386
|
-
};
|
|
387
|
-
// Stream messages from the agent
|
|
388
|
-
useEffect(() => {
|
|
389
|
-
// Reset all state when runId changes (new agent)
|
|
390
|
-
setMessages([]);
|
|
391
|
-
setPlans([]);
|
|
392
|
-
setActivePlanIndex(0);
|
|
393
|
-
setWorkstreamStatusMap(new Map());
|
|
394
|
-
setShowSlidingPanel(false);
|
|
395
|
-
setWorkflowStatus(null);
|
|
396
|
-
setStreamingMessages(new Map());
|
|
397
|
-
checkWorkflowStatus();
|
|
398
|
-
client.store.workflows.streamMessages(run.workflowId, run.runId, (message) => {
|
|
399
|
-
// Client now converts compact wire format to AgentMessage internally
|
|
400
|
-
// Handle streaming chunks separately for real-time aggregation
|
|
401
|
-
// PERFORMANCE: Batch updates using RAF instead of immediate state updates
|
|
402
|
-
if (message.type === AgentMessageType.STREAMING_CHUNK) {
|
|
403
|
-
const details = message.details;
|
|
404
|
-
// Use activity_id as key if available (for dedup), fall back to streaming_id
|
|
405
|
-
const streamKey = details?.activity_id || details?.streaming_id;
|
|
406
|
-
if (!streamKey)
|
|
407
|
-
return;
|
|
408
|
-
// Debug: Track chunk arrival with flash
|
|
409
|
-
setDebugChunkCount(c => c + 1);
|
|
410
|
-
setDebugChunkFlash(true);
|
|
411
|
-
if (debugFlashTimeout.current)
|
|
412
|
-
clearTimeout(debugFlashTimeout.current);
|
|
413
|
-
debugFlashTimeout.current = setTimeout(() => setDebugChunkFlash(false), 50);
|
|
414
|
-
// Accumulate chunks in the ref (no state update yet)
|
|
415
|
-
const current = pendingStreamingChunks.current.get(streamKey) || {
|
|
416
|
-
text: '',
|
|
417
|
-
workstreamId: message.workstream_id,
|
|
418
|
-
startTimestamp: Date.now(),
|
|
419
|
-
activityId: details?.activity_id,
|
|
420
|
-
};
|
|
421
|
-
const newText = current.text + (message.message || '');
|
|
422
|
-
pendingStreamingChunks.current.set(streamKey, {
|
|
423
|
-
text: newText,
|
|
424
|
-
workstreamId: message.workstream_id,
|
|
425
|
-
isComplete: details.is_final,
|
|
426
|
-
startTimestamp: current.startTimestamp,
|
|
427
|
-
activityId: details?.activity_id,
|
|
428
|
-
});
|
|
429
|
-
// Schedule a flush if not already scheduled (batches ~60 updates/sec max)
|
|
430
|
-
if (streamingFlushScheduled.current === null) {
|
|
431
|
-
streamingFlushScheduled.current = requestAnimationFrame(flushStreamingChunks);
|
|
432
|
-
}
|
|
433
|
-
return;
|
|
434
|
-
}
|
|
435
|
-
// Handle file processing status updates (SYSTEM messages with system_type: 'file_processing')
|
|
436
|
-
if (message.type === AgentMessageType.SYSTEM) {
|
|
437
|
-
const details = message.details;
|
|
438
|
-
if (details?.system_type === 'file_processing' && details.files) {
|
|
439
|
-
setProcessingFiles(prev => {
|
|
440
|
-
const newMap = new Map(prev);
|
|
441
|
-
for (const file of details.files) {
|
|
442
|
-
newMap.set(file.id, file);
|
|
443
|
-
}
|
|
444
|
-
return newMap;
|
|
445
|
-
});
|
|
446
|
-
return; // Don't add to messages array - this is status only
|
|
447
|
-
}
|
|
448
|
-
// Other SYSTEM messages fall through to normal handling
|
|
449
|
-
}
|
|
450
|
-
// When THOUGHT or ANSWER arrives with activity_id, remove matching streaming message
|
|
451
|
-
// This prevents duplicate content (streamed content replaced by final message)
|
|
452
|
-
if ((message.type === AgentMessageType.THOUGHT || message.type === AgentMessageType.ANSWER) && message.details?.activity_id) {
|
|
453
|
-
const activityId = message.details.activity_id;
|
|
454
|
-
// Remove from pending chunks
|
|
455
|
-
pendingStreamingChunks.current.delete(activityId);
|
|
456
|
-
// Remove from streaming messages state
|
|
457
|
-
setStreamingMessages(prev => {
|
|
458
|
-
if (prev.has(activityId)) {
|
|
459
|
-
const next = new Map(prev);
|
|
460
|
-
next.delete(activityId);
|
|
461
|
-
return next;
|
|
462
|
-
}
|
|
463
|
-
return prev;
|
|
464
|
-
});
|
|
465
|
-
}
|
|
466
|
-
// On COMPLETE or IDLE, just flush any pending chunks
|
|
467
|
-
if (message.type === AgentMessageType.COMPLETE || message.type === AgentMessageType.IDLE) {
|
|
468
|
-
if (pendingStreamingChunks.current.size > 0) {
|
|
469
|
-
flushStreamingChunks();
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
if (message.message) {
|
|
473
|
-
setMessages((prev_messages) => {
|
|
474
|
-
// Check for duplicate by timestamp
|
|
475
|
-
if (prev_messages.find((m) => m.timestamp === message.timestamp)) {
|
|
476
|
-
return prev_messages;
|
|
477
|
-
}
|
|
478
|
-
// For QUESTION messages from server, replace any optimistic version
|
|
479
|
-
if (message.type === AgentMessageType.QUESTION && !message.details?._optimistic) {
|
|
480
|
-
const withoutOptimistic = prev_messages.filter((m) => !(m.type === AgentMessageType.QUESTION &&
|
|
481
|
-
m.details?._optimistic &&
|
|
482
|
-
m.message === message.message));
|
|
483
|
-
insertMessageInTimeline(withoutOptimistic, message);
|
|
484
|
-
return [...withoutOptimistic];
|
|
485
|
-
}
|
|
486
|
-
insertMessageInTimeline(prev_messages, message);
|
|
487
|
-
return [...prev_messages];
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
});
|
|
491
|
-
// Clear messages and unsubscribe when component unmounts or runId changes
|
|
492
|
-
return () => {
|
|
493
|
-
setMessages([]);
|
|
494
|
-
// Cancel any pending streaming flush
|
|
495
|
-
if (streamingFlushScheduled.current !== null) {
|
|
496
|
-
cancelAnimationFrame(streamingFlushScheduled.current);
|
|
497
|
-
streamingFlushScheduled.current = null;
|
|
498
|
-
}
|
|
499
|
-
pendingStreamingChunks.current.clear();
|
|
500
|
-
// Client handles unsubscribing from the message stream internally
|
|
501
|
-
};
|
|
502
|
-
}, [run.runId, client.store.workflows, flushStreamingChunks]);
|
|
503
|
-
// Update completion status when messages change
|
|
504
|
-
// This now accounts for multiple workstreams
|
|
505
|
-
useEffect(() => {
|
|
506
|
-
setIsCompleted(!isInProgress(messages));
|
|
507
|
-
// Only automatically hide the panel when there are no plans
|
|
508
|
-
// But don't auto-show it when plans appear
|
|
509
|
-
if (plans.length === 0) {
|
|
510
|
-
// If there are no plans, make sure the plan panel is hidden
|
|
511
|
-
setShowSlidingPanel(false);
|
|
512
|
-
}
|
|
513
|
-
// We removed the auto-show functionality to allow users to keep the panel closed if they want
|
|
514
|
-
}, [messages, plans.length]);
|
|
515
|
-
// Update plans and workstream status based on incoming messages
|
|
516
|
-
useEffect(() => {
|
|
517
|
-
// Only show the sliding panel for the very first plan and only once
|
|
518
|
-
if (plans.length === 1 &&
|
|
519
|
-
!showSlidingPanel &&
|
|
520
|
-
!sessionStorage.getItem("plan-panel-shown")) {
|
|
521
|
-
// For first-time plan detection only, show the panel with a delay
|
|
522
|
-
const notificationTimeout = setTimeout(() => {
|
|
523
|
-
setShowSlidingPanel(true);
|
|
524
|
-
// Mark that we've shown the panel once
|
|
525
|
-
sessionStorage.setItem("plan-panel-shown", "true");
|
|
526
|
-
}, 500); // Short delay to ensure the UI has fully rendered
|
|
527
|
-
return () => clearTimeout(notificationTimeout);
|
|
528
|
-
}
|
|
529
|
-
// Process messages to extract plan information
|
|
530
|
-
messages.forEach((message) => {
|
|
531
|
-
if (message.type === AgentMessageType.PLAN) {
|
|
532
|
-
try {
|
|
533
|
-
// Log message details for debugging
|
|
534
|
-
console.log("PLAN message received:", message.type);
|
|
535
|
-
let newPlanDetails = null;
|
|
536
|
-
// Extract the plan from the message details object
|
|
537
|
-
if (message.details && typeof message.details === "object") {
|
|
538
|
-
// For a PLAN type message like the example you provided
|
|
539
|
-
if (message.details.plan && Array.isArray(message.details.plan)) {
|
|
540
|
-
console.log("Valid plan array found in message.details.plan");
|
|
541
|
-
newPlanDetails = { plan: message.details.plan };
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
// Only proceed if we have a valid plan
|
|
545
|
-
if (newPlanDetails) {
|
|
546
|
-
const timestamp = typeof message.timestamp === "number"
|
|
547
|
-
? message.timestamp
|
|
548
|
-
: new Date(message.timestamp).getTime();
|
|
549
|
-
// Check if we already have this plan
|
|
550
|
-
const existingPlanIndex = plans.findIndex((p) => p.timestamp === timestamp);
|
|
551
|
-
if (existingPlanIndex === -1 && newPlanDetails) {
|
|
552
|
-
console.log("Adding new plan to plans array");
|
|
553
|
-
// This is a new plan - add it to our plans array
|
|
554
|
-
const newPlan = {
|
|
555
|
-
plan: newPlanDetails,
|
|
556
|
-
timestamp,
|
|
557
|
-
};
|
|
558
|
-
// Add new plan to the beginning of the array (newest first)
|
|
559
|
-
console.log("Adding plan to plans array:", newPlan);
|
|
560
|
-
setPlans((prev) => {
|
|
561
|
-
const newPlans = [newPlan, ...prev];
|
|
562
|
-
console.log("New plans array:", newPlans);
|
|
563
|
-
return newPlans;
|
|
564
|
-
});
|
|
565
|
-
// Set this as the active plan
|
|
566
|
-
setActivePlanIndex(0);
|
|
567
|
-
// Automatically show sliding plan panel when a plan is detected
|
|
568
|
-
console.log("Setting showSlidingPanel to true");
|
|
569
|
-
setShowSlidingPanel(true);
|
|
570
|
-
// Initialize workstreams as pending based on the plan tasks
|
|
571
|
-
const newWorkstreamStatus = new Map();
|
|
572
|
-
// Always initialize main workstream
|
|
573
|
-
newWorkstreamStatus.set("main", "in_progress");
|
|
574
|
-
// Initialize each task in the plan with its status
|
|
575
|
-
if (Array.isArray(newPlanDetails.plan)) {
|
|
576
|
-
newPlanDetails.plan.forEach((task) => {
|
|
577
|
-
if (task && typeof task === "object" && task.id) {
|
|
578
|
-
const taskId = task.id.toString();
|
|
579
|
-
// Use the task's status if available, otherwise default to pending
|
|
580
|
-
newWorkstreamStatus.set(taskId, task.status || "pending");
|
|
581
|
-
}
|
|
582
|
-
});
|
|
583
|
-
}
|
|
584
|
-
// Update the workstream status map with the new status for this plan
|
|
585
|
-
setWorkstreamStatusMap((prev) => {
|
|
586
|
-
const newMap = new Map(prev);
|
|
587
|
-
newMap.set(timestamp, newWorkstreamStatus);
|
|
588
|
-
return newMap;
|
|
589
|
-
});
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
catch (error) {
|
|
594
|
-
console.error("Failed to parse plan from message:", error);
|
|
595
|
-
}
|
|
596
|
-
}
|
|
597
|
-
// Handle UPDATE type messages with plan updates
|
|
598
|
-
if (message.type === AgentMessageType.UPDATE && message.details) {
|
|
599
|
-
// We no longer process UPDATE messages with details.updates
|
|
600
|
-
// Instead, we rely on the PLAN message that follows with the complete plan
|
|
601
|
-
if (message.details.updates && Array.isArray(message.details.updates)) {
|
|
602
|
-
console.log("Ignoring UPDATE message with details.updates - waiting for PLAN message with full plan");
|
|
603
|
-
// This is an initial update notification, but we'll wait for the PLAN message that follows
|
|
604
|
-
// with the complete updated plan before making any UI changes
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
});
|
|
608
|
-
const lastMessage = messages[messages.length - 1];
|
|
609
|
-
if (lastMessage) {
|
|
610
|
-
if (lastMessage.type === AgentMessageType.TERMINATED) {
|
|
611
|
-
setShowInput(false);
|
|
612
|
-
setWorkflowStatus("TERMINATED");
|
|
613
|
-
}
|
|
614
|
-
else {
|
|
615
|
-
if (interactive) {
|
|
616
|
-
setShowInput(true);
|
|
617
|
-
}
|
|
618
|
-
else {
|
|
619
|
-
setShowInput(lastMessage.type === AgentMessageType.REQUEST_INPUT);
|
|
620
|
-
}
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
}, [messages, plans, activePlanIndex]);
|
|
624
|
-
// Send a message to the agent
|
|
625
|
-
const handleSendMessage = (message) => {
|
|
626
|
-
const trimmed = message.trim();
|
|
627
|
-
if (!trimmed || isSending)
|
|
628
|
-
return;
|
|
629
|
-
// Block if files are still processing
|
|
630
|
-
if (hasProcessingFiles) {
|
|
631
|
-
toast({
|
|
632
|
-
status: "warning",
|
|
633
|
-
title: "Files Still Processing",
|
|
634
|
-
description: "Please wait for all files to finish processing before sending",
|
|
635
|
-
duration: 3000,
|
|
636
|
-
});
|
|
637
|
-
return;
|
|
638
|
-
}
|
|
639
|
-
setIsSending(true);
|
|
640
|
-
// Add optimistic QUESTION message immediately for better UX
|
|
641
|
-
const optimisticTimestamp = Date.now();
|
|
642
|
-
const optimisticMessage = {
|
|
643
|
-
timestamp: optimisticTimestamp,
|
|
644
|
-
workflow_run_id: run.runId,
|
|
645
|
-
type: AgentMessageType.QUESTION,
|
|
646
|
-
message: trimmed,
|
|
647
|
-
workstream_id: "main",
|
|
648
|
-
details: { _optimistic: true },
|
|
649
|
-
};
|
|
650
|
-
console.log("[Optimistic] Adding user message:", trimmed);
|
|
651
|
-
setMessages((prev) => {
|
|
652
|
-
const newMessages = [...prev, optimisticMessage];
|
|
653
|
-
// Sort by timestamp to maintain order
|
|
654
|
-
newMessages.sort((a, b) => {
|
|
655
|
-
const timeA = typeof a.timestamp === "number" ? a.timestamp : new Date(a.timestamp).getTime();
|
|
656
|
-
const timeB = typeof b.timestamp === "number" ? b.timestamp : new Date(b.timestamp).getTime();
|
|
657
|
-
return timeA - timeB;
|
|
658
|
-
});
|
|
659
|
-
console.log("[Optimistic] Messages after add:", newMessages.length, "messages");
|
|
660
|
-
return newMessages;
|
|
661
|
-
});
|
|
662
|
-
// Get attached document IDs if callback provided
|
|
663
|
-
const attachedDocs = getAttachedDocs?.() || [];
|
|
664
|
-
// Get additional context metadata if callback provided (e.g., fundId)
|
|
665
|
-
const contextMetadata = getMessageContext?.() || {};
|
|
666
|
-
// Build message content with attachment references if present
|
|
667
|
-
let messageContent = trimmed;
|
|
668
|
-
if (attachedDocs.length > 0 && !/store:\S+/.test(trimmed)) {
|
|
669
|
-
const lines = attachedDocs.map((id) => `store:${id}`);
|
|
670
|
-
messageContent = [trimmed, '', 'Attachments:', ...lines].join('\n');
|
|
671
|
-
}
|
|
672
|
-
// Build metadata combining attached docs and context
|
|
673
|
-
const metadata = {
|
|
674
|
-
...(attachedDocs.length > 0 ? { attached_docs: attachedDocs } : {}),
|
|
675
|
-
...contextMetadata,
|
|
676
|
-
};
|
|
677
|
-
client.store.workflows
|
|
678
|
-
.sendSignal(run.workflowId, run.runId, "UserInput", {
|
|
679
|
-
message: messageContent,
|
|
680
|
-
metadata: Object.keys(metadata).length > 0 ? metadata : undefined,
|
|
681
|
-
})
|
|
682
|
-
.then(() => {
|
|
683
|
-
setIsCompleted(false);
|
|
684
|
-
// Clear attachments after successful send
|
|
685
|
-
onAttachmentsSent?.();
|
|
686
|
-
})
|
|
687
|
-
.catch((err) => {
|
|
688
|
-
// Remove optimistic message on failure
|
|
689
|
-
setMessages((prev) => prev.filter((m) => m.timestamp !== optimisticTimestamp));
|
|
690
|
-
toast({
|
|
691
|
-
status: "error",
|
|
692
|
-
title: "Failed to Send Message",
|
|
693
|
-
description: err instanceof Error ? err.message : "Unknown error",
|
|
694
|
-
duration: 3000,
|
|
695
|
-
});
|
|
696
|
-
})
|
|
697
|
-
.finally(() => {
|
|
698
|
-
setIsSending(false);
|
|
699
|
-
});
|
|
700
|
-
};
|
|
701
|
-
// Handle file uploads - upload to artifact storage and signal workflow
|
|
702
|
-
const handleFileUpload = useCallback(async (files) => {
|
|
703
|
-
for (const file of files) {
|
|
704
|
-
const fileId = `file-${Date.now()}-${Math.random().toString(36).substr(2, 9)}`;
|
|
705
|
-
const artifactPath = `files/${file.name}`;
|
|
706
|
-
// Add to local state immediately (optimistic - uploading status)
|
|
707
|
-
const fileState = {
|
|
708
|
-
id: fileId,
|
|
709
|
-
name: file.name,
|
|
710
|
-
content_type: file.type || 'application/octet-stream',
|
|
711
|
-
size: file.size,
|
|
712
|
-
status: FileProcessingStatus.UPLOADING,
|
|
713
|
-
started_at: Date.now(),
|
|
714
|
-
};
|
|
715
|
-
setProcessingFiles(prev => new Map(prev).set(fileId, fileState));
|
|
716
|
-
try {
|
|
717
|
-
// Upload to artifact storage
|
|
718
|
-
await client.files.uploadArtifact(run.runId, artifactPath, file);
|
|
719
|
-
// Update local state to processing
|
|
720
|
-
setProcessingFiles(prev => {
|
|
721
|
-
const newMap = new Map(prev);
|
|
722
|
-
const f = newMap.get(fileId);
|
|
723
|
-
if (f) {
|
|
724
|
-
f.status = FileProcessingStatus.PROCESSING;
|
|
725
|
-
f.artifact_path = artifactPath;
|
|
726
|
-
f.reference = `artifact:${artifactPath}`;
|
|
727
|
-
}
|
|
728
|
-
return newMap;
|
|
729
|
-
});
|
|
730
|
-
// Signal workflow that file was uploaded
|
|
731
|
-
await client.store.workflows.sendSignal(run.workflowId, run.runId, "FileUploaded", {
|
|
732
|
-
id: fileId,
|
|
733
|
-
name: file.name,
|
|
734
|
-
content_type: file.type || 'application/octet-stream',
|
|
735
|
-
reference: `artifact:${artifactPath}`,
|
|
736
|
-
artifact_path: artifactPath,
|
|
737
|
-
});
|
|
738
|
-
}
|
|
739
|
-
catch (error) {
|
|
740
|
-
// Update local state to error
|
|
741
|
-
setProcessingFiles(prev => {
|
|
742
|
-
const newMap = new Map(prev);
|
|
743
|
-
const f = newMap.get(fileId);
|
|
744
|
-
if (f) {
|
|
745
|
-
f.status = FileProcessingStatus.ERROR;
|
|
746
|
-
f.error = error instanceof Error ? error.message : 'Upload failed';
|
|
747
|
-
f.completed_at = Date.now();
|
|
748
|
-
}
|
|
749
|
-
return newMap;
|
|
750
|
-
});
|
|
751
|
-
toast({
|
|
752
|
-
status: "error",
|
|
753
|
-
title: "Upload Failed",
|
|
754
|
-
description: error instanceof Error ? error.message : "Failed to upload file",
|
|
755
|
-
duration: 3000,
|
|
756
|
-
});
|
|
757
|
-
}
|
|
758
|
-
}
|
|
759
|
-
}, [client, run, toast]);
|
|
760
|
-
// Drag and drop handlers for full-panel file upload
|
|
761
|
-
const handleDragEnter = useCallback((e) => {
|
|
762
|
-
e.preventDefault();
|
|
763
|
-
e.stopPropagation();
|
|
764
|
-
dragCounterRef.current++;
|
|
765
|
-
// Enable drag if we have a run (for internal file processing)
|
|
766
|
-
if (run && e.dataTransfer?.types?.includes('Files')) {
|
|
767
|
-
setIsDragOver(true);
|
|
768
|
-
}
|
|
769
|
-
}, [run]);
|
|
770
|
-
const handleDragOver = useCallback((e) => {
|
|
771
|
-
e.preventDefault();
|
|
772
|
-
e.stopPropagation();
|
|
773
|
-
}, []);
|
|
774
|
-
const handleDragLeave = useCallback((e) => {
|
|
775
|
-
e.preventDefault();
|
|
776
|
-
e.stopPropagation();
|
|
777
|
-
dragCounterRef.current--;
|
|
778
|
-
if (dragCounterRef.current === 0) {
|
|
779
|
-
setIsDragOver(false);
|
|
780
|
-
}
|
|
781
|
-
}, []);
|
|
782
|
-
const handleDrop = useCallback((e) => {
|
|
783
|
-
e.preventDefault();
|
|
784
|
-
e.stopPropagation();
|
|
785
|
-
dragCounterRef.current = 0;
|
|
786
|
-
setIsDragOver(false);
|
|
787
|
-
// Use internal handleFileUpload for proper workflow signaling and status tracking
|
|
788
|
-
if (run && e.dataTransfer?.files && e.dataTransfer.files.length > 0) {
|
|
789
|
-
const filesArray = Array.from(e.dataTransfer.files);
|
|
790
|
-
handleFileUpload(filesArray);
|
|
791
|
-
}
|
|
792
|
-
}, [run, handleFileUpload]);
|
|
793
|
-
// Stop/interrupt the active workflow
|
|
794
|
-
const handleStopWorkflow = async () => {
|
|
795
|
-
if (isStopping)
|
|
796
|
-
return;
|
|
797
|
-
setIsStopping(true);
|
|
798
|
-
try {
|
|
799
|
-
await client.store.workflows.sendSignal(run.workflowId, run.runId, "Stop", {
|
|
800
|
-
message: "User requested stop",
|
|
801
|
-
});
|
|
802
|
-
toast({
|
|
803
|
-
status: "info",
|
|
804
|
-
title: "Agent Interrupted",
|
|
805
|
-
description: "Type your message to give new instructions",
|
|
806
|
-
duration: 3000,
|
|
807
|
-
});
|
|
808
|
-
setIsCompleted(true);
|
|
809
|
-
}
|
|
810
|
-
catch (err) {
|
|
811
|
-
toast({
|
|
812
|
-
status: "error",
|
|
813
|
-
title: "Failed to Interrupt",
|
|
814
|
-
description: err instanceof Error ? err.message : "Unknown error",
|
|
815
|
-
duration: 3000,
|
|
816
|
-
});
|
|
817
|
-
}
|
|
818
|
-
finally {
|
|
819
|
-
setIsStopping(false);
|
|
820
|
-
}
|
|
821
|
-
};
|
|
822
|
-
// Calculate number of active tasks for the status indicator
|
|
823
|
-
const getActiveTaskCount = () => {
|
|
824
|
-
if (!messages.length)
|
|
825
|
-
return 0;
|
|
826
|
-
// Group messages by workstream
|
|
827
|
-
const workstreamMessages = new Map();
|
|
828
|
-
messages.forEach((message) => {
|
|
829
|
-
const workstreamId = getWorkstreamId(message);
|
|
830
|
-
if (workstreamId !== "main" && workstreamId !== "all") {
|
|
831
|
-
if (!workstreamMessages.has(workstreamId)) {
|
|
832
|
-
workstreamMessages.set(workstreamId, []);
|
|
833
|
-
}
|
|
834
|
-
workstreamMessages.get(workstreamId).push(message);
|
|
835
|
-
}
|
|
836
|
-
});
|
|
837
|
-
// Count workstreams that don't have completion messages
|
|
838
|
-
let activeCount = 0;
|
|
839
|
-
for (const [_, msgs] of workstreamMessages.entries()) {
|
|
840
|
-
if (msgs.length > 0) {
|
|
841
|
-
const lastMessage = msgs[msgs.length - 1];
|
|
842
|
-
// If the last message isn't a completion message, the workstream is active
|
|
843
|
-
if (![AgentMessageType.COMPLETE, AgentMessageType.IDLE].includes(lastMessage.type)) {
|
|
844
|
-
activeCount++;
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
}
|
|
848
|
-
return activeCount;
|
|
849
|
-
};
|
|
850
|
-
const actualTitle = title || run.workflowId.split(":")[2] || "Agent Conversation";
|
|
851
|
-
// Handle downloading conversation
|
|
852
|
-
const downloadConversation = async () => {
|
|
853
|
-
try {
|
|
854
|
-
const url = await getConversationUrl(client, run.runId);
|
|
855
|
-
if (url)
|
|
856
|
-
window.open(url, "_blank");
|
|
857
|
-
}
|
|
858
|
-
catch (err) {
|
|
859
|
-
console.error("Failed to download conversation", err);
|
|
860
|
-
toast({
|
|
861
|
-
status: "error",
|
|
862
|
-
title: "Failed to download conversation",
|
|
863
|
-
duration: 3000,
|
|
864
|
-
});
|
|
865
|
-
}
|
|
866
|
-
};
|
|
867
|
-
// Handle copying run ID
|
|
868
|
-
const copyRunId = () => {
|
|
869
|
-
navigator.clipboard.writeText(run.runId);
|
|
870
|
-
toast({
|
|
871
|
-
status: "success",
|
|
872
|
-
title: "Run ID copied",
|
|
873
|
-
duration: 2000,
|
|
874
|
-
});
|
|
875
|
-
};
|
|
876
|
-
const [isPdfModalOpen, setIsPdfModalOpen] = useState(false);
|
|
877
|
-
const exportConversationPdf = () => {
|
|
878
|
-
if (!conversationRef.current) {
|
|
879
|
-
toast({
|
|
880
|
-
status: "error",
|
|
881
|
-
title: "PDF export failed",
|
|
882
|
-
description: "No conversation content available to export",
|
|
883
|
-
duration: 3000,
|
|
884
|
-
});
|
|
885
|
-
return;
|
|
886
|
-
}
|
|
887
|
-
setIsPdfModalOpen(true);
|
|
888
|
-
};
|
|
889
|
-
const handleConfirmExportPdf = () => {
|
|
890
|
-
if (!conversationRef.current) {
|
|
891
|
-
toast({
|
|
892
|
-
status: "error",
|
|
893
|
-
title: "PDF export failed",
|
|
894
|
-
description: "No conversation content available to export",
|
|
895
|
-
duration: 3000,
|
|
896
|
-
});
|
|
897
|
-
return;
|
|
898
|
-
}
|
|
899
|
-
const pdfTitle = `${actualTitle} - ${run.runId}`;
|
|
900
|
-
const success = printElementToPdf(conversationRef.current, pdfTitle);
|
|
901
|
-
if (!success) {
|
|
902
|
-
toast({
|
|
903
|
-
status: "error",
|
|
904
|
-
title: "PDF export failed",
|
|
905
|
-
description: "Unable to open print preview",
|
|
906
|
-
duration: 4000,
|
|
907
|
-
});
|
|
908
|
-
return;
|
|
909
|
-
}
|
|
910
|
-
toast({
|
|
911
|
-
status: "success",
|
|
912
|
-
title: "PDF export ready",
|
|
913
|
-
description: "Use your browser's Print dialog to save as PDF",
|
|
914
|
-
duration: 4000,
|
|
915
|
-
});
|
|
916
|
-
setIsPdfModalOpen(false);
|
|
917
|
-
};
|
|
918
|
-
// Main content - wrapped with FusionFragmentProvider when fusionData is provided
|
|
919
|
-
const mainContent = (_jsx(ArtifactUrlCacheProvider, { children: _jsx(ImageLightboxProvider, { children: _jsxs("div", { className: `flex flex-col lg:flex-row gap-2 h-full relative overflow-hidden ${isDragOver ? 'ring-2 ring-blue-400 ring-inset' : ''}`, onDragEnter: handleDragEnter, onDragOver: handleDragOver, onDragLeave: handleDragLeave, onDrop: handleDrop, children: [isDragOver && (_jsx("div", { className: "absolute inset-0 flex items-center justify-center bg-blue-100/80 dark:bg-blue-900/40 z-50 pointer-events-none rounded-lg", children: _jsxs("div", { className: "text-blue-600 dark:text-blue-400 font-medium flex items-center gap-2 text-lg", children: [_jsx(UploadIcon, { className: "size-6" }), "Drop files to upload"] }) })), _jsxs("div", { ref: conversationRef, className: `flex flex-col min-h-0 border-0 ${showSlidingPanel
|
|
920
|
-
? 'w-full lg:w-2/3 flex-1 min-h-[50vh]'
|
|
921
|
-
: fullWidth
|
|
922
|
-
? 'flex-1 w-full'
|
|
923
|
-
: `flex-1 mx-auto ${!isModal ? 'max-w-4xl' : ''}`}`, children: [_jsx("div", { className: "flex-shrink-0", children: _jsx(Header, { title: actualTitle, isCompleted: isCompleted, onClose: onClose, isModal: isModal, run: run, viewMode: viewMode, onViewModeChange: setViewMode, showPlanPanel: showSlidingPanel, hasPlan: plans.length > 0, onTogglePlanPanel: handleTogglePlanPanel, onDownload: downloadConversation, onCopyRunId: copyRunId, resetWorkflow: resetWorkflow, onExportPdf: exportConversationPdf, isReceivingChunks: debugChunkFlash }) }), messages.length === 0 && !isCompleted ? (_jsx("div", { className: "flex-1 flex flex-col items-center justify-center h-full text-center py-6", children: _jsxs("div", { className: "p-5 max-w-md border border-info rounded-lg shadow-sm", children: [_jsxs("div", { className: "flex items-center space-x-3 mb-3", children: [_jsx(PulsatingCircle, { size: "sm", color: "blue" }), _jsx("div", { className: "text-sm text-muted font-medium", children: ThinkingMessages[thinkingMessageIndex] })] }), _jsx("div", { className: "mt-4 flex justify-center", children: _jsx(AnimatedThinkingDots, { color: "blue", className: "mt-1" }) })] }) })) : (_jsx(AllMessagesMixed, { messages: messages, bottomRef: bottomRef, viewMode: viewMode, isCompleted: isCompleted, plan: getActivePlan.plan, workstreamStatus: getActivePlan.workstreamStatus, showPlanPanel: showSlidingPanel, onTogglePlanPanel: handleTogglePlanPanel, plans: plans, activePlanIndex: activePlanIndex, onChangePlan: handleChangePlan, taskLabels: getActivePlan.plan.plan?.reduce((acc, task) => {
|
|
924
|
-
if (task.id && task.goal) {
|
|
925
|
-
acc.set(task.id.toString(), task.goal);
|
|
926
|
-
}
|
|
927
|
-
return acc;
|
|
928
|
-
}, new Map()), streamingMessages: streamingMessages, onSendMessage: handleSendMessage, thinkingMessageIndex: thinkingMessageIndex })), _jsx("div", { className: "flex-shrink-0", style: { paddingBottom: 'env(safe-area-inset-bottom, 0px)' }, children: workflowStatus && workflowStatus !== "RUNNING" ? (_jsxs(MessageBox, { status: workflowStatus === "COMPLETED" ? 'success' : 'done', icon: null, className: "m-2", children: ["This Workflow is ", workflowStatus] })) : showInput && (_jsx(MessageInput, { onSend: handleSendMessage, onStop: handleStopWorkflow, disabled: isUploading, isSending: isSending || isUploading, isStopping: isStopping, isStreaming: !isCompleted, isCompleted: isCompleted, activeTaskCount: getActiveTaskCount(), placeholder: placeholder,
|
|
929
|
-
// File upload props - use internal handler that signals workflow
|
|
930
|
-
onFilesSelected: handleFileUpload, uploadedFiles: uploadedFiles, onRemoveFile: onRemoveFile, acceptedFileTypes: acceptedFileTypes, maxFiles: maxFiles,
|
|
931
|
-
// File processing state
|
|
932
|
-
processingFiles: processingFiles, hasProcessingFiles: hasProcessingFiles,
|
|
933
|
-
// Document search props
|
|
934
|
-
renderDocumentSearch: renderDocumentSearch, selectedDocuments: selectedDocuments, onRemoveDocument: onRemoveDocument,
|
|
935
|
-
// Object linking
|
|
936
|
-
hideObjectLinking: hideObjectLinking,
|
|
937
|
-
// Styling props
|
|
938
|
-
className: inputContainerClassName, inputClassName: inputClassName })) })] }), showSlidingPanel && (_jsx("div", { className: "w-full lg:w-1/3 min-h-[50vh] lg:h-full border-t lg:border-t-0 lg:border-l", children: _jsx(InlineSlidingPlanPanel, { plan: getActivePlan.plan, workstreamStatus: getActivePlan.workstreamStatus, isOpen: showSlidingPanel, onClose: handleClosePlanPanel, plans: plans, activePlanIndex: activePlanIndex, onChangePlan: handleChangePlan }) })), _jsxs(VModal, { isOpen: isPdfModalOpen, onClose: () => setIsPdfModalOpen(false), children: [_jsx(VModalTitle, { children: "Export conversation as PDF" }), _jsxs(VModalBody, { children: [_jsx("p", { className: "mb-2", children: "This will open your browser's print dialog with the current conversation." }), _jsx("p", { className: "text-sm text-muted", children: "To save a PDF, choose \"Save as PDF\" or a similar option in the print dialog." })] }), _jsxs(VModalFooter, { align: "right", children: [_jsx(Button, { variant: "ghost", size: "sm", onClick: () => setIsPdfModalOpen(false), children: "Cancel" }), _jsx(Button, { size: "sm", onClick: handleConfirmExportPdf, children: "Open print dialog" })] })] })] }) }) }));
|
|
939
|
-
// Wrap with FusionFragmentProvider when fusionData is provided
|
|
940
|
-
// This enables fusion-fragment code blocks to display data and supports
|
|
941
|
-
// agent-mode interactions where clicking editable fields sends messages
|
|
942
|
-
if (fusionData) {
|
|
943
|
-
return (_jsx(FusionFragmentProvider, { data: fusionData, sendMessage: handleSendMessage, ChartComponent: VegaLiteChart, artifactRunId: run.runId, children: mainContent }));
|
|
944
|
-
}
|
|
945
|
-
return mainContent;
|
|
946
|
-
}
|
|
947
|
-
// Helper function to get conversation URL - used by other components
|
|
948
|
-
export async function getConversationUrl(vertesia, workflowRunId) {
|
|
949
|
-
return vertesia.files
|
|
950
|
-
.getDownloadUrl(`agents/${workflowRunId}/conversation.json`)
|
|
951
|
-
.then((r) => r.url);
|
|
952
|
-
}
|
|
953
|
-
//# sourceMappingURL=ModernAgentConversation.js.map
|