@e-llm-studio/requirement-ai 0.0.224 → 0.0.225
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/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.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/constants/editorConfig.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.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/plugins/LayoutPlugin.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.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/UserStoryCard.module.css.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/ai-reasoning/pdfCitationUtils.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/audio-citation/utils/word-segment-util.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/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/UserStoryApprovalContext.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/components/HighlightButtonComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useDiffEditReviewMode.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/shared/useMarkdownSearch.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/css.utils.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/json-helper.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/learned-tag.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/user-story.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/userStoryAttachedContext.utils.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/userstory-approval-transform.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.context.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/components/usePanelResize.js +1 -1
- package/dist/cjs/features/UserStoryImport/hooks/useFilteredItems.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/index.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/cn.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/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/UndoRedo/UndoRedo.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/Icons/Icon.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/editorConfig.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/objects.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/CommentPlugin/HTMLNode.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/plugins/LayoutPlugin.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/getSelectedNode.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/UserStoryCard.module.css.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/ai-reasoning/pdfCitationUtils.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/appmod-citation/types.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/audio-citation/utils/word-segment-util.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/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/UserStoryApprovalContext.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/components/HighlightButtonComponent.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/features/RequirementAI/hooks/useApprovalStatus.js +1 -1
- package/dist/features/RequirementAI/hooks/useDiffEditReviewMode.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/shared/useMarkdownSearch.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/css.utils.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/json-helper.js +1 -1
- package/dist/features/RequirementAI/utils/learned-tag.utils.js +1 -1
- package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
- package/dist/features/RequirementAI/utils/user-story.utils.js +1 -1
- package/dist/features/RequirementAI/utils/userStoryAttachedContext.utils.js +1 -1
- package/dist/features/RequirementAI/utils/userstory-approval-transform.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.context.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/components/usePanelResize.js +1 -1
- package/dist/features/UserStoryImport/hooks/useFilteredItems.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/index.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/cn.js +1 -1
- package/dist/features/UserStoryImport/lib/dialog.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +11 -2
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.replaceLearnedTagsWithInfo=function(t,n,r){if(!t)return[];const s=[],i=/<learned>(.*?)<\/learned>/g;let l,a=0,c=0;for(;null!==(l=i.exec(t));){const[,o]=l,d=l.index;d>a&&s.push(e.jsx("span",{children:t.slice(a,d)},"learned-text-pre-"+c++));const p=r?e.jsx(r,{size:16,className:"learned-tag-info-icon"}):e.jsx("span",Object.assign({style:{display:"inline-block",width:16,height:16,borderRadius:"50%",backgroundColor:"#3b82f6",color:"white",fontSize:11,textAlign:"center",lineHeight:"16px",margin:"0 2px",cursor:"help",fontWeight:600}},{children:"i"}));n?s.push(e.jsx(n,Object.assign({title:o.replace(/<[^>]*>?/gm,""),placement:"top"},{children:p}),"learned-tooltip-"+c++)):s.push(e.jsx("abbr",Object.assign({title:o,style:{textDecoration:"none",cursor:"help"}},{children:p}),"learned-abbr-"+c++)),a=i.lastIndex}return a<t.length&&s.push(e.jsx("span",{children:t.slice(a)},"learned-text-post-"+c++)),s};
|
|
2
2
|
//# sourceMappingURL=learned-tag.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});function e(e,t){if(!e)return e;let n="",r=0;for(;;){const o=e.indexOf("<gpt_citation_here ",r);if(-1===o){n+=e.slice(r);break}n+=e.slice(r,o);const i=e.indexOf(">",o);if(-1===i){n+=e.slice(o);break}const s=e.slice(o,i+1),c=s.indexOf("id=");let a="";if(-1!==c){let e=c+3;for("\\"===s[e]&&e++,'"'!==s[e]&&"'"!==s[e]||e++;e<s.length&&/\d/.test(s[e]);)a+=s[e++]}if(a){n+=`<a href="gpt_citation$${`${t}<GPT_CITATION_ID>${a}`}">Source</a>`}r=i+1}return n}function t(e,t){const n=t=>{const n=new RegExp(`<${t}>([\\s\\S]*?)<\\/${t}>`,"gi"),r=[];let o;for(;null!==(o=n.exec(e));)r.push(o[1].trim());return r},r=n("domain"),o=n("paraphrase");return{citation_number:t,customMetadata:{type:"gpt_citation",data_sources:n("data_sources"),training_data_title:r,paraphrase:o}}}exports.extractBlockStreams=e=>{const t=[];try{const n="<BLOCK_STREAM_START>",r="<BLOCK_STREAM_END>";let o=0;for(;;){const i=e.indexOf(n,o);if(-1===i)break;const s=e.indexOf(r,i+n.length);if(-1===s)break;const c=e.slice(i+n.length,s).trim();t.push(JSON.parse(c)),o=s+r.length}}catch(e){console.error("Error in extracting blocks from stream",e)}finally{return t}},exports.extractDescription=function(e){try{const t=/<h2>\s*(?:<b>)?Description(?:<\/b>)?\s*<\/h2>\s*([\s\S]*?)(?=\s*<h2>|$)/i,n=e.match(t);if(n)return n[1].trim()}catch(e){}return null},exports.parseGptCitation=t,exports.processAIReasoningFromBlocks=function(n,r,o,i){const s=[];let c="";const a=[];let l="";console.log("RAW INPUT",JSON.stringify(n),JSON.stringify(i));try{const u=n=>n.replace(/<a\s+(?:(table="true")\s+)?href=(\\"|")ai_reasoning\$(\d+)(\\"|")>([\s\S]*?)<\/a>/g,(n,i,c,l,u,p)=>{var f,d,h,g,_;const b=`${l}<BLOCK_NUMBER>${r}<STORY_NUMBER>${o}`,m=function(e){const t=new Map,n="<gpt_citation ",r="</gpt_citation>";let o=0;for(;;){const i=e.indexOf(n,o);if(-1===i)break;const s=e.indexOf(">",i);if(-1===s)break;const c=e.indexOf(r,s);if(-1===c)break;const a=e.slice(i,c+r.length),l=e.slice(i,s+1),u=l.indexOf("id=");if(-1!==u){let e=u+3;"\\"===l[e]&&e++,'"'!==l[e]&&"'"!==l[e]||e++;let n="";for(;e<l.length&&/\d/.test(l[e]);)n+=l[e++];n&&t.set(n,a)}o=c+r.length}return t}(p);console.log("RAW INPUT",m);const x=p.match(/<reason(?:\s+source="([^"]*)")?>([\s\S]*?)<\/reason>/),$=p.match(/<gap(?:\s+source="([^"]*)")?>([\s\S]*?)<\/gap>/),v=p.match(/<relevance_score>([\s\S]*?)<\/relevance_score>/);let O=(null===(f=null==x?void 0:x[2])||void 0===f?void 0:f.trim())||"",S=(null===(d=null==$?void 0:$[2])||void 0===d?void 0:d.trim())||"";O=e(O,b),S=e(S,b),m.forEach((e,n)=>{const r=`${b}<GPT_CITATION_ID>${n}`;a.push(t(e,r))}),s.push({id:b,reason:O,reasonSource:(null===(h=null==x?void 0:x[1])||void 0===h?void 0:h.trim())||"",gap:S,gapSource:(null===(g=null==$?void 0:$[1])||void 0===g?void 0:g.trim())||"",relevance_score:Number(null===(_=null==v?void 0:v[1])||void 0===_?void 0:_.trim())||0});return`<a ${i?'table="true"':""} href=${c}ai_reasoning$${b}${u}>Source</a>`});c=u(n),i&&(l=u(i))}catch(e){console.error("Error in extracting AI Reasoning from this block:",n)}finally{return{outputText:c,reasonings:s,gpt_citation:a,processedDescription:l}}},exports.processUserStoryValue=(e,t,n)=>{let r=e.includes("<h1><b>Title</b></h1>\n\n")?e:n?`<h1><b>Title</b></h1>\n\n${n} \n${e}`:e;return r=r.includes("<h1><b>Requirement Type</b></h1>\n\n")?r:t?`<h1><b>Requirement Type</b></h1>\n\n${t} \n${r}`:r,r},exports.replaceGptCitation=e;
|
|
2
2
|
//# sourceMappingURL=proccess-stream.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=e=>e.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'");exports.formatMarkdown=function(e){try{return e=null==e?void 0:e.replace(/(?<!\d)(\d+(?:\.\d+)+)\./g,(e,r)=>{const t=r.split(".");return`${" ".repeat(t.length-1)}${r}.`})}catch(e){console.error("Error in formatMarkdown",e)}},exports.postprocessUserStoryAfterEdit=r=>{console.log("postprocessUserStoryAfterEdit::input",r);const t=r.replace(/<del([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/del>([\s\S]*?)<ins([^>]*?)data-review-id="([^"]*)"([^>]*)>([\s\S]*?)<\/ins>/g,(r,t,o,s,n,i,c,p,l,d)=>{const a=e(o);if(a!==e(p))return r;const u=`${t}${s}`.replace(/\s+/g," ").trim(),$=`${c}${l}`.replace(/\s+/g," ").trim(),g=u?`<del ${u}>${n}</del>`:`<del>${n}</del>`,S=$?`<ins ${$}>${d}</ins>`:`<ins>${d}</ins>`;return`<upt id="${decodeURIComponent(a)}">${g}${i}${S}</upt>`});return console.log("postprocessUserStoryAfterEdit::output",t),t},exports.preprocessUserStoryForEdit=e=>{const r=e.replace(/<upt\s+id="([^"]*)">([\s\S]*?)<\/upt>/g,(e,r,t)=>{const o=encodeURIComponent(r);return t.replace(/<del>/,`<del id="${o}" data-review-id="${o}">`).replace(/<ins>/,`<ins id="${o}" data-review-id="${o}">`)});return console.log("postprocessUserStoryAfterEdit::output",r),r},exports.replaceTitleSection=(e,r)=>{try{if(e){const t=/\*\*Title\*\* ?: ([\s\S]*?)\n\n\*\*Description\*\*/;return e.replace(t,`**Title** : ${r}\n\n**Description**`)}}catch(r){return console.error("Error in replaceTitleSection:",r),e}};
|
|
2
2
|
//# sourceMappingURL=user-story.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),e=require("lucide-react"),t=require("../icons/MeetingHighlightsIcon.js")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),e=require("lucide-react"),t=require("../icons/MeetingHighlightsIcon.js");const a={thinkingBulbIcon:"https://storymod-assests.pages.dev/ThinkingBulbIcon.gif",brainStormIcon:"https://storymod-assests.pages.dev/brainstorm.gif",brainStormCropped:"https://storymod-assests.pages.dev/brainstorm-cropped.gif",stormeeCitationIcon:"https://storymod-assests.pages.dev/stormee_citation_icon.svg",rcaCitationIcon:"https://storymod-assests.pages.dev/appmod-icon.svg"},i=["js","jsx","ts","tsx","py","java","kt","kts","scala","go","rs","c","h","cpp","cc","cxx","hpp","hh","cs","fs","vb","swift","m","mm","rb","php","pl","pm","r","jl","lua","dart","ex","exs","erl","hrl","clj","cljs","groovy","gvy","sh","bash","zsh","fish","ps1","sql","asm","s","f","f90","f95","nim","zig","ml","mli","hs","lhs","ada","adb","ads","v","sv","vhd","vhdl","sol","tf","tfvars"];exports.GetFileIcon=(r,o)=>{if(i.includes(r))return s.jsx(e.FileCode,{size:24,className:"h-5 w-5 text-emerald-600"});switch(null==r?void 0:r.toLowerCase()){case"mp3":case"wav":case"audio":return s.jsx(e.AudioLines,{className:"h-5 w-5 text-indigo-600",size:24});case"png":case"jpg":case"jpeg":case"image":case"heic":case"heif":return s.jsx(e.Image,{className:"h-5 w-5 text-purple-500",size:24});case"mp4":case"avi":case"mov":case"video":return s.jsx(e.Clapperboard,{className:"h-5 w-5 text-rose-500",size:24});case"pdf":return s.jsx(e.FileText,{className:"h-5 w-5 text-red-500",size:24});case"doc":case"docx":return s.jsx(e.FileText,{className:"h-5 w-5 text-blue-600",size:24});case"txt":return s.jsx(e.FileText,{className:"h-5 w-5 text-gray-600",size:24});case"json":if(null==o?void 0:o.startsWith("ST_"))return s.jsx("img",{src:a.stormeeCitationIcon,style:{mixBlendMode:"multiply"},className:"w-7 h-7"});if(null==o?void 0:o.startsWith("MH_"))return s.jsx(t.default,{});break;default:return s.jsx(e.FileText,{className:"h-5 w-5 text-yellow-600",size:24})}},exports.assetList=a,exports.getDisplayFileType=(s,e)=>{if("json"===(null==s?void 0:s.toLowerCase())){if(null==e?void 0:e.startsWith("ST_"))return"Stormee";if(null==e?void 0:e.startsWith("MH_"))return"Meeting Highlights"}return s};
|
|
2
2
|
//# sourceMappingURL=userStoryAttachedContext.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("uuid")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("uuid");const o=e=>{if(!e)return[];return e.split(/(?=<h1>[A-Z]\.\s+.*?<\/h1>)/g).filter(Boolean).map(e=>e.trim())};exports.cloneUserStories=e=>structuredClone(e),exports.createUserStoriesForApproval=t=>{const r=(t,i)=>{const n=o(t.value).map(o=>({contentId:e.v4(),content:o,isApproved:!1})),a={artifactId:t.artifactId,title:t.title,value:n,description:t.description,approval_status:i?void 0:"NOT_APPROVED",big_enough:null==t?void 0:t.big_enough,big_enough_decision_factors:null==t?void 0:t.big_enough_decision_factors,metadata:null==t?void 0:t.metadata,gapValue:null==t?void 0:t.gapValue,confidenceScore:null==t?void 0:t.confidenceScore,storyNumber:t.storyNumber,blockNumber:t.blockNumber,aiReasoning:null==t?void 0:t.aiReasoning,section:null==t?void 0:t.section};return t.sub_features&&t.sub_features.length>0&&(a.sub_features=t.sub_features.map(e=>r(e,!0))),a};return t.map(e=>r(e,!1))},exports.splitByHeaders=o,exports.transformApprovalToUserStory=e=>{const o=e=>{var t;const r=Array.isArray(e.value)?e.value.map(e=>e.content).join("\n\n"):e.value,i={artifactId:e.artifactId,title:e.title,description:e.description,value:r,big_enough:e.big_enough,big_enough_decision_factors:e.big_enough_decision_factors,metadata:null==e?void 0:e.metadata,gapValue:null==e?void 0:e.gapValue,confidenceScore:null==e?void 0:e.confidenceScore,storyNumber:e.storyNumber,blockNumber:e.blockNumber,aiReasoning:null==e?void 0:e.aiReasoning,section:null==e?void 0:e.section};return(null===(t=e.sub_features)||void 0===t?void 0:t.length)&&(i.sub_features=e.sub_features.map(o)),i};return e.map(o)};
|
|
2
2
|
//# sourceMappingURL=userstory-approval-transform.utils.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=(t,r)=>{for(const e of t.value)if(!1===e.isApproved&&e.contentId!==r)return e.contentId;if(t.sub_features&&t.sub_features.length>0)for(const s of t.sub_features){const t=e(s,r);if("NA"!==t)return t}return"NA"},t=e=>{const r=Object.assign(Object.assign({},e),{value:e.value.map(e=>Object.assign(Object.assign({},e),{isApproved:!0})),approval_status:"APPROVED"});return e.sub_features&&e.sub_features.length>0&&(r.sub_features=e.sub_features.map(e=>t(e))),r};exports.approveAllSegments=t,exports.areAllUserStoriesApproved=e=>e.every(e=>"APPROVED"===e.approval_status),exports.getApprovalStatus=e=>{let t=0,r=0;const s=e=>{for(const s of(null==e?void 0:e.value)||[])if(s.isApproved?t++:r++,t>0&&r>0)return;if(null==e?void 0:e.sub_features)for(const o of e.sub_features)if(s(o),t>0&&r>0)return};return s(e),t>0&&r>0?"IN_PROGRESS":t>0&&0===r?"APPROVED":"NOT_APPROVED"},exports.getFirstNonApprovedSegmentId=e,exports.getFirstUnapprovedStoryId=(e,t)=>{for(const r of e)if("APPROVED"!==r.approval_status&&r.artifactId!==t)return r.artifactId;return null};
|
|
2
2
|
//# sourceMappingURL=userstory-approval.utils.js.map
|
package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),l=require("./AIConfidenceDisplay.module.css.js"),s=require("./icons/RelevanceScoreIcon.js");exports.renderAIConfidenceDisplay=(n,r)=>{var i;return"number"!=typeof n||isNaN(n)?null:e.jsxs("div",Object.assign({className:l.default.container,style:null==r?void 0:r.container},{children:[e.jsx(s.default,{size:20,color:null===(i=null==r?void 0:r.icon)||void 0===i?void 0:i.color}),e.jsxs("span",Object.assign({className:l.default.label,style:null==r?void 0:r.label},{children:["AI Relevance: ",n,"%"]}))]}))};
|
|
2
2
|
//# sourceMappingURL=AIConfidenceDisplay.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var C=require("react/jsx-runtime");exports.default=e=>C.jsx("div",Object.assign({className:"mb-2"},{children:C.jsxs("svg",Object.assign({width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[C.jsx("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.jsx("path",{d:"M7 2V4L14.4726 4V2L7 2Z",fill:"#5C75F4"}),C.jsx("path",{d:"M18 19H20V13H18V19Z",fill:"#5C75F4"}),C.jsx("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.jsx("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"})]}))}));
|
|
2
2
|
//# sourceMappingURL=DocumentCitationIcon.js.map
|
package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.default=({size:t,color:C="currentColor"})=>e.jsxs("svg",Object.assign({width:t||15,height:t||15,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:[e.jsx("path",{d:"M9.2482 4.85862C9.18364 4.54279 8.73237 4.54279 8.66782 4.85862C8.27178 6.79626 6.75753 8.31052 4.81988 8.70656C4.50405 8.77111 4.50405 9.22238 4.81988 9.28693C6.75753 9.68297 8.27178 11.1972 8.66782 13.1349C8.73237 13.4507 9.18364 13.4507 9.2482 13.1349C9.64424 11.1972 11.1585 9.68297 13.0961 9.28693C13.412 9.22238 13.412 8.77111 13.0961 8.70656C11.1585 8.31052 9.64424 6.79626 9.2482 4.85862Z",fill:C}),e.jsx("path",{d:"M3.87303 1.72074C3.86876 1.69986 3.83892 1.69986 3.83465 1.72074C3.6131 2.80472 2.76598 3.65183 1.682 3.87339C1.66112 3.87766 1.66112 3.9075 1.682 3.91177C2.76598 4.13332 3.6131 4.98044 3.83465 6.06441C3.83892 6.0853 3.86876 6.0853 3.87303 6.06441C4.09459 4.98044 4.9417 4.13332 6.02568 3.91177C6.04656 3.9075 6.04656 3.87766 6.02568 3.87339C4.9417 3.65183 4.09459 2.80472 3.87303 1.72074Z",fill:C})]}));
|
|
2
2
|
//# sourceMappingURL=RelevanceScoreIcon.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");const t=e.createContext(null);exports.USPContext=t,exports.useUSPContext=function(){const r=e.useContext(t);if(!r)throw new Error("UserStoryPicker compound components must be used within <UserStoryPicker>");return r};
|
|
2
2
|
//# sourceMappingURL=UserStoryPicker.context.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),r=require("./UserStoryPicker.context.js"),t=require("./hooks/useUserStoryPickerState.js"),s=require("./hooks/useFilteredItems.js"),i=require("./hooks/useUSPData.js"),a=require("./UserStoryPicker.theme.js"),c=require("./lib/Tooltip.js");require("./user-story-picker.css.js");var l=require("./lib/cn.js");const d={},n={};exports.UserStoryPickerRoot=function({userEmail:u,adapter:S,defaultView:j="recent",defaultSort:P="newest",defaultType:p="All Types",defaultRepo:h="allRepository",gitUrl:v="",pageSize:g=4,theme:M,classNames:f=d,renderProps:m=n,onProceed:b,onStorySelect:y,onProjectSelect:w,onSearch:U,onViewChange:k,onSortChange:F,onShowMore:C,onViewMoreDescription:I,onFavoriteToggle:T,hidePopUp:q=!1,disableTooltip:x=!1,tooltipClassName:L,children:N,mediaCacheHooks:E,showCitations:O=!1,featureFlagWidgetMaker:R=!0}){var V,D;const[H,_]=t.useUserStoryPickerState(j,P,p,h,g);o.useEffect(()=>{null==k||k(H.viewMode)},[H.viewMode,k]);const{projects:B,userStories:Q,hasMoreProjects:W,hasMoreStories:z,loadMoreProjects:A,loadMoreStories:G,isLoadingProjects:J,isLoadingStories:K,projectStories:X,hasMoreProjectStories:Y,loadMoreProjectStories:Z,isLoadingProjectStories:$,sidebarProjects:ee,hasMoreSidebarProjects:oe,loadMoreSidebarProjects:re,scopedUserStories:te,toggleScopedUserStories:se,isLoadingSidebarProjects:ie,favoriteStories:ae,hasMoreFavoriteStories:ce,loadMoreFavoriteStories:le,isLoadingFavoriteStories:de,updateFavorite:ne}=i.useUSPData(u,v,S.fetchProjects,S.fetchUserStories,H.sortBy,H.typeBy,H.scopeRepo,H.searchQuery,H.sidebarSearchQuery,H.selectedProjectId,O),ue=H.selectedProjectId?Y:z,Se=H.selectedProjectId?Z:G,je=H.selectedProjectId?$:K,Pe=o.useMemo(()=>{var e;return null!==(e=B.find(e=>e.id===H.selectedProjectId))&&void 0!==e?e:null},[B,H.selectedProjectId]),pe=o.useMemo(()=>Pe?X.map(e=>Object.assign(Object.assign({},e),{projectName:Pe.name})):X,[X,Pe]),he=o.useMemo(()=>{var e;return null!==(e=(H.selectedProjectId?pe:Q).find(e=>e.user_story_id===H.selectedStoryId))&&void 0!==e?e:null},[H.selectedProjectId,pe,Q,H.selectedStoryId]),{filteredStories:ve,filteredProjects:ge,visibleStories:Me,visibleProjects:fe}=s.useFilteredItems(Q,B,H,pe,ae),me="favorites"===H.viewMode?(null!==(V=null==ve?void 0:ve.length)&&void 0!==V?V:0)>(null!==(D=null==Me?void 0:Me.length)&&void 0!==D?D:0):ue,be=o.useCallback((e,o)=>{ne(e,o),null==T||T(e,o)},[ne,T]),ye=o.useMemo(()=>({adapter:S,state:H,dispatch:_,userStories:Q,projects:B,filteredStories:ve,filteredProjects:ge,visibleStories:Me,visibleProjects:fe,hasMoreStories:me,hasMoreProjects:W,selectedStory:he,selectedProject:Pe,classNames:f,renderProps:m,mediaCacheHooks:E,showCitations:O,featureFlagWidgetMaker:R,loadMoreProjects:A,loadMoreStories:Se,isLoadingProjects:J,isLoadingStories:je,scopedUserStories:te,toggleScopedUserStories:se,sidebarProjects:ee,hasMoreSidebarProjects:oe,loadMoreSidebarProjects:re,isLoadingSidebarProjects:ie,favoriteStories:ae,hasMoreFavoriteStories:ce,loadMoreFavoriteStories:le,isLoadingFavoriteStories:de,onProceed:b,onStorySelect:y,onProjectSelect:w,onSearch:U,onViewChange:k,onSortChange:F,onShowMore:C,onViewMoreDescription:I,onFavoriteToggle:be,hidePopUp:q,disableTooltip:x,tooltipClassName:L}),[S,H,_,Q,B,ve,ge,Me,fe,ue,me,W,he,Pe,f,m,A,Se,J,je,ee,oe,re,ie,ae,ce,le,te,se,de,b,E,O,R,y,w,U,k,F,C,I,be,q,x,L]),[we,Ue]=o.useState(!1),ke=o.useRef(null);o.useEffect(()=>{if(!S.onHostEvent)return;const e=S.onHostEvent("cw-project-glow",()=>{Ue(!0),ke.current&&clearTimeout(ke.current),ke.current=setTimeout(()=>{Ue(!1)},3e3)});return()=>{ke.current&&(clearTimeout(ke.current),ke.current=null),e&&e()}},[S]);const Fe=["usp-root",f.root].filter(Boolean).join(" "),Ce=M?a.themeToStyle(M):void 0;return e.jsx(c.TooltipProvider,{children:e.jsx(r.USPContext.Provider,Object.assign({value:ye},{children:e.jsx("div",Object.assign({className:l.cn(Fe,"rounded-lg flex-1 min-h-0 overflow-auto border-2 pt-2",we?"border-primary animate ease-in-out duration-500 mb-4":"transition-colors duration-500 border-transparent shadow-none"),style:Ce},{children:N}))}))})};
|
|
2
2
|
//# sourceMappingURL=UserStoryPicker.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const r={blue400:"#60a5fa",blue500:"#3b82f6",blue600:"#2563eb",blue700:"#1d4ed8",cyan400:"#22d3ee",cyan500:"#06b6d4",green400:"#4ade80",green500:"#22c55e",red400:"#f87171",red500:"#ef4444",amber400:"#fbbf24",amber500:"#f59e0b",purple400:"#c084fc",purple500:"#a855f7",purple600:"#9333ea",gray50:"#f9fafb",gray100:"#f3f4f6",gray200:"#e5e7eb",gray300:"#d1d5db",gray400:"#9ca3af",gray500:"#6b7280",gray600:"#4b5563",gray700:"#374151",gray800:"#1f2937",gray900:"#111827",neutral700:"#404040",neutral750:"#333333",neutral800:"#262626",neutral850:"#1f1f1f",neutral900:"#171717",neutral950:"#0a0a0a",white:"#ffffff",offWhite:"#f8f8f8",vscodeBlue:"#007fd4",vscodeDarkBg:"#1e1e1e",vscodeDarkCard:"#252526",vscodeDarkBorder:"#3c3c3c",vscodeDarkInput:"#3c3c3c",vscodeDarkMuted:"#858585"},e={colors:{background:"var(--vscode-editor-background, #1e1e1e)",foreground:"var(--vscode-editor-foreground, #cccccc)",border:"var(--vscode-panel-border, #3c3c3c)",cardBackground:"var(--vscode-editorWidget-background, #252526)",cardHoverBorder:"var(--vscode-focusBorder, #007fd4)",accent:"var(--vscode-focusBorder, #007fd4)",accentForeground:"var(--vscode-button-foreground, #ffffff)",muted:"var(--vscode-descriptionForeground, #858585)",link:"var(--vscode-textLink-foreground, #3794ff)",inputBackground:"var(--vscode-input-background, #3c3c3c)",inputBorder:"var(--vscode-input-border, #3c3c3c)",inputForeground:"var(--vscode-input-foreground, #cccccc)",primaryBackground:"var(--vscode-button-background, #0e639c)",primaryForeground:"var(--vscode-button-foreground, #ffffff)",primaryHoverBackground:"var(--vscode-button-hoverBackground, #1177bb)",badgeBackground:r.blue600,badgeForeground:r.white,sidebarActiveBackground:"var(--vscode-list-activeSelectionBackground, #094771)",sidebarActiveForeground:"var(--vscode-list-activeSelectionForeground, #ffffff)",sidebarHoverBackground:"var(--vscode-list-hoverBackground, #2a2d2e)"}},o={colors:{background:"var(--vscode-editor-background, #ffffff)",foreground:"var(--vscode-editor-foreground, #1f1f1f)",border:"var(--vscode-panel-border, #e5e5e5)",cardBackground:"var(--vscode-editorWidget-background, #f8f8f8)",cardHoverBorder:"var(--vscode-focusBorder, #0078d4)",accent:"var(--vscode-focusBorder, #0078d4)",accentForeground:"var(--vscode-button-foreground, #ffffff)",muted:"var(--vscode-descriptionForeground, #717171)",link:"var(--vscode-textLink-foreground, #006ab1)",inputBackground:"var(--vscode-input-background, #ffffff)",inputBorder:"var(--vscode-input-border, #cecece)",inputForeground:"var(--vscode-input-foreground, #1f1f1f)",primaryBackground:"var(--vscode-button-background, #0078d4)",primaryForeground:"var(--vscode-button-foreground, #ffffff)",primaryHoverBackground:"var(--vscode-button-hoverBackground, #106ebe)",badgeBackground:r.blue600,badgeForeground:r.white,sidebarActiveBackground:"var(--vscode-list-activeSelectionBackground, #0060c0)",sidebarActiveForeground:"var(--vscode-list-activeSelectionForeground, #ffffff)",sidebarHoverBackground:"var(--vscode-list-hoverBackground, #f0f0f0)",skeletonShimmerRgb:"0, 0, 0",skeletonShimmerOpacity:"0.06"}},d={colors:{background:r.neutral900,foreground:r.gray200,border:r.neutral700,cardBackground:r.neutral850,cardHoverBorder:r.blue500,accent:r.blue500,accentForeground:r.white,muted:r.gray500,link:r.blue400,inputBackground:r.neutral800,inputBorder:r.neutral700,inputForeground:r.gray200,primaryBackground:r.blue600,primaryForeground:r.white,primaryHoverBackground:r.blue700,badgeBackground:r.blue600,badgeForeground:r.white,sidebarActiveBackground:r.blue700,sidebarActiveForeground:r.white,sidebarHoverBackground:r.neutral800}},a={colors:{background:r.white,foreground:r.gray900,border:r.gray200,cardBackground:r.gray50,cardHoverBorder:r.blue500,accent:r.blue600,accentForeground:r.white,muted:r.gray500,link:r.blue600,inputBackground:r.white,inputBorder:r.gray300,inputForeground:r.gray900,primaryBackground:r.blue600,primaryForeground:r.white,primaryHoverBackground:r.blue700,badgeBackground:r.blue600,badgeForeground:r.white,sidebarActiveBackground:r.blue600,sidebarActiveForeground:r.white,sidebarHoverBackground:r.gray100,skeletonShimmerRgb:"0, 0, 0",skeletonShimmerOpacity:"0.06"}};exports.darkTheme=d,exports.lightTheme=a,exports.themeToStyle=function(r){const{colors:e,radius:o,radiusLg:d,transition:a,fontSize:c,fontFamily:u}=r;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({"--usp-bg":e.background,"--usp-fg":e.foreground,"--usp-border":e.border,"--usp-card-bg":e.cardBackground,"--usp-card-hover-border":e.cardHoverBorder,"--usp-accent":e.accent,"--usp-primary-fg":e.accentForeground,"--usp-muted":e.muted,"--usp-link-fg":e.link,"--usp-input-bg":e.inputBackground,"--usp-input-border":e.inputBorder,"--usp-input-fg":e.inputForeground,"--usp-primary-bg":e.primaryBackground,"--usp-primary-hover-bg":e.primaryHoverBackground,"--usp-badge-bg":e.badgeBackground,"--usp-badge-fg":e.badgeForeground,"--usp-sidebar-active-bg":e.sidebarActiveBackground,"--usp-sidebar-active-fg":e.sidebarActiveForeground,"--usp-sidebar-hover-bg":e.sidebarHoverBackground},e.skeletonShimmerRgb&&{"--usp-skeleton-shimmer-rgb":e.skeletonShimmerRgb}),e.skeletonShimmerOpacity&&{"--usp-skeleton-shimmer-opacity":e.skeletonShimmerOpacity}),o&&{"--usp-radius":o}),d&&{"--usp-radius-lg":d}),a&&{"--usp-transition":a}),c&&{fontSize:c}),u&&{fontFamily:u})},exports.uspColorPalette=r,exports.uspVSCodeLightTheme=o,exports.vscodeTheme=e;
|
|
2
2
|
//# sourceMappingURL=UserStoryPicker.theme.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("../UserStoryPicker.context.js"),s=require("./UserStoryScopeDropdown.js");function o(){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("path",{d:"m12 19-7-7 7-7"}),e.jsx("path",{d:"M19 12H5"})]}))}function n(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"})}))}exports.BackNav=function({label:a,className:c,style:l,labelStyle:i,children:d}){var p;const{state:j,dispatch:u,classNames:v,renderProps:w,selectedProject:x,onViewChange:b}=r.useUSPContext(),k="project-detail"===j.viewMode,h="project-detail"===j.viewMode&&!j.selectedProjectId,y="favorites"===j.viewMode,_=t.useCallback(()=>y?(u({type:"SHOW_RECENT_IN_SPLIT"}),u({type:"SET_VIEW",payload:"project-detail"}),void(null==b||b("project-detail"))):h?(u({type:"SELECT_PROJECT",payload:null}),void(null==b||b("projects"))):void("project-detail"===j.viewMode?(u({type:"SELECT_PROJECT",payload:null}),null==b||b("projects")):"projects"===j.viewMode&&(u({type:"SET_VIEW",payload:"recent"}),null==b||b("recent"))),[y,h,j.viewMode,u,b]),S=null!==(p=null!=a?a:y?"View Shortlisted Story":void 0)&&void 0!==p?p:h?"Recent User Stories":"project-detail"===j.viewMode&&x?x.name:"Projects",g=["usp-back-nav",v.backNav,c].filter(Boolean).join(" ");return e.jsxs("div",Object.assign({className:g,style:l},{children:[e.jsxs("div",Object.assign({className:"usp-back-nav__left"},{children:[e.jsx("button",Object.assign({type:"button",className:"usp-back-nav__arrow",onClick:_},{children:w.renderBackIcon?w.renderBackIcon():e.jsx(o,{})})),"project-detail"===j.viewMode&&!h&&e.jsx("span",Object.assign({className:"usp-back-nav__icon"},{children:w.renderFolderIcon?w.renderFolderIcon():e.jsx(n,{})})),e.jsx("span",Object.assign({className:"usp-back-nav__label",style:i},{children:S}))]})),k&&e.jsx(s.UserStoryScopeDropdown,{})]}))};
|
|
2
2
|
//# sourceMappingURL=BackNav.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../UserStoryPicker.context.js");exports.Badge=function({type:n,value:s,label:t,className:a,style:u}){const{classNames:c,renderProps:l}=r.useUSPContext();if(l.renderBadge)return e.jsx(e.Fragment,{children:l.renderBadge(n,s)});const o=["usp-badge","new"===n&&"usp-badge--new","count"===n&&"usp-badge--count","new"===n&&c.badgeNew,"count"===n&&c.badgeCount,c.badge,a].filter(Boolean).join(" "),d=null!=t?t:"new"===n?"New":`${null!=s?s:0} Artifacts`;return e.jsx("span",Object.assign({className:o,style:u},{children:d}))};
|
|
2
2
|
//# sourceMappingURL=Badge.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react"),t=require("../UserStoryPicker.context.js");function r(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},{children:e.jsx("path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2"})}))}function o(){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("path",{d:"m15 9-6 6"}),e.jsx("path",{d:"m9 9 6 6"})]}))}exports.BrowseProjectsButton=function({label:n="Browse Projects",activeLabel:c="Browse All Projects",className:a,style:i}){const{state:l,dispatch:u,classNames:j,onViewChange:p}=t.useUSPContext(),d="projects"===l.viewMode||"project-detail"===l.viewMode,w=s.useCallback(()=>{d?(u({type:"SET_VIEW",payload:"recent"}),null==p||p("recent")):(u({type:"SET_VIEW",payload:"projects"}),null==p||p("projects"))},[d,u,p]),x=["usp-browse-btn",d&&"usp-browse-btn--active",j.browseToggle,a].filter(Boolean).join(" ");return e.jsxs("button",Object.assign({type:"button",className:x,style:i,onClick:w},{children:[e.jsx("span",Object.assign({className:"usp-browse-btn__icon"},{children:e.jsx(r,{})})),d?c:n,d&&e.jsx("span",Object.assign({className:"usp-browse-btn__close"},{children:e.jsx(o,{})}))]}))};
|
|
2
2
|
//# sourceMappingURL=BrowseProjectsButton.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var s=require("react/jsx-runtime"),e=require("../UserStoryPicker.context.js"),t=require("./UserStoryCard.js"),r=require("./ProjectCard.js");function a(){return s.jsxs("div",Object.assign({className:"usp-skeleton-card"},{children:[s.jsxs("div",Object.assign({className:"usp-skeleton-card__header"},{children:[s.jsx("div",{className:"usp-skeleton usp-skeleton--bookmark"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--id"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--title"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--radio"})]})),s.jsxs("div",Object.assign({className:"usp-skeleton-card__project"},{children:[s.jsx("div",{className:"usp-skeleton usp-skeleton--folder"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--project-name"})]})),s.jsx("div",{className:"usp-skeleton usp-skeleton--desc-line"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--desc-line usp-skeleton--desc-line-short"}),s.jsx("div",{className:"usp-skeleton usp-skeleton--date"})]}))}exports.CardGrid=function({className:i,style:l,children:n}){const{state:o,visibleStories:c,visibleProjects:d,classNames:j,renderProps:p,isLoadingStories:u,isLoadingProjects:m}=e.useUSPContext(),x="projects"===o.viewMode,k=x?m:u,v=x?d:c,N=0===v.length,y=["usp-card-grid",N&&!k&&"usp-card-grid--empty",j.cardGrid,i].filter(Boolean).join(" ");return"function"==typeof n?s.jsx("div",Object.assign({className:y,style:l},{children:n(v,o.viewMode)})):n?s.jsx("div",Object.assign({className:y,style:l},{children:n})):k&&N?s.jsx("div",Object.assign({className:y,style:l},{children:Array.from({length:4}).map((e,t)=>s.jsx(a,{},t))})):N?s.jsx("div",Object.assign({className:y,style:l},{children:s.jsx("div",Object.assign({className:"usp-card-grid__empty-state"},{children:p.renderEmptyState?p.renderEmptyState(o.viewMode):`No ${x?"projects":"user stories"} found`}))})):s.jsxs("div",Object.assign({className:y,style:l},{children:[" ",x?d.map(e=>s.jsx(r.ProjectCard,{project:e},e.id)):c.map(e=>s.jsx(t.UserStoryCard,{story:e},e.user_story_id)),k&&Array.from({length:4}).map((e,t)=>s.jsx(a,{},`skel-${t}`))]}))};
|
|
2
2
|
//# sourceMappingURL=CardGrid.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("../UserStoryPicker.context.js"),s=require("./UserStoryImportDialog.js");exports.CardProceedButton=function({story:i}){const{adapter:n,onProceed:a,hidePopUp:l,dispatch:d,classNames:c,renderProps:u}=o.useUSPContext(),{sendNotification:p,sendEvent:h,onProceedComplete:y}=n,[_,C]=r.useState(!1),[v,b]=r.useState(!1),g=r.useCallback((e,t)=>{null==p||p(e,t)},[p]),x=r.useCallback(t=>e.__awaiter(this,void 0,void 0,function*(){(null==i?void 0:i.artifact_id)?(C(!0),yield null==y?void 0:y({selectedStory:i,importChoice:t}),g(`You selected userStory ${null==i?void 0:i.storyId}: ${null==i?void 0:i.title}`,"info"),null==h||h({}),a(i)):g("Unable to fetch user story snapshot: missing artifact Id. Please reselect the story or try again.","error")}),[i,g,y,h,a]),j=r.useCallback(t=>e.__awaiter(this,void 0,void 0,function*(){t.stopPropagation(),d({type:"SELECT_STORY",payload:i.user_story_id}),!i.multi_user_story||l?yield x("all"):b(!0)}),[i,d,l,x]),m=r.useCallback(t=>e.__awaiter(this,void 0,void 0,function*(){b(!1),yield x(t)}),[x]),P=r.useCallback(e=>{b(e)},[]);return t.jsxs(t.Fragment,{children:[u.renderCardProceedButton?u.renderCardProceedButton(i,j,_):t.jsx("button",Object.assign({type:"button",className:["usp-card__proceed-btn",c.cardProceedButton].filter(Boolean).join(" "),onClick:j,disabled:_},{children:_?t.jsxs(t.Fragment,{children:[t.jsxs("svg",Object.assign({className:"usp-card__proceed-btn-spinner",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",width:"13",height:"13"},{children:[t.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"3"}),t.jsx("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]})),"Loading..."]}):"Proceed"})),t.jsx(s.UserStoryImportDialog,{open:v,onOpenChange:P,onConfirm:m})]})};
|
|
2
2
|
//# sourceMappingURL=CardProceedButton.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../UserStoryPicker.context.js");exports.ContentArea=function({className:r,style:s,children:n}){const{classNames:a}=t.useUSPContext(),c=["usp-content-area",a.contentArea,r].filter(Boolean).join(" ");return e.jsx("div",Object.assign({className:c,style:s},{children:n}))};
|
|
2
2
|
//# sourceMappingURL=ContentArea.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../UserStoryPicker.context.js");exports.Footer=function({className:s,style:t,children:o}){const{classNames:c}=r.useUSPContext(),i=["usp-footer",c.footer,s].filter(Boolean).join(" ");return e.jsx("div",Object.assign({className:i,style:t},{children:o}))};
|
|
2
2
|
//# sourceMappingURL=Footer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../UserStoryPicker.context.js"),s=require("../lib/adaptLabel.js");exports.Header=function({title:a,subtitle:l,className:r,style:i,titleStyle:n,subtitleStyle:c,children:o}){const{classNames:d,state:u}=t.useUSPContext();a=s.adaptLabel(a,u.typeBy),l=l?s.adaptLabel(l,u.typeBy):l;const j=["usp-header",d.header,r].filter(Boolean).join(" "),b=["usp-header__title",d.headerTitle].filter(Boolean).join(" "),p=["usp-header__subtitle",d.headerSubtitle].filter(Boolean).join(" ");return e.jsxs("div",Object.assign({className:j,style:i},{children:[e.jsx("h1",Object.assign({className:b,style:n},{children:a})),l&&e.jsx("p",Object.assign({className:p,style:c},{children:l})),o]}))};
|
|
2
2
|
//# sourceMappingURL=Header.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../UserStoryPicker.context.js");exports.NavRow=function({className:r,style:t,children:n}){const{classNames:o}=s.useUSPContext(),a=["usp-nav-row",o.navRow,r].filter(Boolean).join(" ");return e.jsx("div",Object.assign({className:a,style:t},{children:n}))};
|
|
2
2
|
//# sourceMappingURL=NavRow.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),o=require("react"),r=require("../UserStoryPicker.context.js"),s=require("./UserStoryImportDialog.js");exports.ProceedButton=function({label:i="Proceed",disableWhenNoSelection:l=!0,className:n,style:a}){const{selectedStory:c,classNames:d,onProceed:u,adapter:p,hidePopUp:y,dispatch:h}=r.useUSPContext(),{sendNotification:b,sendEvent:v,onProceedComplete:_}=p,m=l&&!c,[x,g]=o.useState(!1),[j,C]=o.useState(!1),f=o.useCallback((e,t)=>{null==b||b(e,t)},[b]),k=o.useCallback(t=>e.__awaiter(this,void 0,void 0,function*(){(null==c?void 0:c.artifact_id)?(g(!0),yield null==_?void 0:_({selectedStory:c,importChoice:t}),f(`You selected userStory ${null==c?void 0:c.storyId}: ${null==c?void 0:c.title}`,"info"),null==v||v({}),m||u(c)):f("Unable to fetch user story snapshot: missing artifact Id. Please reselect the story or try again.","error")}),[c,m,f,_,v,u]),S=o.useCallback(()=>e.__awaiter(this,void 0,void 0,function*(){m||(h({type:"SELECT_STORY",payload:c.user_story_id}),!(null==c?void 0:c.multi_user_story)||y?yield k("all"):C(!0))}),[c,m,y,k,h]),w=o.useCallback(e=>{C(e)},[]),P=o.useCallback(t=>e.__awaiter(this,void 0,void 0,function*(){C(!1),yield k(t)}),[k]),N=["usp-proceed",m&&"usp-proceed--disabled",d.proceedButton,n].filter(Boolean).join(" ");return t.jsxs(t.Fragment,{children:[t.jsx("button",Object.assign({type:"button",className:N,style:a,onClick:S,disabled:m||x},{children:x?t.jsxs(t.Fragment,{children:[t.jsxs("svg",Object.assign({className:"usp-card__proceed-btn-spinner",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",width:"13",height:"13"},{children:[t.jsx("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeOpacity:"0.3",strokeWidth:"3"}),t.jsx("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round"})]})),"Loading..."]}):i})),t.jsx(s.UserStoryImportDialog,{open:j,onOpenChange:w,onConfirm:P})]})};
|
|
2
2
|
//# sourceMappingURL=ProceedButton.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),s=require("../UserStoryPicker.context.js");function t(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"})}))}function a(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"})}))}function n(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"})}))}function o(e){try{return new Date(e).toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}catch(r){return e}}exports.ProjectCard=function({project:i,className:c,style:l,headerStyle:d,titleStyle:u,descriptionStyle:p,metaStyle:j}){var h,m;const{dispatch:x,classNames:g,renderProps:b,onProjectSelect:v,onViewMoreDescription:y}=s.useUSPContext(),[f,_]=r.useState(!1),k=r.useCallback(e=>{e.stopPropagation(),_(e=>!e)},[]),w=f?i.description:(null!==(m=null===(h=i.description)||void 0===h?void 0:h.length)&&void 0!==m?m:0)>100?i.description.slice(0,100):i.description,S=i.description.length>100,C=r.useCallback(()=>{x({type:"SELECT_PROJECT",payload:i.id}),null==v||v(i)},[x,i,v]);r.useCallback(e=>{e.stopPropagation(),null==y||y(i)},[y,i]);const O=["usp-card usp-card--project",g.card,c].filter(Boolean).join(" ");return b.renderProjectCard?e.jsx(e.Fragment,{children:b.renderProjectCard(i)}):e.jsxs("div",Object.assign({className:O,style:l,onClick:C,role:"button",tabIndex:0},{children:[e.jsxs("div",Object.assign({className:["usp-card__header",g.cardHeader].filter(Boolean).join(" "),style:d},{children:[e.jsx("span",Object.assign({className:"usp-card__icon"},{children:b.renderFolderIcon?b.renderFolderIcon():e.jsx(t,{})})),e.jsx("span",Object.assign({className:["usp-card__title",g.cardTitle].filter(Boolean).join(" "),style:u},{children:i.name})),e.jsxs("span",Object.assign({className:["usp-card__artifact-count",g.cardArtifactCount].filter(Boolean).join(" ")},{children:[e.jsx(n,{}),i.artifactCount," Artifacts"]}))]})),void 0!==i.summary&&e.jsxs("div",Object.assign({className:["usp-card__summary-label",g.cardSummaryLabel].filter(Boolean).join(" ")},{children:[b.renderSparkleIcon?b.renderSparkleIcon():e.jsx(a,{}),"Summary"]})),e.jsx("div",Object.assign({className:["usp-card-userstory-description",!i.description&&"usp-card__description--empty",g.cardDescription].filter(Boolean).join(" "),style:p},{children:i.description?e.jsxs(e.Fragment,{children:[w,S&&e.jsx("button",Object.assign({onClick:k,className:["usp-card-moreButton",g.cardViewMore].filter(Boolean).join(" "),"aria-label":f?"Show less":"Show more"},{children:f?"less":"..."}))]}):e.jsx("span",Object.assign({className:"usp-card__description--placeholder"},{children:"No Description available"}))})),e.jsx("div",Object.assign({className:"usp-card__meta",style:j},{children:e.jsxs("span",Object.assign({className:["usp-card__date",g.cardDate].filter(Boolean).join(" ")},{children:["Last Updated: ",o(i.lastUpdated)]}))}))]}))};
|
|
2
2
|
//# sourceMappingURL=ProjectCard.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("../lib/cn.js"),t=require("../lib/CustomTooltip.js");function o({isCollapsed:o,onToggle:n,className:i,style:l}){return e.jsx(t.default,Object.assign({content:o?"Open Sidebar":"Close Sidebar"},{children:e.jsx("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),n()},onMouseDown:e=>e.stopPropagation(),className:s.cn("fm-resize-toggle",o?"fm-resize-toggle--collapsed":"fm-resize-toggle--open",i),"aria-label":o?"Expand panel":"Collapse panel",style:l},{children:o?e.jsx(a,{className:"h-3.5 w-3.5 text-primary-foreground"}):e.jsx(r,{className:"h-3.5 w-3.5 text-primary-foreground"})}))}))}function n({className:s}){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:s},{children:[e.jsx("line",{x1:"9",y1:"5",x2:"9",y2:"19"}),e.jsx("line",{x1:"15",y1:"5",x2:"15",y2:"19"})]}))}function r({className:s}){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:s},{children:e.jsx("path",{d:"M15 18l-6-6 6-6"})}))}function a({className:s}){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:s},{children:e.jsx("path",{d:"M9 18l6-6-6-6"})}))}exports.ResizeHandle=function({visualLeftWidth:t,isResizing:r,isLeftPanelCollapsed:a,onResizeStart:i,onToggle:l}){return e.jsxs("div",Object.assign({className:s.cn("absolute top-0 bottom-0 z-10 group",!a&&"cursor-col-resize"),style:{left:a?0:`${t}%`,width:a?0:9,marginLeft:a?0:-4,pointerEvents:"auto"},onMouseDown:a?void 0:i},{children:[e.jsx("div",{className:s.cn("absolute left-1/2 top-0 bottom-0 -translate-x-1/2","transition-all duration-150",a&&"opacity-0 pointer-events-none",r?"w-[2px] bg-focus-border":"w-px bg-editor-widget-border group-hover:w-[2px] group-hover:bg-sash-hover-border")}),!a&&!r&&e.jsx("div",Object.assign({className:s.cn("absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2","pointer-events-none","opacity-0 group-hover:opacity-60 transition-opacity duration-200")},{children:e.jsx(n,{className:"h-4 w-4 text-description-foreground"})})),e.jsx(o,{isCollapsed:a,onToggle:l,className:"absolute transition-all duration-200",style:{left:a?2:"50%",top:6,transform:a?"translateY(0)":"translate(-100%, 0)",zIndex:20}})]}))};
|
|
2
2
|
//# sourceMappingURL=ResizeHandle.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react"),o=require("../UserStoryPicker.context.js");function r(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"m18 15-6-6-6 6"})}))}function t(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"m6 9 6 6 6-6"})}))}const n=[{value:"currentRepository",label:"Current Repository"},{value:"allRepository",label:"All Repositories"}];exports.ScopeDropdown=function({options:l=n,className:c,style:i,labelStyle:a,selectStyle:u}){var p,d;const{state:j,dispatch:v,classNames:x,renderProps:b,onScopeRepoChange:g}=o.useUSPContext(),[m,y]=s.useState(!1),h=s.useRef(null),f=s.useCallback(e=>{v({type:"SET_SCOPE_REPO",payload:e}),null==g||g(e),y(!1)},[v,g]);if(s.useEffect(()=>{function e(e){h.current&&!h.current.contains(e.target)&&y(!1)}return m&&document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[m]),b.renderScopeDropdown)return b.renderScopeDropdown(j.scopeRepo,f,l);const w=null!==(d=null===(p=l.find(e=>e.value===j.scopeRepo))||void 0===p?void 0:p.label)&&void 0!==d?d:l[0].label,_=["usp-user-story-scope",x.scopeDropdown,c].filter(Boolean).join(" ");return e.jsxs("div",Object.assign({ref:h,className:[_,m&&"open"].filter(Boolean).join(" "),style:i},{children:[e.jsxs("button",Object.assign({type:"button",className:"usp-user-story-scope__trigger",style:u,onClick:()=>y(e=>!e)},{children:[e.jsx("span",Object.assign({className:"usp-user-story-scope__trigger-label"},{children:w})),e.jsx("span",Object.assign({className:"usp-user-story-scope__chevron"},{children:m?e.jsx(r,{}):e.jsx(t,{})}))," "]})),m&&e.jsx("ul",Object.assign({className:"usp-user-story-scope__menu",role:"listbox"},{children:l.map(s=>e.jsx("li",Object.assign({role:"option","aria-selected":j.scopeRepo===s.value,className:["usp-user-story-scope__option",j.scopeRepo===s.value&&"active"].filter(Boolean).join(" "),onClick:()=>f(s.value)},{children:s.label}),s.value))}))]}))};
|
|
2
2
|
//# sourceMappingURL=ScopeDropdown.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),s=require("../UserStoryPicker.context.js"),t=require("../lib/adaptLabel.js");function a(){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("circle",{cx:"11",cy:"11",r:"8"}),e.jsx("path",{d:"m21 21-4.3-4.3"})]}))}exports.SearchInput=function({placeholder:n="Search...",className:c,style:o,inputStyle:l,iconStyle:i,scope:u="main"}){const{state:p,dispatch:d,classNames:h,renderProps:y,onSearch:j}=s.useUSPContext();n=t.adaptLabel(n,p.typeBy);const x=r.useCallback(e=>{const r=e.target.value;"sidebar"===u?d({type:"SET_SIDEBAR_SEARCH",payload:r}):(d({type:"SET_SEARCH",payload:r}),null==j||j(r))},[d,j,u]),S="sidebar"===u?p.sidebarSearchQuery:p.searchQuery,b=["usp-search__input",h.searchInput,c].filter(Boolean).join(" "),m=["usp-search__icon",h.searchIcon].filter(Boolean).join(" ");return e.jsxs("div",Object.assign({className:"usp-search",style:o},{children:[e.jsx("span",Object.assign({className:m,style:i},{children:y.renderSearchIcon?y.renderSearchIcon():e.jsx(a,{})})),e.jsx("input",{type:"text",className:b,style:l,placeholder:n,value:S,onChange:x})]}))};
|
|
2
2
|
//# sourceMappingURL=SearchInput.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),n=require("../UserStoryPicker.context.js"),s=require("./UserStoryScopeDropdown.js"),t=require("../lib/adaptLabel.js");function o(){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("path",{d:"m12 19-7-7 7-7"}),e.jsx("path",{d:"M19 12H5"})]}))}function r(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z"})}))}function i(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z"})}))}function c(){return e.jsxs("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:[e.jsx("circle",{cx:"12",cy:"12",r:"10"}),e.jsx("polyline",{points:"12 6 12 12 16 14"})]}))}exports.SectionHeading=function({label:a,icon:l,className:u,style:d,iconStyle:j,labelStyle:x,showBackButton:p,onBack:g}){const{classNames:h,state:w}=n.useUSPContext();a=t.adaptLabel(a,w.typeBy);const k="recent"===w.viewMode,f=["usp-section-heading",h.sectionHeading,u].filter(Boolean).join(" "),b=function(n){if("string"==typeof n)switch(n){case"bookmark":return e.jsx(r,{});case"folder":return e.jsx(i,{});case"recent":return e.jsx(c,{});default:return null}return null!=n?n:null}(l);return e.jsxs("div",Object.assign({className:f,style:d},{children:[e.jsxs("div",Object.assign({className:["usp-section-heading__left",h.sectionHeadingLeft].filter(Boolean).join(" ")},{children:[p&&e.jsx("button",Object.assign({type:"button",className:"usp-section-heading__back",onClick:g},{children:e.jsx(o,{})})),b&&e.jsx("span",Object.assign({className:["usp-section-heading__icon",h.sectionHeadingLeft].filter(Boolean).join(" "),style:j},{children:b})),e.jsx("span",Object.assign({style:x},{children:a}))]})),k&&e.jsx(s.UserStoryScopeDropdown,{})]}))};
|
|
2
2
|
//# sourceMappingURL=SectionHeading.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("../UserStoryPicker.context.js");exports.ShowMore=function({label:o="Show more",className:s,style:i}){const{state:l,dispatch:n,classNames:a,hasMoreStories:c,hasMoreProjects:u,loadMoreStories:h,loadMoreProjects:j,isLoadingStories:d,isLoadingProjects:S,visibleStories:M,visibleProjects:b,filteredStories:p,filteredProjects:P,onShowMore:f}=r.useUSPContext(),g="projects"===l.viewMode,m=g?S:d,w=g?u:c,x=g?b:M,y=(g?P:p).length>x.length,v=y||w,O=t.useCallback(()=>{n({type:"SHOW_MORE"}),y||(g?j():h()),null==f||f()},[n,y,g,j,h,f]);if(0===x.length)return null;if(m||!v)return null;const k=["usp-show-more",a.showMore,s].filter(Boolean).join(" ");return e.jsx("button",Object.assign({type:"button",className:k,style:i,onClick:O},{children:o}))};
|
|
2
2
|
//# sourceMappingURL=ShowMore.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("../UserStoryPicker.context.js");exports.Sidebar=function({className:s,style:t,children:n,visualLeftWidth:r,isLeftPanelClosing:a,isResizing:o,isLeftPanelCollapsed:l}){const{classNames:c}=i.useUSPContext(),d=["usp-sidebar","flex flex-col flex-shrink-0 bg-editor-background min-h-0 overflow-y-auto",!o&&"transition-[width,opacity] duration-150 ease-in-out",(l||a)&&"opacity-0 pointer-events-none",c.sidebar,s].filter(Boolean).join(" ");return e.jsx("nav",Object.assign({className:d,style:Object.assign(Object.assign({},t),{width:`${r}%`,flexShrink:0,willChange:"width",minWidth:l?0:"10px"})},{children:n}))};
|
|
2
2
|
//# sourceMappingURL=Sidebar.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),s=require("react"),t=require("../UserStoryPicker.context.js");function r(){return e.jsx("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:e.jsx("path",{d:"M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"})}))}exports.SidebarFavoritesList=function({className:i,style:o,itemStyle:a}){const{favoriteStories:n,hasMoreFavoriteStories:c,loadMoreFavoriteStories:l,isLoadingFavoriteStories:d,state:u,dispatch:j,classNames:p,onStorySelect:b}=t.useUSPContext(),m=n,h=s.useCallback(e=>{j({type:"SELECT_STORY",payload:e.user_story_id}),null==b||b(e)},[j,b]),v=["usp-sidebar-project-list",i].filter(Boolean).join(" ");return d&&0===m.length?e.jsx("div",Object.assign({className:v,style:o},{children:["55%","70%","45%"].map((s,t)=>e.jsxs("div",Object.assign({className:"usp-sidebar-skeleton-row"},{children:[e.jsx("div",{className:"usp-skeleton usp-skeleton--sidebar-icon"}),e.jsx("div",{className:"usp-skeleton usp-skeleton--sidebar-name",style:{width:s}})]}),t))})):d||0!==m.length?e.jsxs("div",Object.assign({className:v,style:o},{children:[m.map(s=>{const t=u.selectedStoryId===s.user_story_id,i=["usp-sidebar-project",t&&"usp-sidebar-project--active",t&&p.sidebarProjectActive,p.sidebarProject].filter(Boolean).join(" ");return e.jsxs("button",Object.assign({type:"button",className:i,style:a,onClick:()=>h(s)},{children:[e.jsx("span",Object.assign({className:"usp-sidebar-project__icon usp-sidebar-project__icon--heart"},{children:e.jsx(r,{})})),e.jsxs("span",Object.assign({className:"usp-sidebar-project__name"},{children:[s.storyId,": ",s.title]}))]}),`${s.projectId}:${s.storyId}`)}),d&&e.jsxs("div",Object.assign({className:"usp-sidebar-skeleton-row"},{children:[e.jsx("div",{className:"usp-skeleton usp-skeleton--sidebar-icon"}),e.jsx("div",{className:"usp-skeleton usp-skeleton--sidebar-name",style:{width:"60%"}})]})),!d&&c&&e.jsx("button",Object.assign({type:"button",className:["usp-show-more",p.showMore].filter(Boolean).join(" "),onClick:l},{children:"Show more"}))]})):e.jsx("div",Object.assign({className:"usp-sidebar-favorites__empty"},{children:"No favorites yet"}))};
|
|
2
2
|
//# sourceMappingURL=SidebarFavoritesList.js.map
|