@viswa-test/test-citation 0.0.377 → 0.0.379
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/features/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/CognitiveCompare/utils/normalizeInlineMarkdown.js +2 -0
- package/dist/cjs/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +1 -0
- 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/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/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +1 -0
- 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/ProtectTableCellBoundaries.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +2 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +1 -0
- 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/components/userstory-with-citation/utils/inlineMarkdown.js +2 -0
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +1 -0
- package/dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/cjs/features/RequirementAI/utils/exponential-retry.js +2 -0
- package/dist/cjs/features/RequirementAI/utils/exponential-retry.js.map +1 -0
- 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/index.js +1 -1
- package/dist/cjs/service/redlineService.js +1 -1
- package/dist/cjs/utils/tagHelper.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/CognitiveCompare/utils/normalizeInlineMarkdown.js +2 -0
- package/dist/features/CognitiveCompare/utils/normalizeInlineMarkdown.js.map +1 -0
- 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/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/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.js.map +1 -0
- 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/ProtectTableCellBoundaries.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.js +1 -1
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js +2 -0
- package/dist/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.js.map +1 -0
- package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.css.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.css.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.css.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.js.map +1 -0
- 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/components/userstory-with-citation/utils/inlineMarkdown.js +2 -0
- package/dist/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.js.map +1 -0
- package/dist/features/RequirementAI/hooks/useStreamContentHandler.js +1 -1
- package/dist/features/RequirementAI/utils/exponential-retry.js +2 -0
- package/dist/features/RequirementAI/utils/exponential-retry.js.map +1 -0
- package/dist/features/RequirementAI/utils/helpers.js +1 -1
- package/dist/features/RequirementAI/utils/proccess-stream.utils.js +1 -1
- package/dist/index.js +1 -1
- package/dist/service/redlineService.js +1 -1
- package/dist/types/src/CitationAccordionTest.d.ts +1 -0
- package/dist/types/src/CitationAccordionTest.d.ts.map +1 -0
- package/dist/types/src/MockDeviationSummary.d.ts +1 -0
- package/dist/types/src/MockDeviationSummary.d.ts.map +1 -0
- package/dist/types/src/RedlineEditorTest.d.ts.map +1 -1
- package/dist/types/src/RequirementAiTest.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 +12 -0
- 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 +11312 -433
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts +33 -0
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/new-guidelines.mockData.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +14 -1
- 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 +2 -1
- 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/normalizeInlineMarkdown.d.ts +25 -0
- package/dist/types/src/features/CognitiveCompare/utils/normalizeInlineMarkdown.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +1 -0
- 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 +2 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/types.d.ts +11 -0
- package/dist/types/src/features/GptWebCitation/types.d.ts.map +1 -1
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +2 -0
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +2 -4
- 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 +1 -4
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +2 -19
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +39 -29
- package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/constants/updateTags.d.ts.map +1 -0
- 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 +2 -0
- 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/ProtectTableCellBoundaries.d.ts +3 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/ProtectTableCellBoundaries.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/UpdateNode.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/reviewBoundaryLexical.test.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/manualEditSerialization.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/normalizeRedlineMarkdown.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts +29 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownEmphasis.test.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownLineBreaks.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts +3 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveMarkdownListFormatting.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts +86 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts +9 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveReviewBoundaryWhitespace.test.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/preserveTableDelimiters.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts +5 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/utils/tableBoundaryRedlines.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts +10 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/Avatar.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts +17 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsGroup.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts +23 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/CollaboratorsPopup.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts +3 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Avatar/avatarUtils.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +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 +84 -5439
- 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 +20 -2
- 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 +7 -2
- 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 +15 -1
- 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 +2 -1
- 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 +3 -2
- 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 +1 -0
- 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 +1 -0
- 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/common/onDemandCitationButton.d.ts +12 -0
- package/dist/types/src/features/RequirementAI/components/common/onDemandCitationButton.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +3 -2
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +3 -1
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalContext.d.ts +1 -0
- 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 +2 -0
- 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 +2 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/components/InlineUpdatedComponent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts +9 -0
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/utils/inlineMarkdown.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts +1 -1
- package/dist/types/src/features/RequirementAI/hooks/useStreamContentHandler.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +7 -0
- 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 +2 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts +12 -0
- package/dist/types/src/features/RequirementAI/utils/exponential-retry.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/utils/helpers.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/utils/proccess-stream.utils.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +0 -4
- 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 +9 -0
- package/dist/types/src/utils/tagHelper.d.ts.map +1 -1
- package/dist/utils/tagHelper.js +1 -1
- package/package.json +1 -1
- package/dist/assests/icons/InfoAlert.js +0 -2
- package/dist/assests/icons/InfoAlert.js.map +0 -1
- package/dist/cjs/assests/icons/InfoAlert.js +0 -2
- package/dist/cjs/assests/icons/InfoAlert.js.map +0 -1
- package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js +0 -2
- package/dist/cjs/features/ParentCitationComponent/ParentCitationComponent.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/BoundaryCard.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/CardWrapper.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/CognitiveIcon.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/LabelCheck.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/infoAlert.js.map +0 -1
- package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js +0 -2
- package/dist/cjs/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +0 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js +0 -2
- package/dist/cjs/features/PdfViewer/rotationManager.js.map +0 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js +0 -2
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/helper.js.map +0 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +0 -2
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +0 -1
- package/dist/features/ParentCitationComponent/ParentCitationComponent.js +0 -2
- package/dist/features/ParentCitationComponent/ParentCitationComponent.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/BoundaryCard.js +0 -2
- package/dist/features/PdfViewer/nyc-components/BoundaryCard.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/CardWrapper.js +0 -2
- package/dist/features/PdfViewer/nyc-components/CardWrapper.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js +0 -2
- package/dist/features/PdfViewer/nyc-components/CognitiveIcon.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/LabelCheck.js +0 -2
- package/dist/features/PdfViewer/nyc-components/LabelCheck.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js +0 -2
- package/dist/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/infoAlert.js +0 -2
- package/dist/features/PdfViewer/nyc-components/infoAlert.js.map +0 -1
- package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js +0 -2
- package/dist/features/PdfViewer/nyc-components/reviewStepAdapters.js.map +0 -1
- package/dist/features/PdfViewer/rotationManager.js +0 -2
- package/dist/features/PdfViewer/rotationManager.js.map +0 -1
- package/dist/features/ReviewPanel/ReviewPanel.js +0 -2
- package/dist/features/ReviewPanel/ReviewPanel.js.map +0 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js +0 -2
- package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +0 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js +0 -2
- package/dist/features/SegmentReviewComponents/CardWrapper.js.map +0 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +0 -2
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +0 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js +0 -2
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +0 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +0 -2
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +0 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +0 -2
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +0 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js +0 -2
- package/dist/features/SegmentReviewComponents/LabelCheck.js.map +0 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js +0 -2
- package/dist/features/SegmentReviewComponents/PageCheck.js.map +0 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js +0 -2
- package/dist/features/SegmentReviewComponents/RevertCard.js.map +0 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +0 -2
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +0 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +0 -2
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +0 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +0 -2
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +0 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js +0 -2
- package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +0 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +0 -2
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +0 -1
- package/dist/features/SegmentReviewComponents/helper.js +0 -2
- package/dist/features/SegmentReviewComponents/helper.js.map +0 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +0 -2
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +0 -1
- package/dist/types/src/RedlineApprovalCardTest.d.ts +0 -1
- package/dist/types/src/RedlineApprovalCardTest.d.ts.map +0 -1
- package/dist/types/src/RedlineEditorTest2.d.ts +0 -3
- package/dist/types/src/RedlineEditorTest2.d.ts.map +0 -1
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
- package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
- package/dist/types/src/commonConstants.d.ts +0 -31103
- package/dist/types/src/commonConstants.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts +0 -2
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.test.d.ts.map +0 -1
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts +0 -128
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts +0 -13
- package/dist/types/src/features/ParentCitationComponent/ParentCitationComponentTest.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts +0 -59
- package/dist/types/src/features/PdfViewer/nyc-components/BoundaryCard.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts +0 -19
- package/dist/types/src/features/PdfViewer/nyc-components/CardWrapper.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts +0 -3
- package/dist/types/src/features/PdfViewer/nyc-components/CognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts +0 -77
- package/dist/types/src/features/PdfViewer/nyc-components/LabelCheck.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts +0 -47
- package/dist/types/src/features/PdfViewer/nyc-components/SegmentReviewPdfWrapper.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts +0 -15
- package/dist/types/src/features/PdfViewer/nyc-components/index.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts +0 -3
- package/dist/types/src/features/PdfViewer/nyc-components/infoAlert.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts +0 -36
- package/dist/types/src/features/PdfViewer/nyc-components/reviewStepAdapters.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -51
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -53
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts +0 -2
- package/dist/types/src/features/SegmentReviewComponents/helper.test.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -242
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts +0 -2
- package/dist/types/src/features/SegmentReviewComponents/segmentReviewEdgeCases.test.d.ts.map +0 -1
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import { SegmentReviewAction } from './reviewStepAdapters';
|
|
4
|
-
export interface BoundaryCardOption {
|
|
5
|
-
id: string;
|
|
6
|
-
title: ReactNode;
|
|
7
|
-
description?: ReactNode;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare enum BoundaryReviewActionEnum {
|
|
11
|
-
KEEP = "KEEP",
|
|
12
|
-
SPLIT_HERE = "SPLIT_HERE",
|
|
13
|
-
MERGE_NEXT = "MERGE_NEXT",
|
|
14
|
-
MERGE_PREV = "MERGE_PREV",
|
|
15
|
-
MERGE_PREVIOUS = "MERGE_PREVIOUS",
|
|
16
|
-
SET_RANGE = "SET_RANGE"
|
|
17
|
-
}
|
|
18
|
-
export type BoundaryReviewAction = `${BoundaryReviewActionEnum}`;
|
|
19
|
-
export interface BoundaryReviewMetadata {
|
|
20
|
-
focus_page?: number | null;
|
|
21
|
-
boundary_margin?: number | null;
|
|
22
|
-
user_actions: readonly BoundaryReviewAction[];
|
|
23
|
-
}
|
|
24
|
-
export interface BoundaryReviewConfirmDetails {
|
|
25
|
-
selectedIndex: number;
|
|
26
|
-
option: BoundaryCardOption;
|
|
27
|
-
metadata?: BoundaryReviewMetadata;
|
|
28
|
-
startPage?: number;
|
|
29
|
-
endPage?: number;
|
|
30
|
-
}
|
|
31
|
-
export interface BoundaryCardStyles {
|
|
32
|
-
root?: SxProps<Theme>;
|
|
33
|
-
header?: SxProps<Theme>;
|
|
34
|
-
option?: SxProps<Theme>;
|
|
35
|
-
rangeInput?: SxProps<Theme>;
|
|
36
|
-
confirmButton?: SxProps<Theme>;
|
|
37
|
-
manualSection?: SxProps<Theme>;
|
|
38
|
-
manualConfirmation?: SxProps<Theme>;
|
|
39
|
-
adjacentSelector?: SxProps<Theme>;
|
|
40
|
-
impactWarning?: SxProps<Theme>;
|
|
41
|
-
footer?: SxProps<Theme>;
|
|
42
|
-
}
|
|
43
|
-
export declare const isBoundaryReviewAction: (value: string) => value is "KEEP" | "SPLIT_HERE" | "MERGE_NEXT" | "MERGE_PREV" | "MERGE_PREVIOUS" | "SET_RANGE";
|
|
44
|
-
export declare const createBoundaryCardOptions: (metadata?: BoundaryReviewMetadata, reviewAction?: SegmentReviewAction, startPage?: number | null, endPage?: number | null) => BoundaryCardOption[];
|
|
45
|
-
export interface BoundaryCardProps {
|
|
46
|
-
headerName?: ReactNode;
|
|
47
|
-
title: ReactNode;
|
|
48
|
-
pageNo?: ReactNode;
|
|
49
|
-
content?: ReactNode;
|
|
50
|
-
/** Replaces content when the API provides an operation-level revert summary. */
|
|
51
|
-
revertSummary?: ReactNode;
|
|
52
|
-
cognitiveScore?: ReactNode;
|
|
53
|
-
config?: readonly BoundaryCardOption[];
|
|
54
|
-
metadata?: BoundaryReviewMetadata;
|
|
55
|
-
reviewAction?: SegmentReviewAction;
|
|
56
|
-
previousSegmentTitle?: ReactNode;
|
|
57
|
-
nextSegmentTitle?: ReactNode;
|
|
58
|
-
/** Total number of pages in the document for validating custom page ranges. */
|
|
59
|
-
totalPages?: number;
|
|
60
|
-
selectedIndex?: number | null;
|
|
61
|
-
defaultSelectedIndex?: number | null;
|
|
62
|
-
/** Initial page range shown when SET_RANGE is selected. */
|
|
63
|
-
defaultStartPage?: number | null;
|
|
64
|
-
defaultEndPage?: number | null;
|
|
65
|
-
onSelectionChange?: (selectedIndex: number, option: BoundaryCardOption) => void;
|
|
66
|
-
onConfirm?: (selectedIndex: number, option: BoundaryCardOption, details?: BoundaryReviewConfirmDetails) => void;
|
|
67
|
-
onActionConfirm?: (action: BoundaryReviewAction, details: BoundaryReviewConfirmDetails) => void;
|
|
68
|
-
onCognitiveClick?: () => void;
|
|
69
|
-
onAdjustManually?: () => void;
|
|
70
|
-
onClose?: () => void;
|
|
71
|
-
confirmLabel?: ReactNode;
|
|
72
|
-
manualPrompt?: ReactNode;
|
|
73
|
-
manualActionLabel?: ReactNode;
|
|
74
|
-
cognitiveLabel?: ReactNode;
|
|
75
|
-
showAdjustManually?: boolean;
|
|
76
|
-
showCognitiveIntegrity?: boolean;
|
|
77
|
-
showCloseButton?: boolean;
|
|
78
|
-
confirmDisabled?: boolean;
|
|
79
|
-
width?: number | string;
|
|
80
|
-
maxWidth?: number | string;
|
|
81
|
-
className?: string;
|
|
82
|
-
styles?: BoundaryCardStyles;
|
|
83
|
-
}
|
|
84
|
-
export default function BoundaryCard({ headerName, title, pageNo, content, revertSummary, cognitiveScore, config, metadata, previousSegmentTitle, nextSegmentTitle, selectedIndex, defaultSelectedIndex, defaultStartPage, defaultEndPage, onSelectionChange, onConfirm, onActionConfirm, onCognitiveClick, onAdjustManually, onClose, confirmLabel, manualPrompt, manualActionLabel, cognitiveLabel, showAdjustManually, showCognitiveIntegrity, showCloseButton, confirmDisabled, width, maxWidth, className, styles, reviewAction, totalPages }: BoundaryCardProps): import("react/jsx-runtime").JSX.Element;
|
|
85
|
-
//# sourceMappingURL=BoundaryCard.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Boundary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,gBAAgB,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,EACN,YAAY,EACZ,UAAU,EACX,EAAE,iBAAiB,2CA0vBnB"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React, { 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
|
-
width?: number | string;
|
|
17
|
-
maxWidth?: number | string;
|
|
18
|
-
customStyles?: Record<string, React.CSSProperties>;
|
|
19
|
-
/** Fallback max-height as percentage of viewport when availableHeight is not calculated. Default: '85vh' */
|
|
20
|
-
fallbackMaxHeightVh?: number;
|
|
21
|
-
/** Height buffer to subtract from availableHeight calculation. Default: 100px */
|
|
22
|
-
heightBuffer?: number;
|
|
23
|
-
}
|
|
24
|
-
/** Renders a scrollable card in a portal, anchored below another element. */
|
|
25
|
-
export default function CardWrapper({ anchorRef, anchorElement, children, className, offset, placement, width, maxWidth, customStyles, fallbackMaxHeightVh, heightBuffer, }: CardWrapperProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
//# sourceMappingURL=CardWrapper.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CardWrapper.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/CardWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAIZ,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAGf,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAGxD,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;IACrC,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,YAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;IACpD,4GAA4G;IAC5G,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,6EAA6E;AAC7E,MAAM,CAAC,OAAO,UAAU,WAAW,CAAC,EAClC,SAAS,EACT,aAAa,EACb,QAAQ,EACR,SAAS,EACT,MAAW,EACX,SAA0B,EAC1B,KAAK,EACL,QAAQ,EACR,YAAiB,EACjB,mBAAwB,EACxB,YAAkB,GACnB,EAAE,gBAAgB,2CAqIlB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ChartBreakoutCircle.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/ChartBreakoutCircle.tsx"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,KAAK,EAAE,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,2CAO/E"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveIcon.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/CognitiveIcon.tsx"],"names":[],"mappings":"AAAA,OAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,CAAC,OAAO,UAAU,aAAa,CAAC,KAAK,EAAE,YAAY,2CAexD"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
import { type MarkdownRendererStyles } from '../CitationRenderer/MarkdownRenderer';
|
|
4
|
-
export interface CognitiveIntegrityStyles {
|
|
5
|
-
root?: SxProps<Theme>;
|
|
6
|
-
header?: SxProps<Theme>;
|
|
7
|
-
content?: SxProps<Theme>;
|
|
8
|
-
section?: SxProps<Theme>;
|
|
9
|
-
markdown?: MarkdownRendererStyles;
|
|
10
|
-
}
|
|
11
|
-
export interface CognitiveIntegrityProps {
|
|
12
|
-
reasons?: readonly CognitiveIntegrityReason[] | null;
|
|
13
|
-
/** @deprecated Use `reasons` with `type: "evidence"` instead. */
|
|
14
|
-
reason?: string | null;
|
|
15
|
-
/** @deprecated Use `reasons` with `type: "gap"` instead. */
|
|
16
|
-
gap?: string | null;
|
|
17
|
-
score?: string | number | null;
|
|
18
|
-
headerName?: ReactNode;
|
|
19
|
-
onBack?: () => void;
|
|
20
|
-
onClose?: () => void;
|
|
21
|
-
showCloseButton?: boolean;
|
|
22
|
-
width?: number | string;
|
|
23
|
-
maxWidth?: number | string;
|
|
24
|
-
className?: string;
|
|
25
|
-
styles?: CognitiveIntegrityStyles;
|
|
26
|
-
}
|
|
27
|
-
export interface CognitiveIntegrityReason {
|
|
28
|
-
text: string;
|
|
29
|
-
type: string;
|
|
30
|
-
}
|
|
31
|
-
/** Compact popup content for displaying review reason and gap as Markdown. */
|
|
32
|
-
export default function CognitiveIntegrity({ reasons, reason, gap, score: cognitiveScore, headerName, onBack, onClose, showCloseButton, width, maxWidth, className, styles, }: CognitiveIntegrityProps): import("react/jsx-runtime").JSX.Element | null;
|
|
33
|
-
//# sourceMappingURL=CognitiveIntegrity.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveIntegrity.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/CognitiveIntegrity.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AASvC,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAyB,EACvB,KAAK,sBAAsB,EAC5B,MAAM,sCAAsC,CAAC;AAY9C,MAAM,WAAW,wBAAwB;IACvC,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,OAAO,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACzB,QAAQ,CAAC,EAAE,sBAAsB,CAAC;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,OAAO,CAAC,EAAE,SAAS,wBAAwB,EAAE,GAAG,IAAI,CAAC;IACrD,iEAAiE;IACjE,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,4DAA4D;IAC5D,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,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,wBAAwB,CAAC;CACnC;AAED,MAAM,WAAW,wBAAwB;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AA8CD,8EAA8E;AAC9E,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,OAAO,EACP,MAAM,EACN,GAAG,EACH,KAAK,EAAE,cAAc,EACrB,UAAkC,EAClC,MAAM,EACN,OAAO,EACP,eAAsB,EACtB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,uBAAuB,kDA2QzB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ReactNode } from 'react';
|
|
2
|
-
export interface CognitiveScoreBadgeProps {
|
|
3
|
-
score?: ReactNode;
|
|
4
|
-
}
|
|
5
|
-
/** Displays numeric scores as percentages while preserving backend-formatted strings. */
|
|
6
|
-
export default function CognitiveScoreBadge({ score }: CognitiveScoreBadgeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
//# sourceMappingURL=CognitiveScoreBadge.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveScoreBadge.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/CognitiveScoreBadge.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,wBAAwB;IACvC,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAED,yFAAyF;AACzF,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,EAAE,KAAK,EAAE,EAAE,wBAAwB,kDAwB9E"}
|
|
@@ -1,87 +0,0 @@
|
|
|
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 declare enum LabelReviewActionEnum {
|
|
14
|
-
KEEP_LABEL = "KEEP_LABEL",
|
|
15
|
-
SET_CUSTOM_LABEL = "SET_CUSTOM_LABEL"
|
|
16
|
-
}
|
|
17
|
-
export type LabelReviewAction = `${LabelReviewActionEnum}`;
|
|
18
|
-
/** Metadata supplied by a `Label Review` review step. */
|
|
19
|
-
export interface LabelReviewMetadata {
|
|
20
|
-
current_label?: string | null;
|
|
21
|
-
custom_label?: string | null;
|
|
22
|
-
group_id?: string | null;
|
|
23
|
-
user_actions: readonly LabelReviewAction[];
|
|
24
|
-
}
|
|
25
|
-
export interface LabelReviewConfirmDetails {
|
|
26
|
-
selectedIndex: number;
|
|
27
|
-
option: LabelCheckOption;
|
|
28
|
-
customLabel?: string;
|
|
29
|
-
metadata?: LabelReviewMetadata;
|
|
30
|
-
}
|
|
31
|
-
export declare const createLabelCheckOptions: (metadata: LabelReviewMetadata) => LabelCheckOption[];
|
|
32
|
-
export declare const isLabelReviewAction: (value: string) => value is "KEEP_LABEL" | "SET_CUSTOM_LABEL";
|
|
33
|
-
export interface LabelCheckStyles {
|
|
34
|
-
root?: SxProps<Theme>;
|
|
35
|
-
header?: SxProps<Theme>;
|
|
36
|
-
option?: SxProps<Theme>;
|
|
37
|
-
confirmButton?: SxProps<Theme>;
|
|
38
|
-
customInput?: SxProps<Theme>;
|
|
39
|
-
confirmationWarning?: SxProps<Theme>;
|
|
40
|
-
footer?: SxProps<Theme>;
|
|
41
|
-
}
|
|
42
|
-
export interface LabelCheckProps {
|
|
43
|
-
headerName?: ReactNode;
|
|
44
|
-
title: ReactNode;
|
|
45
|
-
pageNo?: ReactNode;
|
|
46
|
-
content?: ReactNode;
|
|
47
|
-
/** Replaces content when the API provides an operation-level revert summary. */
|
|
48
|
-
revertSummary?: ReactNode;
|
|
49
|
-
cognitiveScore?: ReactNode;
|
|
50
|
-
/** Explicit options. When omitted, options are derived from metadata.user_actions. */
|
|
51
|
-
config?: readonly LabelCheckOption[];
|
|
52
|
-
/** Metadata from a review step whose type is `Label Review`. */
|
|
53
|
-
metadata?: LabelReviewMetadata;
|
|
54
|
-
/** Controlled selection. Omit to let LabelCheck manage it internally. */
|
|
55
|
-
selectedIndex?: number | null;
|
|
56
|
-
defaultSelectedIndex?: number | null;
|
|
57
|
-
onSelectionChange?: (selectedIndex: number, option: LabelCheckOption) => void;
|
|
58
|
-
/** Controlled custom-label value. Omit to use internal state. */
|
|
59
|
-
customLabel?: string;
|
|
60
|
-
defaultCustomLabel?: string;
|
|
61
|
-
onCustomLabelChange?: (value: string) => void;
|
|
62
|
-
/** Legacy/index-based callback retained for explicitly configured options. */
|
|
63
|
-
onConfirm?: (selectedIndex: number, option: LabelCheckOption, customLabel?: string) => void;
|
|
64
|
-
/** Preferred callback when options come from Label Review metadata. */
|
|
65
|
-
onActionConfirm?: (action: LabelReviewAction, details: LabelReviewConfirmDetails) => void;
|
|
66
|
-
onCognitiveClick?: () => void;
|
|
67
|
-
onAdjustManually?: () => void;
|
|
68
|
-
onClose?: () => void;
|
|
69
|
-
confirmLabel?: ReactNode;
|
|
70
|
-
customInputAriaLabel?: string;
|
|
71
|
-
manualPrompt?: ReactNode;
|
|
72
|
-
manualActionLabel?: ReactNode;
|
|
73
|
-
cognitiveLabel?: ReactNode;
|
|
74
|
-
showAdjustManually?: boolean;
|
|
75
|
-
showCognitiveIntegrity?: boolean;
|
|
76
|
-
showCloseButton?: boolean;
|
|
77
|
-
confirmDisabled?: boolean;
|
|
78
|
-
confirmationBlocked?: boolean;
|
|
79
|
-
confirmationWarning?: ReactNode;
|
|
80
|
-
disableAllActions?: boolean;
|
|
81
|
-
width?: number | string;
|
|
82
|
-
maxWidth?: number | string;
|
|
83
|
-
className?: string;
|
|
84
|
-
styles?: LabelCheckStyles;
|
|
85
|
-
}
|
|
86
|
-
export default function LabelCheck({ headerName, title, pageNo, content, revertSummary, cognitiveScore, config, metadata, selectedIndex, defaultSelectedIndex, onSelectionChange, customLabel, defaultCustomLabel, onCustomLabelChange, onConfirm, onActionConfirm, onCognitiveClick, onAdjustManually, onClose, confirmLabel, customInputAriaLabel, manualPrompt, manualActionLabel, cognitiveLabel, showAdjustManually, showCognitiveIntegrity, showCloseButton, confirmDisabled, confirmationBlocked, confirmationWarning, disableAllActions, width, maxWidth, className, styles, }: LabelCheckProps): import("react/jsx-runtime").JSX.Element;
|
|
87
|
-
//# sourceMappingURL=LabelCheck.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LabelCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/LabelCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAe1D,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAa3D,MAAM,WAAW,gBAAgB;IAC/B,sDAAsD;IACtD,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,SAAS,CAAC;IACjB,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,oEAAoE;IACpE,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,oBAAY,qBAAqB;IA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AAE,OAAO,CAAC;IAC1B,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,mBAAmB,CAAC,EAAE,SAAS,CAAC;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,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,aAAa,EACb,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,mBAA2B,EAC3B,mBAAmB,EACnB,iBAAyB,EACzB,KAAW,EACX,QAAc,EACd,SAAS,EACT,MAAM,GACP,EAAE,eAAe,2CAkWjB"}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { type ReactNode } from 'react';
|
|
2
|
-
import type { SxProps, Theme } from '@mui/material/styles';
|
|
3
|
-
export declare enum PageCheckActionEnum {
|
|
4
|
-
YES = "YES",
|
|
5
|
-
NO = "NO"
|
|
6
|
-
}
|
|
7
|
-
export type PageCheckAction = `${PageCheckActionEnum}`;
|
|
8
|
-
export type PageCheckPageType = 'table' | 'drawing';
|
|
9
|
-
/** Metadata supplied by a `Page Type Check` review step. */
|
|
10
|
-
export interface PageCheckMetadata {
|
|
11
|
-
user_actions: readonly PageCheckAction[];
|
|
12
|
-
page_type?: PageCheckPageType | null;
|
|
13
|
-
page_num?: number | null;
|
|
14
|
-
classification_id?: string | null;
|
|
15
|
-
}
|
|
16
|
-
export interface PageCheckConfirmDetails {
|
|
17
|
-
action: PageCheckAction;
|
|
18
|
-
pageType?: PageCheckPageType | null;
|
|
19
|
-
metadata?: PageCheckMetadata;
|
|
20
|
-
}
|
|
21
|
-
export declare const isPageCheckAction: (value: string) => value is "YES" | "NO";
|
|
22
|
-
export interface PageCheckStyles {
|
|
23
|
-
root?: SxProps<Theme>;
|
|
24
|
-
header?: SxProps<Theme>;
|
|
25
|
-
yesButton?: SxProps<Theme>;
|
|
26
|
-
noButton?: SxProps<Theme>;
|
|
27
|
-
footer?: SxProps<Theme>;
|
|
28
|
-
}
|
|
29
|
-
export interface PageCheckProps {
|
|
30
|
-
headerName?: ReactNode;
|
|
31
|
-
title: ReactNode;
|
|
32
|
-
pageNo?: ReactNode;
|
|
33
|
-
content?: ReactNode;
|
|
34
|
-
cognitiveScore?: ReactNode;
|
|
35
|
-
pageType?: PageCheckPageType | null;
|
|
36
|
-
metadata?: PageCheckMetadata;
|
|
37
|
-
/** Metadata from a review step whose type is `Page Type Check`. */
|
|
38
|
-
onActionConfirm?: (action: PageCheckAction, details: PageCheckConfirmDetails) => void;
|
|
39
|
-
onCognitiveClick?: () => void;
|
|
40
|
-
onClose?: () => void;
|
|
41
|
-
showCognitiveIntegrity?: boolean;
|
|
42
|
-
showCloseButton?: boolean;
|
|
43
|
-
confirmDisabled?: boolean;
|
|
44
|
-
disableAllActions?: boolean;
|
|
45
|
-
width?: number | string;
|
|
46
|
-
maxWidth?: number | string;
|
|
47
|
-
className?: string;
|
|
48
|
-
styles?: PageCheckStyles;
|
|
49
|
-
}
|
|
50
|
-
export default function PageCheck({ headerName, title, pageNo, content, cognitiveScore, pageType, metadata, onActionConfirm, onCognitiveClick, onClose, showCognitiveIntegrity, showCloseButton, confirmDisabled, disableAllActions, width, maxWidth, className, styles, }: PageCheckProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
//# sourceMappingURL=PageCheck.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"PageCheck.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/PageCheck.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAe,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAUpD,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAa3D,oBAAY,mBAAmB;IAC7B,GAAG,QAAQ;IACX,EAAE,OAAO;CACV;AAED,MAAM,MAAM,eAAe,GAAG,GAAG,mBAAmB,EAAE,CAAC;AACvD,MAAM,MAAM,iBAAiB,GAAG,OAAO,GAAG,SAAS,CAAC;AAEpD,4DAA4D;AAC5D,MAAM,WAAW,iBAAiB;IAChC,YAAY,EAAE,SAAS,eAAe,EAAE,CAAC;IACzC,SAAS,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;CAC9B;AAED,eAAO,MAAM,iBAAiB,UAAW,MAAM,0BAC4B,CAAC;AAE5E,MAAM,WAAW,eAAe;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACtB,MAAM,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IACxB,SAAS,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC,CAAC;IAC1B,MAAM,CAAC,EAAE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|
-
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
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RevertCard.d.ts","sourceRoot":"","sources":["../../../../../src/features/SegmentReviewComponents/RevertCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,O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|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,2CAkExB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -1,124 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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,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