@viswa-test/test-citation 0.0.378 → 0.0.381
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/README.md +151 -0
- package/dist/assests/icons/InfoAlert.js +2 -0
- package/dist/assests/icons/InfoAlert.js.map +1 -0
- package/dist/cjs/assests/icons/InfoAlert.js +2 -0
- package/dist/cjs/assests/icons/InfoAlert.js.map +1 -0
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
- package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
- package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
- package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
- package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
- package/dist/cjs/features/PdfViewer/rotationManager.js +2 -0
- package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -0
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +2 -0
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
- package/dist/cjs/features/PromptCitation/PromptCitation.js +2 -0
- package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -0
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +2 -0
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -0
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +2 -0
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.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/ManualNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.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/Popups/DeviationSummary.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.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/cws/CwsEvent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.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/FileCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.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/segment/Segment.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/helpers.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js +2 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/helper.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -0
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/service/redlineService.js +1 -1
- package/dist/cjs/utils/tagHelper.js +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/features/ParentCitationComponent/ParentCitationComponent.js +2 -0
- package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +1 -0
- package/dist/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/PdfViewer/nyc-components/BoundaryCard.js +2 -0
- package/dist/features/PdfViewer/nyc-components/BoundaryCard.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/CardWrapper.js +2 -0
- package/dist/features/PdfViewer/nyc-components/CardWrapper.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js +2 -0
- package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/LabelCheck.js +2 -0
- package/dist/features/PdfViewer/nyc-components/LabelCheck.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +2 -0
- package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/infoAlert.js +2 -0
- package/dist/features/PdfViewer/nyc-components/infoAlert.js.map +1 -0
- package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js +2 -0
- package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +1 -0
- package/dist/features/PdfViewer/rotationManager.js +2 -0
- package/dist/features/PdfViewer/rotationManager.js.map +1 -0
- package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js +2 -0
- package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -0
- package/dist/features/PromptCitation/PromptCitation.js +2 -0
- package/dist/features/PromptCitation/PromptCitation.js.map +1 -0
- package/dist/features/PromptCitation/_components/CodeEditor.js +2 -0
- package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -0
- package/dist/features/PromptCitation/_components/Markdownrenderer.js +2 -0
- package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -0
- package/dist/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.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/Popups/DeviationSummary.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/HistoryMenu.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.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/cws/CwsEvent.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/cws/SocketManager.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/FileCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAI/components/citations/file-citation/FileCitationRender.js +1 -1
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.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/segment/Segment.js +1 -1
- package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.module.css.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.js +1 -1
- package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/features/RequirementAI/utils/helpers.js +1 -1
- package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.js +2 -0
- package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -0
- package/dist/features/SegmentReviewComponents/BoundaryCard.js +2 -0
- package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -0
- package/dist/features/SegmentReviewComponents/CardWrapper.js +2 -0
- package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -0
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +2 -0
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -0
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js +2 -0
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -0
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +2 -0
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -0
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +2 -0
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -0
- package/dist/features/SegmentReviewComponents/LabelCheck.js +2 -0
- package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -0
- package/dist/features/SegmentReviewComponents/PageCheck.js +2 -0
- package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -0
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +2 -0
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -0
- package/dist/features/SegmentReviewComponents/RevertCard.js +2 -0
- package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -0
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +2 -0
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -0
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +2 -0
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -0
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +2 -0
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -0
- package/dist/features/SegmentReviewComponents/ReviewedCard.js +2 -0
- package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -0
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +2 -0
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -0
- package/dist/features/SegmentReviewComponents/helper.js +2 -0
- package/dist/features/SegmentReviewComponents/helper.js.map +1 -0
- package/dist/features/SegmentReviewComponents/reviewScore.js +2 -0
- package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -0
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +2 -0
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/service/redlineService.js +1 -1
- package/dist/types/src/CitationDependencyGraphTest.d.ts +4 -0
- package/dist/types/src/CitationDependencyGraphTest.d.ts.map +1 -0
- package/dist/types/src/RedlineApprovalCardTest.d.ts +1 -0
- package/dist/types/src/RedlineApprovalCardTest.d.ts.map +1 -0
- package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
- package/dist/types/src/RedlineEditorTest2.d.ts +3 -0
- package/dist/types/src/RedlineEditorTest2.d.ts.map +1 -0
- package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +3 -0
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +1 -0
- package/dist/types/src/assests/icons/InfoAlert.d.ts +3 -0
- package/dist/types/src/assests/icons/InfoAlert.d.ts.map +1 -0
- package/dist/types/src/commonConstants.d.ts +31103 -0
- package/dist/types/src/commonConstants.d.ts.map +1 -0
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +1 -0
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -12
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +456 -11335
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +1 -14
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +1 -2
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts +2 -0
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +1 -2
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/types.d.ts +0 -11
- package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -2
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -1
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +128 -0
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +1 -0
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +13 -0
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +4 -2
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +4 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +19 -2
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +41 -0
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts +59 -0
- package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts +19 -0
- package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts +3 -0
- package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts +77 -0
- package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts +47 -0
- package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts +15 -0
- package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts +3 -0
- package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts +36 -0
- package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts +23 -0
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +1 -0
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +1 -1
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +326 -0
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +4 -0
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +16 -0
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +8 -0
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +29 -39
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InitialHtml.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ManualNode.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts +5439 -84
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/userstory.mock.data.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ManualEditPopup.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +2 -2
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -20
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts +2 -7
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEvent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/CwsEventProvider.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts +1 -15
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/SocketManager.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts +1 -2
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/cws/useCwsEvent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +2 -3
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +0 -1
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts +0 -1
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationRender.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +2 -3
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +1 -3
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +1 -2
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +0 -1
- package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts +1 -2
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +1 -2
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +0 -7
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +1 -2
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -1
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +3 -0
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +13 -0
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +51 -0
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts +2 -0
- package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts +25 -0
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
- package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts +2 -0
- package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +8 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/dist/types/src/service/redlineService.d.ts.map +1 -1
- package/dist/types/src/utils/tagHelper.d.ts +0 -9
- package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
- package/dist/utils/tagHelper.js +1 -1
- package/package.json +12 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
- package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +0 -2
- package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +0 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +0 -2
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +0 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +0 -2
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +0 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js +0 -2
- package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +0 -1
- package/dist/features/RequirementAI/utils/exponential-retry.js +0 -2
- package/dist/features/RequirementAI/utils/exponential-retry.js.map +0 -1
- package/dist/types/src/CitationAccordionTest.d.ts +0 -1
- package/dist/types/src/CitationAccordionTest.d.ts.map +0 -1
- package/dist/types/src/MockDeviationSummary.d.ts +0 -1
- package/dist/types/src/MockDeviationSummary.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +0 -33
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts +0 -3
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts +0 -7
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +0 -29
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts +0 -2
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +0 -7
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +0 -3
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +0 -86
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts +0 -9
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +0 -7
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts +0 -5
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +0 -10
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +0 -17
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +0 -23
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +0 -3
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts +0 -12
- package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +0 -9
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +0 -12
- package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface BoundaryCardOption {
|
|
4
|
+
id: string;
|
|
5
|
+
title: ReactNode;
|
|
6
|
+
description?: ReactNode;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
export type BoundaryReviewAction = 'KEEP' | 'SPLIT_HERE' | 'MERGE_NEXT' | 'MERGE_PREVIOUS' | 'SET_RANGE';
|
|
10
|
+
export interface BoundaryReviewMetadata {
|
|
11
|
+
focus_page?: number | null;
|
|
12
|
+
boundary_margin?: number | null;
|
|
13
|
+
user_actions: readonly BoundaryReviewAction[];
|
|
14
|
+
}
|
|
15
|
+
export interface BoundaryReviewConfirmDetails {
|
|
16
|
+
selectedIndex: number;
|
|
17
|
+
option: BoundaryCardOption;
|
|
18
|
+
metadata?: BoundaryReviewMetadata;
|
|
19
|
+
}
|
|
20
|
+
export interface BoundaryCardStyles {
|
|
21
|
+
root?: SxProps<Theme>;
|
|
22
|
+
header?: SxProps<Theme>;
|
|
23
|
+
option?: SxProps<Theme>;
|
|
24
|
+
confirmButton?: SxProps<Theme>;
|
|
25
|
+
footer?: SxProps<Theme>;
|
|
26
|
+
}
|
|
27
|
+
export declare const isBoundaryReviewAction: (value: string) => value is BoundaryReviewAction;
|
|
28
|
+
export declare const createBoundaryCardOptions: (metadata: BoundaryReviewMetadata) => BoundaryCardOption[];
|
|
29
|
+
export interface BoundaryCardProps {
|
|
30
|
+
headerName?: ReactNode;
|
|
31
|
+
title: ReactNode;
|
|
32
|
+
pageNo?: ReactNode;
|
|
33
|
+
content?: ReactNode;
|
|
34
|
+
cognitiveScore?: ReactNode;
|
|
35
|
+
config?: readonly BoundaryCardOption[];
|
|
36
|
+
metadata?: BoundaryReviewMetadata;
|
|
37
|
+
selectedIndex?: number | null;
|
|
38
|
+
defaultSelectedIndex?: number | null;
|
|
39
|
+
onSelectionChange?: (selectedIndex: number, option: BoundaryCardOption) => void;
|
|
40
|
+
onConfirm?: (selectedIndex: number, option: BoundaryCardOption) => void;
|
|
41
|
+
onActionConfirm?: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails) => void;
|
|
42
|
+
onCognitiveClick?: () => void;
|
|
43
|
+
onAdjustManually?: () => void;
|
|
44
|
+
onClose?: () => void;
|
|
45
|
+
confirmLabel?: ReactNode;
|
|
46
|
+
manualPrompt?: ReactNode;
|
|
47
|
+
manualActionLabel?: ReactNode;
|
|
48
|
+
cognitiveLabel?: ReactNode;
|
|
49
|
+
showAdjustManually?: boolean;
|
|
50
|
+
showCognitiveIntegrity?: boolean;
|
|
51
|
+
showCloseButton?: boolean;
|
|
52
|
+
confirmDisabled?: boolean;
|
|
53
|
+
width?: number | string;
|
|
54
|
+
maxWidth?: number | string;
|
|
55
|
+
className?: string;
|
|
56
|
+
styles?: BoundaryCardStyles;
|
|
57
|
+
}
|
|
58
|
+
export default function BoundaryCard({ headerName, title, pageNo, content, cognitiveScore, config, metadata, selectedIndex, defaultSelectedIndex, onSelectionChange, onConfirm, onActionConfirm, onCognitiveClick, onAdjustManually, onClose, confirmLabel, manualPrompt, manualActionLabel, cognitiveLabel, showAdjustManually, showCognitiveIntegrity, showCloseButton, confirmDisabled, width, maxWidth, className, styles, }: BoundaryCardProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
+
//# sourceMappingURL=BoundaryCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BoundaryCard.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/BoundaryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAa1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAY3D,MAAM,WAAW,kBAAkB;IACjC,EAAE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B,EAChB,OAAO,EACP,YAAwB,EACxB,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,iBAAiB,2CAmPnB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { type ReactNode, type RefObject } from 'react';
|
|
2
|
+
import type { PopperProps } from '@mui/material/Popper';
|
|
3
|
+
export interface CardWrapperProps {
|
|
4
|
+
/** Reference to the element the card is attached to. */
|
|
5
|
+
anchorRef?: RefObject<HTMLElement>;
|
|
6
|
+
/** Anchor element itself (alternative to anchorRef). */
|
|
7
|
+
anchorElement?: HTMLElement | null;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
/** Pixel offset from the anchor's bottom-left corner. */
|
|
11
|
+
offset?: {
|
|
12
|
+
top?: number;
|
|
13
|
+
left?: number;
|
|
14
|
+
};
|
|
15
|
+
placement?: PopperProps['placement'];
|
|
16
|
+
}
|
|
17
|
+
/** Renders a scrollable card in a portal, anchored below another element. */
|
|
18
|
+
export default function CardWrapper({ anchorRef, anchorElement, children, className, offset, placement, }: CardWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
//# sourceMappingURL=CardWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/CardWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA6B,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlF,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,MAAM,WAAW,gBAAgB;IAC/B,wDAAwD;IACxD,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,wDAAwD;IACxD,aAAa,CAAC,EAAE,WAAW,GAAG,IAAI,CAAC;IACnC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,MAAM,CAAC,EAAE;QAAE,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC;IACzC,SAAS,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,CAAC;CACtC;AAED,6EAA6E;AAC7E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,SAAS,EACT,MAAW,EACX,SAA0B,GAC3B,EAAE,gBAAgB,2CAsClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CognitiveIcon.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/CognitiveIcon.tsx"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,YAAY,2CAexD"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface LabelCheckOption {
|
|
4
|
+
/** Stable value returned with the selected option. */
|
|
5
|
+
id: string;
|
|
6
|
+
title: ReactNode;
|
|
7
|
+
description?: ReactNode;
|
|
8
|
+
/** Displays the custom-label field when this option is selected. */
|
|
9
|
+
requiresInput?: boolean;
|
|
10
|
+
inputPlaceholder?: string;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
}
|
|
13
|
+
export type LabelReviewAction = 'KEEP_LABEL' | 'SET_CUSTOM_LABEL';
|
|
14
|
+
/** Metadata supplied by a `Label Review` review step. */
|
|
15
|
+
export interface LabelReviewMetadata {
|
|
16
|
+
current_label?: string | null;
|
|
17
|
+
custom_label?: string | null;
|
|
18
|
+
group_id?: string | null;
|
|
19
|
+
user_actions: readonly LabelReviewAction[];
|
|
20
|
+
}
|
|
21
|
+
export interface LabelReviewConfirmDetails {
|
|
22
|
+
selectedIndex: number;
|
|
23
|
+
option: LabelCheckOption;
|
|
24
|
+
customLabel?: string;
|
|
25
|
+
metadata?: LabelReviewMetadata;
|
|
26
|
+
}
|
|
27
|
+
export declare const createLabelCheckOptions: (metadata: LabelReviewMetadata) => LabelCheckOption[];
|
|
28
|
+
export declare const isLabelReviewAction: (value: string) => value is LabelReviewAction;
|
|
29
|
+
export interface LabelCheckStyles {
|
|
30
|
+
root?: SxProps<Theme>;
|
|
31
|
+
header?: SxProps<Theme>;
|
|
32
|
+
option?: SxProps<Theme>;
|
|
33
|
+
confirmButton?: SxProps<Theme>;
|
|
34
|
+
customInput?: SxProps<Theme>;
|
|
35
|
+
footer?: SxProps<Theme>;
|
|
36
|
+
}
|
|
37
|
+
export interface LabelCheckProps {
|
|
38
|
+
headerName?: ReactNode;
|
|
39
|
+
title: ReactNode;
|
|
40
|
+
pageNo?: ReactNode;
|
|
41
|
+
content?: ReactNode;
|
|
42
|
+
cognitiveScore?: ReactNode;
|
|
43
|
+
/** Explicit options. When omitted, options are derived from metadata.user_actions. */
|
|
44
|
+
config?: readonly LabelCheckOption[];
|
|
45
|
+
/** Metadata from a review step whose type is `Label Review`. */
|
|
46
|
+
metadata?: LabelReviewMetadata;
|
|
47
|
+
/** Controlled selection. Omit to let LabelCheck manage it internally. */
|
|
48
|
+
selectedIndex?: number | null;
|
|
49
|
+
defaultSelectedIndex?: number | null;
|
|
50
|
+
onSelectionChange?: (selectedIndex: number, option: LabelCheckOption) => void;
|
|
51
|
+
/** Controlled custom-label value. Omit to use internal state. */
|
|
52
|
+
customLabel?: string;
|
|
53
|
+
defaultCustomLabel?: string;
|
|
54
|
+
onCustomLabelChange?: (value: string) => void;
|
|
55
|
+
/** Legacy/index-based callback retained for explicitly configured options. */
|
|
56
|
+
onConfirm?: (selectedIndex: number, option: LabelCheckOption, customLabel?: string) => void;
|
|
57
|
+
/** Preferred callback when options come from Label Review metadata. */
|
|
58
|
+
onActionConfirm?: (action: LabelReviewAction, details: LabelReviewConfirmDetails) => void;
|
|
59
|
+
onCognitiveClick?: () => void;
|
|
60
|
+
onAdjustManually?: () => void;
|
|
61
|
+
onClose?: () => void;
|
|
62
|
+
confirmLabel?: ReactNode;
|
|
63
|
+
customInputAriaLabel?: string;
|
|
64
|
+
manualPrompt?: ReactNode;
|
|
65
|
+
manualActionLabel?: ReactNode;
|
|
66
|
+
cognitiveLabel?: ReactNode;
|
|
67
|
+
showAdjustManually?: boolean;
|
|
68
|
+
showCognitiveIntegrity?: boolean;
|
|
69
|
+
showCloseButton?: boolean;
|
|
70
|
+
confirmDisabled?: boolean;
|
|
71
|
+
width?: number | string;
|
|
72
|
+
maxWidth?: number | string;
|
|
73
|
+
className?: string;
|
|
74
|
+
styles?: LabelCheckStyles;
|
|
75
|
+
}
|
|
76
|
+
export default function LabelCheck({ headerName, title, pageNo, content, cognitiveScore, config, metadata, selectedIndex, defaultSelectedIndex, onSelectionChange, customLabel, defaultCustomLabel, onCustomLabelChange, onConfirm, onActionConfirm, onCognitiveClick, onAdjustManually, onClose, confirmLabel, customInputAriaLabel, manualPrompt, manualActionLabel, cognitiveLabel, showAdjustManually, showCognitiveIntegrity, showCloseButton, confirmDisabled, width, maxWidth, className, styles, }: LabelCheckProps): import("react/jsx-runtime").JSX.Element;
|
|
77
|
+
//# sourceMappingURL=LabelCheck.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LabelCheck.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/LabelCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAc1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAY3D,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S,CAAC;IAC3B,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,gBAAgB,CAAC;CAC3B;AAED,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,UAA0B,EAC1B,KAAK,EACL,MAAM,EACN,OAA8G,EAC9G,cAAc,EACd,MAAM,EACN,QAAQ,EACR,aAAa,EACb,oBAA2B,EAC3B,iBAAiB,EACjB,WAAW,EACX,kBAAkB,EAClB,mBAAmB,EACnB,SAAS,EACT,eAAe,EACf,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,EACP,YAAwB,EACxB,oBAA8C,EAC9C,YAA8C,EAC9C,iBAAqC,EACrC,cAAsC,EACtC,kBAAyB,EACzB,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,eAAe,2CAkSjB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type PdfViewerProps } from '../PdfViewer';
|
|
3
|
+
import { type BoundaryReviewAction, type BoundaryReviewConfirmDetails } from './BoundaryCard';
|
|
4
|
+
import { type LabelReviewAction, type LabelReviewConfirmDetails } from './LabelCheck';
|
|
5
|
+
import { type SegmentReviewSource } from './reviewStepAdapters';
|
|
6
|
+
type ForwardedPdfViewerProps = Partial<Omit<PdfViewerProps, 'pdfUrl' | 'pdfName' | 'segments' | 'onCurrentPageChange' | 'navigationRequest' | 'renderPage' | 'setRenderRange'>>;
|
|
7
|
+
export interface SegmentReviewActionContext {
|
|
8
|
+
reviewId: string;
|
|
9
|
+
segment: SegmentReviewSource;
|
|
10
|
+
pageNumber: number;
|
|
11
|
+
}
|
|
12
|
+
export interface SegmentReviewPdfWrapperProps {
|
|
13
|
+
pdfUrl: string;
|
|
14
|
+
pdfName?: string;
|
|
15
|
+
/** Live backend segments. Changes are re-extracted automatically. */
|
|
16
|
+
segments: readonly SegmentReviewSource[];
|
|
17
|
+
pdfViewerProps?: ForwardedPdfViewerProps;
|
|
18
|
+
showBadges?: boolean;
|
|
19
|
+
showResolvedBadges?: boolean;
|
|
20
|
+
autoSelectReviewOnPageChange?: boolean;
|
|
21
|
+
autoAdvanceAfterConfirm?: boolean;
|
|
22
|
+
/** Number of PDF page layers mounted before and after the visible range. */
|
|
23
|
+
badgePreloadPages?: number;
|
|
24
|
+
/** Vertical badge offset from the page's top-right edge. */
|
|
25
|
+
badgeOffsetTop?: number;
|
|
26
|
+
/** Horizontal inset from the external badge rail's right edge. */
|
|
27
|
+
badgeOffsetRight?: number;
|
|
28
|
+
initialReviewId?: string;
|
|
29
|
+
onBoundaryAction?: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
|
|
30
|
+
onLabelAction?: (action: LabelReviewAction, details: LabelReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
|
|
31
|
+
onActiveReviewChange?: (reviewId: string | null) => void;
|
|
32
|
+
onCurrentPageChange?: (pageNumber: number) => void;
|
|
33
|
+
onActionError?: (error: unknown, context: SegmentReviewActionContext) => void;
|
|
34
|
+
onAdjustManually?: (context: SegmentReviewActionContext) => void;
|
|
35
|
+
onCognitiveClick?: (context: SegmentReviewActionContext) => void;
|
|
36
|
+
className?: string;
|
|
37
|
+
style?: CSSProperties;
|
|
38
|
+
viewerStyle?: CSSProperties;
|
|
39
|
+
railStyle?: CSSProperties;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Orchestrates the PDF, review badges, page navigation, active card and actions.
|
|
43
|
+
* It consumes backend-shaped segments directly; cards never parse the raw payload.
|
|
44
|
+
*/
|
|
45
|
+
export default function SegmentReviewPdfWrapper({ pdfUrl, pdfName, segments, pdfViewerProps, showBadges, showResolvedBadges, autoSelectReviewOnPageChange, autoAdvanceAfterConfirm, badgePreloadPages, badgeOffsetTop, badgeOffsetRight, initialReviewId, onBoundaryAction, onLabelAction, onActiveReviewChange, onCurrentPageChange, onActionError, onAdjustManually, onCognitiveClick, className, style, viewerStyle, railStyle, }: SegmentReviewPdfWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
46
|
+
export {};
|
|
47
|
+
//# sourceMappingURL=SegmentReviewPdfWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentReviewPdfWrapper.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAkB,EAGhB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AACtB,OAAqB,EACnB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAExB,OAAmB,EACjB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAO,EAIL,KAAK,mBAAmB,EACzB,MAAM,sBAAsB,CAAC;AAE9B,KAAK,uBAAuB,GAAG,OAAO,CAAC,IAAI,CACzC,cAAc,EACZ,QAAQ,GACR,SAAS,GACT,UAAU,GACV,qBAAqB,GACrB,mBAAmB,GACnB,YAAY,GACZ,gBAAgB,CACnB,CAAC,CAAC;AAcH,MAAM,WAAW,0BAA0B;IACzC,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,mBAAmB,CAAC;IAC7B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,4BAA4B;IAC3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MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,WAAW,CAAC,EAAE,aAAa,CAAC;IAC5B,SAAS,CAAC,EAAE,aAAa,CAAC;CAC3B;AAQD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,MAAM,EACN,OAAO,EACP,QAAQ,EACR,cAAc,EACd,UAAiB,EACjB,kBAA0B,EAC1B,4BAAoC,EACpC,uBAA8B,EAC9B,iBAAqB,EACrB,cAAmB,EACnB,gBAAoB,EACpB,eAAe,EACf,gBAAgB,EAChB,aAAa,EACb,oBAAoB,EACpB,mBAAmB,EACnB,aAAa,EACb,gBAAgB,EAChB,gBAAgB,EAChB,SAAS,EACT,KAAK,EACL,WAAW,EACX,SAAS,GACV,EAAE,4BAA4B,2CA4Y9B"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export { default as BoundaryCard } from './BoundaryCard';
|
|
2
|
+
export { createBoundaryCardOptions, isBoundaryReviewAction } from './BoundaryCard';
|
|
3
|
+
export type { BoundaryCardOption, BoundaryCardProps, BoundaryCardStyles, BoundaryReviewAction, BoundaryReviewConfirmDetails, BoundaryReviewMetadata, } from './BoundaryCard';
|
|
4
|
+
export { default as CardWrapper } from './CardWrapper';
|
|
5
|
+
export type { CardWrapperProps } from './CardWrapper';
|
|
6
|
+
export { default as CognitiveIcon } from './CognitiveIcon';
|
|
7
|
+
export { default as InfoAlert } from './infoAlert';
|
|
8
|
+
export { default as LabelCheck } from './LabelCheck';
|
|
9
|
+
export { createLabelCheckOptions, isLabelReviewAction } from './LabelCheck';
|
|
10
|
+
export type { LabelCheckOption, LabelCheckProps, LabelCheckStyles, LabelReviewAction, LabelReviewConfirmDetails, LabelReviewMetadata, } from './LabelCheck';
|
|
11
|
+
export { extractSegmentReviewData } from './reviewStepAdapters';
|
|
12
|
+
export type { ExtractedBoundaryReview, ExtractedLabelReview, ReviewStepSource, SegmentReviewSource, } from './reviewStepAdapters';
|
|
13
|
+
export { default as SegmentReviewPdfWrapper } from './SegmentReviewPdfWrapper';
|
|
14
|
+
export type { SegmentReviewActionContext, SegmentReviewPdfWrapperProps, } from './SegmentReviewPdfWrapper';
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,yBAAyB,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AACnF,YAAY,EACV,kBAAkB,EAClB,iBAAiB,EACjB,kBAAkB,EAClB,oBAAoB,EACpB,4BAA4B,EAC5B,sBAAsB,GACvB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,YAAY,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,cAAc,CAAC;AACrD,OAAO,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAC5E,YAAY,EACV,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,yBAAyB,EACzB,mBAAmB,GACpB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,YAAY,EACV,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,mBAAmB,GACpB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,YAAY,EACV,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"infoAlert.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/infoAlert.tsx"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,KAAK,EAAE,YAAY,2CAgBpD"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { BoundaryReviewMetadata } from './BoundaryCard';
|
|
2
|
+
import type { LabelReviewMetadata } from './LabelCheck';
|
|
3
|
+
export interface ReviewStepSource {
|
|
4
|
+
type: string;
|
|
5
|
+
confidence?: string | null;
|
|
6
|
+
reason?: string | null;
|
|
7
|
+
gap?: string | null;
|
|
8
|
+
details?: readonly string[];
|
|
9
|
+
metadata?: unknown;
|
|
10
|
+
}
|
|
11
|
+
export interface SegmentReviewSource {
|
|
12
|
+
stable_key: string;
|
|
13
|
+
title: string;
|
|
14
|
+
label?: string | null;
|
|
15
|
+
start_page: number;
|
|
16
|
+
end_page: number;
|
|
17
|
+
review_steps: readonly ReviewStepSource[];
|
|
18
|
+
}
|
|
19
|
+
export interface ExtractedBoundaryReview<TSegment extends SegmentReviewSource> {
|
|
20
|
+
id: string;
|
|
21
|
+
segment: TSegment;
|
|
22
|
+
step: ReviewStepSource;
|
|
23
|
+
metadata: BoundaryReviewMetadata;
|
|
24
|
+
}
|
|
25
|
+
export interface ExtractedLabelReview<TSegment extends SegmentReviewSource> {
|
|
26
|
+
id: string;
|
|
27
|
+
segment: TSegment;
|
|
28
|
+
step: ReviewStepSource;
|
|
29
|
+
metadata: LabelReviewMetadata;
|
|
30
|
+
}
|
|
31
|
+
/** Converts backend-shaped segments into card-ready boundary and label reviews. */
|
|
32
|
+
export declare const extractSegmentReviewData: <TSegment extends SegmentReviewSource>(segments: readonly TSegment[]) => {
|
|
33
|
+
boundaryReviews: ExtractedBoundaryReview<TSegment>[];
|
|
34
|
+
labelReviews: ExtractedLabelReview<TSegment>[];
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=reviewStepAdapters.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reviewStepAdapters.d.ts","sourceRoot":"","sources":["../../../../../../src/features/PdfViewer/nyc-components/reviewStepAdapters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gBAAgB,CAAC;AAE7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAGxD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAC5B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,mBAAmB;IAClC,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,SAAS,gBAAgB,EAAE,CAAC;CAC3C;AAED,MAAM,WAAW,uBAAuB,CAAC,QAAQ,SAAS,mBAAmB;IAC3E,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,sBAAsB,CAAC;CAClC;AAED,MAAM,WAAW,oBAAoB,CAAC,QAAQ,SAAS,mBAAmB;IACxE,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,gBAAgB,CAAC;IACvB,QAAQ,EAAE,mBAAmB,CAAC;CAC/B;AAqCD,mFAAmF;AACnF,eAAO,MAAM,wBAAwB;;;CA8BpC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export declare class RotationManager {
|
|
2
|
+
private rotations;
|
|
3
|
+
private pageMap;
|
|
4
|
+
private rotationChangeListeners;
|
|
5
|
+
private pdfIdentifier;
|
|
6
|
+
setPdfIdentifier(identifier: string): void;
|
|
7
|
+
registerPageElement(pageNumber: number, element: HTMLElement): void;
|
|
8
|
+
unregisterPageElement(pageNumber: number): void;
|
|
9
|
+
getRotation(pageNumber: number): number;
|
|
10
|
+
rotatePageBy90(pageNumber: number): void;
|
|
11
|
+
setRotation(pageNumber: number, angle: number): void;
|
|
12
|
+
private applyRotation;
|
|
13
|
+
onRotationChange(callback: (pageNum: number, angle: number) => void): () => void;
|
|
14
|
+
private notifyRotationChange;
|
|
15
|
+
private getPersistedRotation;
|
|
16
|
+
private persistRotation;
|
|
17
|
+
loadPersistedRotations(pageNumbers: number[]): void;
|
|
18
|
+
clearAll(): void;
|
|
19
|
+
resetPage(pageNumber: number): void;
|
|
20
|
+
getRotatedPages(): Map<number, number>;
|
|
21
|
+
}
|
|
22
|
+
export declare const rotationManager: RotationManager;
|
|
23
|
+
//# sourceMappingURL=rotationManager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rotationManager.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/rotationManager.ts"],"names":[],"mappings":"AACA,qBAAa,eAAe;IAC1B,OAAO,CAAC,SAAS,CAA+C;IAChE,OAAO,CAAC,OAAO,CAAuC;IACtD,OAAO,CAAC,uBAAuB,CAA4D;IAC3F,OAAO,CAAC,aAAa,CAAc;IAEnC,gBAAgB,CAAC,UAAU,EAAE,MAAM;IAInC,mBAAmB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,WAAW;IAgB5D,qBAAqB,CAAC,UAAU,EAAE,MAAM;IAIxC,WAAW,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM;IAMvC,cAAc,CAAC,UAAU,EAAE,MAAM;IAUjC,WAAW,CAAC,UAAU,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAQ7C,OAAO,CAAC,aAAa;IAsBrB,gBAAgB,CAAC,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,GAAG,MAAM,IAAI;IAOhF,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,oBAAoB;IAU5B,OAAO,CAAC,eAAe;IAWvB,sBAAsB,CAAC,WAAW,EAAE,MAAM,EAAE;IAc5C,QAAQ;IAiBR,SAAS,CAAC,UAAU,EAAE,MAAM;IAO5B,eAAe,IAAI,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;CAUvC;AAED,eAAO,MAAM,eAAe,iBAAwB,CAAC"}
|
|
@@ -19,6 +19,7 @@ export declare const PdfHighlightControls: (highlightText: string[], highlightPa
|
|
|
19
19
|
ZoomInButton: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
20
20
|
ZoomOutButton: () => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
21
21
|
ZoomPopover: (props?: import("@react-pdf-viewer/zoom").ZoomPopoverProps | undefined) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
22
|
+
zoomTo: (scale: number | import("@react-pdf-viewer/core").SpecialZoomLevel) => void;
|
|
22
23
|
goToNext: () => void;
|
|
23
24
|
goToPrevious: () => void;
|
|
24
25
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usePdfHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/usePdfHighlight.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAM5C,eAAO,MAAM,oBAAoB,kBAChB,MAAM,EAAE,kBACP,OAAO,MAAM,EAAE,MAAM,CAAC,aAC3B,MAAM,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,oBAC9B,IAAI,MAAM,CAAC,kBACb,OAAO,2BACE,aAAa,EAAE;;;;;;;+BAgPP,MAAM,KAAG,MAAM;;;;2CAwmBH,IAAI,MAAM,CAAC;wCAxiBd,MAAM;+BAyuBf,MAAM,OAAO,MAAM
|
|
1
|
+
{"version":3,"file":"usePdfHighlight.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/usePdfHighlight.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAM5C,eAAO,MAAM,oBAAoB,kBAChB,MAAM,EAAE,kBACP,OAAO,MAAM,EAAE,MAAM,CAAC,aAC3B,MAAM,SAAS,CAAC,cAAc,GAAG,IAAI,CAAC,oBAC9B,IAAI,MAAM,CAAC,kBACb,OAAO,2BACE,aAAa,EAAE;;;;;;;+BAgPP,MAAM,KAAG,MAAM;;;;2CAwmBH,IAAI,MAAM,CAAC;wCAxiBd,MAAM;+BAyuBf,MAAM,OAAO,MAAM;;;;;;;;;;CA2OtD,CAAC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface CitationDependencyGraphStyles {
|
|
3
|
+
/** Outermost container */
|
|
4
|
+
root?: React.CSSProperties;
|
|
5
|
+
/** Header bar (last-analyzed text + zoom controls) */
|
|
6
|
+
header?: React.CSSProperties;
|
|
7
|
+
/** "Last analyzed" subtitle text */
|
|
8
|
+
subtitle?: React.CSSProperties;
|
|
9
|
+
/** Zoom controls pill wrapper */
|
|
10
|
+
controls?: React.CSSProperties;
|
|
11
|
+
/** Individual zoom +/−/% button */
|
|
12
|
+
controlButton?: React.CSSProperties;
|
|
13
|
+
/** SVG cluster background rect */
|
|
14
|
+
cluster?: React.CSSProperties;
|
|
15
|
+
/** Cluster label text */
|
|
16
|
+
clusterLabel?: React.CSSProperties;
|
|
17
|
+
/** Node card */
|
|
18
|
+
node?: React.CSSProperties;
|
|
19
|
+
/** Node card when selected */
|
|
20
|
+
selectedNode?: React.CSSProperties;
|
|
21
|
+
/** Cluster icon badge inside a node */
|
|
22
|
+
nodeIcon?: React.CSSProperties;
|
|
23
|
+
/** Default edge path */
|
|
24
|
+
edge?: React.CSSProperties;
|
|
25
|
+
/** Edge path when active (selected node connected) */
|
|
26
|
+
activeEdge?: React.CSSProperties;
|
|
27
|
+
/** Animated dot marker on active edges */
|
|
28
|
+
edgeMarker?: React.CSSProperties;
|
|
29
|
+
/** Node detail popup card */
|
|
30
|
+
nodePopup?: React.CSSProperties;
|
|
31
|
+
/** Node popup gradient header */
|
|
32
|
+
nodePopupHeader?: React.CSSProperties;
|
|
33
|
+
/** Node popup body */
|
|
34
|
+
nodePopupBody?: React.CSSProperties;
|
|
35
|
+
/** Edge detail popup card */
|
|
36
|
+
edgePopup?: React.CSSProperties;
|
|
37
|
+
/** Edge popup gradient header */
|
|
38
|
+
edgePopupHeader?: React.CSSProperties;
|
|
39
|
+
/** Edge popup body */
|
|
40
|
+
edgePopupBody?: React.CSSProperties;
|
|
41
|
+
/** × close button on both popups */
|
|
42
|
+
popupCloseButton?: React.CSSProperties;
|
|
43
|
+
}
|
|
44
|
+
export interface CitationDependencyGraphProps {
|
|
45
|
+
/** Raw dependency_graph data from the API — conversion is handled internally */
|
|
46
|
+
data: any;
|
|
47
|
+
isDarkMode?: boolean;
|
|
48
|
+
/** Height of the graph container (default 500px) */
|
|
49
|
+
height?: number | string;
|
|
50
|
+
/** Width of the graph container (default 100%) */
|
|
51
|
+
width?: number | string;
|
|
52
|
+
styles?: CitationDependencyGraphStyles;
|
|
53
|
+
}
|
|
54
|
+
declare const CitationDependencyGraph: React.FC<CitationDependencyGraphProps>;
|
|
55
|
+
export default CitationDependencyGraph;
|
|
56
|
+
//# sourceMappingURL=CitationDependencyGraph.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationDependencyGraph.d.ts","sourceRoot":"","sources":["../../../../../src/features/PromptCitation/CitationDependencyGraph.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAmFjF,MAAM,WAAW,6BAA6B;IAC5C,0BAA0B;IAC1B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,sDAAsD;IACtD,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC7B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,iCAAiC;IACjC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,mCAAmC;IACnC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,kCAAkC;IAClC,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC9B,yBAAyB;IACzB,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,gBAAgB;IAChB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,8BAA8B;IAC9B,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,uCAAuC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,wBAAwB;IACxB,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,sDAAsD;IACtD,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,0CAA0C;IAC1C,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,6BAA6B;IAC7B,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,iCAAiC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,sBAAsB;IACtB,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CA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