@viswa-test/test-citation 0.0.379 → 0.0.382
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/CognitiveCompareConstants.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/CognitiveCompareConstants.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/CognitiveCompareConstants.d.ts +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.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/CognitivePopup.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/useCompareLayout.d.ts +1 -0
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.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/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
- package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +0 -1
- 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/CognitiveCompare/utils/normalizeInlineMarkdown.js +0 -2
- package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.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/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts +0 -25
- package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.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 @@
|
|
|
1
|
+
{"version":3,"file":"PageTypeChoiceCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/PageTypeChoiceCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAYjD,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAU1E,MAAM,WAAW,yBAAyB;IACxC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/B,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,wBAAwB;IACvC,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,OAAO,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACxC,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,SAAS,CAAC,EAAE,CAAC,iBAAiB,EAAE,SAAS,iBAAiB,EAAE,KAAK,IAAI,CAAC;IACtE,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,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,MAAM,CAAC,EAAE,yBAAyB,CAAC;CACpC;AAOD,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,KAAK,EACL,MAAM,EACN,OAA+C,EAC/C,OAAO,EACP,cAAc,EACd,SAAS,EACT,gBAAgB,EAChB,OAAO,EACP,sBAA6B,EAC7B,eAAsB,EACtB,eAAuB,EACvB,KAAW,EACX,QAAc,EACd,MAAM,GACP,EAAE,wBAAwB,2CA0L1B"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
export interface SegmentData {
|
|
3
|
+
title: string;
|
|
4
|
+
startPage: number;
|
|
5
|
+
endPage: number;
|
|
6
|
+
}
|
|
7
|
+
export interface RevertData {
|
|
8
|
+
currentSegment: SegmentData;
|
|
9
|
+
previousSegments: SegmentData[];
|
|
10
|
+
}
|
|
11
|
+
/** Value returned by the host after the revert request and refresh complete. */
|
|
12
|
+
export interface RevertActionResult {
|
|
13
|
+
message?: string | null;
|
|
14
|
+
}
|
|
15
|
+
export interface RevertCardProps {
|
|
16
|
+
icon: ReactNode;
|
|
17
|
+
title: string;
|
|
18
|
+
pageRange: string;
|
|
19
|
+
description: string | null;
|
|
20
|
+
onRevert: () => void | RevertActionResult | Promise<void | RevertActionResult>;
|
|
21
|
+
/** Called only after `onRevert` completes successfully. */
|
|
22
|
+
onRevertComplete?: (result: void | RevertActionResult) => void;
|
|
23
|
+
onRevertError?: (error: unknown) => void;
|
|
24
|
+
revertData: RevertData;
|
|
25
|
+
/** Prevent submission when the host cannot provide a valid revert request. */
|
|
26
|
+
confirmDisabled?: boolean;
|
|
27
|
+
/** Hide when the surrounding reviewed-card shell already renders it. */
|
|
28
|
+
showDocumentHeader?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Displays an approved action summary and reveals the appropriate revert
|
|
32
|
+
* confirmation after the user selects Revert. An empty `previousSegments`
|
|
33
|
+
* collection represents keep-as-is; structural changes provide the segments
|
|
34
|
+
* that will be restored after reverting.
|
|
35
|
+
*/
|
|
36
|
+
export default function RevertCard({ icon, title, pageRange, description, onRevert, onRevertComplete, onRevertError, revertData, confirmDisabled, showDocumentHeader, }: RevertCardProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
+
//# sourceMappingURL=RevertCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevertCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUjD,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,UAAU;IACzB,cAAc,EAAE,WAAW,CAAC;IAC5B,gBAAgB,EAAE,WAAW,EAAE,CAAC;CACjC;AAED,gFAAgF;AAChF,MAAM,WAAW,kBAAkB;IACjC,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,QAAQ,EAAE,MAAM,IAAI,GAAG,kBAAkB,GAAG,OAAO,CAAC,IAAI,GAAG,kBAAkB,CAAC,CAAC;IAC/E,2DAA2D;IAC3D,gBAAgB,CAAC,EAAE,CAAC,MAAM,EAAE,IAAI,GAAG,kBAAkB,KAAK,IAAI,CAAC;IAC/D,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;IACzC,UAAU,EAAE,UAAU,CAAC;IACvB,8EAA8E;IAC9E,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,wEAAwE;IACxE,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AA8BD;;;;;GAKG;AACH,MAAM,CAAC,OAAO,UAAU,UAAU,CAAC,EACjC,IAAI,EACJ,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,gBAAgB,EAChB,aAAa,EACb,UAAU,EACV,eAAuB,EACvB,kBAAyB,GAC1B,EAAE,eAAe,2CAgPjB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface RevertSuccessCardProps {
|
|
3
|
+
title: ReactNode;
|
|
4
|
+
description: ReactNode;
|
|
5
|
+
onReview: () => void;
|
|
6
|
+
reviewLabel?: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export default function RevertSuccessCard({ title, description, onReview, reviewLabel, }: RevertSuccessCardProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
//# sourceMappingURL=RevertSuccessCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevertSuccessCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertSuccessCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,MAAM,WAAW,sBAAsB;IACrC,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,EAAE,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,WAAW,CAAC,EAAE,SAAS,CAAC;CACzB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,KAAK,EACL,WAAW,EACX,QAAQ,EACR,WAAsB,GACvB,EAAE,sBAAsB,2CAoExB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
export interface RevertSummaryNoticeProps {
|
|
3
|
+
children: ReactNode;
|
|
4
|
+
}
|
|
5
|
+
/** Operation summary shown in place of the normal review-step question. */
|
|
6
|
+
export default function RevertSummaryNotice({ children, }: RevertSummaryNoticeProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
//# sourceMappingURL=RevertSummaryNotice.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RevertSummaryNotice.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertSummaryNotice.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,2EAA2E;AAC3E,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAC1C,QAAQ,GACT,EAAE,wBAAwB,2CAwB1B"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import { type BoundaryReviewAction, type BoundaryReviewConfirmDetails, type BoundaryReviewMetadata } from './BoundaryCard';
|
|
3
|
+
import type { SegmentReviewAction } from './reviewStepAdapters';
|
|
4
|
+
export declare const getAdditionalBoundaryActions: (reviewAction?: SegmentReviewAction) => BoundaryReviewAction[];
|
|
5
|
+
export interface ReviewedBoundaryActionsProps {
|
|
6
|
+
metadata: BoundaryReviewMetadata;
|
|
7
|
+
reviewAction?: SegmentReviewAction;
|
|
8
|
+
startPage: number;
|
|
9
|
+
endPage: number;
|
|
10
|
+
title?: ReactNode;
|
|
11
|
+
previousSegmentTitle?: ReactNode;
|
|
12
|
+
nextSegmentTitle?: ReactNode;
|
|
13
|
+
disabled?: boolean;
|
|
14
|
+
onConfirm: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails) => void;
|
|
15
|
+
}
|
|
16
|
+
export default function ReviewedBoundaryActions({ metadata, reviewAction, startPage, endPage, title, previousSegmentTitle, nextSegmentTitle, disabled, onConfirm, }: ReviewedBoundaryActionsProps): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
+
//# sourceMappingURL=ReviewedBoundaryActions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewedBoundaryActions.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/ReviewedBoundaryActions.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAW1D,OAAO,EAGL,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EACjC,KAAK,sBAAsB,EAC5B,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAKhE,eAAO,MAAM,4BAA4B,kBACxB,mBAAmB,KACjC,oBAAoB,EAQtB,CAAC;AAgDF,MAAM,WAAW,4BAA4B;IAC3C,QAAQ,EAAE,sBAAsB,CAAC;IACjC,YAAY,CAAC,EAAE,mBAAmB,CAAC;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB,oBAAoB,CAAC,EAAE,SAAS,CAAC;IACjC,gBAAgB,CAAC,EAAE,SAAS,CAAC;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,EAAE,CACT,MAAM,EAAE,oBAAoB,EAC5B,OAAO,EAAE,4BAA4B,KAClC,IAAI,CAAC;CACX;AAED,MAAM,CAAC,OAAO,UAAU,uBAAuB,CAAC,EAC9C,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,OAAO,EACP,KAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,QAAgB,EAChB,SAAS,GACV,EAAE,4BAA4B,kDAmW9B"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
+
export interface ReviewedCardStyles {
|
|
4
|
+
root?: SxProps<Theme>;
|
|
5
|
+
header?: SxProps<Theme>;
|
|
6
|
+
content?: SxProps<Theme>;
|
|
7
|
+
footer?: SxProps<Theme>;
|
|
8
|
+
}
|
|
9
|
+
export interface ReviewedCardProps {
|
|
10
|
+
headerName?: ReactNode;
|
|
11
|
+
headerIcon?: ReactNode;
|
|
12
|
+
title: ReactNode;
|
|
13
|
+
pageNo?: ReactNode;
|
|
14
|
+
summary?: ReactNode;
|
|
15
|
+
/** Actions exposed only after this review has been resolved. */
|
|
16
|
+
additionalActions?: ReactNode;
|
|
17
|
+
cognitiveScore?: ReactNode;
|
|
18
|
+
onCognitiveClick?: () => void;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
cognitiveLabel?: ReactNode;
|
|
21
|
+
showCognitiveIntegrity?: boolean;
|
|
22
|
+
showCloseButton?: boolean;
|
|
23
|
+
width?: number | string;
|
|
24
|
+
maxWidth?: number | string;
|
|
25
|
+
className?: string;
|
|
26
|
+
styles?: ReviewedCardStyles;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Read-only review card shell. The middle stack is intentionally empty until
|
|
30
|
+
* the reviewed-action content is introduced.
|
|
31
|
+
*/
|
|
32
|
+
export default function ReviewedCard({ headerName, headerIcon, title, pageNo, summary, additionalActions, cognitiveScore, onCognitiveClick, onClose, cognitiveLabel, showCognitiveIntegrity, showCloseButton, width, maxWidth, className, styles, }: ReviewedCardProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
//# sourceMappingURL=ReviewedCard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReviewedCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/ReviewedCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAUvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAa3D,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;CACzB;AAED,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,gEAAgE;IAChE,iBAAiB,CAAC,EAAE,SAAS,CAAC;IAC9B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,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,kBAAkB,CAAC;CAC7B;AAED;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,YAAY,CAAC,EACnC,UAAuB,EACvB,UAAU,EACV,KAAK,EACL,MAAM,EACN,OAAO,EACP,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EAChB,OAAO,EACP,cAAsC,EACtC,sBAA6B,EAC7B,eAAsB,EACtB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,iBAAiB,2CAyInB"}
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { type CSSProperties } from 'react';
|
|
2
|
+
import { type PdfViewerProps } from '../PdfViewer/PdfViewer';
|
|
3
|
+
import { type BoundaryReviewAction, type BoundaryReviewConfirmDetails } from './BoundaryCard';
|
|
4
|
+
import { type LabelReviewAction, type LabelReviewConfirmDetails } from './LabelCheck';
|
|
5
|
+
import { type PageCheckAction, type PageCheckConfirmDetails } from './PageCheck';
|
|
6
|
+
import { type SegmentRevertInfo, type SegmentReviewSource } from './reviewStepAdapters';
|
|
7
|
+
import { type RevertActionResult } from './RevertCard';
|
|
8
|
+
type ForwardedPdfViewerProps = Partial<Omit<PdfViewerProps, 'pdfUrl' | 'pdfName' | 'segments' | 'onCurrentPageChange' | 'navigationRequest' | 'onNavigationSettled' | 'renderPage' | 'setRenderRange'>>;
|
|
9
|
+
export type ReviewConfidence = 'low' | 'medium' | 'high';
|
|
10
|
+
export type ReviewConfidenceFilter = 'low' | 'high' | 'all';
|
|
11
|
+
export type ReviewRedirectionType = 'boundary' | 'label' | 'page' | 'pageGroup';
|
|
12
|
+
export declare enum SegmentPdfSpecialZoomLevel {
|
|
13
|
+
ActualSize = "ActualSize",
|
|
14
|
+
PageFit = "PageFit",
|
|
15
|
+
PageWidth = "PageWidth"
|
|
16
|
+
}
|
|
17
|
+
export interface SelectedBadgeData {
|
|
18
|
+
reviewId: string;
|
|
19
|
+
segment_id: string | null;
|
|
20
|
+
reviewStepIndex: number;
|
|
21
|
+
kind: 'boundary' | 'label' | 'page';
|
|
22
|
+
pageNumber: number;
|
|
23
|
+
metadata: Record<string, any>;
|
|
24
|
+
}
|
|
25
|
+
export interface SegmentReviewActionContext {
|
|
26
|
+
reviewId: string;
|
|
27
|
+
segment: SegmentReviewSource;
|
|
28
|
+
pageNumber: number;
|
|
29
|
+
}
|
|
30
|
+
export interface PageTypeRevertDetails {
|
|
31
|
+
classification_id: string;
|
|
32
|
+
human_verdict: 'No';
|
|
33
|
+
}
|
|
34
|
+
export interface RedirectionData {
|
|
35
|
+
/** Change for every redirect request, including repeated redirects to the same badge. */
|
|
36
|
+
requestKey?: string | number;
|
|
37
|
+
pageNumber?: string;
|
|
38
|
+
type?: ReviewRedirectionType;
|
|
39
|
+
/** Stable backend segment id used to disambiguate reviews on the same page. */
|
|
40
|
+
segmentId?: string;
|
|
41
|
+
/** Exact review id returned by the wrapper, if the parent has it. */
|
|
42
|
+
reviewId?: string;
|
|
43
|
+
/** Stable backend page_classifications[].questions[].id for page-type redirects. */
|
|
44
|
+
classificationId?: string;
|
|
45
|
+
/** Optional page-type disambiguation when table/drawing checks share a page. */
|
|
46
|
+
pageType?: string;
|
|
47
|
+
/** type: 'pageGroup' only — ordered pages to step through, e.g. a segment's tabular pages. */
|
|
48
|
+
pages?: number[];
|
|
49
|
+
/** type: 'pageGroup' only — which page in `pages` to land on first. Defaults to 0. */
|
|
50
|
+
pageIndex?: number;
|
|
51
|
+
/** type: 'pageGroup' only — short label for the floating pill, e.g. "Tabular". */
|
|
52
|
+
groupLabel?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SegmentReviewPdfWrapperProps {
|
|
55
|
+
pdfUrl: string;
|
|
56
|
+
pdfName?: string;
|
|
57
|
+
/** Live backend segments. Changes are re-extracted automatically. */
|
|
58
|
+
segments: readonly SegmentReviewSource[];
|
|
59
|
+
pdfViewerProps?: ForwardedPdfViewerProps;
|
|
60
|
+
totalPages?: number;
|
|
61
|
+
/** Special PDF zoom mode. Defaults to PageFit. */
|
|
62
|
+
specialZoomLevel?: SegmentPdfSpecialZoomLevel;
|
|
63
|
+
heightBuffer?: number;
|
|
64
|
+
showBadges?: boolean;
|
|
65
|
+
/** @deprecated Reviewed steps are always hidden from badges and navigation. */
|
|
66
|
+
showResolvedBadges?: boolean;
|
|
67
|
+
/** Confidence group placed first in the badge navigator. */
|
|
68
|
+
sortByConfidence?: ReviewConfidence;
|
|
69
|
+
/** Only render and navigate badges matching this confidence. */
|
|
70
|
+
filterByConfidence?: ReviewConfidenceFilter;
|
|
71
|
+
showBadgeNavigation?: boolean;
|
|
72
|
+
autoSelectReviewOnPageChange?: boolean;
|
|
73
|
+
autoAdvanceAfterConfirm?: boolean;
|
|
74
|
+
/** Restrict post-confirm auto-advance to pending reviews in this score band. */
|
|
75
|
+
autoAdvanceScoreBand?: ReviewConfidence;
|
|
76
|
+
/** Number of PDF page layers mounted before and after the visible range. */
|
|
77
|
+
badgePreloadPages?: number;
|
|
78
|
+
/** Vertical badge offset from the page's top-right edge. */
|
|
79
|
+
badgeOffsetTop?: number;
|
|
80
|
+
/** Horizontal inset from the external badge rail's right edge. */
|
|
81
|
+
badgeOffsetRight?: number;
|
|
82
|
+
badgeOffsetLeft?: number;
|
|
83
|
+
initialReviewId?: string;
|
|
84
|
+
onBoundaryAction?: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
|
|
85
|
+
onLabelAction?: (action: LabelReviewAction, details: LabelReviewConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
|
|
86
|
+
onPageAction?: (action: PageCheckAction, details: PageCheckConfirmDetails, context: SegmentReviewActionContext) => void | Promise<void>;
|
|
87
|
+
/**
|
|
88
|
+
* Revert a confirmed page-type decision by submitting `human_verdict: "No"`.
|
|
89
|
+
* Refresh the latest classifications before resolving this callback.
|
|
90
|
+
*/
|
|
91
|
+
onPageTypeRevert?: (details: PageTypeRevertDetails, context: SegmentReviewActionContext) => void | RevertActionResult | Promise<void | RevertActionResult>;
|
|
92
|
+
/**
|
|
93
|
+
* Submit the operation-level revert, poll it to completion, and refresh the
|
|
94
|
+
* latest segments before resolving this callback. `revert` is null when the
|
|
95
|
+
* current segment does not include revert metadata.
|
|
96
|
+
*/
|
|
97
|
+
onRevert?: (revert: SegmentRevertInfo | null, context: SegmentReviewActionContext) => void | RevertActionResult | Promise<void | RevertActionResult>;
|
|
98
|
+
/** Called when a badge is selected, with its complete source segment. */
|
|
99
|
+
onActiveReviewChange?: (reviewId: string | null, segment: SegmentReviewSource | null) => void;
|
|
100
|
+
onBadgeSelected?: (data: SelectedBadgeData) => void;
|
|
101
|
+
onCurrentPageChange?: (pageNumber: number) => void;
|
|
102
|
+
onActionError?: (error: unknown, context: SegmentReviewActionContext) => void;
|
|
103
|
+
onAdjustManually?: (context: SegmentReviewActionContext) => void;
|
|
104
|
+
onCognitiveClick?: (context: SegmentReviewActionContext) => void;
|
|
105
|
+
className?: string;
|
|
106
|
+
style?: CSSProperties;
|
|
107
|
+
viewerStyle?: CSSProperties;
|
|
108
|
+
railStyle?: CSSProperties;
|
|
109
|
+
redirectionData?: RedirectionData;
|
|
110
|
+
styles?: Record<string, React.CSSProperties>;
|
|
111
|
+
disableAllActions?: boolean;
|
|
112
|
+
disablePdfAnnotations?: boolean;
|
|
113
|
+
/** Disable the transparent PDF text layer that can overflow rotated pages. */
|
|
114
|
+
disablePdfTextLayer?: boolean;
|
|
115
|
+
disableTitleCheckUntilBoundaryCheckCompleted?: boolean;
|
|
116
|
+
manualPrompt?: string;
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Orchestrates the PDF, review badges, page navigation, active card and actions.
|
|
120
|
+
* It consumes backend-shaped segments directly; cards never parse the raw payload.
|
|
121
|
+
*/
|
|
122
|
+
export default function SegmentReviewPdfWrapper({ pdfUrl, pdfName, segments, totalPages, styles, pdfViewerProps, specialZoomLevel, showBadges, sortByConfidence, filterByConfidence, showBadgeNavigation, autoSelectReviewOnPageChange, autoAdvanceAfterConfirm, autoAdvanceScoreBand, badgePreloadPages, badgeOffsetTop, badgeOffsetRight, badgeOffsetLeft, initialReviewId, manualPrompt, heightBuffer, onBoundaryAction, onLabelAction, onPageAction, onPageTypeRevert, onRevert, onActiveReviewChange, onCurrentPageChange, onActionError, disableAllActions, disablePdfAnnotations, disablePdfTextLayer, disableTitleCheckUntilBoundaryCheckCompleted, onAdjustManually, onCognitiveClick, className, style, viewerStyle, railStyle, redirectionData, onBadgeSelected, }: SegmentReviewPdfWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
export {};
|
|
124
|
+
//# sourceMappingURL=SegmentReviewPdfWrapper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentReviewPdfWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,aAAa,EACnB,MAAM,OAAO,CAAC;AAEf,OAAkB,EAGhB,KAAK,cAAc,EACpB,MAAM,wBAAwB,CAAC;AAChC,OAAqB,EAGnB,KAAK,oBAAoB,EACzB,KAAK,4BAA4B,EAClC,MAAM,gBAAgB,CAAC;AAGxB,OAAmB,EACjB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC/B,MAAM,cAAc,CAAC;AACtB,OAAkB,EAEhB,KAAK,eAAe,EACpB,KAAK,uBAAuB,EAE7B,MAAM,aAAa,CAAC;AAEr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,KAAK,EACL,WAAW,EACX,SAAS,EACT,eAAe,EACf,eAAe,GAChB,EAAE,4BAA4B,2CAuoE9B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { SegmentReviewSource } from './reviewStepAdapters';
|
|
2
|
+
export interface SegmentReviewRedirectionTestProps {
|
|
3
|
+
pdfUrl: string;
|
|
4
|
+
segments: readonly SegmentReviewSource[];
|
|
5
|
+
pageCheckPdfUrl?: string;
|
|
6
|
+
pageCheckSegments?: readonly SegmentReviewSource[];
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Isolated development example for exercising prop-driven badge redirection.
|
|
10
|
+
* This file is intentionally not exported from the package entry point.
|
|
11
|
+
*/
|
|
12
|
+
export default function SegmentReviewRedirectionTest({ pdfUrl, segments, pageCheckPdfUrl, pageCheckSegments, }: SegmentReviewRedirectionTestProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
//# sourceMappingURL=SegmentReviewRedirectionTest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentReviewRedirectionTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.tsx"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAEV,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,iCAAiC;IAChD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,mBAAmB,EAAE,CAAC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,SAAS,mBAAmB,EAAE,CAAC;CACpD;AAwGD;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,4BAA4B,CAAC,EACnD,MAAM,EACN,QAAQ,EACR,eAAoB,EACpB,iBAAsB,GACvB,EAAE,iCAAiC,2CAkSnC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import type { ReviewStepSource, SegmentReviewSource } from './reviewStepAdapters';
|
|
2
|
+
export { getNumericScore, getReviewScoreBand } from './reviewScore';
|
|
3
|
+
export type { ReviewScoreBand } from './reviewScore';
|
|
4
|
+
export declare const getFallbackScore: (confidence?: string | null) => 40 | 70 | 95 | null;
|
|
5
|
+
export declare const getResolvedScore: (score?: number | string | null, confidence?: string | null) => number | null;
|
|
6
|
+
export declare const formatScore: (score?: number | string | null, confidence?: string | null) => string;
|
|
7
|
+
/** Returns the user-facing badge text for structural segment actions. */
|
|
8
|
+
export declare const getHumanActionBadgeLabel: (humanAction?: string | null) => "Merged" | "Split" | null;
|
|
9
|
+
/** Resolves an action label from pending or approved review-step data. */
|
|
10
|
+
export declare const getReviewStepActionBadgeLabel: (step: ReviewStepSource) => "Merged" | "Split" | null;
|
|
11
|
+
export declare const isReviewStepResolutionCurrent: (step: ReviewStepSource, segment: SegmentReviewSource) => boolean;
|
|
12
|
+
export declare const isReviewStepResolved: (step: ReviewStepSource, segment: SegmentReviewSource) => boolean;
|
|
13
|
+
/** Returns whether this boundary step belongs to a split or merge operation. */
|
|
14
|
+
export declare const hasStructuralBoundaryAction: (step: ReviewStepSource) => boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Resolves the structural label owned by this segment. Split history is copied
|
|
17
|
+
* to both outputs, so the retained `after` range is not the Split result. A
|
|
18
|
+
* merge result, on the other hand, is the expanded `after` range.
|
|
19
|
+
*/
|
|
20
|
+
export declare const getStructuralResultBadgeLabel: (segment: SegmentReviewSource) => "Merged" | "Split" | null;
|
|
21
|
+
/**
|
|
22
|
+
* Title checks inherit only merge results from their segment. Split remains
|
|
23
|
+
* specific to the boundary step that performed it.
|
|
24
|
+
*/
|
|
25
|
+
export declare const getTitleReviewActionBadgeLabel: (step: ReviewStepSource, segment: SegmentReviewSource, optimisticAction?: string | null) => "Merged" | "Split" | null;
|
|
26
|
+
/** Optimistic structural state wins over stale polling for boundary badges. */
|
|
27
|
+
export declare const getBoundaryReviewActionBadgeLabel: (step: ReviewStepSource, segment: SegmentReviewSource, optimisticAction?: string | null) => "Merged" | "Split" | null;
|
|
28
|
+
export declare const shouldHideStructuralBoundaryReview: (step: ReviewStepSource, segment: SegmentReviewSource, hasTitleReview: boolean, optimisticAction?: string | null) => boolean;
|
|
29
|
+
/** Polling has taken ownership only when it reflects the same optimistic action. */
|
|
30
|
+
export declare const hasPolledStructuralAction: (segment: SegmentReviewSource, optimisticAction?: string | null) => boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Finds the adjacent merge input while optimistic data owns the UI. Once the
|
|
33
|
+
* same directional action is visible in polling, the polled-state helper owns
|
|
34
|
+
* adjacency so a newly-next unrelated segment is never hidden for one frame.
|
|
35
|
+
*/
|
|
36
|
+
export declare const getOptimisticMergeImpactedSegmentKeys: (segments: readonly SegmentReviewSource[], optimisticActions: ReadonlyMap<string, string>, rangeAdjustedSegmentKeys?: ReadonlySet<string>) => Set<string>;
|
|
37
|
+
/**
|
|
38
|
+
* While a merge is applying, the action-bearing segment owns the Merged badge
|
|
39
|
+
* and its adjacent input segment is only impacted by that action. Once the
|
|
40
|
+
* resolution is committed, the adjacent input has disappeared and the
|
|
41
|
+
* expanded result remains badge-eligible.
|
|
42
|
+
*/
|
|
43
|
+
export declare const getPendingMergeImpactedSegmentKeys: (segments: readonly SegmentReviewSource[]) => Set<string>;
|
|
44
|
+
export declare const getConfidenceColors: (score?: number | string | null, _confidence?: string | null, awaiting_llm?: boolean) => {
|
|
45
|
+
border: string;
|
|
46
|
+
cardBorder: string;
|
|
47
|
+
background: string;
|
|
48
|
+
text: string;
|
|
49
|
+
divider: string;
|
|
50
|
+
};
|
|
51
|
+
//# sourceMappingURL=helper.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/helper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,gBAAgB,EAChB,mBAAmB,EACpB,MAAM,sBAAsB,CAAC;AAI9B,OAAO,E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O,MAAM,qCAAqC,aACtC,SAAS,mBAAmB,EAAE,qBACrB,YAAY,MAAM,EAAE,MAAM,CAAC,6BACpB,YAAY,MAAM,CAAC,gBAuC9C,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,kCAAkC,aACnC,SAAS,mBAAmB,EAAE,gBAwCzC,CAAC;AAEF,eAAO,MAAM,mBAAmB,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,gBAAgB,MAAM,GAAG,IAAI,iBAAiB,OAAO;;;;;;CA6CtH,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper.test.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/helper.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 CognitiveIntegrity } from './CognitiveIntegrity';
|
|
8
|
+
export type { CognitiveIntegrityProps, CognitiveIntegrityStyles, } from './CognitiveIntegrity';
|
|
9
|
+
export { default as LabelCheck } from './LabelCheck';
|
|
10
|
+
export { createLabelCheckOptions, isLabelReviewAction } from './LabelCheck';
|
|
11
|
+
export type { LabelCheckOption, LabelCheckProps, LabelCheckStyles, LabelReviewAction, LabelReviewConfirmDetails, LabelReviewMetadata, } from './LabelCheck';
|
|
12
|
+
export { default as PageCheck } from './PageCheck';
|
|
13
|
+
export { isPageCheckAction } from './PageCheck';
|
|
14
|
+
export type { PageCheckAction, PageCheckConfirmDetails, PageCheckMetadata, PageCheckPageType, PageCheckTypeChoice, PageCheckProps, PageCheckStyles, } from './PageCheck';
|
|
15
|
+
export { default as PageTypeChoiceCheck } from './PageTypeChoiceCheck';
|
|
16
|
+
export type { PageTypeChoiceCheckProps, PageTypeChoiceCheckStyles, } from './PageTypeChoiceCheck';
|
|
17
|
+
export { extractSegmentReviewData } from './reviewStepAdapters';
|
|
18
|
+
export type { ExtractedBoundaryReview, ExtractedLabelReview, ExtractedPageReview, PageClassificationSource, ReviewStepMetadata, ReviewStepReview, ReviewStepSource, SegmentRevertInfo, SegmentRevertSnapshot, SegmentReviewSource, } from './reviewStepAdapters';
|
|
19
|
+
export { default as RevertCard } from './RevertCard';
|
|
20
|
+
export type { RevertActionResult, RevertCardProps, RevertData, SegmentData as RevertSegmentData, } from './RevertCard';
|
|
21
|
+
export { default as RevertSuccessCard } from './RevertSuccessCard';
|
|
22
|
+
export type { RevertSuccessCardProps } from './RevertSuccessCard';
|
|
23
|
+
export { default as SegmentReviewPdfWrapper, SegmentPdfSpecialZoomLevel, } from './SegmentReviewPdfWrapper';
|
|
24
|
+
export type { RedirectionData, ReviewConfidence, ReviewConfidenceFilter, ReviewRedirectionType, SegmentReviewActionContext, SegmentReviewPdfWrapperProps, } from './SegmentReviewPdfWrapper';
|
|
25
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/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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AAU,EACV,WAAW,IAAI,iBAAiB,GACjC,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACnE,YAAY,EAAE,sBAAsB,EAAE,MAAM,qBAAqB,CAAC;AAClE,OAAO,EACL,OAAO,IAAI,uBAAuB,EAClC,0BAA0B,GAC3B,MAAM,2BAA2B,CAAC;AACnC,YAAY,EACV,eAAe,EACf,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB,EACrB,0BAA0B,EAC1B,4BAA4B,GAC7B,MAAM,2BAA2B,CAAC"}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type ReviewScoreBand = 'low' | 'medium' | 'high';
|
|
2
|
+
export declare const getNumericScore: (score?: number | string | null) => number | null;
|
|
3
|
+
export declare const getReviewScoreBand: (score?: number | string | null) => ReviewScoreBand | null;
|
|
4
|
+
//# sourceMappingURL=reviewScore.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"reviewScore.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/reviewScore.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,CAAC;AAExD,eAAO,MAAM,eAAe,WAAY,MAAM,GAAG,MAAM,GAAG,IAAI,kBAa7D,CAAC;AAEF,eAAO,MAAM,kBAAkB,WACrB,MAAM,GAAG,MAAM,GAAG,IAAI,KAC7B,eAAe,GAAG,IAUpB,CAAC"}
|