@e-llm-studio/requirement-ai 0.0.251 → 0.0.252
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/CustomPopover/CustomPopover.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +1 -1
- package/dist/cjs/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/EditSegmentDialog.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/AiGapIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/BookmarkIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/BrainRed.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/CDIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/CheckIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/CognitiveDecision.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/PencilIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/icons/TrashIcon.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/Accordian.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/AtomicButton.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/CodeViewer.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
- package/dist/cjs/features/RequirementAI/store/markdown-context.js +1 -1
- package/dist/cjs/features/RequirementAI/store/ref.context.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/diff-edit.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/cjs/features/UserStoryImport/UserStoryPicker.js +1 -1
- package/dist/cjs/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/BackNav.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/Badge.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/CardGrid.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/CardProceedButton.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ContentArea.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/Footer.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/Header.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/NavRow.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ProceedButton.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ProjectCard.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ResizeHandle.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ScopeDropdown.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SearchInput.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SectionHeading.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/ShowMore.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/Sidebar.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SidebarProjectList.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SidebarSection.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SortDropdown.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/SplitLayout.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/Toolbar.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/TypeDropdown.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/UserStoryCard.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
- package/dist/cjs/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
- package/dist/cjs/features/UserStoryImport/hooks/useUSPData.js +1 -1
- package/dist/cjs/features/UserStoryImport/hooks/useUserStoryPickerState.js +1 -1
- package/dist/cjs/features/UserStoryImport/lib/CustomTooltip.js +1 -1
- package/dist/cjs/features/UserStoryImport/lib/Tooltip.js +1 -1
- package/dist/cjs/features/UserStoryImport/lib/dialog.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/CustomPopover/CustomPopover.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/components/GapItem/GapItem.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskCategorySection/RiskCategorySection.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/components/RiskSidebarCategorySection/RiskSidebarCategorySection.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/components/StoryNode/StoryNode.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js +1 -1
- package/dist/features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js +1 -1
- package/dist/features/RequirementAI/components/RecommendationBlock/RecommendationBlock.js +1 -1
- package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Context/ContextMenu.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/HighlightNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/features/RequirementAI/components/UnsavedChangesPopup/UnsavedChangesPopup.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/AttachedContext.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/ClinicalTrialSection.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitation.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/BigEnoughComponent.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfRendererWrapper.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/CitationPdfViewer.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/SearchWaveFromWrapper.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioCitationIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/components/AudioTimeLineSlider.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/components/SegmentByWordsViral.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/PauseIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlayIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/icons/VideoIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/searchwaveform.js +1 -1
- package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js +1 -1
- package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
- package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js +1 -1
- package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/stormee-citation/StormeeContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/stormee-citation/components/GradientButton.js +1 -1
- package/dist/features/RequirementAI/components/citations/stormee-citation/components/ProblemStatementCard.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/FullScreenIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationIcon.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
- package/dist/features/RequirementAI/components/cra/PartialRequirementContent.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/gapFilterSvgs.js +1 -1
- package/dist/features/RequirementAI/components/segment/DeleteSegmentsDialog.js +1 -1
- package/dist/features/RequirementAI/components/segment/EditSegmentDialog.js +1 -1
- package/dist/features/RequirementAI/components/segment/ExampleComponentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
- package/dist/features/RequirementAI/components/segment/SegmentLoader.js +1 -1
- package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/BigEnoughPanel.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/CompletionPanel.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/ReplaceLearnedTags.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/StreamingScreenSidebar.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/SubfeatureBlock.js +1 -1
- package/dist/features/RequirementAI/components/story-screen/UserStoryScreen.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalBadge/ApprovalBadge.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebar/ApprovalSidebar.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalSidebarItem/ApprovalSidebarItem.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ApprovalStatusBadge/ApprovalStatusBadge.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentBlock/ContentBlock.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/components/ContentSegment/ContentSegment.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/components/HighlightButtonComponent.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.module.css.js +1 -1
- package/dist/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
- package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/features/RequirementAI/icons/AiGapIcon.js +1 -1
- package/dist/features/RequirementAI/icons/AiReasoningIcon.js +1 -1
- package/dist/features/RequirementAI/icons/BigEnoughIcon.js +1 -1
- package/dist/features/RequirementAI/icons/BookmarkIcon.js +1 -1
- package/dist/features/RequirementAI/icons/BrainRed.js +1 -1
- package/dist/features/RequirementAI/icons/CDIcon.js +1 -1
- package/dist/features/RequirementAI/icons/CheckIcon.js +1 -1
- package/dist/features/RequirementAI/icons/ChevronDownIcon.js +1 -1
- package/dist/features/RequirementAI/icons/ChevronUpIcon.js +1 -1
- package/dist/features/RequirementAI/icons/CognitiveDecision.js +1 -1
- package/dist/features/RequirementAI/icons/MeetingHighlightsIcon.js +1 -1
- package/dist/features/RequirementAI/icons/MenuUnfoldIcon.js +1 -1
- package/dist/features/RequirementAI/icons/PencilIcon.js +1 -1
- package/dist/features/RequirementAI/icons/ReasoningBulbIcon.js +1 -1
- package/dist/features/RequirementAI/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/RequirementAI/icons/SidebarCloseIcon.js +1 -1
- package/dist/features/RequirementAI/icons/SidebarOpenIcon.js +1 -1
- package/dist/features/RequirementAI/icons/TrashIcon.js +1 -1
- package/dist/features/RequirementAI/shared/Accordian.js +1 -1
- package/dist/features/RequirementAI/shared/AtomicButton.js +1 -1
- package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAI/shared/CitationLoadingIndicator.js +1 -1
- package/dist/features/RequirementAI/shared/CodeViewer.js +1 -1
- package/dist/features/RequirementAI/shared/ExpandableOl.js +1 -1
- package/dist/features/RequirementAI/shared/GeneratedCodeCitation.js +1 -1
- package/dist/features/RequirementAI/shared/ReqAiCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
- package/dist/features/RequirementAI/store/markdown-context.js +1 -1
- package/dist/features/RequirementAI/store/ref.context.js +1 -1
- package/dist/features/RequirementAI/utils/diff-edit.utils.js +1 -1
- package/dist/features/RequirementAI/utils/helpers.js +1 -1
- package/dist/features/RequirementAI/utils/learned-tag.utils.js +1 -1
- package/dist/features/RequirementAI/utils/userstory-approval.utils.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/UserStoryImport/UserStoryPicker.js +1 -1
- package/dist/features/UserStoryImport/UserStoryPicker.theme.js +1 -1
- package/dist/features/UserStoryImport/components/BackNav.js +1 -1
- package/dist/features/UserStoryImport/components/Badge.js +1 -1
- package/dist/features/UserStoryImport/components/BrowseProjectsButton.js +1 -1
- package/dist/features/UserStoryImport/components/CardGrid.js +1 -1
- package/dist/features/UserStoryImport/components/CardProceedButton.js +1 -1
- package/dist/features/UserStoryImport/components/ContentArea.js +1 -1
- package/dist/features/UserStoryImport/components/Footer.js +1 -1
- package/dist/features/UserStoryImport/components/Header.js +1 -1
- package/dist/features/UserStoryImport/components/NavRow.js +1 -1
- package/dist/features/UserStoryImport/components/ProceedButton.js +1 -1
- package/dist/features/UserStoryImport/components/ProjectCard.js +1 -1
- package/dist/features/UserStoryImport/components/ResizeHandle.js +1 -1
- package/dist/features/UserStoryImport/components/ScopeDropdown.js +1 -1
- package/dist/features/UserStoryImport/components/SearchInput.js +1 -1
- package/dist/features/UserStoryImport/components/SectionHeading.js +1 -1
- package/dist/features/UserStoryImport/components/ShowMore.js +1 -1
- package/dist/features/UserStoryImport/components/Sidebar.js +1 -1
- package/dist/features/UserStoryImport/components/SidebarFavoritesList.js +1 -1
- package/dist/features/UserStoryImport/components/SidebarProjectList.js +1 -1
- package/dist/features/UserStoryImport/components/SidebarSection.js +1 -1
- package/dist/features/UserStoryImport/components/SortDropdown.js +1 -1
- package/dist/features/UserStoryImport/components/SplitLayout.js +1 -1
- package/dist/features/UserStoryImport/components/Toolbar.js +1 -1
- package/dist/features/UserStoryImport/components/TypeDropdown.js +1 -1
- package/dist/features/UserStoryImport/components/UserStoryCard.js +1 -1
- package/dist/features/UserStoryImport/components/UserStoryImportDialog.js +1 -1
- package/dist/features/UserStoryImport/components/UserStoryScopeDropdown.js +1 -1
- package/dist/features/UserStoryImport/hooks/useUSPData.js +1 -1
- package/dist/features/UserStoryImport/hooks/useUserStoryPickerState.js +1 -1
- package/dist/features/UserStoryImport/lib/CustomTooltip.js +1 -1
- package/dist/features/UserStoryImport/lib/Tooltip.js +1 -1
- package/dist/features/UserStoryImport/lib/dialog.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/src/App.d.ts.map +1 -1
- package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +50 -1
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/Editor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts +1 -4
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +4 -3
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +8 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +9 -4
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +45 -11
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +17 -13
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +29 -5
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +17 -2
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +3 -2
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +7 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +4 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +24 -13
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +7 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +3 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +24 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const i=i=>t("div",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const i=i=>t("div",{className:"mb-2",children:e("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("path",{d:"M6.00012 4.5C6.00012 3.70435 6.31619 2.94129 6.8788 2.37868C7.44141 1.81607 8.20447 1.5 9.00012 1.5H14.3791C14.9757 1.50053 15.5476 1.73792 15.9691 2.16L20.3416 6.531C20.7631 6.9528 21 7.52468 21.0001 8.121V19.5C21.0001 20.2957 20.684 21.0587 20.1214 21.6213C19.5588 22.1839 18.7958 22.5 18.0001 22.5H10.4561L10.4562 21.063H11.6561L18.0001 21C18.3979 21 18.7795 20.842 19.0608 20.5607C19.3421 20.2794 19.5001 19.8978 19.5001 19.5V9H15.7501C15.1534 9 14.5811 8.76295 14.1591 8.34099C13.7372 7.91903 13.5001 7.34674 13.5001 6.75V3H9.00012C8.60229 3 8.22076 3.15804 7.93946 3.43934C7.65815 3.72064 7.50012 4.10218 7.50012 4.5V8.14383H6.00012V4.5ZM15.7501 7.5H19.1896L15.0001 3.3105V6.75C15.0001 6.94891 15.0791 7.13968 15.2198 7.28033C15.3604 7.42098 15.5512 7.5 15.7501 7.5Z",fill:"#5C75F4"}),t("path",{d:"M10.0691 14.3961V15.3008C10.0691 17.0495 8.65149 18.4672 6.90273 18.4672M3.73633 14.3961V15.3008C3.73633 17.0495 5.15398 18.4672 6.90273 18.4672M6.90273 18.4672V19.8242M5.09336 19.8242H8.71211M6.90273 16.6578C6.15327 16.6578 5.5457 16.0502 5.5457 15.3008V12.1344C5.5457 11.3849 6.15327 10.7773 6.90273 10.7773C7.6522 10.7773 8.25977 11.3849 8.25977 12.1344V15.3008C8.25977 16.0502 7.6522 16.6578 6.90273 16.6578Z",stroke:"#5C75F4","stroke-linecap":"round","stroke-linejoin":"round"}),t("g",{"clip-path":"url(#clip0_3025_73410)",children:t("path",{d:"M11.7012 13.7758L11.7012 14.9758M13.0512 14.0758V14.6758M14.4012 12.5758V16.1758M15.7512 11.6758V17.0758M17.1012 13.7758V14.9758",stroke:"#5C75F4","stroke-width":"0.837402","stroke-linecap":"round","stroke-linejoin":"round"})}),t("defs",{children:t("clipPath",{id:"clip0_3025_73410",children:t("rect",{width:"7.2",height:"7.2",fill:"white",transform:"translate(10.8008 10.7773)"})})})]})});export{i as default};
|
|
2
2
|
//# sourceMappingURL=AudioCitationIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r}from"react/jsx-runtime";import t,{forwardRef as n,useState as c,useRef as
|
|
1
|
+
import{jsx as e,jsxs as r}from"react/jsx-runtime";import t,{forwardRef as n,useState as c,useRef as u,useEffect as s,useCallback as o}from"react";import i from"wavesurfer.js";import l from"wavesurfer.js/dist/plugins/regions";import{useAudioPlayPause as a}from"../store/autoplay.wavefrom.js";import d from"./AudioTimeLineSlider.module.css.js";const m=n(({audio_file_name:n,matchedSegments:m,onTimeUpdate:p,peaks:g,duration:f,setIsAudioPlaying:v,setChevronIndex:h,chevronIndex:y=0,onToggleShowMatched:T,topicId:S,isVideoBuffering:w,playOnlyMatched:k=!0,showOnlyMatched:_,setShowOnlyMatched:N,customStyles:P},M)=>{const[x,$]=c(!1),[I,b]=c(!0),[R,C]=c(!1),[D,j]=c(!1),[O,q]=c(!1),[A,B]=c(!1),[E,W]=c(0),[H,L]=c(!1),[U,X]=c("00:00:00"),[z,F]=c("00:00:00"),[G,V]=c(0),[J,K]=c(!1),[Q,Y]=c(0),[Z,ee]=c("00:00:00"),re=u(null),te=u(!1),ne=u(null),ce=u(null),ue=u(null),se=u(!1),oe=u(null),ie=u(null),le=u(0),ae=u(0),[de,me]=c(!1),{playTopicId:pe,resetTrigger:ge,pendingPlayRequest:fe,setPendingPlayRequest:ve,triggerPlayForTopic:he}=a(),ye=u(null),Te=e=>{try{const[r,t,n,c]=e.split(":"),u=parseInt(r).toString().padStart(2,"0"),s=parseInt(t).toString().padStart(2,"0");return`${u}:${s}:${parseInt(n).toString().padStart(2,"0")}`}catch(e){console.log("Error converting formatTimeToHMS",e)}};s(()=>{de&&fe===S&&(ve(null),setTimeout(()=>{he(S)},100))},[de,fe,S]),s(()=>{de&&pe===S&&(ye.current&&(ye.current.click(),$(!0)),ge())},[pe,S,de]),s(()=>(me(!0),()=>{me(!1)}),[]),s(()=>{if(!n||!ne.current||se.current)return;b(!0);const e=l.create(),r=i.create({container:ne.current,waveColor:"#D0D5DD",progressColor:"#ffffffff",cursorColor:"#ffffffff",barWidth:2,barRadius:3});return ce.current=r,ue.current=r.registerPlugin(e),se.current=!0,r.on("decode",()=>{L(!0),we();const e=Te(Se(f));F(e||"00:00:00")}),r.on("ready",()=>{b(!1)}),r.on("play",()=>{$(!0),v&&v(!0)}),r.on("pause",()=>{$(!1),v&&v(!1)}),r.on("finish",()=>{$(!1),v&&v(!1),R&&(C(!1),j(!1),q(!0))}),r.on("seeking",()=>{_||R&&!D&&ke()}),r.on("error",()=>{b(!1)}),r.on("audioprocess",e=>{if(p&&p(e),!te.current){V(e/f*100)}const r=Te(Se(e));X(r||"00:00:00"),ae.current=e}),()=>{oe.current&&clearTimeout(oe.current),ie.current,r.destroy(),se.current=!1,ce.current=null}},[n]),s(()=>{ce.current&&(ce.current.setOptions({interact:!_}),x&&ce.current.pause(),_?(C(!0),le.current=0):ke(),T&&T(_))},[_]);const Se=e=>{const r=Math.floor(e/3600),t=Math.floor(e%3600/60),n=Math.floor(e%60),c=Math.floor(e%1*1e3);return`${String(r).padStart(2,"0")}:${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}:${String(c).padStart(3,"0")}`},we=o(()=>{ue.current&&ce.current&&(ue.current.clearRegions(),m.forEach((e,r)=>{ue.current.addRegion({start:e.start_time,end:e.end_time,color:"#feef89",drag:!1,resize:!1,id:e.segment_id})}))},[m]),ke=o(()=>{ce.current&&(C(!1),j(!1),q(!1),B(!1),oe.current&&(clearTimeout(oe.current),oe.current=null),ie.current&&(ce.current.un("audioprocess",ie.current),ie.current=null))},[]),_e=o(e=>{!_&&ce.current&&(ce.current.seekTo(e/f),ce.current.play(),$(!0),v&&v(!0),X(Te(Se(e))),C(!1),j(!1),q(!1))},[_,f,v,Se,Te]),Ne=u(!1),Pe=o(()=>{if(Ne.current)return;if(!ce.current||!m.length)return;Ne.current=!0,ce.current.pause();const e=le.current+1;if(console.log("Current segment:",le.current),console.log("Next index calculated:",e),console.log("Total segments:",m.length),e<m.length){const r=m[e];X(Te(Se(r.start_time))),h&&h(e),W(e),le.current=e;const t=_?0:2e3;oe.current=setTimeout(()=>{Ne.current=!1,setTimeout(()=>{if(!ce.current)return;ce.current.seekTo(r.start_time/f),ce.current.play();const e=r.end_time,t=r=>{var n;r>=e&&(null===(n=ce.current)||void 0===n||n.un("audioprocess",t),ie.current=null,Pe())};ie.current=t,ce.current.on("audioprocess",t)},100)},t)}else{if(console.log("End of cycle reached, resetting to index 0"),C(_),j(!0),q(!0),le.current=0,W(0),h&&h(0),m.length>0){const e=m[0];X(Te(Se(e.start_time))),ce.current.seekTo(e.start_time/f)}ce.current.isPlaying()&&ce.current.pause(),oe.current=setTimeout(()=>{Ne.current=!1,ce.current&&ce.current.isPlaying()&&ce.current.pause()},_?0:2e3)}},[m,f,h,Se,_]),Me=o(()=>{if(!ce.current||!m.length)return;const e=le.current;if(e>=m.length)return C(_),void q(!0);const r=m[e];W(e),X(Te(Se(r.start_time))),h&&h(e),setTimeout(()=>{if(!ce.current)return;ce.current.seekTo(r.start_time/f),ce.current.play();const e=r.end_time,t=r=>{var n;r>=e&&(null===(n=ce.current)||void 0===n||n.un("audioprocess",t),ie.current=null,Pe())};ie.current=t,ce.current.on("audioprocess",t)},100)},[m,f,h,Pe,Se,_]),xe=o(()=>{if(!ce.current||!m.length)return;ie.current&&(ce.current.un("audioprocess",ie.current),ie.current=null);const e=m[le.current];if(!e)return;const r=e.end_time,t=e=>{var n;e>=r&&(null===(n=ce.current)||void 0===n||n.un("audioprocess",t),ie.current=null,Pe())};ie.current=t,ce.current.on("audioprocess",t)},[m,Pe]),$e=o(()=>{ce.current&&(_?x?(ce.current.pause(),j(!0)):D?(ce.current.play(),j(!1),xe()):O?(q(!1),le.current=0,Me()):Me():x?ce.current.pause():ce.current.play())},[x,_,D,O,Me,xe]),Ie=o(e=>{if(!ce.current||0===m.length)return;const r=x;let t;x&&(ce.current.pause(),j(!0)),ie.current&&(ce.current.un("audioprocess",ie.current),ie.current=null),t="next"===e?(E+1)%m.length:(E-1+m.length)%m.length,W(t),le.current=t;const n=m[t];ce.current.seekTo(n.start_time/f),h&&h(t),r&&_&&setTimeout(()=>{ce.current&&(ce.current.play(),j(!1),xe())},50)},[E,m,h,f,x,_,xe]),be=o(e=>{ce.current&&(_||(R&&ke(),ce.current.seekTo(e/f)))},[f,R,ke,_]);s(()=>{if(m.length>0&&void 0!==y&&ce.current&&!Ne.current){if(y===le.current)return;const e=x;ie.current&&(ce.current.un("audioprocess",ie.current),ie.current=null);const r=m[y];r&&(ce.current.seekTo(r.start_time/f),W(y),le.current=y,e&&_&&setTimeout(()=>{ce.current&&xe()},50))}},[y,f,m,_,x,xe]);const Re=u(!1);s(()=>{w&&ce.current&&ce.current.isPlaying()&&(Re.current=!0,ce.current.pause(),R&&j(!0)),!w&&Re.current&&ce.current&&ce.current&&(ce.current.play(),Re.current=!1,R&&D&&(j(!1),xe()))},[w,R,D,xe]),t.useImperativeHandle(M,()=>({waveSurfer:ce.current,navigateSegments:Ie,togglePlayPause:$e,getCurrentSegmentIndex:()=>E,setCurrentSegmentIndex:W,isPlayingSequence:()=>R,setPlayingSequence:e=>C(e),seekToTime:be,showOnlyMatched:_,setShowOnlyMatched:e=>N(e),handleIndividualSegmentPlay:_e,setPlaybackRate:e=>{ce.current&&ce.current.setPlaybackRate(e)}}),[ce.current,Ie,$e,E,R,be,_,_e]);return e("div",{className:d.container,style:null==P?void 0:P.container,children:r("div",{className:d.inner,style:null==P?void 0:P.inner,children:[e("div",{className:d.waveformWrapper,style:null==P?void 0:P.waveformRow,children:e("div",{ref:ne,className:d.waveform,style:null==P?void 0:P.waveform})}),e("div",{className:d.timeWrapper,style:null==P?void 0:P.timeRow,children:r("div",{className:d.timeText,style:null==P?void 0:P.timeText,children:[e("span",{children:U}),e("span",{children:"/"}),e("span",{children:z})]})}),e("div",{className:d.sliderRow,style:null==P?void 0:P.sliderRow,children:r("div",{className:`${d.slider} ${[d.sliderBase,_?d.sliderDisabled:d.sliderEnabled,d.sliderGroup].join(" ")}`,ref:re,style:null==P?void 0:P.slider,onClick:_?void 0:e=>{var r;if(_)return;const t=null===(r=re.current)||void 0===r?void 0:r.getBoundingClientRect();if(!t||!ce.current)return;const n=(e.clientX-t.left)/t.width*100,c=n/100*f;V(n),ce.current.seekTo(c/f),R&&ke()},onMouseMove:_?void 0:e=>{if(!_&&re.current){const r=re.current.getBoundingClientRect(),t=e.clientX-r.left;if(t>=0&&t<=r.width){const e=t/r.width*100;K(!0),Y(t);const n=Te(Se(e/100*f));ee(n||"00:00:00")}}},onMouseLeave:()=>{K(!1)},onMouseDown:_?void 0:()=>{_||(te.current=!0)},onMouseUp:_?void 0:()=>{if(!_&&(te.current=!1,ce.current)){const e=G/100*f;ce.current.seekTo(e/f),R&&ke()}},children:[e("div",{className:d.track,style:null==P?void 0:P.sliderTrack,children:e("div",{className:d.trackStripes,style:{backgroundImage:"repeating-linear-gradient(45deg, transparent, transparent 4px, #cbd5e1 4px, #cbd5e1 5px)"}})}),m.map((r,t)=>{const n=r.start_time/f*100,c=(r.end_time-r.start_time)/f*100,u=t===E&&k;return e("div",{className:`${d.segment} ${u?d.segmentActive:d.segmentInactive}`,style:{left:`${n}%`,width:`${c}%`,opacity:k&&!u?.3:1}},r.segment_id)}),e("div",{className:d.progress,style:{width:`${G}%`,...null==P?void 0:P.sliderProgress}}),e("div",{className:d.thumb,style:{left:`${G}%`,...null==P?void 0:P.sliderThumb},children:e("div",{className:d.thumbDot,style:null==P?void 0:P.thumbDot})}),J&&!_&&e("div",{className:d.tooltip,style:{left:Q,...null==P?void 0:P.timeTooltip},children:Z})]})})]})})});m.displayName="AudioTimelineSlider";export{m as default};
|
|
2
2
|
//# sourceMappingURL=AudioTimeLineSlider.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRef as n,useEffect as r}from"react";import
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import{useRef as n,useEffect as r}from"react";import o from"./SegmentByWordsViral.module.css.js";const s=s=>{const{startTime:l,endTime:a,words:c,currentTime:d,content:m,containerStyle:u,customStyles:p}=s,f=n([]),g=n(null),h=i(l),v=i(a),y=d>=h&&d<=v;r(()=>{if(y){const e=c.findIndex(e=>d>=e.start&&d<=e.end);if(-1!==e&&f.current[e]){const t=f.current[e];if(t&&g.current){const e=g.current.getBoundingClientRect(),n=t.getBoundingClientRect(),r=n.top<e.top,o=n.bottom>e.bottom;(r||o)&&t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}}},[d,c,y]);return e("div",{className:o.segmentContainer,style:null==p?void 0:p.segmentContainer,children:e("div",{className:o.wrapper,style:null==p?void 0:p.wrapper,children:e("div",{className:o.segmentTextContainer,style:null==p?void 0:p.segmentTextContainer,ref:g,children:c&&0!==c.length?c.map((e,n)=>{const r=d>=e.end;return t("span",{ref:e=>f.current[n]=e,className:o.word,style:{fontWeight:r?"bold":"normal",...null==p?void 0:p.wordText},children:[e.text," "]},n)}):e("span",{className:o.word,style:null==p?void 0:p.word,children:m})})})})};function i(e){if("number"==typeof e)return e;if(!e)return 0;const[t,n,r]=e.split(":");return 3600*parseInt(t)+60*parseInt(n)+parseFloat(r)}export{s as default};
|
|
2
2
|
//# sourceMappingURL=SegmentByWordsViral.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/components/videoPlayer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{useRef as
|
|
1
|
+
import{jsxs as e,jsx as o}from"react/jsx-runtime";import{useRef as l,useState as n,useEffect as r}from"react";import i from"video.js";import"video.js/dist/video-js.css";import t from"./AudioTimeLineSlider.js";import a from"../icons/MaximizeIcon.js";import s from"../icons/MinimizeIcon.js";import d from"../icons/PlayIcon.js";import c from"../icons/PauseIcon.js";import u from"../icons/PlaybackSpeedIcon.js";import p from"./videoPlayer.module.css.js";const m=({videoSrc:m,currentTime:v,isWaveformPlaying:y,onBufferingStart:g,onBufferingEnd:f,onVideoPlayPause:h,videoType:S="video/mp4",className:P="",onVideoLoadingStateChange:k,isUrlPending:V,isPeaksPending:b,signedUrl:I,AudioData:j,showOnlyMatched:J,setShowOnlyMatched:x,wavesurferRef:w,segments:N,setIsAudioPlaying:B,handleAudioTimeUpdate:C,customStyles:T,waveformStyles:M})=>{var R,A;const $=l(null),F=l(null),L=l(null),O=l(!1),U=l(!1),[z,E]=n(!1),[W]=n(!0),[D,H]=n(!0),[_,q]=n("1x"),[G,K]=n(!1),Q=()=>{K(e=>!e)};r(()=>{if(console.log("[VideoJS] useEffect triggered",{videoSrc:m}),!$.current)return void console.warn("[VideoJS] videoRef is null");console.log("[VideoJS] Initializing player"),H(!0),null==k||k(!0);const e=i($.current,{controls:!1,autoplay:!1,preload:"auto",fluid:!0,muted:!0,sources:[{src:m,type:S}]});return e.on("loadstart",()=>{console.log("[VideoJS] loadstart"),H(!0),null==k||k(!0)}),e.on("canplay",()=>{console.log("[VideoJS] canplay",{isVideoLoading:D,isBuffering:O.current}),D&&(console.log("[VideoJS] Video loading finished"),H(!1),null==k||k(!1)),O.current&&(console.log("[VideoJS] Buffering ended"),O.current=!1,setTimeout(()=>{console.log("[VideoJS] onBufferingEnd()"),f()},100))}),e.on("waiting",()=>{console.log("[VideoJS] waiting (buffering start)"),O.current||(O.current=!0,U.current=y,console.log("[VideoJS] Buffering started",{wasPlaying:U.current}),g())}),e.on("error",()=>{console.error("[VideoJS] Player error",e.error()),H(!1),null==k||k(!1)}),F.current=e,console.log("[VideoJS] Player ready"),()=>{var e;console.log("[VideoJS] Disposing player"),null===(e=F.current)||void 0===e||e.dispose(),F.current=null}},[m]),r(()=>{if(!F.current)return;const e=F.current.currentTime();Math.abs(e-v)>.2&&F.current.currentTime(v)},[v]),r(()=>{F.current&&!O.current&&(y&&F.current.paused()?F.current.play().catch(()=>{}):y||F.current.paused()||F.current.pause())},[y]),r(()=>{var e,o,l;const n=parseFloat(_.replace("x",""));null===(e=F.current)||void 0===e||e.playbackRate(n),null===(l=null===(o=w.current)||void 0===o?void 0:o.setPlaybackRate)||void 0===l||l.call(o,n)},[_]);return e("div",{ref:L,className:`${p.container} ${P}`,style:null==T?void 0:T.container,children:[o("video",{ref:$,className:`video-js vjs-big-play-centered ${p.video}`,style:null==T?void 0:T.video,playsInline:!0,muted:!0}),e("div",{className:`${p.controlsWrapper} ${W?p.visible:p.hidden}`,style:null==T?void 0:T.controlsWrapper,children:[G&&e("div",{className:p.speedSelector,style:null==T?void 0:T.speedSelector,children:[o("div",{className:p.speedHeader,style:null==T?void 0:T.speedHeader,children:"Playback Speed"}),["0.5x","1x","1.5x","2x"].map(e=>o("button",{onClick:()=>(e=>{var o,l,n;q(e),K(!1);const r=parseFloat(e.replace("x",""));null===(o=F.current)||void 0===o||o.playbackRate(r),null===(n=null===(l=w.current)||void 0===l?void 0:l.setPlaybackRate)||void 0===n||n.call(l,r)})(e),className:p.speedItem,style:null==T?void 0:T.speedItem,children:e},e))]}),e("div",{className:p.controlBar,style:null==T?void 0:T.controlBar,children:[o("div",{children:o("button",y?{onClick:e=>{e.stopPropagation(),null==h||h(!1)},style:null==T?void 0:T.pauseIcon,children:o(c,{})}:{onClick:e=>{e.stopPropagation(),null==h||h(!0)},style:null==T?void 0:T.playIcon,children:o(d,{})})}),e("div",{className:p.rightControls,style:null==T?void 0:T.rightControls,children:["1x"!==_?o("span",{onClick:Q,children:_}):o("button",{onClick:Q,style:null==T?void 0:T.playBackSpeedIcon,children:o(u,{})}),o("button",{onClick:e=>{var o,l,n;e.stopPropagation(),L.current&&(z?null===(n=document.exitFullscreen)||void 0===n||n.call(document):null===(l=(o=L.current).requestFullscreen)||void 0===l||l.call(o))},children:o(z?s:a,{})})]})]}),o("div",{className:p.timeline,style:null==T?void 0:T.timeline,children:V||b?o("div",{className:p.loader,style:null==T?void 0:T.loader,children:o("span",{children:"Loading audio-timeline peaks..."})}):I&&j&&o(t,{ref:w,audio_file_name:I,peaks:null!==(R=j.peaks)&&void 0!==R?R:[],duration:null!==(A=j.duration)&&void 0!==A?A:0,matchedSegments:N,showOnlyMatched:J,setShowOnlyMatched:x,setIsAudioPlaying:B,onTimeUpdate:C,onToggleShowMatched:()=>{},customStyles:M})})]})]})};export{m as default};
|
|
2
2
|
//# sourceMappingURL=videoPlayer.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/icons/AudioLinesIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:h=24})=>t("div",{children:e("svg",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:h=24})=>t("div",{children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:h,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",children:[t("path",{d:"M2 10v3"}),t("path",{d:"M6 6v11"}),t("path",{d:"M10 3v18"}),t("path",{d:"M14 8v7"}),t("path",{d:"M18 5v13"}),t("path",{d:"M22 10v3"})]})});export{r as default};
|
|
2
2
|
//# sourceMappingURL=AudioLinesIcon.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/icons/MaximizeIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const h=({height:h=24,width:r=24})=>t("div",{children:e("svg",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const h=({height:h=24,width:r=24})=>t("div",{children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:h,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),t("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),t("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),t("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})});export{h as default};
|
|
2
2
|
//# sourceMappingURL=MaximizeIcon.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/icons/MinimizeIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const h=({height:h=24,width:r=24})=>t("div",{children:e("svg",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const h=({height:h=24,width:r=24})=>t("div",{children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:r,height:h,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),t("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),t("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),t("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})});export{h as default};
|
|
2
2
|
//# sourceMappingURL=MinimizeIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:i=24})=>t("div",{children:e("svg",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:i=24})=>t("div",{children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t("rect",{x:"14",y:"3",width:"5",height:"18",rx:"1"}),t("rect",{x:"5",y:"3",width:"5",height:"18",rx:"1"})]})});export{r as default};
|
|
2
2
|
//# sourceMappingURL=PauseIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";const e=({height:e=24,width:o=24})=>t("svg",
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";const e=({height:e=24,width:o=24})=>t("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:e,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:t("path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z"})});export{e as default};
|
|
2
2
|
//# sourceMappingURL=PlayIcon.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/icons/PlaybackSpeedIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as C,jsx as i}from"react/jsx-runtime";const t=()=>C("svg",
|
|
1
|
+
import{jsxs as C,jsx as i}from"react/jsx-runtime";const t=()=>C("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 12 12",fill:"none",children:[C("g",{"clip-path":"url(#clip0_3246_74403)",children:[i("path",{d:"M4.80358 0.7585C5.18858 0.671 5.58907 0.625 6.00007 0.625C8.96858 0.625 11.3751 3.0315 11.3751 6C11.3751 8.9685 8.96858 11.375 6.00007 11.375C5.58907 11.375 5.18858 11.329 4.80358 11.2415C4.75554 11.2306 4.71014 11.2103 4.66995 11.1818C4.62975 11.1533 4.59557 11.1172 4.56933 11.0755C4.5431 11.0338 4.52534 10.9874 4.51706 10.9388C4.50878 10.8902 4.51014 10.8405 4.52107 10.7925C4.53201 10.7445 4.55229 10.6991 4.58077 10.6589C4.60926 10.6187 4.64537 10.5845 4.68707 10.5583C4.72876 10.532 4.77521 10.5143 4.82377 10.506C4.87233 10.4977 4.92204 10.4991 4.97007 10.51C5.64726 10.6639 6.35041 10.6633 7.02734 10.5083C7.70427 10.3533 8.33761 10.0479 8.88035 9.61462C9.4231 9.18139 9.86131 8.63149 10.1625 8.00574C10.4636 7.37999 10.62 6.69445 10.62 6C10.62 5.30555 10.4636 4.62001 10.1625 3.99426C9.86131 3.36851 9.4231 2.81861 8.88035 2.38538C8.33761 1.95214 7.70427 1.64668 7.02734 1.49168C6.35041 1.33668 5.64726 1.3361 4.97007 1.49C4.87307 1.51208 4.77127 1.49472 4.68707 1.44174C4.60286 1.38876 4.54315 1.3045 4.52107 1.2075C4.499 1.1105 4.51636 1.0087 4.56933 0.924492C4.62231 0.840289 4.70657 0.780579 4.80358 0.7585Z",fill:"white"}),i("path",{opacity:"0.5",d:"M3.65722 1.56573C3.71017 1.64988 3.72754 1.75161 3.70551 1.84856C3.68347 1.94551 3.62384 2.02974 3.53972 2.08273C2.95168 2.45316 2.45415 2.95069 2.08372 3.53873C2.03075 3.62294 1.94649 3.68265 1.84948 3.70474C1.75248 3.72682 1.65068 3.70946 1.56647 3.65648C1.48227 3.60351 1.42255 3.51925 1.40047 3.42225C1.37839 3.32524 1.39575 3.22344 1.44872 3.13923C1.87921 2.45616 2.4574 1.87832 3.14072 1.44823C3.22487 1.39528 3.3266 1.37792 3.42355 1.39995C3.5205 1.42199 3.60423 1.48162 3.65722 1.56573ZM1.56672 8.34273C1.65087 8.28978 1.7526 8.27242 1.84955 8.29445C1.9465 8.31649 2.03073 8.37612 2.08372 8.46023C2.45409 9.04846 2.95163 9.54616 3.53972 9.91673C3.58264 9.94237 3.61999 9.97632 3.64959 10.0166C3.67919 10.0569 3.70044 10.1027 3.71209 10.1513C3.72374 10.1999 3.72555 10.2503 3.71742 10.2997C3.70929 10.349 3.69139 10.3962 3.66475 10.4385C3.63812 10.4808 3.6033 10.5173 3.56234 10.546C3.52138 10.5746 3.4751 10.5948 3.42623 10.6053C3.37736 10.6158 3.32688 10.6164 3.27777 10.6071C3.22865 10.5979 3.18189 10.5789 3.14022 10.5512C2.45721 10.1209 1.87937 9.54288 1.44922 8.85973C1.39627 8.77559 1.37891 8.67386 1.40094 8.57691C1.42297 8.47996 1.4826 8.39573 1.56672 8.34273Z",fill:"white"}),i("path",{opacity:"0.3",d:"M1.48951 4.96617C1.51159 4.86917 1.49423 4.76736 1.44125 4.68316C1.38827 4.59896 1.30401 4.53925 1.20701 4.51717C1.11001 4.49509 1.00821 4.51245 0.924004 4.56543C0.8398 4.61841 0.780091 4.70267 0.758012 4.79967C0.670512 5.18467 0.624512 5.58517 0.624512 5.99617C0.624512 6.40717 0.670512 6.80717 0.758012 7.19217C0.780025 7.28917 0.83967 7.37346 0.923827 7.42648C1.00798 7.47951 1.10976 7.49693 1.20676 7.47492C1.30376 7.45291 1.38805 7.39326 1.44108 7.3091C1.4941 7.22495 1.51152 7.12317 1.48951 7.02617C1.41292 6.68819 1.37434 6.34271 1.37451 5.99617C1.37451 5.64167 1.41451 5.29717 1.48951 4.96617Z",fill:"white"}),i("path",{d:"M7.707 5.46999C8.0975 5.70099 8.0975 6.29799 7.707 6.52899L5.347 7.92249C4.967 8.14649 4.5 7.85449 4.5 7.39249V4.60649C4.5 4.14449 4.967 3.85299 5.347 4.07699L7.707 5.46999Z",fill:"white"})]}),i("defs",{children:i("clipPath",{id:"clip0_3246_74403",children:i("rect",{width:"12",height:"12",fill:"white"})})})]});export{t as default};
|
|
2
2
|
//# sourceMappingURL=PlaybackSpeedIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:i=24})=>t("div",{children:e("svg",
|
|
1
|
+
import{jsx as t,jsxs as e}from"react/jsx-runtime";const r=({height:r=24,width:i=24})=>t("div",{children:e("svg",{xmlns:"http://www.w3.org/2000/svg",width:i,height:r,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[t("path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5"}),t("rect",{x:"2",y:"6",width:"14",height:"12",rx:"2"})]})});export{r as default};
|
|
2
2
|
//# sourceMappingURL=VideoIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import n,{forwardRef as
|
|
1
|
+
import{jsx as e,jsxs as r,Fragment as t}from"react/jsx-runtime";import n,{forwardRef as u,useState as c,useRef as o,useEffect as l,useCallback as s}from"react";import i from"wavesurfer.js";import a from"wavesurfer.js/dist/plugins/regions";import d from"./searchwaveform.module.css.js";import m from"./icons/PauseIcon.js";import p from"./icons/PlayIcon.js";import{useAudioPlayPause as g}from"./store/autoplay.wavefrom.js";const v=u(({audio_file_name:u,showOnlyMatched:v,setShowOnlyMatched:h,matchedSegments:y,onTimeUpdate:f,currentAudioTime:T,peaks:S,duration:w,setIsAudioPlaying:N,setChevronIndex:P,chevronIndex:k=0,onToggleShowMatched:I,topicId:M,isVideoBuffering:_,playOnlyMatched:R=!0,customStyles:b},x)=>{const[C,$]=c(!1),[B,j]=c(!0),[O,A]=c(!1),[D,q]=c(!1),[W,E]=c(!1),[F,z]=c(!1),[H,L]=c(0),[U,X]=c(!1),[V,G]=c("00:00:00"),[J,K]=c("00:00:00"),[Q,Y]=c(0),[Z,ee]=c(!1),[re,te]=c(0),[ne,ue]=c("00:00:00"),ce=o(null),oe=o(!1),le=o(null),se=o(null),ie=o(null),ae=o(!1),de=o(null),me=o(null),pe=o(0),ge=o(0),[ve,he]=c(!1),{playTopicId:ye,resetTrigger:fe,pendingPlayRequest:Te,setPendingPlayRequest:Se,triggerPlayForTopic:we}=g(),Ne=o(null),Pe=e=>{try{const[r,t,n,u]=e.split(":"),c=parseInt(r).toString().padStart(2,"0"),o=parseInt(t).toString().padStart(2,"0");return`${c}:${o}:${parseInt(n).toString().padStart(2,"0")}`}catch(e){console.log("Error converting formatTimeToHMS",e)}};l(()=>{null==h||h(R)},[R]),l(()=>{ve&&Te===M&&(Se(null),setTimeout(()=>{we(M)},100))},[ve,Te,M]),l(()=>{ve&&ye===M&&(Ne.current&&(Ne.current.click(),$(!0)),fe())},[ye,M,ve]),l(()=>(he(!0),()=>{he(!1)}),[]),l(()=>{if(!u||!le.current||ae.current)return;j(!0);const e=a.create(),r=i.create({container:le.current,waveColor:"#D0D5DD",progressColor:"#9CA3AF",cursorColor:"#6B7280",barWidth:2,barRadius:3,height:64,normalize:!0,peaks:[new Float32Array(S)],duration:w,url:u});return se.current=r,ie.current=r.registerPlugin(e),ae.current=!0,r.on("decode",()=>{X(!0),Ie();const e=Pe(ke(w));K(e||"00:00:00")}),r.on("ready",()=>{j(!1)}),r.on("play",()=>{$(!0),N&&N(!0)}),r.on("pause",()=>{$(!1),N&&N(!1)}),r.on("finish",()=>{$(!1),N&&N(!1),O&&(A(!1),q(!1),E(!0))}),r.on("seeking",()=>{v||O&&!D&&Me()}),r.on("error",()=>{j(!1)}),r.on("audioprocess",e=>{if(f&&f(e),!oe.current){Y(e/w*100)}const r=Pe(ke(e));G(r||"00:00:00"),ge.current=e}),()=>{de.current&&clearTimeout(de.current),me.current,r.destroy(),ae.current=!1,se.current=null}},[u]),l(()=>{se.current&&(se.current.setOptions({interact:!v}),C&&se.current.pause(),v?(A(!0),pe.current=0):Me(),I&&I(v))},[v]);const ke=e=>{const r=Math.floor(e/3600),t=Math.floor(e%3600/60),n=Math.floor(e%60),u=Math.floor(e%1*1e3);return`${String(r).padStart(2,"0")}:${String(t).padStart(2,"0")}:${String(n).padStart(2,"0")}:${String(u).padStart(3,"0")}`},Ie=s(()=>{ie.current&&se.current&&(ie.current.clearRegions(),y.forEach((e,r)=>{ie.current.addRegion({start:e.start_time,end:e.end_time,color:"rgba(254, 239, 137, 0.5)",drag:!1,resize:!1,id:e.segment_id})}))},[y]),Me=s(()=>{se.current&&(A(!1),q(!1),E(!1),z(!1),de.current&&(clearTimeout(de.current),de.current=null),me.current&&(se.current.un("audioprocess",me.current),me.current=null))},[]),_e=s(e=>{!v&&se.current&&(se.current.seekTo(e/w),se.current.play(),$(!0),N&&N(!0),G(Pe(ke(e))),A(!1),q(!1),E(!1))},[v,w,N,ke,Pe]),Re=o(!1),be=s(()=>{if(Re.current)return;if(!se.current||!y.length)return;Re.current=!0,se.current.pause();const e=pe.current+1;if(console.log("Current segment:",pe.current),console.log("Next index calculated:",e),console.log("Total segments:",y.length),e<y.length){const r=y[e];G(Pe(ke(r.start_time))),P&&P(e),L(e),pe.current=e;const t=v?0:2e3;de.current=setTimeout(()=>{Re.current=!1,setTimeout(()=>{if(!se.current)return;se.current.seekTo(r.start_time/w),se.current.play();const e=r.end_time,t=r=>{var n;r>=e&&(null===(n=se.current)||void 0===n||n.un("audioprocess",t),me.current=null,be())};me.current=t,se.current.on("audioprocess",t)},100)},t)}else{if(console.log("End of cycle reached, resetting to index 0"),A(v),q(!0),E(!0),pe.current=0,L(0),P&&P(0),y.length>0){const e=y[0];G(Pe(ke(e.start_time))),se.current.seekTo(e.start_time/w)}se.current.isPlaying()&&se.current.pause(),de.current=setTimeout(()=>{Re.current=!1,se.current&&se.current.isPlaying()&&se.current.pause()},v?0:2e3)}},[y,w,P,ke,v]),xe=s(()=>{if(!se.current||!y.length)return;const e=pe.current;if(e>=y.length)return A(v),void E(!0);const r=y[e];L(e),G(Pe(ke(r.start_time))),P&&P(e),setTimeout(()=>{if(!se.current)return;se.current.seekTo(r.start_time/w),se.current.play();const e=r.end_time,t=r=>{var n;r>=e&&(null===(n=se.current)||void 0===n||n.un("audioprocess",t),me.current=null,be())};me.current=t,se.current.on("audioprocess",t)},100)},[y,w,P,be,ke,v]),Ce=s(()=>{if(!se.current||!y.length)return;me.current&&(se.current.un("audioprocess",me.current),me.current=null);const e=y[pe.current];if(!e)return;const r=e.end_time,t=e=>{var n;e>=r&&(null===(n=se.current)||void 0===n||n.un("audioprocess",t),me.current=null,be())};me.current=t,se.current.on("audioprocess",t)},[y,be]),$e=s(()=>{se.current&&(v?C?(se.current.pause(),q(!0)):D?(se.current.play(),q(!1),Ce()):W?(E(!1),pe.current=0,xe()):xe():C?se.current.pause():se.current.play())},[C,v,D,W,xe,Ce]),Be=s(e=>{if(!se.current||0===y.length)return;const r=C;let t;C&&(se.current.pause(),q(!0)),me.current&&(se.current.un("audioprocess",me.current),me.current=null),t="next"===e?(H+1)%y.length:(H-1+y.length)%y.length,L(t),pe.current=t;const n=y[t];se.current.seekTo(n.start_time/w),P&&P(t),r&&v&&setTimeout(()=>{se.current&&(se.current.play(),q(!1),Ce())},50)},[H,y,P,w,C,v,Ce]),je=s(e=>{se.current&&(v||(O&&Me(),se.current.seekTo(e/w)))},[w,O,Me,v]);l(()=>{if(y.length>0&&void 0!==k&&se.current&&!Re.current){if(k===pe.current)return;const e=C;me.current&&(se.current.un("audioprocess",me.current),me.current=null);const r=y[k];r&&(se.current.seekTo(r.start_time/w),L(k),pe.current=k,e&&v&&setTimeout(()=>{se.current&&Ce()},50))}},[k,w,y,v,C,Ce]);const Oe=o(!1);l(()=>{_&&se.current&&se.current.isPlaying()&&(Oe.current=!0,se.current.pause(),O&&q(!0)),!_&&Oe.current&&se.current&&se.current&&(se.current.play(),Oe.current=!1,O&&D&&(q(!1),Ce()))},[_,O,D,Ce]),n.useImperativeHandle(x,()=>({waveSurfer:se.current,navigateSegments:Be,togglePlayPause:$e,getCurrentSegmentIndex:()=>H,setCurrentSegmentIndex:L,isPlayingSequence:()=>O,setPlayingSequence:e=>A(e),seekToTime:je,showOnlyMatched:v,setShowOnlyMatched:e=>null==h?void 0:h(e),handleIndividualSegmentPlay:_e}),[se.current,Be,$e,H,O,je,v,_e]);return e("div",{className:d.container,style:null==b?void 0:b.container,children:r("div",{className:d.inner,style:null==b?void 0:b.inner,children:[r("div",{className:d.waveformRow,style:null==b?void 0:b.waveformRow,children:[e("div",{className:d.playButtonWrapper,style:null==b?void 0:b.playButtonWrapper,children:e("button",{ref:Ne,onClick:$e,className:d.playButton,style:null==b?void 0:b.playButton,title:C?"Pause":"Play",disabled:B,children:B?e(t,{children:"Loading..."}):e("div",C?{className:d.icon,style:null==b?void 0:b.pauseIcon,children:e(m,{})}:{className:d.icon,style:null==b?void 0:b.playIcon,children:e(p,{})})})}),e("div",{ref:le,className:d.waveform,style:null==b?void 0:b.waveform})]}),r("div",{className:d.sliderRow,style:null==b?void 0:b.sliderRow,children:[e("div",{className:d.buttonSpacer,style:null==b?void 0:b.buttonSpacer}),r("div",{className:`${d.slider}\n ${d.group}\n ${v?d.disabled:d.interactive}`,ref:ce,style:null==b?void 0:b.slider,onClick:v?void 0:e=>{var r;if(v)return;const t=null===(r=ce.current)||void 0===r?void 0:r.getBoundingClientRect();if(!t||!se.current)return;const n=(e.clientX-t.left)/t.width*100,u=n/100*w;Y(n),se.current.seekTo(u/w),O&&Me()},onMouseMove:v?void 0:e=>{if(!v&&ce.current){const r=ce.current.getBoundingClientRect(),t=e.clientX-r.left;if(t>=0&&t<=r.width){const e=t/r.width*100;ee(!0),te(t);const n=Pe(ke(e/100*w));ue(n||"00:00:00")}}},onMouseLeave:()=>{ee(!1)},onMouseDown:v?void 0:()=>{v||(oe.current=!0)},onMouseUp:v?void 0:()=>{if(!v&&(oe.current=!1,se.current)){const e=Q/100*w;se.current.seekTo(e/w),O&&Me()}},children:[e("div",{className:d.sliderTrack,style:null==b?void 0:b.sliderTrack}),e("div",{className:d.sliderProgress,style:{width:`${Q}%`,...null==b?void 0:b.sliderProgress}}),e("div",{className:d.sliderThumb,style:{left:`${Q}%`,...null==b?void 0:b.sliderThumb}}),Z&&!v&&e("div",{className:d.timeTooltip,style:{left:re,...null==b?void 0:b.timeTooltip},children:ne})]})]}),r("div",{className:d.timeRow,style:null==b?void 0:b.timeRow,children:[e("div",{className:d.buttonSpacer,style:null==b?void 0:b.buttonSpacer}),r("div",{className:d.timeText,style:null==b?void 0:b.timeText,children:[e("span",{children:V}),e("span",{children:"/"}),e("span",{children:J})]})]})]})})});v.displayName="SearchWaveform";export{v as default};
|
|
2
2
|
//# sourceMappingURL=searchwaveform.js.map
|
package/dist/features/RequirementAI/components/citations/audio-citation/store/autoplay.wavefrom.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e}from"react/jsx-runtime";import{createContext as r,useState as n,useContext as t}from"react";const i=r(void 0),l=({children:r})=>{const[t,l]=n(null),[o,u]=n(null),[a,
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{createContext as r,useState as n,useContext as t}from"react";const i=r(void 0),l=({children:r})=>{const[t,l]=n(null),[o,u]=n(null),[a,d]=n(null);return e(i.Provider,{value:{playTopicId:t,pendingPlayRequest:o,currentPlayingSpeakerId:a,triggerPlayForTopic:e=>l(e),setPendingPlayRequest:u,setCurrentPlayingSpeakerId:d,resetTrigger:()=>l(null)},children:r})},o=()=>{const e=t(i);if(!e)throw new Error("useAudioPlayPause must be used within an AudioPlayProvider");return e};export{l as AudioPlayProvider,o as useAudioPlayPause};
|
|
2
2
|
//# sourceMappingURL=autoplay.wavefrom.js.map
|
package/dist/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,Fragment as n}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as t,Fragment as n}from"react/jsx-runtime";import o from"../../../../CitationRenderer/CitationRenderer.js";import i from"../../ai-reasoning/BigEnoughComponent.js";const e=e=>{var r,c,a;const l=(null===(r=e.customIcons)||void 0===r?void 0:r.bigEnoughCitationIcon)||t(n,{});return t(o,{inLineCitation:!0,citationTitle:e.title,citationId:`big-enough-${e.citation.citation_number}`,citationComponent:t(i,{customStyles:e.customStyles,big_enough_decision_factors:e.citation}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:{margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none",...null===(c=e.customStyles)||void 0===c?void 0:c.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null===(a=e.customStyles)||void 0===a?void 0:a.content}}})};export{e as default};
|
|
2
2
|
//# sourceMappingURL=BigEnoughCitationRenderer.js.map
|
package/dist/features/RequirementAI/components/citations/chat-citation/ChatCitationRenderer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as t,jsxs as n,Fragment as e}from"react/jsx-runtime";import{ChatCitation as i,CitationRenderer as o}from"@e-llm-studio/citation";import r from"dayjs";import{stripHtmlAndMetadata as l}from"../../../utils/helpers.js";import c,{memo as a,useState as s,useRef as u,useCallback as d,useMemo as m,useEffect as p}from"react";const h=t=>{var n,e;return null!==(e=null!==(n=t.message)&&void 0!==n?n:t.content)&&void 0!==e?e:""},v=t=>{var n;return null!==(n=t.highlighted_text)&&void 0!==n?n:""},f=(t,n)=>{if(t.length!==n.length)return!1;for(let e=0;e<t.length;e+=1){const i=t[e],o=n[e];if(i.role!==o.role)return!1;if(h(i)!==h(o))return!1;if(v(i)!==v(o))return!1;if((i.timeStamp?String(i.timeStamp):"")!==(o.timeStamp?String(o.timeStamp):""))return!1}return!0},y=t=>{var n;return null==t?"":"string"==typeof t||"number"==typeof t?String(t):Array.isArray(t)?t.map(y).join(""):c.isValidElement(t)?y(null===(n=t.props)||void 0===n?void 0:n.children):""};var g=a(c=>{var a,y;const[g,C]=s(0),S=u(null),b=d(()=>{var t;null===(t=c.onCitationClick)||void 0===t||t.call(c,c.isTable)},[c.onCitationClick,c.isTable]),w=c.chatCitationProps,{chatContainer:k,rootContainer:x,...I}=null!=w?w:{},A=u(null),T=u([]);A.current&&f(A.current,c.chatHistory)||(A.current=c.chatHistory,T.current=c.chatHistory.map(t=>{const n=h(t),e=v(t);return{...t,message:l(n),timeStamp:r(t.timeStamp),highlighted_text:l(e)}}));const H=T.current,D=m(()=>({relevanceScore:100,...x}),[x]),E=m(()=>({summarizedTab:{chip:{show:!1,isActive:!1}},detailedTab:{chip:{isActive:!0}},...k,chatData:H}),[k,H]),F=m(()=>{var t,n;return{pillButton:{fontSize:"14px",margin:"0px",background:"#ffffff",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",border:"none",...null===(t=c.customStyles)||void 0===t?void 0:t.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",color:"black",...null===(n=c.customStyles)||void 0===n?void 0:n.content}}},[c.customStyles]),j=m(()=>t(i,{rootContainer:D,chatContainer:E,...I}),[D,E]);p(()=>{if(!g)return;const t=window.innerWidth-document.documentElement.clientWidth;document.body.style.overflow="hidden",document.body.style.paddingRight=`${t}px`;const n=window.requestAnimationFrame(()=>{const t=S.current,n=null==t?void 0:t.querySelector(".lucide-maximize-2, svg[class*='maximize']"),e=null==n?void 0:n.parentElement;null==e||e.click()});return()=>{window.cancelAnimationFrame(n),document.body.style.overflow="auto",document.body.style.paddingRight="0px"}},[g]);const z=d(t=>{t.preventDefault(),t.stopPropagation(),b(),C(t=>t+1)},[b]);return!0===c.openInFullscreenOnClick?n(e,{children:[t("span",{onClick:z,style:F.pillButton,role:"button",tabIndex:0,onKeyDown:t=>{"Enter"!==t.key&&" "!==t.key||z(t)},children:c.title}),g>0&&t("div",{ref:S,"aria-hidden":"true",style:{position:"fixed",left:-1e4,top:-1e4,width:1,height:1,opacity:0,pointerEvents:"none",overflow:"hidden"},children:j},g)]}):t("span",{onClickCapture:b,children:t(o,{inLineCitation:!0,citationTitle:c.title,chevronUpComponent:null===(a=c.customIcon)||void 0===a?void 0:a.chevronUp,chevronDownComponent:null===(y=c.customIcon)||void 0===y?void 0:y.chevronDown,citationComponent:j,styles:F})})},(t,n)=>t.isTable===n.isTable&&(t.onCitationClick===n.onCitationClick&&(t.customIcon===n.customIcon&&(t.customStyles===n.customStyles&&(t.chatCitationProps===n.chatCitationProps&&(t.openInFullscreenOnClick===n.openInFullscreenOnClick&&(!!f(t.chatHistory,n.chatHistory)&&y(t.title)===y(n.title))))))));export{g as default};
|
|
2
2
|
//# sourceMappingURL=ChatCitationRenderer.js.map
|
package/dist/features/RequirementAI/components/citations/file-citation/DocumentCitationIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as C,jsxs as l}from"react/jsx-runtime";const t=t=>C("div",
|
|
1
|
+
import{jsx as C,jsxs as l}from"react/jsx-runtime";const t=t=>C("div",{className:"mb-2",children:l("svg",{...t,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M20 19C20 19.7957 19.6839 20.5587 19.1213 21.1213C18.5587 21.6839 17.7956 22 17 22H7C6.20435 22 5.44129 21.6839 4.87868 21.1213C4.31607 20.5587 4 19.7957 4 19V5C4 4.20435 4.31607 3.44129 4.87868 2.87868C5.44129 2.31607 6.20435 2 7 2V4C6.73478 4 6.48043 4.10536 6.29289 4.29289C6.10536 4.48043 6 4.73478 6 5V19C6 19.2652 6.10536 19.5196 6.29289 19.7071C6.48043 19.8946 6.73478 20 7 20H17C17.2652 20 17.5196 19.8946 17.7071 19.7071C17.8946 19.5196 18 19.2652 18 19H20Z",fill:"#5C75F4"}),C("path",{d:"M7 2V4L14.4726 4V2L7 2Z",fill:"#5C75F4"}),C("path",{d:"M18 19H20V13H18V19Z",fill:"#5C75F4"}),C("path",{d:"M15.2209 5.47302C14.2942 5.47302 13.543 6.22424 13.543 7.15091C13.5446 8.05479 14.262 8.79491 15.1653 8.82483L14.1023 11.066H15.2209L16.7369 7.87C16.8441 7.6439 16.8928 7.39945 16.8988 7.15091C16.8988 6.22424 16.1476 5.47302 15.2209 5.47302ZM19.6953 5.47302C18.7686 5.47302 18.0174 6.22424 18.0174 7.15091C18.019 8.05479 18.7363 8.79491 19.6397 8.82483L18.5767 11.066H19.6953L21.2112 7.87C21.3185 7.6439 21.3672 7.39945 21.3731 7.15091C21.3731 6.22424 20.6219 5.47302 19.6953 5.47302Z",fill:"#5C75F4"}),C("path",{d:"M8.7984 15.5988H14.8447C15.0103 15.5988 15.1692 15.6646 15.2863 15.7817C15.4034 15.8988 15.4692 16.0577 15.4692 16.2233C15.4692 16.389 15.4034 16.5478 15.2863 16.665C15.1692 16.7821 15.0103 16.8479 14.8447 16.8479H8.7984C8.63275 16.8479 8.47389 16.7821 8.35676 16.665C8.23963 16.5478 8.17383 16.389 8.17383 16.2233C8.17383 16.0577 8.23963 15.8988 8.35676 15.7817C8.47389 15.6646 8.63275 15.5988 8.7984 15.5988ZM8.7984 13.1005H14.8447C15.0103 13.1005 15.1692 13.1663 15.2863 13.2834C15.4034 13.4005 15.4692 13.5594 15.4692 13.725C15.4692 13.8907 15.4034 14.0496 15.2863 14.1667C15.1692 14.2838 15.0103 14.3496 14.8447 14.3496H8.7984C8.63275 14.3496 8.47389 14.2838 8.35676 14.1667C8.23963 14.0496 8.17383 13.8907 8.17383 13.725C8.17383 13.5594 8.23963 13.4005 8.35676 13.2834C8.47389 13.1663 8.63275 13.1005 8.7984 13.1005ZM8.7984 10.3672L11.962 10.3672C12.1276 10.3672 12.2865 10.433 12.4036 10.5501C12.5208 10.6673 12.5866 10.8261 12.5866 10.9918C12.5866 11.1574 12.5208 11.3163 12.4036 11.4334C12.2865 11.5505 12.1276 11.6163 11.962 11.6163H8.7984C8.63275 11.6163 8.47389 11.5505 8.35676 11.4334C8.23963 11.3163 8.17383 11.1574 8.17383 10.9918C8.17383 10.8261 8.23963 10.6673 8.35676 10.5501C8.47389 10.433 8.63275 10.3672 8.7984 10.3672Z",fill:"#5C75F4"})]})});export{t as default};
|
|
2
2
|
//# sourceMappingURL=DocumentCitationIcon.js.map
|
package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as r,useEffect as i}from"react";import l from"./FileCitationContent.module.css.js";import{useRequirementAI as o}from"../../RequirementAIWrapper/RequirementAIWrapper.js";import{renderCitationAIConfidenceDisplay as n}from"../../../shared/CitationAIConfidenceDisplay.js";const s=s=>{var a,d,c,u,p,v;const{queryClient:m,useGetSignedUrlQuery:h,useGetSignedUrlMutation:f}=o().apiCachingConfig,y=["getSignedUrl",s.gsUtilPath],{data:g}=h(s.gsUtilPath,y),{mutate:U,isPending:C}=f(s.gsUtilPath),[S,w]=r(null),[P,k]=r(null);i(()=>{import("@react-pdf-viewer/core").then(e=>{w({Worker:e.Worker,Viewer:e.Viewer})}).catch(()=>{k("@react-pdf-viewer/core is not installed. Run: npm install @react-pdf-viewer/core")})},[]),i(()=>{if(!s.gsUtilPath)return void console.error("error","Error","Please provide valid gsUtilPath.");m.getQueryData(y)||C||U({gsUtilPath:s.gsUtilPath})},[s.gsUtilPath,m,y,C]);return e("div",{className:l.bookCitationContentContainer,style:null===(a=s.customStyles)||void 0===a?void 0:a.container,children:[e("div",{className:l.header,style:null===(d=s.customStyles)||void 0===d?void 0:d.header,children:[t("h2",{className:l.title,style:null===(c=s.customStyles)||void 0===c?void 0:c.title,children:s.title}),n(s.relevanceScore,!0,null===(u=s.customStyles)||void 0===u?void 0:u.confidenceDisplay)]}),t("div",{className:l.previewContainer,style:null===(p=s.customStyles)||void 0===p?void 0:p.previewContainer,children:"book_citation_pdf"===s.fileType&&t("div",{className:l.pdfWrapper,style:null===(v=s.customStyles)||void 0===v?void 0:v.pdfWrapper,children:!C&&g&&(e=>{var r;if(P)return t("div",{style:{color:"red",fontSize:"12px",...null===(r=s.customStyles)||void 0===r?void 0:r.errorText},children:P});if(!S)return t("div",{children:"Loading PDF viewer..."});const{Worker:i,Viewer:l}=S;return t(i,{workerUrl:"https://unpkg.com/pdfjs-dist@3.11.174/build/pdf.worker.min.js",children:t(l,{fileUrl:e})})})(g)})})]})};export{s as default};
|
|
2
2
|
//# sourceMappingURL=FileCitationContent.js.map
|
package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import o from"../../../../CitationRenderer/CitationRenderer.js";import i from"./FileCitationContent.js";import n from"./DocumentCitationIcon.js";const e=e=>{var a,c,l,r,d,s,m,u;const p=(null===(a=e.customIcons)||void 0===a?void 0:a.fileCitationIcon)||t(n,{});return t(o,{inLineCitation:!0,citationTitle:e.title,citationId:`file-citation-${e.citation.citation_number}`,citationComponent:t(i,{title:"book_citation_doc"===e.citation.customMetadata.type||"book_citation_pdf"===e.citation.customMetadata.type?`${null!==(l=null===(c=e.citation.customMetadata)||void 0===c?void 0:c.file_name)&&void 0!==l?l:""}`:"",gsUtilPath:"book_citation_doc"===e.citation.customMetadata.type||"book_citation_pdf"===e.citation.customMetadata.type?null===(r=e.citation.customMetadata)||void 0===r?void 0:r.gcs_upload_url:"",fileType:null===(d=e.citation.customMetadata)||void 0===d?void 0:d.type,relevanceScore:null===(s=e.citation.customMetadata)||void 0===s?void 0:s.relevance_score,customStyles:e.customStyles}),chevronDownComponent:p,chevronUpComponent:p,styles:{pillButton:
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import o from"../../../../CitationRenderer/CitationRenderer.js";import i from"./FileCitationContent.js";import n from"./DocumentCitationIcon.js";const e=e=>{var a,c,l,r,d,s,m,u;const p=(null===(a=e.customIcons)||void 0===a?void 0:a.fileCitationIcon)||t(n,{});return t(o,{inLineCitation:!0,citationTitle:e.title,citationId:`file-citation-${e.citation.citation_number}`,citationComponent:t(i,{title:"book_citation_doc"===e.citation.customMetadata.type||"book_citation_pdf"===e.citation.customMetadata.type?`${null!==(l=null===(c=e.citation.customMetadata)||void 0===c?void 0:c.file_name)&&void 0!==l?l:""}`:"",gsUtilPath:"book_citation_doc"===e.citation.customMetadata.type||"book_citation_pdf"===e.citation.customMetadata.type?null===(r=e.citation.customMetadata)||void 0===r?void 0:r.gcs_upload_url:"",fileType:null===(d=e.citation.customMetadata)||void 0===d?void 0:d.type,relevanceScore:null===(s=e.citation.customMetadata)||void 0===s?void 0:s.relevance_score,customStyles:e.customStyles}),chevronDownComponent:p,chevronUpComponent:p,styles:{pillButton:{fontSize:"14px",margin:"0px",background:"#ffffff",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",border:"none",...null===(m=e.customStyles)||void 0===m?void 0:m.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null===(u=e.customStyles)||void 0===u?void 0:u.content}}})};export{e as default};
|
|
2
2
|
//# sourceMappingURL=FileCitationRender.js.map
|
package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebCitationRenderer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import n from"../../../../CitationRenderer/CitationRenderer.js";import i from"../web-citation/WebCitationIcon.js";import o from"./GptWebcitationPanel.js";const e=e=>{var c,
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import n from"../../../../CitationRenderer/CitationRenderer.js";import i from"../web-citation/WebCitationIcon.js";import o from"./GptWebcitationPanel.js";const e=e=>{var r,c,a;const l=(null===(r=e.customIcons)||void 0===r?void 0:r.webCitationIcon)||t(i,{});return t(n,{inLineCitation:!0,citationTitle:e.title,citationId:`gpt-web-citation-${e.citation.citation_number}`,citationComponent:t(o,{citation:e.citation,content:e.content}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:{margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none",...null===(c=e.customStyles)||void 0===c?void 0:c.pill},citationContent:{width:"100%",background:"transparent",color:"black",minHeight:"10px",height:"fit-content",...null===(a=e.customStyles)||void 0===a?void 0:a.content}}})};export{e as default};
|
|
2
2
|
//# sourceMappingURL=GptWebCitationRenderer.js.map
|
package/dist/features/RequirementAI/components/citations/gpt-web-citation/GptWebcitationPanel.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import{CitationType as i,GptWebCitation as o}from"@e-llm-studio/citation";import{useState as n,useMemo as e,useEffect as a}from"react";import{ChevronDown as l,ChevronUp as r,Maximize2 as c,X as u,ExternalLink as d}from"lucide-react";import{useRequirementAI as s}from"../../RequirementAIWrapper/RequirementAIWrapper.js";const p={MaximizeIcon:c,ExternalLinkIcon:d},v=({citation:d,content:v})=>{var m,C;const[b,g]=n(),h=null===(m=null==d?void 0:d.customMetadata)||void 0===m?void 0:m.value,w=(null==h?void 0:h.paraphrase)||(null==h?void 0:h.label)||"Web Citation";const f=e(()=>`Source: Web Citation > ${w}`,[w]),x=e(()=>function(t){if(t)try{const i=new URL(t).hostname.replace(/^www\./i,""),o=i.split(".")[0];return o?o.charAt(0).toUpperCase()+o.slice(1):i}catch(t){return}}(null==h?void 0:h.citationUrl),[null==h?void 0:h.citationUrl]),[W,I]=n(!0),[y,T]=n("pending"),U=W,{getGptWebCitation:G,gptWebCitationPartialPayload:M}=s().apiCachingConfig,{displayMode:P}=(null===(C=s().citationConfig)||void 0===C?void 0:C.gptWeb)||{},E={item:{text:"",dataSource:(null==h?void 0:h.text)||"",paraphrase:(null==h?void 0:h.paraphrase)||""},headerTitle:(null==h?void 0:h.label)||"",index:0,iconsConfig:{ChevronDownIcon:l,ChevronUpIcon:r,MaximizeIcon:c,CloseIcon:u}},z=async()=>{var t;try{I(!0);const i={...M,citationId:null==h?void 0:h.citation_uuid,citationUrl:null==h?void 0:h.citationUrl,content:v||(null==h?void 0:h.text),citationType:null==h?void 0:h.citationType,citatioNumber:Number(null===(t=null==d?void 0:d.customMetadata)||void 0===t?void 0:t.citation_number)};console.log("Generating GPT-Web Citation with payload:",i);const o=await(null==G?void 0:G(i));g(null==o?void 0:o.data),T("success")}catch(t){T("error"),console.error("Error in GPT-Web Citation",t)}};a(()=>{P!==i.GPT&&(P!==i.GPT_WEB||U)&&z()},[P,U]);return t(o,{gptCitation:E,defaultCitationUrl:(null==h?void 0:h.citationUrl)||"",citationType:P||"web",webCitationData:b,sourceLabel:f,learnedFrom:x,showWebCitation:U,webCitationStatus:y,onGenerateWebCitation:z,onToggleCitationView:()=>{W?I(!1):z()},showExpandImageButton:!0,showGptMaximizeButton:!0,iconsConfig:p,isFixedHeight:!1})};export{v as default};
|
|
2
2
|
//# sourceMappingURL=GptWebcitationPanel.js.map
|
package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationContent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEffect as i}from"react";import{CircularProgress as s}from"@mui/material";import
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useEffect as i}from"react";import{CircularProgress as s}from"@mui/material";import l from"./ImageCitationContent.module.css.js";import{renderCitationAIConfidenceDisplay as r}from"../../../shared/CitationAIConfidenceDisplay.js";import{useRequirementAI as a}from"../../RequirementAIWrapper/RequirementAIWrapper.js";const o=o=>{var n,d,c,m,u,g,h;const{queryClient:p,useGetSignedUrlQuery:v,useGetSignedUrlMutation:y}=a().apiCachingConfig,f=["getSignedUrl",o.gsUtilPath],{data:U}=v(o.gsUtilPath,f),{mutate:S,isPending:C}=y(o.gsUtilPath);return i(()=>{if(!o.gsUtilPath)return void console.error("Error -> ImageCitationContent: gsUtilPath is required to fetch signed URL");p.getQueryData(f)||S({gsUtilPath:o.gsUtilPath})},[o.gsUtilPath]),e("div",{className:l.container,style:null===(n=o.customStyles)||void 0===n?void 0:n.container,children:[e("div",{className:l.header,style:null===(d=o.customStyles)||void 0===d?void 0:d.header,children:[t("h2",{className:l.title,style:null===(c=o.customStyles)||void 0===c?void 0:c.title,children:"Visual Reference"}),r(o.relevanceScore,!0,null===(m=o.customStyles)||void 0===m?void 0:m.confidenceDisplay)]}),C?e("div",{className:l.loadingWrapper,style:null===(u=o.customStyles)||void 0===u?void 0:u.loadingWrapper,children:[t(s,{size:48,thickness:4,sx:{color:"#4F85FF","& .MuiCircularProgress-circle":{strokeLinecap:"round"}}}),t("span",{className:l.loadingText,style:null===(g=o.customStyles)||void 0===g?void 0:g.loadingText,children:"Loading Image..."})]}):U&&t("img",{className:l.image,src:U,alt:"images",style:null===(h=o.customStyles)||void 0===h?void 0:h.image})]})};export{o as default};
|
|
2
2
|
//# sourceMappingURL=ImageCitationContent.js.map
|
package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as C}from"react/jsx-runtime";const t=t=>C("div",
|
|
1
|
+
import{jsx as C}from"react/jsx-runtime";const t=t=>C("div",{className:"mb-2",children:C("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:C("path",{d:"M18 15.0001V19.0001C18 19.5501 17.55 20.0001 17 20.0001H5C4.45 20.0001 4 19.5501 4 19.0001V7.00015C4 6.45015 4.45 6.00015 5 6.00015H8.02C8.57 6.00015 9.02 5.55015 9.02 5.00015C9.02 4.45015 8.57 4.00015 8.02 4.00015H4C2.9 4.00015 2 4.90015 2 6.00015V20.0001C2 21.1001 2.9 22.0001 4 22.0001H18C19.1 22.0001 20 21.1001 20 20.0001V15.0001C20 14.4501 19.55 14.0001 19 14.0001C18.45 14.0001 18 14.4501 18 15.0001ZM15.5 18.0001H6.52C6.1 18.0001 5.87 17.5201 6.13 17.1901L7.87 14.9601C7.9161 14.9011 7.97486 14.8532 8.04195 14.82C8.10903 14.7867 8.18273 14.769 8.2576 14.768C8.33247 14.7671 8.4066 14.7829 8.47452 14.8144C8.54243 14.846 8.6024 14.8923 8.65 14.9501L10.21 16.8301L12.56 13.8101C12.76 13.5501 13.16 13.5501 13.35 13.8201L15.9 17.2101C16.15 17.5301 15.91 18.0001 15.5 18.0001ZM19.3 8.89015C19.78 8.12015 20.05 7.22015 19.99 6.23015C19.86 4.08015 18.15 2.26015 16.02 2.03015C15.3894 1.95679 14.7504 2.01768 14.145 2.20883C13.5397 2.39999 12.9816 2.71707 12.5075 3.13925C12.0333 3.56142 11.6539 4.07914 11.3941 4.65839C11.1343 5.23764 11 5.8653 11 6.50015C11 8.99015 13.01 11.0001 15.49 11.0001C16.37 11.0001 17.19 10.7401 17.88 10.3001L20.29 12.7101C20.68 13.1001 21.32 13.1001 21.71 12.7101C22.1 12.3201 22.1 11.6801 21.71 11.2901L19.3 8.89015ZM15.5 9.00015C14.837 9.00015 14.2011 8.73675 13.7322 8.26791C13.2634 7.79907 13 7.16319 13 6.50015C13 5.8371 13.2634 5.20122 13.7322 4.73238C14.2011 4.26354 14.837 4.00015 15.5 4.00015C16.163 4.00015 16.7989 4.26354 17.2678 4.73238C17.7366 5.20122 18 5.8371 18 6.50015C18 7.16319 17.7366 7.79907 17.2678 8.26791C16.7989 8.73675 16.163 9.00015 15.5 9.00015Z",fill:"#5C75F4"})})});export{t as default};
|
|
2
2
|
//# sourceMappingURL=ImageCitationIcon.js.map
|
package/dist/features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t}from"react/jsx-runtime";import i from"../../../../CitationRenderer/CitationRenderer.js";import o from"./ImageCitationContent.js";import n from"./ImageCitationIcon.js";const e=e=>{var a,c,r,l;const
|
|
1
|
+
import{jsx as t}from"react/jsx-runtime";import i from"../../../../CitationRenderer/CitationRenderer.js";import o from"./ImageCitationContent.js";import n from"./ImageCitationIcon.js";const e=e=>{var a,c,r,l;const m=(null===(a=e.customIcons)||void 0===a?void 0:a.imageCitationIcon)||t(n,{});return t(i,{inLineCitation:!0,citationTitle:e.title,citationId:`image-citation-${e.citation.citation_number}`,citationComponent:t(o,{gsUtilPath:"image_citation"===e.citation.customMetadata.type?e.citation.customMetadata.gs_util_url:"",relevanceScore:null===(c=e.citation.customMetadata)||void 0===c?void 0:c.relevance_score,customStyles:e.customStyles}),chevronDownComponent:m,chevronUpComponent:m,styles:{pillButton:{margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none",...null===(r=e.customStyles)||void 0===r?void 0:r.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null===(l=e.customStyles)||void 0===l?void 0:l.content}}})};export{e as default};
|
|
2
2
|
//# sourceMappingURL=ImageCitationRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as e,jsxs as n,Fragment as a}from"react/jsx-runtime";import{NotebookIcon as t,MessageCircleIcon as
|
|
1
|
+
import{jsx as e,jsxs as n,Fragment as a}from"react/jsx-runtime";import{NotebookIcon as t,MessageCircleIcon as l}from"lucide-react";import s,{useRef as i}from"react";import{AppModIcon as o}from"../appmod-citation/icons/AppmodIcon.js";import{DEFAULT_HIGHLIGHT_THEME as r}from"../appmod-citation/types.js";import c from"./RCACitationContent.module.css.js";import{renderAIConfidenceDisplay as d}from"../../../../RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js";const u=(t,l,i)=>{if(!l||!t.includes(l))return t;const o=t.split(l),c={backgroundColor:r.background,color:r.text,padding:"2px 3px",borderRadius:"2px"};return e(a,{children:o.map((a,t)=>n(s.Fragment,{children:[a,t<o.length-1&&e("span",{style:{...c,...i},children:l})]},t))})},m=({extracts:a,customStyles:l,customIcon:s})=>a&&0!==a.length?n("div",{className:c.extractPanel,style:null==l?void 0:l.extractPanel,children:[n("div",{className:c.extractPanelHeader,style:null==l?void 0:l.extractPanelHeader,children:[e("span",{style:null==l?void 0:l.extractPanelHeaderIcon,children:s||e(t,{className:c.extractPanelHeaderIcon})}),e("span",{className:c.extractPanelHeaderTitle,style:null==l?void 0:l.extractPanelHeaderTitle,children:"Extracted from Requirement Finalization"})]}),e("div",{className:c.extractList,style:null==l?void 0:l.extractList,children:a.map((a,t)=>n("div",{className:c.extractItem,style:null==l?void 0:l.extractItem,children:[e("p",{className:c.extractSubheading,style:null==l?void 0:l.extractSubheading,children:a.subheading}),e("p",{className:c.extractContent,style:null==l?void 0:l.extractContent,children:a.content})]},t))})]}):null,v=({citation:a,customStyles:s,customIcons:r,isLoading:v=!1})=>{var h;const p=i(null),x=a.customMetadata.assistant_answer||"",y=a.customMetadata.assistant_question||"",g=a.customMetadata.assistant_answer_highlight_content,N=a.customMetadata.relevance_score,I=a.customMetadata.requirement_plan_extract||[],f=(null==r?void 0:r.rcaNotebookIcon)||e(t,{className:c.headerIcon}),P=(null==r?void 0:r.rcaMessageIcon)||e(l,{className:c.conversationPanelHeaderIcon}),C=(null==r?void 0:r.rcaQuestionIcon)||e(o,{className:c.questionIcon}),q=(null==s?void 0:s.highlight)?{backgroundColor:s.highlight.background,color:s.highlight.text}:void 0;return n("div",{ref:p,className:c.container,style:null==s?void 0:s.container,children:[n("div",{className:c.header,style:null==s?void 0:s.header,children:[n("div",{className:c.headerLeft,style:null==s?void 0:s.headerLeft,children:[e("span",{style:null==s?void 0:s.headerIcon,children:f}),e("span",{className:c.headerTitle,style:null==s?void 0:s.headerTitle,children:"Requirement Clarification"})]}),d(N,null==s?void 0:s.confidenceDisplay)]}),n("div",{className:c.rcaContainer,style:null==s?void 0:s.rcaContainer,children:[n("div",{className:c.conversationPanel,style:null==s?void 0:s.conversationPanel,children:[n("div",{className:c.conversationPanelHeader,style:null==s?void 0:s.conversationPanelHeader,children:[e("span",{style:null==s?void 0:s.conversationPanelHeaderIcon,children:P}),e("span",{className:c.conversationPanelHeaderTitle,style:null==s?void 0:s.conversationPanelHeaderTitle,children:"User Conversation"})]}),n("div",{className:c.questionRow,style:null==s?void 0:s.questionRow,children:[e("span",{style:null==s?void 0:s.questionIcon,children:C}),e("span",{className:c.questionText,style:null==s?void 0:s.questionText,children:y||"Ask question to get response"})]}),e("p",{className:c.answerLabel,style:null==s?void 0:s.answerLabel,children:"Me"}),e("div",{className:c.answerBox,style:null==s?void 0:s.answerBox,children:v?e("span",{className:c.loadingText,style:null===(h=null==s?void 0:s.loading)||void 0===h?void 0:h.text,children:"Generating..."}):u(x,g,q)})]}),I.length>0&&e(m,{extracts:I,customStyles:s,customIcon:f})]})]})};export{v as default};
|
|
2
2
|
//# sourceMappingURL=RCACitationContent.js.map
|
package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,Fragment as n}from"react/jsx-runtime";import i from"../../../../CitationRenderer/CitationRenderer.js";import{ChatBubbleIcon as o}from"../appmod-citation/icons/ChatBubbleIcon.js";import e from"./RCACitationContent.js";const a=({title:a,citation:r,customStyles:c,customIcons:
|
|
1
|
+
import{jsx as t,Fragment as n}from"react/jsx-runtime";import i from"../../../../CitationRenderer/CitationRenderer.js";import{ChatBubbleIcon as o}from"../appmod-citation/icons/ChatBubbleIcon.js";import e from"./RCACitationContent.js";const a=({title:a,citation:r,customStyles:c,customIcons:l,isLoading:s=!1})=>{const p=(null==l?void 0:l.rcaCitationIcon)||t(o,{className:"inline align-super mb-1 ml-1",style:{width:"12px",height:"12px"}});return t(i,{inLineCitation:!0,citationTitle:a+"",citationIcon:t(n,{}),citationId:`rca-${r.citation_number}`,citationComponent:t(e,{citation:r,customStyles:c,customIcons:l,isLoading:s}),chevronDownComponent:p,chevronUpComponent:p,styles:{pillButton:{fontSize:"13px",margin:"0px",padding:"0px 4px",color:"#3b82f6",cursor:"pointer",verticalAlign:"baseline",whiteSpace:"normal",wordBreak:"break-all",display:"inline-flex",alignItems:"unset",background:"transparent",border:"none",...null==c?void 0:c.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};export{a as default};
|
|
2
2
|
//# sourceMappingURL=RCACitationRenderer.js.map
|
package/dist/features/RequirementAI/components/citations/readfile-citation/CustomFileIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{useState as t,useEffect as i}from"react";import n from"@exuanbo/file-icons-js";import{File as s,FileText as a}from"lucide-react";import{cn as r}from"../../../../UserStoryImport/lib/cn.js";let l=!1;function c({name:c,size:m="12px",className:o}){const[d,f]=t(o||"");return i(()=>{(async()=>{const e=await n.getClass(c,{array:!0});f(e.join(" "))})()},[c]),i(()=>{if(!l){const e=document.createElement("style");e.innerHTML="\n .custom-file-icon::before {\n font-size: inherit !important;\n }\n ",document.head.appendChild(e),l=!0}},[]),c.includes(".txt")?e(s,{className:r("w-3 h-3 mr-2 text-muted",o)}):c.includes(".pdf")?e(a,{className:r("w-3 h-3 mr-2 text-destructive",o)}):e("span",{className:"mt-0",style:{width:m,height:m,display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top"},children:d?e("i",{className:r("custom-file-icon",d,o),style:{fontSize:m,height:m,display:"inline-flex",alignItems:"center",lineHeight:1}}):e(s,{className:r("text-muted",o),width:m,height:m})})}export{c as default};
|
|
2
2
|
//# sourceMappingURL=CustomFileIcon.js.map
|