@e-llm-studio/citation 0.0.249 → 0.0.251-beta.1
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 +36 -183
- package/dist/BPACitationRenderer.js +2 -0
- package/dist/BPACitationRenderer.js.map +1 -0
- package/dist/BookCitation.js +2 -0
- package/dist/BookCitation.js.map +1 -0
- package/dist/Bookemon.js +2 -0
- package/dist/Bookemon.js.map +1 -0
- package/dist/ChatCitation.js +2 -0
- package/dist/ChatCitation.js.map +1 -0
- package/dist/ChatDrawer.js +2 -0
- package/dist/ChatDrawer.js.map +1 -0
- package/dist/CitationRenderer.js +2 -0
- package/dist/CitationRenderer.js.map +1 -0
- package/dist/CodeCitation.js +2 -0
- package/dist/CodeCitation.js.map +1 -0
- package/dist/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/CognitiveInternalgptReasoning.js +2 -0
- package/dist/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/GptWebCitation.js +2 -0
- package/dist/GptWebCitation.js.map +1 -0
- package/dist/IngestionStatusComponent.js +2 -0
- package/dist/IngestionStatusComponent.js.map +1 -0
- package/dist/PdfViewer.js +2 -0
- package/dist/PdfViewer.js.map +1 -0
- package/dist/ProjectAccordion.js +2 -0
- package/dist/ProjectAccordion.js.map +1 -0
- package/dist/SplitterCitationsComponent.js +2 -0
- package/dist/SplitterCitationsComponent.js.map +1 -0
- package/dist/TextualGuideLinesComponent.js +2 -0
- package/dist/TextualGuideLinesComponent.js.map +1 -0
- package/dist/assests/icons/CitationsIcon.js +1 -1
- package/dist/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/assests/icons/InfoAlert.js +1 -1
- package/dist/assests/icons/InfoAlert.js.map +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/assests/svg/SparkleIcon.js +1 -1
- package/dist/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/BPACitationRenderer.js +2 -0
- package/dist/cjs/BPACitationRenderer.js.map +1 -0
- package/dist/cjs/BookCitation.js +2 -0
- package/dist/cjs/BookCitation.js.map +1 -0
- package/dist/cjs/Bookemon.js +2 -0
- package/dist/cjs/Bookemon.js.map +1 -0
- package/dist/cjs/ChatCitation.js +2 -0
- package/dist/cjs/ChatCitation.js.map +1 -0
- package/dist/cjs/ChatDrawer.js +2 -0
- package/dist/cjs/ChatDrawer.js.map +1 -0
- package/dist/cjs/CitationRenderer.js +2 -0
- package/dist/cjs/CitationRenderer.js.map +1 -0
- package/dist/cjs/CodeCitation.js +2 -0
- package/dist/cjs/CodeCitation.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/cjs/GptWebCitation.js +2 -0
- package/dist/cjs/GptWebCitation.js.map +1 -0
- package/dist/cjs/IngestionStatusComponent.js +2 -0
- package/dist/cjs/IngestionStatusComponent.js.map +1 -0
- package/dist/cjs/PdfViewer.js +2 -0
- package/dist/cjs/PdfViewer.js.map +1 -0
- package/dist/cjs/ProjectAccordion.js +2 -0
- package/dist/cjs/ProjectAccordion.js.map +1 -0
- package/dist/cjs/SplitterCitationsComponent.js +2 -0
- package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
- package/dist/cjs/TextualGuideLinesComponent.js +2 -0
- package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
- package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/types.js +1 -1
- package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/cjs/service/apicache.service.js +1 -1
- package/dist/cjs/service/apicache.service.js.map +1 -1
- package/dist/cjs/service/onDemandApi.js +1 -1
- package/dist/cjs/service/onDemandApi.js.map +1 -1
- package/dist/cjs/types/onDemandApi.types.js +1 -1
- package/dist/cjs/types/onDemandApi.types.js.map +1 -1
- package/dist/cjs/utils/codeCitations.utils.js +1 -1
- package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
- package/dist/cjs/utils/helper.js +2 -0
- package/dist/cjs/utils/helper.js.map +1 -0
- package/dist/cjs/utils/sanitizeHtml.js +1 -1
- package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
- package/dist/cjs/utils/themeManager.js +1 -1
- package/dist/cjs/utils/themeManager.js.map +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.js +1 -1
- package/dist/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/features/Bookemon/Bookemon.js +1 -1
- package/dist/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/features/Bookemon/BookemonContent.js +1 -1
- package/dist/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/features/Bookemon/utils/highlight.js +1 -1
- package/dist/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/features/ChatCitation/components/Chip.js +1 -1
- package/dist/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/features/CitationViewer/components/Header.js +1 -1
- package/dist/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/features/GptWebCitation/types.js +1 -1
- package/dist/features/GptWebCitation/types.js.map +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/features/PdfViewer/rotationManager.js +1 -1
- package/dist/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/service/apicache.service.js +1 -1
- package/dist/service/apicache.service.js.map +1 -1
- package/dist/service/onDemandApi.js +1 -1
- package/dist/service/onDemandApi.js.map +1 -1
- package/dist/types/AutopilotStyle.d.ts +2 -0
- package/dist/types/AutopilotStyle.d.ts.map +1 -0
- package/dist/types/BPACitationRenderer.d.ts +3 -0
- package/dist/types/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/BookCitation.d.ts +3 -0
- package/dist/types/BookCitation.d.ts.map +1 -0
- package/dist/types/Bookemon.d.ts +3 -0
- package/dist/types/Bookemon.d.ts.map +1 -0
- package/dist/types/ChatCitation.d.ts +3 -0
- package/dist/types/ChatCitation.d.ts.map +1 -0
- package/dist/types/ChatDrawer.d.ts +3 -0
- package/dist/types/ChatDrawer.d.ts.map +1 -0
- package/dist/types/CitationRenderer.d.ts +3 -0
- package/dist/types/CitationRenderer.d.ts.map +1 -0
- package/dist/types/CodeCitation.d.ts +3 -0
- package/dist/types/CodeCitation.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
- package/dist/types/GptWebCitation.d.ts +3 -0
- package/dist/types/GptWebCitation.d.ts.map +1 -0
- package/dist/types/IngestionStatusComponent.d.ts +2 -0
- package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/PdfViewer.d.ts +3 -0
- package/dist/types/PdfViewer.d.ts.map +1 -0
- package/dist/types/ProjectAccordion.d.ts +3 -0
- package/dist/types/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/SplitterCitationsComponent.d.ts +3 -0
- package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
- package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
- package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
- package/dist/types/context/DataSelectedContext.d.ts +73 -0
- package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/types.d.ts +405 -0
- package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +12 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/types.d.ts +77 -0
- package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
- package/dist/types/features/UploadData/main.d.ts +9 -0
- package/dist/types/features/UploadData/main.d.ts.map +1 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/methodsToExpose.d.ts +18 -0
- package/dist/types/methodsToExpose.d.ts.map +1 -0
- package/dist/types/onDemandApi.types.js +1 -1
- package/dist/types/onDemandApi.types.js.map +1 -1
- package/dist/types/service/API.d.ts +6 -0
- package/dist/types/service/API.d.ts.map +1 -0
- package/dist/types/service/DataService.d.ts +73 -0
- package/dist/types/service/DataService.d.ts.map +1 -0
- package/dist/types/service/ModelService.d.ts +68 -0
- package/dist/types/service/ModelService.d.ts.map +1 -0
- package/dist/types/service/ProjectService.d.ts +16 -0
- package/dist/types/service/ProjectService.d.ts.map +1 -0
- package/dist/types/service/SavedDataSetService.d.ts +27 -0
- package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
- package/dist/types/service/apicache.service.d.ts +43 -0
- package/dist/types/service/apicache.service.d.ts.map +1 -0
- package/dist/types/service/constants.d.ts +3 -0
- package/dist/types/service/constants.d.ts.map +1 -0
- package/dist/types/service/envHelperService.d.ts +5 -0
- package/dist/types/service/envHelperService.d.ts.map +1 -0
- package/dist/types/service/onDemandApi.d.ts +27 -0
- package/dist/types/service/onDemandApi.d.ts.map +1 -0
- package/dist/types/service/variableHelperService.d.ts +6 -0
- package/dist/types/service/variableHelperService.d.ts.map +1 -0
- package/dist/types/theme.d.ts +4 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/types/types/CodeCitationTypes.d.ts +46 -0
- package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
- package/dist/types/types/onDemandApi.types.d.ts +63 -0
- package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
- package/dist/types/userProvidedConfig.d.ts +8 -0
- package/dist/types/userProvidedConfig.d.ts.map +1 -0
- package/dist/types/utils/api.d.ts +2 -0
- package/dist/types/utils/api.d.ts.map +1 -0
- package/dist/types/utils/codeCitations.utils.d.ts +9 -0
- package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
- package/dist/types/utils/helper.d.ts +5 -0
- package/dist/types/utils/helper.d.ts.map +1 -0
- package/dist/types/utils/sanitizeHtml.d.ts +5 -0
- package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
- package/dist/types/utils/themeManager.d.ts +13 -0
- package/dist/types/utils/themeManager.d.ts.map +1 -0
- package/dist/utils/codeCitations.utils.js +1 -1
- package/dist/utils/codeCitations.utils.js.map +1 -1
- package/dist/utils/helper.js +2 -0
- package/dist/utils/helper.js.map +1 -0
- package/dist/utils/sanitizeHtml.js +1 -1
- package/dist/utils/sanitizeHtml.js.map +1 -1
- package/dist/utils/themeManager.js +1 -1
- package/dist/utils/themeManager.js.map +1 -1
- package/package.json +135 -278
- package/dist/types/src/AccordianHeadTest.d.ts +0 -2
- package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
- package/dist/types/src/App.d.ts +0 -3
- package/dist/types/src/App.d.ts.map +0 -1
- package/dist/types/src/AutopilotStyle.d.ts +0 -2
- package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
- package/dist/types/src/BookCitationTest.d.ts +0 -3
- package/dist/types/src/BookCitationTest.d.ts.map +0 -1
- package/dist/types/src/BookemonTest.d.ts +0 -83
- package/dist/types/src/BookemonTest.d.ts.map +0 -1
- package/dist/types/src/ChatCitationTest.d.ts +0 -7
- package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
- package/dist/types/src/ChatDrawerTest.d.ts +0 -17
- package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
- package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
- package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
- package/dist/types/src/CodeCitationTest.d.ts +0 -3
- package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
- package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
- package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
- package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
- package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
- package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
- package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
- package/dist/types/src/CustomStylesProvider.d.ts +0 -6
- package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
- package/dist/types/src/CustomThemeProvider.d.ts +0 -7
- package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
- package/dist/types/src/DatagestMonTest.d.ts +0 -3
- package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
- package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
- package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/EmailCitationTest.d.ts +0 -3
- package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
- package/dist/types/src/ExcelCitationTest.d.ts +0 -2
- package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
- package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
- package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
- package/dist/types/src/PdfViewerTest.d.ts +0 -5
- package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
- package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
- package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
- package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
- package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
- package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
- package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
- package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
- package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
- package/dist/types/src/TableCitationTest.d.ts +0 -3
- package/dist/types/src/TableCitationTest.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/CitationsIcon.d.ts +0 -2
- package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
- package/dist/types/src/assests/icons/CitationsSparkleIcon.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/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
- package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
- package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
- package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
- package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
- package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
- package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
- package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
- package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
- package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
- package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
- package/dist/types/src/features/PdfViewer/PdfViewer.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/rotationManager.d.ts +0 -23
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
- package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.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 -57
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.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 -51
- package/dist/types/src/features/SegmentReviewComponents/helper.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/reviewScore.d.ts +0 -4
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
- package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
- package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/main.d.ts +0 -10
- package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
- package/dist/types/src/hooks/useDebounce.d.ts +0 -2
- package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
- package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
- package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
- package/dist/types/src/index.d.ts +0 -63
- package/dist/types/src/index.d.ts.map +0 -1
- package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
- package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
- package/dist/types/src/methodsToExpose.d.ts +0 -13
- package/dist/types/src/methodsToExpose.d.ts.map +0 -1
- package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
- package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/routes/Routes.d.ts +0 -2
- package/dist/types/src/routes/Routes.d.ts.map +0 -1
- package/dist/types/src/service/API.d.ts +0 -6
- package/dist/types/src/service/API.d.ts.map +0 -1
- package/dist/types/src/service/DataService.d.ts +0 -73
- package/dist/types/src/service/DataService.d.ts.map +0 -1
- package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
- package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
- package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
- package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
- package/dist/types/src/service/ModelService.d.ts +0 -68
- package/dist/types/src/service/ModelService.d.ts.map +0 -1
- package/dist/types/src/service/ProjectService.d.ts +0 -16
- package/dist/types/src/service/ProjectService.d.ts.map +0 -1
- package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
- package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
- package/dist/types/src/service/apicache.service.d.ts +0 -43
- package/dist/types/src/service/apicache.service.d.ts.map +0 -1
- package/dist/types/src/service/constants.d.ts +0 -3
- package/dist/types/src/service/constants.d.ts.map +0 -1
- package/dist/types/src/service/envHelperService.d.ts +0 -5
- package/dist/types/src/service/envHelperService.d.ts.map +0 -1
- package/dist/types/src/service/onDemandApi.d.ts +0 -27
- package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
- package/dist/types/src/service/variableHelperService.d.ts +0 -6
- package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
- package/dist/types/src/theme.d.ts +0 -4
- package/dist/types/src/theme.d.ts.map +0 -1
- package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
- package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
- package/dist/types/src/types/epubItems.d.ts +0 -23
- package/dist/types/src/types/epubItems.d.ts.map +0 -1
- package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
- package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
- package/dist/types/src/userProvidedConfig.d.ts +0 -8
- package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
- package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
- package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
- package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
- package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
- package/dist/types/src/utils/api.d.ts +0 -2
- package/dist/types/src/utils/api.d.ts.map +0 -1
- package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
- package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
- package/dist/types/src/utils/colors.d.ts +0 -5
- package/dist/types/src/utils/colors.d.ts.map +0 -1
- package/dist/types/src/utils/date.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts.map +0 -1
- package/dist/types/src/utils/helperFunctions.d.ts +0 -6
- package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
- package/dist/types/src/utils/regexHelperService.d.ts +0 -9
- package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
- package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
- package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
- package/dist/types/src/utils/themeManager.d.ts +0 -13
- package/dist/types/src/utils/themeManager.d.ts.map +0 -1
- package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
- package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
- package/dist/types/src/utils/variableHelperService.d.ts +0 -7
- package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"SectionAccordion.js","sources":["../../../../src/features/CognitiveCompare/components/SectionAccordion.tsx"],"sourcesContent":["import React, { useEffect, useRef } from \"react\";\nimport {\n Accordion,\n AccordionDetails,\n AccordionSummary,\n Box,\n Tooltip,\n Typography,\n} from \"@mui/material\";\nimport { ChevronDown, ChevronUp } from \"lucide-react\";\nimport { MemoizedMarkdown } from \"../hooks/memoizedMarkdown\";\nimport { useCompareContext } from \"../CompareContext\";\nimport { \n generateColorPalette, \n hasValue, \n safeStringify,\n DEVIATION_BADGE_SEPARATOR,\n isMissingStr,\n escapeRegExp,\n hasMeaningfulRedlineTags,\n stripRedlineTags,\n getRhsMappedSectionNumber,\n hasSingleMappedLhsSection,\n getLhsDeviationDisplayIndexes,\n} from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { DeviationDataEntry, SectionBlock, StyleVariant } from \"../CognitiveCompareTypes\";\nimport { DeviationNavigationEntry } from \"../hooks/useDeviationNavigation\";\n\nconst renderSimpleMarkdown = (text: string, isMultiTag = false) => {\n if (!text) return null;\n\n const normalizedText = safeStringify(text).replace(/\\\\n/g, \"\\n\");\n const parts = normalizedText.split(/(\\*\\*.*?\\*\\*)/g);\n\n return parts.map((part: string, i: number) => {\n if (part.startsWith(\"**\") && part.endsWith(\"**\")) {\n return <strong key={i}>{part.slice(2, -2)}</strong>;\n }\n\n return (\n <div\n key={i}\n style={{\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"space-between\",\n gap: \"8px\",\n width: \"100%\",\n }}\n >\n <span\n style={{\n minWidth: 0,\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n }}\n >\n {part}\n </span>\n\n {isMultiTag && (\n <span\n style={{\n display: \"inline-flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n padding: \"0px 6px\",\n borderRadius: \"9999px\",\n background: \"#F3F4F6\",\n border: \"1px solid #D1D5DB\",\n color: \"#6B7280\",\n fontSize: \"9px\",\n fontWeight: 500,\n whiteSpace: \"nowrap\",\n flexShrink: 0,\n lineHeight: 1.4,\n marginRight: \"4px\",\n }}\n >\n Multiple\n </span>\n )}\n </div>\n );\n });\n};\n\nconst findScrollParent = (element: HTMLElement | null): HTMLElement | null => {\n let current = element?.parentElement || null;\n while (current) {\n const style = window.getComputedStyle(current);\n const overflowY = style.overflowY;\n const canScroll =\n (overflowY === \"auto\" || overflowY === \"scroll\") &&\n current.scrollHeight > current.clientHeight;\n\n if (canScroll) return current;\n current = current.parentElement;\n }\n\n return null;\n};\n\nconst isElementVisibleInScrollParent = (element: HTMLElement) => {\n const scrollParent = findScrollParent(element);\n const rect = element.getBoundingClientRect();\n const parentRect = scrollParent?.getBoundingClientRect() || {\n top: 0,\n bottom: window.innerHeight,\n };\n\n return rect.top >= parentRect.top && rect.bottom <= parentRect.bottom;\n};\n\ntype SectionAccordionProps = {\n section: SectionBlock;\n idx: number;\n columnKey: \"left\" | \"right\";\n colRef: React.RefObject<HTMLDivElement>;\n mb?: number;\n parentNodeId?: string;\n isExpanded: boolean;\n onToggle: () => void;\n navigation: DeviationNavigationEntry | null;\n};\n\nconst SectionAccordion = ({\n section,\n idx,\n columnKey,\n colRef,\n mb = 1,\n isExpanded,\n onToggle,\n navigation,\n parentNodeId = \"\",\n}: SectionAccordionProps) => {\n const {\n showOpenNodeRef,\n resolvedMarkdownStyles,\n maintainRelativeOrder,\n showDeviationBadges = false,\n renderSubSectionAccordion,\n treeData,\n proposedSections,\n existingSections,\n deviationNumberRegistry,\n deviationParentRegistry,\n getBadgeRef,\n openSummaryPopup,\n getSectionCompareStyle,\n connectedSections,\n openMoreFunctionsPopup,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n isSideBySide,\n activeSideBySideSection,\n scrollSyncLocked,\n unifiedNumbering,\n toggleScrollSyncLocked,\n summaryPopupAnchorEl,\n } = useCompareContext();\n const collisionKey = `${isSideBySide ? \"1\" : \"0\"}-${String(activeSideBySideSection ?? \"\")}`;\n const hasTitle = (section.displayTitle ?? true) && hasValue(section.title);\n const isProposedFixTarget =\n !!isProposingFix &&\n !!proposingFixNodeId &&\n columnKey === \"left\" &&\n (section.id === proposingFixNodeId || section.nodeId === proposingFixNodeId);\n \n const hasRedlineTags = hasMeaningfulRedlineTags(section.content);\n const inferredRedlineFlow = hasRedlineTags;\n const resolvedRedlineFlow =\n typeof isRedlineFlow === \"boolean\" ? isRedlineFlow : inferredRedlineFlow;\n const suppressHighlightBg = hasRedlineTags;\n\n // Use history as the base when redlines exist so badge matching still works.\n const shouldOverlayContent = resolvedRedlineFlow && hasRedlineTags;\n const baseContent = shouldOverlayContent\n ? stripRedlineTags(section.content)\n : section.content;\n const overlayContent = shouldOverlayContent ? section.content : undefined;\n const hasContent = ((section.displayContent ?? true) || hasRedlineTags) && hasValue(section.content);\n const isEmpty = !hasTitle && !hasContent;\n // const changeHistoryContent = section.change_history;\n // const isProposedFixTarget =\n // !!isProposingFix &&\n // !!proposingFixNodeId &&\n // columnKey === \"left\" &&\n // section.id === proposingFixNodeId;\n // const shouldOverlayContent = isProposedFixTarget && hasValue(changeHistoryContent);\n // const baseContent = shouldOverlayContent ? (changeHistoryContent || \"\") : section.content;\n // const overlayContent = shouldOverlayContent ? section.content : undefined;\n // const hasContent = (section.displayContent ?? true) && hasValue(baseContent);\n // const isEmpty = !hasTitle && !hasContent;\n\n \n\n let displayTitle = section.title;\n if (!hasTitle) {\n displayTitle = hasContent ? \"No Title Found\" : \"No Matching Section Found\";\n }\n const isMultipleMapping =\n columnKey === \"left\" &&\n (section.isMultipleMapping || (section.refContentIds?.length ?? 1) > 1);\n const visibleTitle =\n columnKey === \"left\" && displayTitle.length > 29\n ? `${displayTitle.slice(0, 29).trimEnd()}...`\n : displayTitle;\n\n let targetEvalResult = section.evaluationResult;\n if (!targetEvalResult && columnKey === \"right\") {\n if (maintainRelativeOrder) {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsSection = proposedSections.find((s: any) => s.selfIndex === lhsSelfIndex);\n targetEvalResult = lhsSection?.evaluationResult;\n } else {\n targetEvalResult = proposedSections[idx]?.evaluationResult;\n }\n }\n\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n const counterPartNodeId = columnKey === \"left\" ? rightDocId : leftDocId;\n const findNodeByIdDeep = (nodes: any[], id?: string): any => {\n if (!id || !nodes) return null;\n for (const n of nodes) {\n if (n.id === id || n.nodeId === id || n.contentId === id) return n;\n if (n.subsections?.length) {\n const found = findNodeByIdDeep(n.subsections, id);\n if (found) return found;\n }\n }\n return null;\n };\n\n let popupBaseSec: any = columnKey === \"left\" ? section : findNodeByIdDeep(proposedSections, section.id);\n let popupRefSec: any = columnKey === \"right\" ? section : findNodeByIdDeep(existingSections, section.id);\n\n const sectionOffset = React.useMemo(() => {\n if (!maintainRelativeOrder) return 0;\n let min = Infinity;\n\n const normalizeInlineContent = (value: unknown) => {\n const raw = hasMeaningfulRedlineTags(value) ? stripRedlineTags(value) : value;\n return safeStringify(raw || \"\").replace(/\\\\n/g, \"\\n\");\n };\n\n const canRenderInlineHighlight = (node: SectionBlock, highlight: unknown) => {\n if (typeof highlight !== \"string\" || isMissingStr(highlight)) return false;\n const content = normalizeInlineContent(node?.content);\n const normalizedHighlight = normalizeInlineContent(highlight);\n return !!normalizedHighlight && content.includes(normalizedHighlight);\n };\n\n const traverse = (node: any, bNode: any, rNode: any, isTopLevel: boolean) => {\n if (!node) return;\n\n let topNodeId = node.nodeId || node.id;\n if (isTopLevel && columnKey === \"right\") {\n const mappedLhs = proposedSections.filter((l: any) => l.refIndexes?.includes(node.selfIndex));\n if (mappedLhs.length > 0) topNodeId = mappedLhs[0].nodeId || mappedLhs[0].id;\n }\n\n let subNodeId = node.nodeId || node.id || bNode?.nodeId || bNode?.id || rNode?.nodeId || rNode?.id;\n\n const evalResult = node.evaluationResult || bNode?.evaluationResult || rNode?.evaluationResult;\n const devs = evalResult?.deviations || {};\n Object.keys(devs).forEach(devKey => {\n const highlight = devs[devKey]?.[parentNodeId];\n const renderNode = columnKey === \"left\" ? (bNode || node) : (rNode || node);\n if (!canRenderInlineHighlight(renderNode, highlight)) return;\n\n const refId1 = `${topNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n const idx1 = deviationNumberRegistry?.[refId1];\n if (idx1 !== undefined && idx1 !== null && idx1 < min) min = idx1;\n\n const refId2 = `${subNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n const idx2 = deviationNumberRegistry?.[refId2];\n if (idx2 !== undefined && idx2 !== null && idx2 < min) min = idx2;\n });\n\n const subs = node.subsections || [];\n const bSubs = bNode?.subsections || [];\n const rSubs = rNode?.subsections || [];\n const maxLen = Math.max(subs.length, bSubs.length, rSubs.length);\n\n for (let i = 0; i < maxLen; i++) {\n traverse(subs[i], bSubs[i], rSubs[i], false);\n }\n };\n\n const mappedLhsSections = columnKey === \"right\"\n ? proposedSections.filter((lhs: SectionBlock) => lhs.refIndexes?.includes(section.selfIndex as number))\n : [];\n\n if (mappedLhsSections.length === 1) {\n const mappedLhs = mappedLhsSections[0] as SectionBlock;\n const mappedRhsSections = (mappedLhs.refIndexes || [])\n .map((rhsSelfIndex: number) =>\n existingSections.find((rhs: SectionBlock) => rhs.selfIndex === rhsSelfIndex),\n )\n .filter(Boolean);\n\n mappedRhsSections.forEach((rhsSection: any) => {\n traverse(rhsSection, mappedLhs, rhsSection, true);\n });\n } else {\n traverse(section, popupBaseSec, popupRefSec, true);\n }\n\n return min !== Infinity ? min - 1 : 0;\n }, [section, popupBaseSec, popupRefSec, columnKey, parentNodeId, deviationNumberRegistry, maintainRelativeOrder, proposedSections, existingSections]);\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = section.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n popupRefSec = rhsArrayIdx !== -1\n ? existingSections[rhsArrayIdx]\n : findNodeByIdDeep(existingSections, section.id);\n } else {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n popupBaseSec = lhsArrayIdx !== -1\n ? proposedSections[lhsArrayIdx]\n : findNodeByIdDeep(proposedSections, section.id);\n }\n }\n\n const isSecOrphan = columnKey === \"left\" ? !popupRefSec : !popupBaseSec;\n const hasSingleMappedLhs =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n hasSingleMappedLhsSection(section, proposedSections);\n\n const resolvedEvalResult = targetEvalResult || popupBaseSec?.evaluationResult || popupRefSec?.evaluationResult;\n const deviationColorData = resolvedEvalResult?.evaluation_outputs?.metadata?.label_color ?? DEFAULT_DEVIAION_COLOR;\n const deviationPalette = generateColorPalette(deviationColorData);\n const { highlightBg } = deviationPalette;\n const deviations = resolvedEvalResult?.deviations || {};\n\n const lhsDeviationDisplayIndexes = React.useMemo(\n () =>\n maintainRelativeOrder && columnKey === \"right\"\n ? getLhsDeviationDisplayIndexes(\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n )\n : new Map<string, number>(),\n [\n maintainRelativeOrder,\n columnKey,\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n ],\n );\n\n let nodeId = section.nodeId || section.id;\n\n // For RHS mapped sections, nodeId must match what the registry used (LHS id)\n if (maintainRelativeOrder && columnKey !== \"left\") {\n const mappedLhs = proposedSections.filter((l: any) => l.refIndexes?.includes(section.selfIndex));\n if (mappedLhs.length > 0) {\n nodeId = mappedLhs[0].nodeId || mappedLhs[0].id;\n } else if (popupBaseSec?.id) {\n nodeId = popupBaseSec.nodeId || popupBaseSec.id;\n }\n }\n\n const rhsOrphanVisualIndexes = React.useMemo(() => {\n const indexes = new Map<string, number>();\n if (!maintainRelativeOrder || columnKey !== \"right\") return indexes;\n\n let nextIndex = 1;\n const mappedLhsSections = proposedSections.filter((lhs: SectionBlock) =>\n lhs.refIndexes?.includes(section.selfIndex as number),\n );\n const isOneToOneSection =\n mappedLhsSections.length === 1 &&\n mappedLhsSections[0].refIndexes?.length === 1;\n const normalizeContent = (value: unknown) =>\n safeStringify(value || \"\").replace(/\\\\n/g, \"\\n\");\n\n const resolveNode = (rhsNode: SectionBlock, isRoot: boolean) => {\n const lhsNode = isRoot\n ? mappedLhsSections[0]\n : findNodeByIdDeep(\n proposedSections,\n rhsNode.nodeId || rhsNode.id || rhsNode.contentId,\n );\n const evalResult =\n rhsNode.evaluationResult || lhsNode?.evaluationResult;\n const registryNodeId = lhsNode\n ? lhsNode.nodeId || lhsNode.id\n : rhsNode.nodeId || rhsNode.id;\n return { lhsNode, evalResult, registryNodeId };\n };\n\n if (isOneToOneSection) {\n const reserveMappedIndexes = (rhsNode: SectionBlock | null, isRoot = false) => {\n if (!rhsNode) return;\n const { lhsNode, evalResult, registryNodeId } = resolveNode(\n rhsNode,\n isRoot,\n );\n const normalizedContent = normalizeContent(rhsNode.content);\n\n Object.entries(evalResult?.deviations || {}).forEach(\n ([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[parentNodeId];\n const normalizedHighlight = normalizeContent(highlight);\n const isMapped =\n !!lhsNode &&\n !isMissingStr(deviationMap[counterPartNodeId as string]);\n if (\n !isMapped ||\n !normalizedHighlight ||\n !normalizedContent.includes(normalizedHighlight)\n ) return;\n\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const registryIndex = deviationNumberRegistry[refId];\n if (registryIndex === undefined || registryIndex === null) return;\n nextIndex = Math.max(\n nextIndex,\n Math.max(1, registryIndex - (sectionOffset || 0)) + 1,\n );\n },\n );\n\n (rhsNode.subsections || []).forEach((child: SectionBlock) =>\n reserveMappedIndexes(child),\n );\n };\n\n reserveMappedIndexes(section, true);\n }\n\n const visit = (rhsNode: SectionBlock | null, isRoot = false) => {\n if (!rhsNode) return;\n\n const { lhsNode, evalResult, registryNodeId } = resolveNode(\n rhsNode,\n isRoot,\n );\n const nodeDeviations = evalResult?.deviations || {};\n const normalizedContent = normalizeContent(rhsNode.content);\n\n Object.entries(nodeDeviations)\n .map(([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[parentNodeId];\n const isOrphan =\n !lhsNode || isMissingStr(deviationMap[counterPartNodeId as string]);\n const normalizedHighlight = normalizeContent(highlight);\n const position = normalizedHighlight\n ? normalizedContent.indexOf(normalizedHighlight)\n : -1;\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n return {\n refId,\n isRenderable:\n isOrphan && !!normalizedHighlight && !isMissingStr(highlight),\n position,\n registryIndex: deviationNumberRegistry[refId] ?? Number.MAX_SAFE_INTEGER,\n };\n })\n .filter((entry) => entry.isRenderable)\n .sort((a, b) => {\n const aPosition =\n a.position === -1 ? Number.MAX_SAFE_INTEGER : a.position;\n const bPosition =\n b.position === -1 ? Number.MAX_SAFE_INTEGER : b.position;\n return aPosition - bPosition || a.registryIndex - b.registryIndex;\n })\n .forEach((entry) => {\n indexes.set(entry.refId, nextIndex++);\n });\n\n (rhsNode.subsections || []).forEach((child: SectionBlock) => visit(child));\n };\n\n visit(section, true);\n return indexes;\n }, [\n maintainRelativeOrder,\n columnKey,\n section,\n proposedSections,\n parentNodeId,\n counterPartNodeId,\n deviationNumberRegistry,\n sectionOffset,\n ]);\n\n // Derive validatedParentNum from registry\n const firstDeviationKey = Object.keys(deviations)[0];\n const firstRefId = firstDeviationKey ? `${nodeId}${DEVIATION_BADGE_SEPARATOR}${firstDeviationKey}` : null;\n const registeredParentNum = firstRefId ? (deviationParentRegistry?.[firstRefId] as number) : null;\n\n let validatedParentNum: string | number = idx + 1;\n\n if (maintainRelativeOrder && unifiedNumbering) {\n const unifiedNum = columnKey === \"left\" \n ? unifiedNumbering.leftNums.get(section?.id as string) \n : unifiedNumbering.rightNums.get(section?.id as string);\n \n if (isSecOrphan && unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n } else if (unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n }\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n }\n // const deviationNodeIdRef = useRef<string | undefined>(deviationNodeIdToView);\n // const deviationNodeParentRef = useRef<string | null>(deviationTargetParentId || null);\n const highlights: string[] = [];\n // Mapp through deviations to pass to memoized markdown for highlighting, also prepare deviation badges \n const rawDeviationEntries = Object.entries(deviations).map(([deviationKey, deviationMap]: [string, any]) => {\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const currentIndex = deviationNumberRegistry[refId];\n return { deviationKey, deviationMap, refId, currentIndex };\n }).filter(item => item.currentIndex !== undefined && item.currentIndex !== null);\n\n // Sort by global index BEFORE mapping to prevent negative/zero offsets\n rawDeviationEntries.sort((a, b) => a.currentIndex - b.currentIndex);\n\n const deviationEntries = rawDeviationEntries.map((item) => {\n const { deviationKey, deviationMap, refId } = item;\n let currentIndex = item.currentIndex;\n\n let highlight = deviationMap[parentNodeId];\n const isMissingClause = isMissingStr(highlight);\n\n if (isMissingClause) {\n highlight = \"\"; \n } else if (!highlight) {\n return null; \n }\n\n highlights.push(highlight);\n\n // MAPPING Stricter Left/Right Index mapping to prevent cross-wiring\n let leftIdx = idx;\n let rightIdx = idx;\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = section.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n if (rhsArrayIdx !== -1) {\n rightIdx = rhsArrayIdx;\n } else {\n const rhsByIdIdx = existingSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n rightIdx = rhsByIdIdx !== -1 ? rhsByIdIdx : idx;\n }\n } else {\n const lhsSelfIndex = section.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (lhsArrayIdx !== -1) {\n leftIdx = lhsArrayIdx;\n } else {\n const lhsByIdIdx = proposedSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n leftIdx = lhsByIdIdx !== -1 ? lhsByIdIdx : idx;\n }\n }\n }\n\n const actionId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}${DEVIATION_BADGE_SEPARATOR}${leftIdx}${DEVIATION_BADGE_SEPARATOR}${rightIdx}`;\n \n // CONTENT Use the calculated mapped indices to grab correct counterpart text\n // const counterPartContentRaw = columnKey === \"left\" ? existingSections[rightIdx]?.content : proposedSections[leftIdx]?.content;\n const counterpartHighlight = deviationMap[counterPartNodeId as string];\n \n // Commented Out code for removing the highlight swallowing logic\n // let simulatedContent = safeStringify(counterPartContentRaw);\n\n // const counterPartHighlight = Object.keys(deviations)\n // .map(key => ({ key, text: deviations[key][counterPartNodeId as string] }))\n // .filter(item => !isMissingStr(item.text))\n // .sort((a, b) => b.text.length - a.text.length);\n\n // const survivingKeys = new Set();\n // counterPartHighlight.forEach(item => {\n // const clean = item.text.replace(/\\\\(['’])/g, \"$1\").replace(/\\\\n/g, \"\\n\");\n // if(!clean) return;\n\n // const regex = new RegExp(escapeRegExp(clean));\n // if(regex.test(simulatedContent)){\n // survivingKeys.add(item.key);\n // simulatedContent = simulatedContent.replace(regex, `__TOKEN_${item.key}__`);\n // }\n // });\n\n // const isCounterPartOverlapping = !isMissingStr(counterpartHighlight) && !survivingKeys.has(deviationKey);\n\n const isDeviationOrphan = isSecOrphan || isMissingStr(counterpartHighlight);\n const orphanVisualIndex = rhsOrphanVisualIndexes.get(refId);\n const mappedLhsIndex = lhsDeviationDisplayIndexes.get(refId);\n if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n orphanVisualIndex !== undefined\n ) {\n currentIndex = orphanVisualIndex;\n } else if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n !isDeviationOrphan &&\n mappedLhsIndex !== undefined\n ) {\n currentIndex = mappedLhsIndex;\n } else if (\n maintainRelativeOrder &&\n sectionOffset !== undefined &&\n (columnKey !== \"right\" || isDeviationOrphan || hasSingleMappedLhs)\n ) {\n currentIndex = currentIndex - sectionOffset;\n }\n currentIndex = Math.max(1, currentIndex);\n\n const badgeParentNum =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n unifiedNumbering\n ? getRhsMappedSectionNumber({\n section,\n proposedSections,\n leftNums: unifiedNumbering.leftNums,\n fallbackNumber: String(validatedParentNum),\n firstOnly: true,\n })\n : validatedParentNum;\n const badgeLabel = `${badgeParentNum}.${currentIndex}`;\n\n let mappedIdx = idx;\n if (columnKey === \"right\" && maintainRelativeOrder) {\n const lhsSelfIndex = section.refIndexes?.[0];\n const actualLhsIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (actualLhsIdx !== -1) {\n mappedIdx = actualLhsIdx;\n } else {\n const lhsByIdIdx = proposedSections.findIndex((s: SectionBlock) =>\n s.id === section.id || s.nodeId === section.nodeId || s.contentId === section.contentId,\n );\n if (lhsByIdIdx !== -1) mappedIdx = lhsByIdIdx;\n }\n }\n const baseStyle = getSectionCompareStyle ? getSectionCompareStyle(mappedIdx) : null;\n \n // let isUIOverlapping = false;\n // if (highlight) {\n // const allHighlights = Object.values(deviations).map((d: any) => d[parentNodeId as string]).filter(Boolean);\n // isUIOverlapping = allHighlights.some((otherHl: any) => otherHl.length > highlight.length && otherHl.includes(highlight));\n // }\n\n const deviationOutput = deviationMap?.evaluation_outputs || resolvedEvalResult?.evaluation_outputs;\n const deviationScore = deviationOutput?.output_value ?? null;\n const deviationColorForBadge = deviationOutput?.metadata?.label_color ?? deviationColorData;\n const deviationPaletteForBadge = generateColorPalette(deviationColorForBadge);\n let badgeStyle = baseStyle\n ? {\n ...baseStyle,\n badgeBg: deviationPaletteForBadge.badgeBg,\n badgeBorder: deviationPaletteForBadge.badgeBorder,\n badgeText: deviationPaletteForBadge.badgeText,\n }\n : { ...deviationPaletteForBadge };\n\n // if (isUIOverlapping) {\n // badgeStyle.badgeBg = \"#FFFBEB\";\n // badgeStyle.badgeBorder = \"#FCD34D\";\n // badgeStyle.badgeText = \"#B45309\";\n // badgeStyle.highlightBg = \"#FDE68A\";\n // }\n\n const summaryPayload = deviationMap?.deviation_summary\n ? {\n deviation_summary: deviationMap.deviation_summary,\n deviation_title: deviationMap?.deviation_title || resolvedEvalResult?.deviation_title,\n deviation_impact: deviationMap?.deviation_impact || resolvedEvalResult?.deviation_impact,\n deviation_explanation:\n deviationMap?.deviation_explanation || resolvedEvalResult?.deviation_explanation,\n evaluation_outputs: deviationOutput,\n cognitive_decisioning:\n deviationMap?.cognitive_decisioning || resolvedEvalResult?.cognitive_decisioning,\n }\n : null;\n\n // Logic for overlapping highlight badges\n let stackIndex = 0;\n const contentStr = baseContent || \"\";\n if (highlight && contentStr) {\n const paragraphs = contentStr.split(/\\n{2,}/);\n const paraIndex = paragraphs.findIndex(p => p.includes(highlight));\n if (paraIndex !== -1) {\n const devsInPara = Object.entries(deviations)\n .filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && paragraphs[paraIndex].includes(hl);\n })\n .sort((a: any, b: any) => paragraphs[paraIndex].indexOf(a[1][parentNodeId]) - paragraphs[paraIndex].indexOf(b[1][parentNodeId]));\n const overlappingDevs = devsInPara.filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && (hl.includes(highlight) || highlight.includes(hl));\n });\n if (overlappingDevs.length > 1) {\n stackIndex = Math.max(0, overlappingDevs.findIndex(([k]) => k === deviationKey));\n }\n }\n }\n const badgeRef = getBadgeRef(columnKey, refId);\n\n return {\n id: refId,\n actionId: actionId,\n label: badgeLabel,\n highlight,\n side: columnKey,\n style: badgeStyle,\n stackIndex,\n score: deviationScore,\n isConnected: connectedSections?.has(actionId),\n showScrollLockToggle:\n connectedSections?.has(actionId) ||\n (isSideBySide && activeSideBySideSection === actionId) ||\n (!!summaryPopupAnchorEl && summaryPopupAnchorEl === badgeRef.current),\n scrollSyncLocked,\n toggleScrollSyncLocked,\n isOrphan: isDeviationOrphan,\n isMissingClause,\n badgeRef,\n onClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n\n if (openMoreFunctionsPopup) {\n openMoreFunctionsPopup(\n e as any, \n popupBaseSec || { id: \"orphan-left\", title: \"\", content: \"\" }, \n isDeviationOrphan, \n popupRefSec || { id: \"orphan-right\", title: \"\", content: \"\" }, \n actionId as any, \n badgeStyle as StyleVariant | null\n );\n }\n },\n\n onSummaryClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n openSummaryPopup(e, actionId, isDeviationOrphan, summaryPayload);\n },\n };\n }).filter(Boolean);\n const baseShouldRenderBadges =\n showDeviationBadges || (!resolvedRedlineFlow && isProposedFixTarget);\n const shouldRenderBadges = baseShouldRenderBadges;\n const deviationBadgesToRender = shouldRenderBadges ? deviationEntries : [];\n\n // NEW: Sync highlights to prevent ghost highlights\n const highlightsToRender = deviationEntries.map((b: any) => b.highlight).filter(Boolean)\n\n const show =\n section.id && columnKey === navigation?.columnKey ? navigation : null;\n\n // Local ref added to prevent race conditions\n const hasScrolledRef = React.useRef(false);\n\n // Reset scroll flag when section closed\n useEffect(() => {\n if (!isExpanded) {\n hasScrolledRef.current = false;\n }\n }, [isExpanded]);\n // useEffect(()=>{\n // deviationNodeIdRef.current = deviationNodeIdToView;\n // deviationNodeParentRef.current = deviationTargetParentId || null;\n // }, [deviationNodeIdToView, deviationTargetParentId]);\n\n // Commented out the auto scroll functionality which was breaking the LSC -> RHS opening\n // useEffect(() => {\n // const isDeviationTargetSection =\n // !!deviationNodeIdRef.current &&\n // !!deviationNodeParentRef.current &&\n // nodeId === deviationNodeParentRef.current;\n // // NEW CONDITION: Check if the deviation target is one of the direct subsections\n // const isTargetInSubsections =\n // !!deviationNodeIdRef.current &&\n // (section.subsections || []).some(\n // (sub) => sub.id === deviationNodeIdRef.current\n // );\n\n // // Abort scroll if it's already scrolled, not expanded, is the target section, \n // // OR if the target is inside its subsections\n // if (\n // !isExpanded ||\n // hasScrolledRef.current ||\n // isDeviationTargetSection ||\n // isTargetInSubsections\n // ) {\n // return;\n // }\n\n // const timer = setTimeout(() => {\n // const firstDeviationEl = show?.firstDeviationRef?.current;\n // const firstDeviationPosition = show?.firstDeviationPosition;\n\n // if (!firstDeviationEl) {\n // hasScrolledRef.current = true;\n // return;\n // }\n\n // if (\n // firstDeviationPosition === \"inside\" ||\n // isElementVisibleInScrollParent(firstDeviationEl)\n // ) {\n // hasScrolledRef.current = true;\n // return;\n // }\n\n // hasScrolledRef.current = true;\n // firstDeviationEl.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"center\",\n // });\n // }, 600);\n\n // return () => clearTimeout(timer);\n // }, [\n // isExpanded,\n // nodeId,\n // show?.firstDeviationPosition,\n // show?.firstDeviationRef,\n // ]);\n \n return (\n <Box\n key={`${columnKey}-sec-${idx}`}\n ref={colRef}\n sx={{\n mb,\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n position: \"relative\",\n minWidth: 0,\n }}\n >\n {isExpanded && show?.showAbove && (\n <div\n style={{\n position: \"sticky\",\n top: 0,\n height: \"0px\",\n cursor: \"pointer\",\n }}\n onClick={() =>\n show?.showAboveRef?.current?.scrollIntoView({\n behavior: \"smooth\" as ScrollBehavior,\n block: \"center\",\n })\n }\n >\n <div\n style={{\n transform: `translateY(-50%) translateX(calc(100% ${\n columnKey === \"left\" ? \"+\" : \"-\"\n } 130px))`,\n position: \"absolute\",\n paddingTop: \"20px\",\n ...(columnKey === \"left\" ? {right: \"-20px\"} : {left: \"-20px\"}),\n }}\n >\n <ChevronUp\n color={\n show?.showAboveRef?.current\n ? window.getComputedStyle(show.showAboveRef.current).color\n : undefined\n }\n />\n </div>\n </div>\n )}\n <Accordion\n disableGutters\n expanded={isEmpty ? false : isExpanded}\n onChange={() => {\n if (!isEmpty) {\n onToggle();\n showOpenNodeRef.current = section.id;\n }\n }}\n sx={{\n boxShadow: \"none\",\n border: isEmpty ? \"1px dashed #E2E8F0\" : \"1px solid #E2E8F0\",\n bgcolor: isEmpty ? \"#FAFAFA\" : \"#FFFFFF\",\n borderRadius: \"6px\",\n flexGrow: 1,\n width: \"100%\",\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n \"&:before\": { display: \"none\" },\n \"& .MuiAccordion-heading\": {\n position: \"sticky\",\n top: -12,\n zIndex: 10,\n background: \"#fff\",\n },\n }}\n >\n <AccordionSummary\n expandIcon={isEmpty ? null : <ChevronDown size={16} />}\n sx={{\n minHeight: \"36px\",\n flexShrink: 0,\n cursor: isEmpty ? \"default\" : \"pointer\",\n \"& .MuiAccordionSummary-content\": {\n my: 0.5,\n display: \"grid\",\n alignItems: \"center\",\n minWidth: 0,\n width: \"100%\",\n },\n \"& .MuiAccordionSummary-expandIconWrapper\": {\n transition: \"transform 0.2s ease\",\n },\n \"& .MuiAccordionSummary-expandIconWrapper.Mui-expanded\": {\n transform: \"rotate(180deg)\",\n },\n }}\n >\n {hasTitle && (\n <Tooltip title={displayTitle} placement=\"top\">\n <Typography\n component=\"div\"\n sx={{\n fontSize: \"12px\",\n color: isEmpty ? \"#94A3B8\" : \"#19213D\",\n fontWeight: isEmpty ? 400 : 700,\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n width: \"100%\",\n minWidth: 0,\n }}\n >\n {renderSimpleMarkdown(visibleTitle, isMultipleMapping)}\n </Typography>\n </Tooltip>\n )}\n </AccordionSummary>\n {!isEmpty && (\n <AccordionDetails\n sx={{\n pt: 0,\n pb: 1.25,\n bgcolor: \"#FFFFFF\",\n flex: 1,\n display: \"flex\",\n flexDirection: \"column\",\n minWidth: 0,\n }}\n >\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n highlights={highlightsToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n deviationBadges={deviationBadgesToRender}\n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) =>\n renderSubSectionAccordion({\n section: sub,\n keyPath: `${idx}-${subIdx}`,\n depth: 0,\n columnKey,\n parentNodeId,\n sectionOffset,\n rhsOrphanVisualIndexes,\n }),\n )}\n </AccordionDetails>\n )}\n </Accordion>\n {isExpanded && show?.showBelow && (\n <div\n style={{\n position: \"sticky\",\n bottom: 0,\n height: \"0px\",\n cursor: \"pointer\",\n }}\n onClick={() =>\n show?.showBelowRef?.current?.scrollIntoView({\n behavior: \"smooth\" as ScrollBehavior,\n block: \"center\",\n })\n }\n >\n <div\n style={{\n transform: `translateY(-50%) translateX(calc(100% ${\n columnKey === \"left\" ? \"+\" : \"-\"\n } 130px))`,\n position: \"absolute\",\n paddingBottom: \"20px\",\n ...(columnKey === \"left\" ? {right: \"-20px\"} : {left: \"-20px\"}),\n }}\n >\n <ChevronDown\n color={\n show?.showBelowRef?.current\n ? window.getComputedStyle(show.showBelowRef.current).color\n : undefined\n }\n />\n </div>\n </div>\n )}\n </Box>\n );\n};\n\nexport default SectionAccordion;\n"],"names":["renderSimpleMarkdown","text","isMultiTag","safeStringify","replace","split","map","part","i","startsWith","endsWith","children","slice","jsxs","style","display","alignItems","justifyContent","gap","width","jsx","minWidth","overflow","textOverflow","whiteSpace","padding","borderRadius","background","border","color","fontSize","fontWeight","flexShrink","lineHeight","marginRight","SectionAccordion","section","idx","columnKey","colRef","mb","isExpanded","onToggle","navigation","parentNodeId","showOpenNodeRef","resolvedMarkdownStyles","maintainRelativeOrder","showDeviationBadges","renderSubSectionAccordion","treeData","proposedSections","existingSections","deviationNumberRegistry","deviationParentRegistry","getBadgeRef","openSummaryPopup","getSectionCompareStyle","connectedSections","openMoreFunctionsPopup","isProposingFix","proposingFixNodeId","isRedlineFlow","isSideBySide","activeSideBySideSection","scrollSyncLocked","unifiedNumbering","toggleScrollSyncLocked","summaryPopupAnchorEl","useCompareContext","collisionKey","String","hasTitle","displayTitle","hasValue","title","isProposedFixTarget","id","nodeId","hasRedlineTags","hasMeaningfulRedlineTags","content","resolvedRedlineFlow","suppressHighlightBg","shouldOverlayContent","baseContent","stripRedlineTags","overlayContent","hasContent","displayContent","isEmpty","isMultipleMapping","refContentIds","length","visibleTitle","trimEnd","targetEvalResult","evaluationResult","lhsSelfIndex","refIndexes","lhsSection","find","s","selfIndex","leftDocId","input_index_map","rightDocId","counterPartNodeId","findNodeByIdDeep","nodes","n","contentId","subsections","found","popupBaseSec","popupRefSec","sectionOffset","React","useMemo","min","Infinity","normalizeInlineContent","value","raw","traverse","node","bNode","rNode","isTopLevel","topNodeId","mappedLhs","filter","l","includes","subNodeId","evalResult","devs","deviations","Object","keys","forEach","devKey","highlight","isMissingStr","normalizedHighlight","canRenderInlineHighlight","refId1","DEVIATION_BADGE_SEPARATOR","idx1","refId2","idx2","subs","bSubs","rSubs","maxLen","Math","max","mappedLhsSections","lhs","rhsSelfIndex","rhs","Boolean","rhsSection","rhsArrayIdx","findIndex","lhsArrayIdx","isSecOrphan","hasSingleMappedLhs","hasSingleMappedLhsSection","resolvedEvalResult","deviationColorData","evaluation_outputs","metadata","label_color","DEFAULT_DEVIAION_COLOR","deviationPalette","generateColorPalette","highlightBg","lhsDeviationDisplayIndexes","getLhsDeviationDisplayIndexes","Map","rhsOrphanVisualIndexes","indexes","nextIndex","isOneToOneSection","normalizeContent","resolveNode","rhsNode","isRoot","lhsNode","registryNodeId","reserveMappedIndexes","normalizedContent","entries","deviationKey","deviationMap","registryIndex","child","visit","nodeDeviations","isOrphan","position","indexOf","refId","isRenderable","Number","MAX_SAFE_INTEGER","entry","sort","a","b","set","firstDeviationKey","firstRefId","registeredParentNum","validatedParentNum","unifiedNum","leftNums","get","rightNums","rawDeviationEntries","currentIndex","item","deviationEntries","isMissingClause","leftIdx","rightIdx","rhsByIdIdx","lhsByIdIdx","actionId","counterpartHighlight","isDeviationOrphan","orphanVisualIndex","mappedLhsIndex","badgeLabel","getRhsMappedSectionNumber","fallbackNumber","firstOnly","mappedIdx","actualLhsIdx","baseStyle","deviationOutput","deviationScore","output_value","deviationPaletteForBadge","badgeStyle","badgeBg","badgeBorder","badgeText","summaryPayload","deviation_summary","deviation_title","deviation_impact","deviation_explanation","cognitive_decisioning","stackIndex","contentStr","paragraphs","paraIndex","p","overlappingDevs","_","dMap","hl","k","badgeRef","label","side","score","isConnected","has","showScrollLockToggle","current","onClick","e","stopPropagation","onSummaryClick","deviationBadgesToRender","highlightsToRender","show","hasScrolledRef","useRef","useEffect","Box","ref","sx","flexDirection","showAbove","top","height","cursor","showAboveRef","scrollIntoView","behavior","block","transform","paddingTop","right","left","ChevronUp","window","getComputedStyle","Accordion","disableGutters","expanded","onChange","boxShadow","bgcolor","flexGrow","zIndex","AccordionSummary","expandIcon","ChevronDown","size","minHeight","my","transition","Tooltip","placement","Typography","component","AccordionDetails","pt","pb","flex","MemoizedMarkdown","sxStyles","highlights","deviationBadges","sub","subIdx","keyPath","depth","showBelow","bottom","showBelowRef","paddingBottom"],"mappings":"2vBA6BA,MAAMA,EAAuB,CAACC,EAAcC,GAAa,KACnD,IAACD,EAAa,OAAA,KAKlB,OAHuBE,EAAcF,GAAMG,QAAQ,OAAQ,MAC9BC,MAAM,kBAEtBC,IAAI,CAACC,EAAcC,IAC1BD,EAAKE,WAAW,OAASF,EAAKG,SAAS,QACjC,SAAgB,CAAAC,SAAAJ,EAAKK,M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,OAAQ,MACRC,OAAQ,WAEVjB,QAAS,IACPM,IAAMwD,cAAc/D,SAASoB,eAAe,CAC1CC,SAAU,SACVC,MAAO,WAIX3R,SAAAS,EAAC,MAAA,CACCN,MAAO,CACLyR,UAAW,yCACK,SAAdjQ,EAAuB,IAAM,cAE/BmK,SAAU,WACVuI,cAAe,UACG,SAAd1S,EAAuB,CAACmQ,MAAO,SAAW,CAACC,KAAM,UAGvD/R,SAAAS,EAACoS,EAAA,CACC3R,MACE0P,IAAMwD,cAAc/D,QAChB4B,OAAOC,iBAAiBtB,GAAKwD,aAAa/D,SAASnP,WACnD,UAvLT,GAAGS,SAAiBD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as n}from"tslib";import{jsx as i,jsxs as e}from"react/jsx-runtime";import t,{useMemo as o}from"react";import{Box as l,Accordion as d,AccordionSummary as r,Typography as a,AccordionDetails as u}from"@mui/material";import{ChevronDown as c}from"lucide-react";import{MemoizedMarkdown as s}from"../hooks/memoizedMarkdown.js";import{useCompareContext as v}from"../CompareContext.js";import{hasValue as f,hasMeaningfulRedlineTags as p,stripRedlineTags as h,hasSingleMappedLhsSection as m,getLhsDeviationDisplayIndexes as g,generateColorPalette as x,safeStringify as y,isMissingStr as S,getRhsMappedSectionNumber as I,DEVIATION_BADGE_SEPARATOR as b}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as _}from"../CognitiveCompareConstants.js";var k=t.memo(function(t){var w,C,F,O,P,N,B,M,R,E,j=t.section,A=t.keyPath,K=t.depth,W=void 0===K?0:K,L=t.columnKey,T=void 0===L?"left":L,z=t.parentNodeId,D=void 0===z?"":z,G=t.sectionOffset,H=t.rhsOrphanVisualIndexes,V=v(),X=V.expandedSubSections,U=V.setExpandedSubSections,q=V.maintainRelativeOrder,J=V.showDeviationBadges,Q=void 0!==J&&J,Y=V.proposedSections,Z=V.existingSections,$=V.treeData,nn=V.deviationNumberRegistry,en=V.deviationParentRegistry,tn=V.connectedSections,on=V.activeSideBySideSection,ln=V.isSideBySide,dn=V.scrollSyncLocked,rn=V.toggleScrollSyncLocked,an=V.summaryPopupAnchorEl,un=V.resolvedMarkdownStyles,cn=V.getSubSectionRef,sn=V.getSubSectionCompareStyle,vn=V.getBadgeRef,fn=V.openMoreFunctionsPopup,pn=V.openSummaryPopup,hn=V.resetSideBySide,mn=V.setConnectedSections,gn=V.setConnectedLines,xn=V.cachedConnectedPositions,yn=V.isProposingFix,Sn=V.proposingFixNodeId,In=V.isRedlineFlow,bn=V.unifiedNumbering,_n=null!=on?on:"",kn=(null===(w=j.displayTitle)||void 0===w||w)&&f(j.title),wn=!(!yn||!Sn||"left"!==T||j.id!==Sn&&j.nodeId!==Sn),Cn=p(j.content),Fn="boolean"==typeof In?In:Cn,On=Cn,Pn=Fn&&Cn,Nn=Pn?h(j.content):j.content,Bn=Pn?j.content:void 0,Mn=(null===(C=j.displayContent)||void 0===C||C||Cn)&&f(j.content),Rn=!kn&&!Mn,En=kn?j.title:Mn?"No Title Found":"No Matching Section Found",jn=!!X[A],An=cn(T,A),Kn=A.split("-").map(Number)[0],Wn=Y[Kn],Ln=Z[Kn],Tn=Kn,zn=Kn,Dn=!1,Gn=function(n,i,e){if(!n||!i)return null;if(n.id===i||n.nodeId===i||n.contentId===i)return{section:n,keyPath:e};for(var t=(n.subsections||[]).map(function(n,i){return{section:n,keyPath:"".concat(e,"-").concat(i)}}),o=function(){var n=t.shift();return(null==n?void 0:n.section)?n.section.id===i||n.section.nodeId===i||n.section.contentId===i?{value:n}:void(n.section.subsections||[]).forEach(function(i,e){t.push({section:i,keyPath:"".concat(n.keyPath,"-").concat(e)})}):"continue"};t.length>0;){var l=o();if("object"==typeof l)return l.value}return null};if(q)if("left"===T){var Hn=null===(F=null==Wn?void 0:Wn.refIndexes)||void 0===F?void 0:F[0],Vn=Z.findIndex(function(n){return n.selfIndex===Hn});-1!==Vn?(Ln=Z[Vn],zn=Vn):Dn=!0}else{var Xn=null===(O=null==Ln?void 0:Ln.refIndexes)||void 0===O?void 0:O[0],Un=Y.findIndex(function(n){return n.selfIndex===Xn});-1!==Un?(Wn=Y[Un],Tn=Un):Dn=!0}var qn=function(n,i){if(!i||!n)return null;for(var e=0;e<n.length;e++){var t=Gn(n[e],i,String(e));if(t)return t}return null},Jn=null,Qn=null,Yn="",Zn="";if(q)"left"===T?(Jn=j,Yn=A,($n=Gn(Ln,j.nodeId||j.id,String(zn)))||($n=qn(Z,j.nodeId||j.id)),Qn=(null==$n?void 0:$n.section)||null,Zn=(null==$n?void 0:$n.keyPath)||""):(Qn=j,Zn=A,(ni=Gn(Wn,j.nodeId||j.id,String(Tn)))||(ni=qn(Y,j.nodeId||j.id)),Jn=(null==ni?void 0:ni.section)||null,Yn=(null==ni?void 0:ni.keyPath)||"");else if("left"===T){Jn=j,Yn=A;var $n=qn(Z,j.nodeId||j.id);Qn=(null==$n?void 0:$n.section)||null,Zn=(null==$n?void 0:$n.keyPath)||""}else{Qn=j,Zn=A;var ni=qn(Y,j.nodeId||j.id);Jn=(null==ni?void 0:ni.section)||null,Yn=(null==ni?void 0:ni.keyPath)||""}var ii=(Yn?sn(Yn):null)||sn(A),ei=null===(P=null==$?void 0:$.input_index_map)||void 0===P?void 0:P[0],ti=null===(N=null==$?void 0:$.input_index_map)||void 0===N?void 0:N[1],oi="left"===T?ti:ei,li="left"===T?!Qn:!Jn,di=q&&"right"===T&&m(Ln,Y),ri=j.evaluationResult||(null==Jn?void 0:Jn.evaluationResult)||(null==Qn?void 0:Qn.evaluationResult),ai=(null==ri?void 0:ri.deviations)||{},ui=o(function(){return q&&"right"===T?g(Y,ei,nn):new Map},[q,T,Y,ei,nn]),ci=j.nodeId||j.id||(null==Jn?void 0:Jn.nodeId)||(null==Jn?void 0:Jn.id)||(null==Qn?void 0:Qn.nodeId)||(null==Qn?void 0:Qn.id);q&&"left"!==T&&(null==Jn?void 0:Jn.id)&&(ci=Jn.nodeId||Jn.id);var si=Object.keys(ai)[0],vi=si?"".concat(ci).concat(b).concat(si):null,fi=vi?null==en?void 0:en[vi]:null,pi=Kn+1;if(q&&bn){var hi="left"===T?bn.leftNums.get(null==Wn?void 0:Wn.id):bn.rightNums.get(null==Ln?void 0:Ln.id);Dn&&void 0!==hi?pi=hi:null!=fi&&fi>=0?pi=fi:void 0!==hi&&(pi=hi)}else null!=fi&&fi>=0&&(pi=fi);var mi=null!==(R=null===(M=null===(B=null==ri?void 0:ri.evaluation_outputs)||void 0===B?void 0:B.metadata)||void 0===M?void 0:M.label_color)&&void 0!==R?R:_,gi=x(mi).highlightBg,xi=Object.entries(ai).map(function(n){var i=n[0],e=n[1],t="".concat(ci).concat(b).concat(i);return{deviationKey:i,deviationMap:e,refId:t,currentIndex:nn[t]}}).filter(function(n){return void 0!==n.currentIndex&&null!==n.currentIndex});xi.sort(function(n,i){return n.currentIndex-i.currentIndex});var yi=new Map;if(!H&&q&&"right"===T){var Si=y(Nn||"").replace(/\\n/g,"\n");xi.filter(function(n){var i=n.deviationMap,e=i[D];return(li||S(i[oi]))&&!!e&&!S(e)}).map(function(i){var e=y(i.deviationMap[D]||"").replace(/\\n/g,"\n"),t=e?Si.indexOf(e):-1;return n(n({},i),{position:t})}).sort(function(n,i){return(-1===n.position?Number.MAX_SAFE_INTEGER:n.position)-(-1===i.position?Number.MAX_SAFE_INTEGER:i.position)||n.currentIndex-i.currentIndex}).forEach(function(n,i){yi.set(n.refId,i+1)})}var Ii=xi.map(function(i){var e,t,o,l,d=i.deviationKey,r=i.deviationMap,a=i.refId,u=i.currentIndex,c=r[D],s=S(c);if(s)c="";else if(!c)return null;var v=r[oi],f=li||S(v),p=null!==(e=null==H?void 0:H.get(a))&&void 0!==e?e:yi.get(a),h=ui.get(a);q&&"right"===T&&f&&void 0!==p?u=p:q&&"right"===T&&!f&&void 0!==h?u=h:q&&void 0!==G&&("right"!==T||f||di)&&(u-=G),u=Math.max(1,u);var m=q&&"right"===T&&f&&bn?I({section:Ln,proposedSections:Y,leftNums:bn.leftNums,fallbackNumber:String(pi),firstOnly:!0}):pi,g="".concat(m,".").concat(u),y="".concat(ci).concat(b).concat(d).concat(b).concat(Yn).concat(b).concat(Zn),_=(null==r?void 0:r.evaluation_outputs)||(null==ri?void 0:ri.evaluation_outputs),k=null!==(t=null==_?void 0:_.output_value)&&void 0!==t?t:null,w=null!==(l=null===(o=null==_?void 0:_.metadata)||void 0===o?void 0:o.label_color)&&void 0!==l?l:mi,C=x(w),F=n({},C),O=(null==r?void 0:r.deviation_summary)?{deviation_summary:r.deviation_summary||(null==ri?void 0:ri.deviation_summary),deviation_title:(null==r?void 0:r.deviation_title)||(null==ri?void 0:ri.deviation_title),deviation_impact:(null==r?void 0:r.deviation_impact)||(null==ri?void 0:ri.deviation_impact),deviation_explanation:(null==r?void 0:r.deviation_explanation)||(null==ri?void 0:ri.deviation_explanation),evaluation_outputs:_,cognitive_decisioning:(null==r?void 0:r.cognitive_decisioning)||(null==ri?void 0:ri.cognitive_decisioning)}:null,P=0,N=Nn||"";if(c&&N){var B=N.split(/\n{2,}/),M=B.findIndex(function(n){return n.includes(c)});if(-1!==M){var R=Object.entries(ai).filter(function(n){n[0];var i=n[1][D];return i&&B[M].includes(i)}).sort(function(n,i){return B[M].indexOf(n[1][D])-B[M].indexOf(i[1][D])}),E=R.filter(function(n){n[0];var i=n[1][D];return i&&(i.includes(c)||c.includes(i))});E.length>1&&(P=Math.max(0,E.findIndex(function(n){return n[0]===d})))}}var j=vn(T,a);return{id:a,actionId:y,label:g,highlight:c,side:T,style:F,stackIndex:P,score:k,isConnected:tn.has(y),showScrollLockToggle:tn.has(y)||ln&&on===y||!!an&&an===j.current,scrollSyncLocked:dn,toggleScrollSyncLocked:rn,isOrphan:f,isMissingClause:s,badgeRef:j,onClick:function(i){i.stopPropagation();var e=Jn?n(n({},Jn),{title:(null==Wn?void 0:Wn.title)||(null==Jn?void 0:Jn.title)||""}):{id:"orphan-left",title:"",content:""},t=Qn?n(n({},Qn),{title:(null==Ln?void 0:Ln.title)||(null==Qn?void 0:Qn.title)||""}):{id:"orphan-right",title:"",content:""};fn(i,e,f,t,y,F)},onSummaryClick:function(n){n.stopPropagation(),pn(n,y,f,O)}}}).filter(Boolean).sort(function(n,i){return parseFloat(n.label)-parseFloat(i.label)}),bi=o(function(){var n=new Set;return Ii.filter(function(i){return!n.has(i.id)&&(n.add(i.id),!0)})},[Ii]),_i=Q||!Fn&&wn?bi:[],ki=bi.map(function(n){return n.highlight}).filter(Boolean),wi=Ii.find(function(n){return tn.has(n.actionId)}),Ci=!!wi;if(!(kn||Mn||j.subsections&&0!==j.subsections.length))return null;var Fi=(null===(E=null==wi?void 0:wi.style)||void 0===E?void 0:E.badgeBorder)||(null==ii?void 0:ii.badgeBorder),Oi=Ci&&Fi?{borderRadius:"4px",outline:"2px solid ".concat(Fi),outlineOffset:"1px"}:{};return i(l,kn?n({ref:An,sx:{mt:1,width:"100%",minWidth:0,position:"relative"}},{children:i(l,n({sx:n({width:"100%"},Oi)},{children:e(d,n({disableGutters:!0,expanded:!Rn&&jn,onChange:function(){if(!Rn){if(jn){var i=String(on||""),e=i.includes(Yn)||i.includes(Zn);e||tn.forEach(function(n){(String(n).includes(Yn)||String(n).includes(Zn))&&(e=!0)}),e&&(hn(),mn(new Set),gn([]),xn.current=[])}U(function(i){var e;return n(n({},i),((e={})[A]=!i[A],e))})}},sx:{mt:0,boxShadow:"none",border:Rn?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}}},{children:[i(r,n({expandIcon:Rn?null:i(c,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}}},{children:i(a,n({component:"div",sx:{fontSize:"11px",fontWeight:600,color:Rn?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0}},{children:En||"Untitled Subsection"}))})),!Rn&&e(u,n({sx:{pt:0,pb:1,minWidth:0}},{children:[Mn&&i(s,{content:Nn,overlayContent:Bn,sxStyles:un,deviationBadges:_i,maintainRelativeOrder:q,highlightBg:gi,suppressHighlightBg:On,highlights:ki,collisionKey:_n}),(j.subsections||[]).map(function(n,e){return i(k,{section:n,keyPath:"".concat(A,"-").concat(e),depth:W+1,columnKey:T,parentNodeId:D,sectionOffset:G,rhsOrphanVisualIndexes:H},"".concat(A,"-").concat(e))})]}))]}))}))}):n({ref:An,sx:{mt:0===W?1:.75,width:"100%",minWidth:0,position:"relative"}},{children:!Rn&&e(l,n({sx:n({width:"100%"},Oi)},{children:[Mn&&i(s,{content:Nn,overlayContent:Bn,sxStyles:un,deviationBadges:_i,maintainRelativeOrder:q,highlightBg:gi,suppressHighlightBg:On,highlights:ki,collisionKey:_n}),(j.subsections||[]).map(function(n,e){return i(k,{section:n,keyPath:"".concat(A,"-").concat(e),depth:W+1,columnKey:T,parentNodeId:D,sectionOffset:G,rhsOrphanVisualIndexes:H},"".concat(A,"-").concat(e))})]}))}))});export{k as default};
|
|
1
|
+
import{jsx as e,jsxs as t}from"react/jsx-runtime";import n,{useMemo as i}from"react";import{Box as o,Accordion as s,AccordionSummary as d,Typography as l,AccordionDetails as r}from"@mui/material";import{ChevronDown as a}from"lucide-react";import{MemoizedMarkdown as c}from"../hooks/memoizedMarkdown.js";import{useCompareContext as u}from"../CompareContext.js";import{hasValue as p,hasMeaningfulRedlineTags as h,stripRedlineTags as f,hasSingleMappedLhsSection as g,getLhsDeviationDisplayIndexes as m,generateColorPalette as x,safeStringify as v,isMissingStr as y,getRhsMappedSectionNumber as S,DEVIATION_BADGE_SEPARATOR as I}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as b}from"../CognitiveCompareConstants.js";const _=n.memo(n=>{const{section:$,keyPath:k,depth:w=0,columnKey:C="left",parentNodeId:F="",sectionOffset:O,rhsOrphanVisualIndexes:P}=n,{expandedSubSections:N,setExpandedSubSections:B,maintainRelativeOrder:M,showDeviationBadges:R=!1,proposedSections:E,existingSections:j,treeData:A,deviationNumberRegistry:K,deviationParentRegistry:W,connectedSections:L,activeSideBySideSection:T,isSideBySide:z,scrollSyncLocked:D,toggleScrollSyncLocked:G,summaryPopupAnchorEl:H,resolvedMarkdownStyles:V,getSubSectionRef:X,getSubSectionCompareStyle:U,getBadgeRef:q,openMoreFunctionsPopup:J,openSummaryPopup:Q,resetSideBySide:Y,setConnectedSections:Z,setConnectedLines:ee,cachedConnectedPositions:te,isProposingFix:ne,proposingFixNodeId:ie,isRedlineFlow:oe,unifiedNumbering:se}=u(),de=T??"",le=($.displayTitle??!0)&&p($.title),re=!(!ne||!ie||"left"!==C||$.id!==ie&&$.nodeId!==ie),ae=h($.content),ce="boolean"==typeof oe?oe:ae,ue=ae,pe=ce&&ae,he=pe?f($.content):$.content,fe=pe?$.content:void 0,ge=(($.displayContent??!0)||ae)&&p($.content),me=!le&&!ge,xe=le?$.title:ge?"No Title Found":"No Matching Section Found",ve=!!N[k],ye=X(C,k),Se=k.split("-").map(Number)[0];let Ie=E[Se],be=j[Se],_e=Se,$e=Se,ke=!1;const we=(e,t,n)=>{if(!e||!t)return null;if(e.id===t||e.nodeId===t||e.contentId===t)return{section:e,keyPath:n};const i=(e.subsections||[]).map((e,t)=>({section:e,keyPath:`${n}-${t}`}));for(;i.length>0;){const e=i.shift();if(e?.section){if(e.section.id===t||e.section.nodeId===t||e.section.contentId===t)return e;(e.section.subsections||[]).forEach((t,n)=>{i.push({section:t,keyPath:`${e.keyPath}-${n}`})})}}return null};if(M)if("left"===C){const e=Ie?.refIndexes?.[0],t=j.findIndex(t=>t.selfIndex===e);-1!==t?(be=j[t],$e=t):ke=!0}else{const e=be?.refIndexes?.[0],t=E.findIndex(t=>t.selfIndex===e);-1!==t?(Ie=E[t],_e=t):ke=!0}const Ce=(e,t)=>{if(!t||!e)return null;for(let n=0;n<e.length;n++){const i=we(e[n],t,String(n));if(i)return i}return null};let Fe=null,Oe=null,Pe="",Ne="";if(M)if("left"===C){Fe=$,Pe=k;let e=we(be,$.nodeId||$.id,String($e));e||(e=Ce(j,$.nodeId||$.id)),Oe=e?.section||null,Ne=e?.keyPath||""}else{Oe=$,Ne=k;let e=we(Ie,$.nodeId||$.id,String(_e));e||(e=Ce(E,$.nodeId||$.id)),Fe=e?.section||null,Pe=e?.keyPath||""}else if("left"===C){Fe=$,Pe=k;const e=Ce(j,$.nodeId||$.id);Oe=e?.section||null,Ne=e?.keyPath||""}else{Oe=$,Ne=k;const e=Ce(E,$.nodeId||$.id);Fe=e?.section||null,Pe=e?.keyPath||""}const Be=(Pe?U(Pe):null)||U(k),Me=A?.input_index_map?.[0],Re=A?.input_index_map?.[1],Ee="left"===C?Re:Me,je="left"===C?!Oe:!Fe,Ae=M&&"right"===C&&g(be,E),Ke=$.evaluationResult||Fe?.evaluationResult||Oe?.evaluationResult,We=Ke?.deviations||{},Le=i(()=>M&&"right"===C?m(E,Me,K):new Map,[M,C,E,Me,K]);let Te=$.nodeId||$.id||Fe?.nodeId||Fe?.id||Oe?.nodeId||Oe?.id;M&&"left"!==C&&Fe?.id&&(Te=Fe.nodeId||Fe.id);const ze=Object.keys(We)[0],De=ze?`${Te}${I}${ze}`:null,Ge=De?W?.[De]:null;let He=Se+1;if(M&&se){const e="left"===C?se.leftNums.get(Ie?.id):se.rightNums.get(be?.id);ke&&void 0!==e?He=e:null!=Ge&&Ge>=0?He=Ge:void 0!==e&&(He=e)}else null!=Ge&&Ge>=0&&(He=Ge);const Ve=Ke?.evaluation_outputs?.metadata?.label_color??b,Xe=x(Ve),{highlightBg:Ue}=Xe,qe=Object.entries(We).map(([e,t])=>{const n=`${Te}${I}${e}`;return{deviationKey:e,deviationMap:t,refId:n,currentIndex:K[n]}}).filter(e=>void 0!==e.currentIndex&&null!==e.currentIndex);qe.sort((e,t)=>e.currentIndex-t.currentIndex);const Je=new Map;if(!P&&M&&"right"===C){const e=v(he||"").replace(/\\n/g,"\n");qe.filter(({deviationMap:e})=>{const t=e[F];return(je||y(e[Ee]))&&!!t&&!y(t)}).map(t=>{const n=v(t.deviationMap[F]||"").replace(/\\n/g,"\n"),i=n?e.indexOf(n):-1;return{...t,position:i}}).sort((e,t)=>(-1===e.position?Number.MAX_SAFE_INTEGER:e.position)-(-1===t.position?Number.MAX_SAFE_INTEGER:t.position)||e.currentIndex-t.currentIndex).forEach((e,t)=>{Je.set(e.refId,t+1)})}const Qe=qe.map(e=>{const{deviationKey:t,deviationMap:n,refId:i}=e;let o=e.currentIndex,s=n[F];const d=y(s);if(d)s="";else if(!s)return null;const l=n[Ee],r=je||y(l),a=P?.get(i)??Je.get(i),c=Le.get(i);M&&"right"===C&&r&&void 0!==a?o=a:M&&"right"===C&&!r&&void 0!==c?o=c:M&&void 0!==O&&("right"!==C||r||Ae)&&(o-=O),o=Math.max(1,o);const u=`${M&&"right"===C&&r&&se?S({section:be,proposedSections:E,leftNums:se.leftNums,fallbackNumber:String(He),firstOnly:!0}):He}.${o}`,p=`${Te}${I}${t}${I}${Pe}${I}${Ne}`,h=n?.evaluation_outputs||Ke?.evaluation_outputs,f=h?.output_value??null;let g={...x(h?.metadata?.label_color??Ve)};const m=n?.deviation_summary?{deviation_summary:n.deviation_summary||Ke?.deviation_summary,deviation_title:n?.deviation_title||Ke?.deviation_title,deviation_impact:n?.deviation_impact||Ke?.deviation_impact,deviation_explanation:n?.deviation_explanation||Ke?.deviation_explanation,evaluation_outputs:h,cognitive_decisioning:n?.cognitive_decisioning||Ke?.cognitive_decisioning}:null;let v=0;const b=he||"";if(s&&b){const e=b.split(/\n{2,}/),n=e.findIndex(e=>e.includes(s));if(-1!==n){const i=Object.entries(We).filter(([t,i])=>{const o=i[F];return o&&e[n].includes(o)}).sort((t,i)=>e[n].indexOf(t[1][F])-e[n].indexOf(i[1][F])).filter(([e,t])=>{const n=t[F];return n&&(n.includes(s)||s.includes(n))});i.length>1&&(v=Math.max(0,i.findIndex(([e])=>e===t)))}}const _=q(C,i);return{id:i,actionId:p,label:u,highlight:s,side:C,style:g,stackIndex:v,score:f,isConnected:L.has(p),showScrollLockToggle:L.has(p)||z&&T===p||!!H&&H===_.current,scrollSyncLocked:D,toggleScrollSyncLocked:G,isOrphan:r,isMissingClause:d,badgeRef:_,onClick:e=>{e.stopPropagation();const t=Fe?{...Fe,title:Ie?.title||Fe?.title||""}:{id:"orphan-left",title:"",content:""},n=Oe?{...Oe,title:be?.title||Oe?.title||""}:{id:"orphan-right",title:"",content:""};J(e,t,r,n,p,g)},onSummaryClick:e=>{e.stopPropagation(),Q(e,p,r,m)}}}).filter(Boolean).sort((e,t)=>parseFloat(e.label)-parseFloat(t.label)),Ye=i(()=>{const e=new Set;return Qe.filter(t=>!e.has(t.id)&&(e.add(t.id),!0))},[Qe]),Ze=R||!ce&&re?Ye:[],et=Ye.map(e=>e.highlight).filter(Boolean),tt=Qe.find(e=>L.has(e.actionId)),nt=!!tt;if(!(le||ge||$.subsections&&0!==$.subsections.length))return null;const it=tt?.style?.badgeBorder||Be?.badgeBorder,ot=nt&&it?{borderRadius:"4px",outline:`2px solid ${it}`,outlineOffset:"1px"}:{};return e(o,le?{ref:ye,sx:{mt:1,width:"100%",minWidth:0,position:"relative"},children:e(o,{sx:{width:"100%",...ot},children:t(s,{disableGutters:!0,expanded:!me&&ve,onChange:()=>{if(!me){if(ve){const e=String(T||"");let t=e.includes(Pe)||e.includes(Ne);t||L.forEach(e=>{(String(e).includes(Pe)||String(e).includes(Ne))&&(t=!0)}),t&&(Y(),Z(new Set),ee([]),te.current=[])}B(e=>({...e,[k]:!e[k]}))}},sx:{mt:0,boxShadow:"none",border:me?"1px dashed #E2E8F0":"1px solid #EEF2F7",borderRadius:"4px !important",bgcolor:"#FFFFFF",minWidth:0,"&:before":{display:"none"}},children:[e(d,{expandIcon:me?null:e(a,{size:14}),sx:{minHeight:"32px","& .MuiAccordionSummary-content":{my:.5,display:"grid",alignItems:"center",minWidth:0,width:"100%"}},children:e(l,{component:"div",sx:{fontSize:"11px",fontWeight:600,color:me?"#94A3B8":"#19213D",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",width:"100%",minWidth:0},children:xe||"Untitled Subsection"})}),!me&&t(r,{sx:{pt:0,pb:1,minWidth:0},children:[ge&&e(c,{content:he,overlayContent:fe,sxStyles:V,deviationBadges:Ze,maintainRelativeOrder:M,highlightBg:Ue,suppressHighlightBg:ue,highlights:et,collisionKey:de}),($.subsections||[]).map((t,n)=>e(_,{section:t,keyPath:`${k}-${n}`,depth:w+1,columnKey:C,parentNodeId:F,sectionOffset:O,rhsOrphanVisualIndexes:P},`${k}-${n}`))]})]})})}:{ref:ye,sx:{mt:0===w?1:.75,width:"100%",minWidth:0,position:"relative"},children:!me&&t(o,{sx:{width:"100%",...ot},children:[ge&&e(c,{content:he,overlayContent:fe,sxStyles:V,deviationBadges:Ze,maintainRelativeOrder:M,highlightBg:Ue,suppressHighlightBg:ue,highlights:et,collisionKey:de}),($.subsections||[]).map((t,n)=>e(_,{section:t,keyPath:`${k}-${n}`,depth:w+1,columnKey:C,parentNodeId:F,sectionOffset:O,rhsOrphanVisualIndexes:P},`${k}-${n}`))]})})});export{_ as default};
|
|
2
2
|
//# sourceMappingURL=SubSectionAccordion.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubSectionAccordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"SubSectionAccordion.js","sources":["../../../../src/features/CognitiveCompare/components/SubSectionAccordion.tsx"],"sourcesContent":["import React, { useMemo, useEffect, useRef } from \"react\";\nimport {\n Box,\n Typography,\n Accordion,\n AccordionSummary,\n AccordionDetails,\n Tooltip,\n} from \"@mui/material\";\nimport { ChevronDown, EllipsisVertical } from \"lucide-react\";\n\nimport { ButtonCognitiveIcon } from \"../../../assests/svg/ButtonCognitiveIcon\";\nimport { MemoizedMarkdown } from \"../hooks/memoizedMarkdown\";\nimport { useCompareContext } from \"../CompareContext\";\nimport {\n hasValue,\n safeStringify,\n generateColorPalette,\n isMissingStr,\n DEVIATION_BADGE_SEPARATOR,\n hasMeaningfulRedlineTags,\n stripRedlineTags,\n getRhsMappedSectionNumber,\n hasSingleMappedLhsSection,\n getLhsDeviationDisplayIndexes,\n} from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { DeviationDataEntry, SectionBlock, StyleVariant } from \"../CognitiveCompareTypes\";\n\ninterface SubSectionAccordionProps {\n section: SectionBlock;\n keyPath: string;\n depth?: number;\n columnKey?: \"left\" | \"right\";\n parentNodeId?: string;\n sectionOffset?: number;\n rhsOrphanVisualIndexes?: ReadonlyMap<string, number>;\n}\n\nconst SubSectionAccordion: React.FC<SubSectionAccordionProps> = React.memo((props) => {\n const {\n section,\n keyPath,\n depth = 0,\n columnKey = \"left\",\n parentNodeId = \"\",\n sectionOffset,\n rhsOrphanVisualIndexes,\n } = props;\n const {\n expandedSubSections,\n setExpandedSubSections,\n maintainRelativeOrder,\n showDeviationBadges = false,\n proposedSections,\n existingSections,\n treeData,\n deviationNumberRegistry,\n deviationParentRegistry,\n connectedSections,\n activeSideBySideSection,\n isSideBySide,\n scrollSyncLocked,\n toggleScrollSyncLocked,\n summaryPopupAnchorEl,\n resolvedMarkdownStyles,\n getSubSectionRef,\n getSubSectionCompareStyle,\n getBadgeRef,\n openMoreFunctionsPopup,\n openSummaryPopup,\n resetSideBySide,\n setConnectedSections,\n setConnectedLines,\n cachedConnectedPositions,\n isProposingFix,\n proposingFixNodeId,\n isRedlineFlow,\n unifiedNumbering,\n } = useCompareContext();\n\n const collisionKey = activeSideBySideSection ?? \"\";\n\n const hasTitle = (section.displayTitle ?? true) && hasValue(section.title);\n const isProposedFixTarget =\n !!isProposingFix &&\n !!proposingFixNodeId &&\n columnKey === \"left\" &&\n (section.id === proposingFixNodeId || section.nodeId === proposingFixNodeId);\n \n const hasRedlineTags = hasMeaningfulRedlineTags(section.content);\n const inferredRedlineFlow = hasRedlineTags;\n const resolvedRedlineFlow =\n typeof isRedlineFlow === \"boolean\" ? isRedlineFlow : inferredRedlineFlow;\n const suppressHighlightBg = hasRedlineTags;\n\n // Use history as the base when redlines exist so badge matching still works.\n const shouldOverlayContent = resolvedRedlineFlow && hasRedlineTags;\n const baseContent = shouldOverlayContent\n ? stripRedlineTags(section.content)\n : section.content;\n const overlayContent = shouldOverlayContent ? section.content : undefined;\n const hasContent = ((section.displayContent ?? true) || hasRedlineTags) && hasValue(section.content);\n const isEmpty = !hasTitle && !hasContent;\n\n const displayTitle = hasTitle ? section.title : hasContent ? \"No Title Found\" : \"No Matching Section Found\";\n const isExpanded = !!expandedSubSections[keyPath];\n const colRef = getSubSectionRef(columnKey, keyPath);\n \n const pathParts = keyPath.split('-').map(Number);\n const rootIndex = pathParts[0];\n\n let baseRoot: any = proposedSections[rootIndex];\n let refRoot: any = existingSections[rootIndex];\n let leftRootIndex = rootIndex;\n let rightRootIndex = rootIndex;\n let isRootOrphan = false;\n\n const findSectionPathById = (\n root: any,\n targetId: string | undefined,\n rootPath: string,\n ): { section: any; keyPath: string } | null => {\n if (!root || !targetId) return null;\n if (root.id === targetId || root.nodeId === targetId || root.contentId === targetId) return { section: root, keyPath: rootPath };\n\n const stack = (root.subsections || []).map((child: any, idx: number) => ({\n section: child,\n keyPath: `${rootPath}-${idx}`,\n }));\n\n while (stack.length > 0) {\n const current = stack.shift();\n if (!current?.section) continue;\n if (\n current.section.id === targetId ||\n current.section.nodeId === targetId ||\n current.section.contentId === targetId\n ) return current;\n\n (current.section.subsections || []).forEach((child: any, idx: number) => {\n stack.push({\n section: child,\n keyPath: `${current.keyPath}-${idx}`,\n });\n });\n }\n\n return null;\n };\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const rhsSelfIndex = baseRoot?.refIndexes?.[0];\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIndex);\n if (rhsArrayIdx !== -1) {\n refRoot = existingSections[rhsArrayIdx];\n rightRootIndex = rhsArrayIdx;\n } else {\n isRootOrphan = true;\n }\n } else {\n const lhsSelfIndex = refRoot?.refIndexes?.[0];\n const lhsArrayIdx = proposedSections.findIndex((s: any) => s.selfIndex === lhsSelfIndex);\n if (lhsArrayIdx !== -1) {\n baseRoot = proposedSections[lhsArrayIdx];\n leftRootIndex = lhsArrayIdx;\n } else {\n isRootOrphan = true;\n }\n }\n }\n\n // --- UNIFIED COUNTERPART LOOKUP ENGINE ---\n const findGlobalPathById = (sections: any[], targetId: string | undefined) => {\n if (!targetId || !sections) return null;\n for (let i = 0; i < sections.length; i++) {\n const match = findSectionPathById(sections[i], targetId, String(i));\n if (match) return match;\n }\n return null;\n };\n\n let bSec: any = null;\n let rSec: any = null;\n let leftKeyPath = \"\";\n let rightKeyPath = \"\";\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n bSec = section;\n leftKeyPath = keyPath;\n\n // Try looking within the relative matched root section first\n let rightMatch = findSectionPathById(refRoot, section.nodeId || section.id, String(rightRootIndex));\n \n // Fallback globally across the entire RHS tree if cross-wired or mismatched\n if (!rightMatch) {\n rightMatch = findGlobalPathById(existingSections, section.nodeId || section.id);\n }\n\n rSec = rightMatch?.section || null;\n rightKeyPath = rightMatch?.keyPath || \"\";\n } else {\n rSec = section;\n rightKeyPath = keyPath;\n\n // Try looking within the relative matched root section first\n let leftMatch = findSectionPathById(baseRoot, section.nodeId || section.id, String(leftRootIndex));\n \n // Fallback globally across the entire LHS tree if cross-wired or mismatched\n if (!leftMatch) {\n leftMatch = findGlobalPathById(proposedSections, section.nodeId || section.id);\n }\n\n bSec = leftMatch?.section || null;\n leftKeyPath = leftMatch?.keyPath || \"\";\n }\n } else {\n // When maintainRelativeOrder is false, absolute structural paths diverge completely.\n // Index path crawling fails here. Execute absolute global ID tracing to handle re-routed clauses.\n if (columnKey === \"left\") {\n bSec = section;\n leftKeyPath = keyPath;\n\n const rightMatch = findGlobalPathById(existingSections, section.nodeId || section.id);\n rSec = rightMatch?.section || null;\n rightKeyPath = rightMatch?.keyPath || \"\";\n } else {\n rSec = section;\n rightKeyPath = keyPath;\n\n const leftMatch = findGlobalPathById(proposedSections, section.nodeId || section.id);\n bSec = leftMatch?.section || null;\n leftKeyPath = leftMatch?.keyPath || \"\";\n }\n }\n\n const style = (leftKeyPath ? getSubSectionCompareStyle(leftKeyPath) : null) || getSubSectionCompareStyle(keyPath);\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n const counterpartNodeId = columnKey === \"left\" ? rightDocId : leftDocId;\n\n const isSecOrphan = columnKey === \"left\" ? !rSec : !bSec;\n const hasSingleMappedLhs =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n hasSingleMappedLhsSection(refRoot, proposedSections);\n \n const targetEvalResult = section.evaluationResult || bSec?.evaluationResult || rSec?.evaluationResult;\n\n const deviations = targetEvalResult?.deviations || {};\n const lhsDeviationDisplayIndexes = useMemo(\n () =>\n maintainRelativeOrder && columnKey === \"right\"\n ? getLhsDeviationDisplayIndexes(\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n )\n : new Map<string, number>(),\n [\n maintainRelativeOrder,\n columnKey,\n proposedSections,\n leftDocId,\n deviationNumberRegistry,\n ],\n );\n let nodeId = section.nodeId || section.id || bSec?.nodeId || bSec?.id || rSec?.nodeId || rSec?.id;\n\n // For Subsections, use the exact LHS counterpart subsection (bSec) ID for registry lookup\n if (maintainRelativeOrder && columnKey !== \"left\") {\n if (bSec?.id) {\n nodeId = bSec.nodeId || bSec.id;\n }\n }\n\n // Derive validatedParentNum from registry\n const firstDeviationKey = Object.keys(deviations)[0];\n const firstRefId = firstDeviationKey ? `${nodeId}${DEVIATION_BADGE_SEPARATOR}${firstDeviationKey}` : null;\n const registeredParentNum = firstRefId ? (deviationParentRegistry?.[firstRefId] as number) : null;\n\n let validatedParentNum: string | number = rootIndex + 1;\n\n if (maintainRelativeOrder && unifiedNumbering) {\n const unifiedNum = columnKey === \"left\" \n ? unifiedNumbering.leftNums.get(baseRoot?.id) \n : unifiedNumbering.rightNums.get(refRoot?.id);\n\n if (isRootOrphan && unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n } else if (unifiedNum !== undefined) {\n validatedParentNum = unifiedNum;\n }\n } else if (registeredParentNum !== null && registeredParentNum !== undefined && registeredParentNum >= 0) {\n validatedParentNum = registeredParentNum;\n }\n\n const deviationColorData = targetEvalResult?.evaluation_outputs?.metadata?.label_color ?? DEFAULT_DEVIAION_COLOR;\n const deviationPalette = generateColorPalette(deviationColorData);\n const { highlightBg } = deviationPalette;\n\n \n const highlights: string[] = [];\n \n const rawDeviationEntries = Object.entries(deviations).map(([deviationKey, deviationMap]: [string, any]) => {\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const currentIndex = deviationNumberRegistry[refId];\n return { deviationKey, deviationMap, refId, currentIndex };\n }).filter(item => item.currentIndex !== undefined && item.currentIndex !== null);\n\n rawDeviationEntries.sort((a, b) => a.currentIndex - b.currentIndex);\n\n const localRhsOrphanVisualIndexes = new Map<string, number>();\n if (\n !rhsOrphanVisualIndexes &&\n maintainRelativeOrder &&\n columnKey === \"right\"\n ) {\n const normalizedContent = safeStringify(baseContent || \"\").replace(/\\\\n/g, \"\\n\");\n rawDeviationEntries\n .filter(({ deviationMap }) => {\n const ownHighlight = deviationMap[parentNodeId];\n const isOrphan =\n isSecOrphan || isMissingStr(deviationMap[counterpartNodeId as string]);\n return isOrphan && !!ownHighlight && !isMissingStr(ownHighlight);\n })\n .map((entry) => {\n const normalizedHighlight = safeStringify(\n entry.deviationMap[parentNodeId] || \"\",\n ).replace(/\\\\n/g, \"\\n\");\n const position = normalizedHighlight\n ? normalizedContent.indexOf(normalizedHighlight)\n : -1;\n return { ...entry, position };\n })\n .sort((a, b) => {\n const aPosition = a.position === -1 ? Number.MAX_SAFE_INTEGER : a.position;\n const bPosition = b.position === -1 ? Number.MAX_SAFE_INTEGER : b.position;\n return aPosition - bPosition || a.currentIndex - b.currentIndex;\n })\n .forEach((entry, index) => {\n localRhsOrphanVisualIndexes.set(entry.refId, index + 1);\n });\n }\n\n const deviationEntries = rawDeviationEntries\n .map((item) => {\n const { deviationKey, deviationMap, refId } = item;\n let currentIndex = item.currentIndex;\n\n // if (maintainRelativeOrder && sectionOffset !== undefined) {\n // currentIndex = currentIndex - sectionOffset;\n // }\n // currentIndex = Math.max(1, currentIndex);\n\n let highlight = deviationMap[parentNodeId];\n const isMissingClause = isMissingStr(highlight);\n\n if (isMissingClause) highlight = \"\";\n else if (!highlight) return null;\n\n highlights.push(highlight);\n\n const counterpartHighlight = deviationMap[counterpartNodeId as string];\n\n const isDeviationOrphan = isSecOrphan || isMissingStr(counterpartHighlight);\n const orphanVisualIndex =\n rhsOrphanVisualIndexes?.get(refId) ??\n localRhsOrphanVisualIndexes.get(refId);\n const mappedLhsIndex = lhsDeviationDisplayIndexes.get(refId);\n if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n orphanVisualIndex !== undefined\n ) {\n currentIndex = orphanVisualIndex;\n } else if (\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n !isDeviationOrphan &&\n mappedLhsIndex !== undefined\n ) {\n currentIndex = mappedLhsIndex;\n } else if (\n maintainRelativeOrder &&\n sectionOffset !== undefined &&\n (columnKey !== \"right\" || isDeviationOrphan || hasSingleMappedLhs)\n ) {\n currentIndex = currentIndex - sectionOffset;\n }\n currentIndex = Math.max(1, currentIndex);\n\n const badgeParentNum =\n maintainRelativeOrder &&\n columnKey === \"right\" &&\n isDeviationOrphan &&\n unifiedNumbering\n ? getRhsMappedSectionNumber({\n section: refRoot,\n proposedSections,\n leftNums: unifiedNumbering.leftNums,\n fallbackNumber: String(validatedParentNum),\n firstOnly: true,\n })\n : validatedParentNum;\n const badgeLabel = `${badgeParentNum}.${currentIndex}`;\n const actionId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}${DEVIATION_BADGE_SEPARATOR}${leftKeyPath}${DEVIATION_BADGE_SEPARATOR}${rightKeyPath}`;\n const deviationOutput = deviationMap?.evaluation_outputs || targetEvalResult?.evaluation_outputs;\n const deviationScore = deviationOutput?.output_value ?? null;\n const deviationColorForBadge = deviationOutput?.metadata?.label_color ?? deviationColorData;\n const deviationPaletteForBadge = generateColorPalette(deviationColorForBadge);\n let badgeStyle = { ...deviationPaletteForBadge } as StyleVariant;\n\n const summaryPayload = deviationMap?.deviation_summary\n ? {\n deviation_summary: deviationMap.deviation_summary || targetEvalResult?.deviation_summary,\n deviation_title: deviationMap?.deviation_title || targetEvalResult?.deviation_title,\n deviation_impact: deviationMap?.deviation_impact || targetEvalResult?.deviation_impact,\n deviation_explanation:\n deviationMap?.deviation_explanation || targetEvalResult?.deviation_explanation,\n evaluation_outputs: deviationOutput,\n cognitive_decisioning:\n deviationMap?.cognitive_decisioning || targetEvalResult?.cognitive_decisioning,\n }\n : null;\n\n let stackIndex = 0;\n const contentStr = baseContent || \"\";\n if (highlight && contentStr) {\n const paragraphs = contentStr.split(/\\n{2,}/);\n const paraIndex = paragraphs.findIndex(p => p.includes(highlight));\n if (paraIndex !== -1) {\n const devsInPara = Object.entries(deviations)\n .filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && paragraphs[paraIndex].includes(hl);\n })\n .sort((a: any, b: any) => paragraphs[paraIndex].indexOf(a[1][parentNodeId]) - paragraphs[paraIndex].indexOf(b[1][parentNodeId]));\n const overlappingDevs = devsInPara.filter(([_, dMap]: any) => {\n const hl = dMap[parentNodeId];\n return hl && (hl.includes(highlight) || highlight.includes(hl));\n });\n if (overlappingDevs.length > 1) {\n stackIndex = Math.max(0, overlappingDevs.findIndex(([k]) => k === deviationKey));\n }\n }\n }\n\n const badgeRef = getBadgeRef(columnKey, refId);\n\n return {\n id: refId,\n actionId: actionId,\n label: badgeLabel,\n highlight,\n side: columnKey,\n style: badgeStyle,\n stackIndex,\n score: deviationScore,\n isConnected: connectedSections.has(actionId as any),\n showScrollLockToggle:\n connectedSections.has(actionId as any) ||\n (isSideBySide && activeSideBySideSection === actionId) ||\n (!!summaryPopupAnchorEl && summaryPopupAnchorEl === badgeRef.current),\n scrollSyncLocked,\n toggleScrollSyncLocked,\n isOrphan: isDeviationOrphan,\n isMissingClause,\n badgeRef,\n onClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n const popupBaseSec = bSec ? { ...bSec, title: baseRoot?.title || bSec?.title || \"\" } : { id: \"orphan-left\", title: \"\", content: \"\" };\n const popupRefSec = rSec ? { ...rSec, title: refRoot?.title || rSec?.title || \"\" } : { id: \"orphan-right\", title: \"\", content: \"\" };\n \n openMoreFunctionsPopup(e, popupBaseSec, isDeviationOrphan, popupRefSec, actionId, badgeStyle); \n },\n onSummaryClick: (e: React.MouseEvent) => {\n e.stopPropagation();\n openSummaryPopup(e, actionId, isDeviationOrphan, summaryPayload);\n }\n };\n })\n .filter(Boolean)\n .sort((a: any, b: any) => {\n const numA = parseFloat(a.label);\n const numB = parseFloat(b.label);\n return numA - numB;\n });\n\n const deduplicatedEntries = useMemo(() => {\n const seenRefIds = new Set<string>();\n return deviationEntries.filter((entry: any) => {\n if (seenRefIds.has(entry.id)) return false;\n seenRefIds.add(entry.id);\n return true;\n });\n }, [deviationEntries]);\n\n\n const baseShouldRenderBadges =\n showDeviationBadges || (!resolvedRedlineFlow && isProposedFixTarget);\n const shouldRenderBadges = baseShouldRenderBadges;\n const deviationBadgesToRender = shouldRenderBadges ? deduplicatedEntries : [];\nconst highlightsToRender = deduplicatedEntries.map((b: any) => b.highlight).filter(Boolean);\n\n // const hasScrolledRef = useRef(false);\n\n // useEffect(() => {\n // if (!isExpanded) {\n // hasScrolledRef.current = false;\n // }\n // }, [isExpanded]);\n\n // useEffect(() => {\n // if (!isExpanded || hasScrolledRef.current) return;\n\n // const timer = setTimeout(() => {\n // hasScrolledRef.current = true;\n \n // const firstBadgeRef = deviationEntries[0]?.badgeRef?.current;\n \n // if (firstBadgeRef) {\n // firstBadgeRef.scrollIntoView({\n // behavior: \"smooth\",\n // block: \"center\",\n // });\n // }\n // }, 350); \n\n // return () => clearTimeout(timer);\n // }, [isExpanded, deviationEntries]);\n\n const connectedBadge = deviationEntries.find((b: any) => connectedSections.has(b.actionId));\n const isConnected = !!connectedBadge;\n\n if (!hasTitle && !hasContent && (!section.subsections || section.subsections.length === 0)) return null;\n\n const handleToggle = () => {\n if (!isEmpty) {\n if (isExpanded) {\n const activeBadgeIdStr = String(activeSideBySideSection || \"\");\n let needsReset = activeBadgeIdStr.includes(leftKeyPath) || activeBadgeIdStr.includes(rightKeyPath);\n\n if (!needsReset) {\n connectedSections.forEach((id) => {\n if (String(id).includes(leftKeyPath) || String(id).includes(rightKeyPath)) needsReset = true;\n });\n }\n\n if (needsReset) {\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n }\n }\n setExpandedSubSections((prev) => ({ ...prev, [keyPath]: !prev[keyPath] }));\n }\n };\n const outlineColor = connectedBadge?.style?.badgeBorder || style?.badgeBorder;\n const outlineStyles = isConnected && outlineColor\n ? { borderRadius: \"4px\", outline: `2px solid ${outlineColor}`, outlineOffset: \"1px\" }\n : {};\n\n if (!hasTitle) {\n return (\n <Box ref={colRef} sx={{ mt: depth === 0 ? 1 : 0.75, width: \"100%\", minWidth: 0, position: \"relative\" }}>\n {!isEmpty && (\n <Box sx={{ width: \"100%\", ...outlineStyles }}>\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n deviationBadges={deviationBadgesToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n highlights={highlightsToRender} \n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) => (\n <SubSectionAccordion\n key={`${keyPath}-${subIdx}`}\n section={sub}\n keyPath={`${keyPath}-${subIdx}`}\n depth={depth + 1}\n columnKey={columnKey}\n parentNodeId={parentNodeId}\n sectionOffset={sectionOffset}\n rhsOrphanVisualIndexes={rhsOrphanVisualIndexes}\n />\n ))}\n </Box>\n )}\n </Box>\n );\n }\n\n return (\n <Box ref={colRef} sx={{ mt: 1, width: \"100%\", minWidth: 0, position: \"relative\" }}>\n <Box sx={{ width: \"100%\", ...outlineStyles }}>\n <Accordion\n disableGutters\n expanded={isEmpty ? false : isExpanded}\n onChange={handleToggle}\n sx={{\n mt: 0,\n boxShadow: \"none\",\n border: isEmpty ? \"1px dashed #E2E8F0\" : \"1px solid #EEF2F7\",\n borderRadius: \"4px !important\",\n bgcolor: \"#FFFFFF\",\n minWidth: 0,\n \"&:before\": { display: \"none\" },\n }}\n >\n <AccordionSummary expandIcon={isEmpty ? null : <ChevronDown size={14} />} sx={{ minHeight: \"32px\", \"& .MuiAccordionSummary-content\": { my: 0.5, display: \"grid\", alignItems: \"center\", minWidth: 0, width: \"100%\" } }}>\n <Typography component=\"div\" sx={{ fontSize: \"11px\", fontWeight: 600, color: isEmpty ? \"#94A3B8\" : \"#19213D\", overflow: \"hidden\", textOverflow: \"ellipsis\", whiteSpace: \"nowrap\", width: \"100%\", minWidth: 0 }}>\n {displayTitle || \"Untitled Subsection\"}\n </Typography>\n </AccordionSummary>\n {!isEmpty && (\n <AccordionDetails sx={{ pt: 0, pb: 1, minWidth: 0 }}>\n {hasContent && (\n <MemoizedMarkdown\n content={baseContent}\n overlayContent={overlayContent}\n sxStyles={resolvedMarkdownStyles}\n deviationBadges={deviationBadgesToRender}\n maintainRelativeOrder={maintainRelativeOrder}\n highlightBg={highlightBg}\n suppressHighlightBg={suppressHighlightBg}\n highlights={highlightsToRender}\n collisionKey={collisionKey}\n />\n )}\n {(section.subsections || []).map((sub, subIdx) => (\n <SubSectionAccordion\n key={`${keyPath}-${subIdx}`}\n section={sub}\n keyPath={`${keyPath}-${subIdx}`}\n depth={depth + 1}\n columnKey={columnKey}\n parentNodeId={parentNodeId}\n sectionOffset={sectionOffset}\n rhsOrphanVisualIndexes={rhsOrphanVisualIndexes}\n />\n ))}\n </AccordionDetails>\n )}\n </Accordion>\n </Box>\n </Box>\n );\n});\n\nexport default SubSectionAccordion;\n"],"names":["SubSectionAccordion","React","memo","props","section","keyPath","depth","columnKey","parentNodeId","sectionOffset","rhsOrphanVisualIndexes","expandedSubSections","setExpandedSubSections","maintainRelativeOrder","showDeviationBadges","proposedSections","existingSections","treeData","deviationNumberRegistry","deviationParentRegistry","connectedSections","activeSideBySideSection","isSideBySide","scrollSyncLocked","toggleScrollSyncLocked","summaryPopupAnchorEl","resolvedMarkdownStyles","getSubSectionRef","getSubSectionCompareStyle","getBadgeRef","openMoreFunctionsPopup","openSummaryPopup","resetSideBySide","setConnectedSections","setConnectedLines","cachedConnectedPositions","isProposingFix","proposingFixNodeId","isRedlineFlow","unifiedNumbering","useCompareContext","collisionKey","hasTitle","displayTitle","hasValue","title","isProposedFixTarget","id","nodeId","hasRedlineTags","hasMeaningfulRedlineTags","content","resolvedRedlineFlow","suppressHighlightBg","shouldOverlayContent","baseContent","stripRedlineTags","overlayContent","hasContent","displayContent","isEmpty","isExpanded","colRef","rootIndex","split","map","Number","baseRoot","refRoot","leftRootIndex","rightRootIndex","isRootOrphan","findSectionPathById","root","targetId","rootPath","contentId","stack","subsections","child","idx","length","current","shift","forEach","push","rhsSelfIndex","refIndexes","rhsArrayIdx","findIndex","s","selfIndex","lhsSelfIndex","lhsArrayIdx","findGlobalPathById","sections","i","match","String","bSec","rSec","leftKeyPath","rightKeyPath","rightMatch","leftMatch","style","leftDocId","input_index_map","rightDocId","counterpartNodeId","isSecOrphan","hasSingleMappedLhs","hasSingleMappedLhsSection","targetEvalResult","evaluationResult","deviations","lhsDeviationDisplayIndexes","useMemo","getLhsDeviationDisplayIndexes","Map","firstDeviationKey","Object","keys","firstRefId","DEVIATION_BADGE_SEPARATOR","registeredParentNum","validatedParentNum","unifiedNum","leftNums","get","rightNums","deviationColorData","evaluation_outputs","metadata","label_color","DEFAULT_DEVIAION_COLOR","deviationPalette","generateColorPalette","highlightBg","rawDeviationEntries","entries","deviationKey","deviationMap","refId","currentIndex","filter","item","sort","a","b","localRhsOrphanVisualIndexes","normalizedContent","safeStringify","replace","ownHighlight","isMissingStr","entry","normalizedHighlight","position","indexOf","MAX_SAFE_INTEGER","index","set","deviationEntries","highlight","isMissingClause","counterpartHighlight","isDeviationOrphan","orphanVisualIndex","mappedLhsIndex","Math","max","badgeLabel","getRhsMappedSectionNumber","fallbackNumber","firstOnly","actionId","deviationOutput","deviationScore","output_value","badgeStyle","summaryPayload","deviation_summary","deviation_title","deviation_impact","deviation_explanation","cognitive_decisioning","stackIndex","contentStr","paragraphs","paraIndex","p","includes","overlappingDevs","_","dMap","hl","k","badgeRef","label","side","score","isConnected","has","showScrollLockToggle","isOrphan","onClick","e","stopPropagation","popupBaseSec","popupRefSec","onSummaryClick","Boolean","parseFloat","deduplicatedEntries","seenRefIds","Set","add","deviationBadgesToRender","highlightsToRender","connectedBadge","find","outlineColor","badgeBorder","outlineStyles","borderRadius","outline","outlineOffset","jsx","Box","ref","sx","mt","width","minWidth","children","jsxs","Accordion","disableGutters","expanded","onChange","activeBadgeIdStr","needsReset","prev","boxShadow","border","bgcolor","display","AccordionSummary","expandIcon","ChevronDown","size","minHeight","my","alignItems","Typography","component","fontSize","fontWeight","color","overflow","textOverflow","whiteSpace","AccordionDetails","pt","pb","MemoizedMarkdown","sxStyles","deviationBadges","highlights","sub","subIdx"],"mappings":"6tBAuCA,MAAMA,EAA0DC,EAAMC,KAAMC,IACpE,MAAAC,QACJA,EAAAC,QACAA,EAAAC,MACAA,EAAQ,EAAAC,UACRA,EAAY,OAAAC,aACZA,EAAe,GAAAC,cACfA,EAAAC,uBACAA,GACEP,GACEQ,oBACJA,EAAAC,uBACAA,EAAAC,sBACAA,EAAAC,oBACAA,GA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gBACAC,0BAPK,GAAGL,KAAW0Q"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{ChevronDown as i}from"lucide-react";import{ButtonCognitiveIcon as n}from"../../../assests/svg/ButtonCognitiveIcon.js";import{getBentArrowPath as o,DEVIATION_BADGE_SEPARATOR as s}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as l}from"../CognitiveCompareConstants.js";import r from"./ThreeDotsLoader.js";import a from"./connectedLines.js";import{Box as c}from"@mui/material";function d({svgContainerRef:d,svgDimensions:p,isResizing:g,overallConnector:u,rootDeviationStyle:h,lines:y,isSideBySide:m,activeSideBySideSection:x,isArrowVisible:b,maintainRelativeOrder:f,proposedSections:v,existingSections:S,cognitivePopup:C,activeBadgeId:B,closeCognitivePopup:I,setActiveBadgeId:$,openCognitivePopupFromState:w,buildSectionPopupState:P,connectedLines:R,pathRefs:M,isGuidelineMode:j}){const L=[...y].sort((e,t)=>Number(Boolean(t.isMappingContinuation))-Number(Boolean(e.isMappingContinuation)));return e("svg",{ref:d,style:{position:"absolute",top:0,left:0,width:p.width||"100%",height:p.height||"100%",pointerEvents:"none",zIndex:10,overflow:"visible",opacity:g?0:1,transition:"opacity 0.15s ease-in-out"},children:[u&&t("g",{children:t("line",{x1:u.x1,y1:u.y,x2:u.x2,y2:u.y,stroke:h.badgeBorder,strokeWidth:"1.5"})}),L.map(a=>{const d=a.x1+.5*(a.x2-a.x1),p=(a.y1+a.y2)/2,g=d;if("Not Defined"===a.style.label&&!a.hasCognitive)return null;if(a.isSubSection?m&&x===a.subSectionKeyPath&&b:m&&x===a.sectionIdx&&b)return null;if(f)return null;const u=a.isMappingContinuation?`M ${g} ${a.y1} L ${g} ${a.y2} L ${a.x2} ${a.y2}`:a.isSubSection?o(a.x1,a.y1,a.x2,a.y2):`M ${a.x1} ${a.y1} L ${a.x2} ${a.y2}`;let h=v[a.sectionIdx]||{title:"",content:""},y=S[a.targetRightIdx??a.sectionIdx]||{title:"",content:""};if(a.isSubSection&&a.subSectionKeyPath){const e=a.subSectionKeyPath.includes(s)?a.subSectionKeyPath.split(s):[],t=e[2]||a.subSectionKeyPath,i=e[3]||t,n=t.split("-").map(Number),o=i.split("-").map(Number);let l=null,r=null;n.length>0&&(l=v[n[0]]||null),o.length>0&&(r=S[o[0]]||null);const c=l?.title||"",d=r?.title||"";for(let e=1;e<n.length;e+=1)l?.subsections&&(l=l.subsections[n[e]]||null);for(let e=1;e<o.length;e+=1)r?.subsections&&(r=r.subsections[o[e]]||null);l&&(h={...l,title:c||l.title}),r&&(y={...r,title:d||r.title})}const R=!h.cognitiveData?.isMissingRationale||Boolean(h.cognitiveData?.decisioning?.length),M=h.evaluationResult?.cognitive_decisioning?.decisioning_factors?.length||!1,j=R||M;return e("g",{children:[t("path",{d:u,fill:"none",stroke:a.style.badgeBorder||"#E2E8F0",strokeWidth:"1.5"}),!a.isMappingContinuation&&t("foreignObject",{x:d-100,y:p-14,width:"200",height:"28",style:{pointerEvents:"auto",overflow:"visible"},children:t(c,{sx:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%"},children:e(c,{onClick:e=>{e.stopPropagation(),j&&(C.open&&B===a.id?I():($(a.id),w(P(e.currentTarget,h,y,a.sectionIdx,!1,a.style))))},sx:{display:"inline-flex",alignItems:"center",gap:"4px",fontSize:"11px",bgcolor:a.style.badgeBg,color:a.style.badgeText,border:`1px solid ${a.style.badgeBorder}`,borderRadius:"12px",px:1.5,py:.5,fontWeight:600,textAlign:"center",whiteSpace:"nowrap",cursor:j?"pointer":"default"},children:[a.style.badgeText===l&&null==a.style.label?t(r,{color:a.style.badgeText}):null==a.style.label?null:"0"===String(a.style.label)?"Same":a.style.label,t(c,{component:"span",sx:{width:14,height:14,display:"flex",alignItems:"center","& svg":{width:"14px",height:"14px"}},children:t(n,{})}),j&&t(i,{size:11,style:{transform:C.open&&B===a.id?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]})})})]},a.id)}),t(a,{maintainRelativeOrder:f,connectedLines:R,pathRefs:M,isGuidelineMode:j})]})}export{d as default};
|
|
2
2
|
//# sourceMappingURL=SvgConnectors.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SvgConnectors.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"SvgConnectors.js","sources":["../../../../src/features/CognitiveCompare/components/SvgConnectors.tsx"],"sourcesContent":["import { ChevronDown } from \"lucide-react\";\nimport { ButtonCognitiveIcon } from \"../../../assests/svg/ButtonCognitiveIcon\";\nimport { DEVIATION_BADGE_SEPARATOR, getBentArrowPath } from \"../CognitiveComparehelpers\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport ThreeDotsLoader from \"./ThreeDotsLoader\";\nimport ConnectedLinesComp from \"./connectedLines\";\nimport { Box } from \"@mui/material\";\nimport {\n SectionBlock,\n SectionPopupState,\n StyleVariant,\n} from \"../CognitiveCompareTypes\";\n\ntype SvgConnectorLine = {\n id: string;\n x1: number;\n x2: number;\n y1: number;\n y2: number;\n style: StyleVariant;\n sectionIdx: number | string;\n targetRightIdx?: number;\n isSubSection?: boolean;\n isMappingContinuation?: boolean;\n subSectionKeyPath?: string;\n hasCognitive?: boolean;\n};\n\ntype SvgConnectorsProps = {\n svgContainerRef: React.MutableRefObject<SVGSVGElement | null>;\n svgDimensions: { width: number; height: number };\n isResizing: boolean;\n overallConnector: { x1: number; x2: number; y: number } | null;\n rootDeviationStyle: { badgeBorder: string };\n lines: Record<string, any>[];\n isSideBySide: boolean;\n activeSideBySideSection: number | string | null;\n isArrowVisible: boolean;\n maintainRelativeOrder: boolean | undefined;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n cognitivePopup: SectionPopupState;\n activeBadgeId: string | null;\n closeCognitivePopup: () => void;\n setActiveBadgeId: React.Dispatch<React.SetStateAction<string | null>>;\n openCognitivePopupFromState: (nextPopup: SectionPopupState) => void;\n buildSectionPopupState: (\n anchorEl: HTMLElement | null,\n baseSec: SectionBlock | null,\n refSec: SectionBlock | null,\n sectionIdx: number | string,\n isOrphan?: boolean,\n style?: StyleVariant | null,\n rootNode?: boolean,\n ) => SectionPopupState;\n connectedLines: Record<string, any>[];\n pathRefs: React.MutableRefObject<Record<string, SVGPathElement | null>>;\n isGuidelineMode ?: boolean;\n};\n\nexport default function SvgConnectors({\n svgContainerRef,\n svgDimensions,\n isResizing,\n overallConnector,\n rootDeviationStyle,\n lines,\n isSideBySide,\n activeSideBySideSection,\n isArrowVisible,\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n cognitivePopup,\n activeBadgeId,\n closeCognitivePopup,\n setActiveBadgeId,\n openCognitivePopupFromState,\n buildSectionPopupState,\n connectedLines,\n pathRefs,\n isGuidelineMode,\n}: SvgConnectorsProps) {\n const orderedLines = [...lines].sort(\n (left, right) =>\n Number(Boolean(right.isMappingContinuation)) -\n Number(Boolean(left.isMappingContinuation)),\n );\n\n return (\n <svg\n ref={svgContainerRef}\n style={{\n position: \"absolute\",\n top: 0,\n left: 0,\n width: svgDimensions.width || \"100%\",\n height: svgDimensions.height || \"100%\",\n pointerEvents: \"none\",\n zIndex: 10,\n overflow: \"visible\",\n opacity: isResizing ? 0 : 1,\n transition: \"opacity 0.15s ease-in-out\",\n }}\n >\n {overallConnector && (\n <g>\n <line\n x1={overallConnector.x1}\n y1={overallConnector.y}\n x2={overallConnector.x2}\n y2={overallConnector.y}\n stroke={rootDeviationStyle.badgeBorder}\n strokeWidth=\"1.5\"\n />\n </g>\n )}\n\n {orderedLines.map((line) => {\n const bendX = line.x1 + (line.x2 - line.x1) * 0.5;\n const midY = (line.y1 + line.y2) / 2;\n const continuationJunctionX = bendX;\n\n if (line.style.label === \"Not Defined\" && !line.hasCognitive) {\n return null;\n }\n\n const isActive = line.isSubSection\n ? isSideBySide &&\n activeSideBySideSection === line.subSectionKeyPath &&\n isArrowVisible\n : isSideBySide &&\n activeSideBySideSection === line.sectionIdx &&\n isArrowVisible;\n\n if (isActive) {\n return null;\n }\n\n if (maintainRelativeOrder) {\n return null;\n }\n\n const pathD = line.isMappingContinuation\n ? `M ${continuationJunctionX} ${line.y1} L ${continuationJunctionX} ${line.y2} L ${line.x2} ${line.y2}`\n : !line.isSubSection\n ? `M ${line.x1} ${line.y1} L ${line.x2} ${line.y2}`\n : getBentArrowPath(line.x1, line.y1, line.x2, line.y2);\n\n let baseSec = proposedSections[line.sectionIdx as number] || { title: \"\", content: \"\" };\n let refSec = existingSections[line.targetRightIdx ?? (line.sectionIdx as number)] || {\n title: \"\",\n content: \"\",\n };\n\n if (line.isSubSection && line.subSectionKeyPath) {\n const pathParts = line.subSectionKeyPath.includes(DEVIATION_BADGE_SEPARATOR)\n ? line.subSectionKeyPath.split(DEVIATION_BADGE_SEPARATOR)\n : [];\n const leftPath = pathParts[2] || line.subSectionKeyPath;\n const rightPath = pathParts[3] || leftPath;\n const leftPathParts = leftPath.split(\"-\").map(Number);\n const rightPathParts = rightPath.split(\"-\").map(Number);\n let leftSection: SectionBlock | null = null;\n let rightSection: SectionBlock | null = null;\n\n if (leftPathParts.length > 0) {\n leftSection = proposedSections[leftPathParts[0]] || null;\n }\n if (rightPathParts.length > 0) {\n rightSection = existingSections[rightPathParts[0]] || null;\n }\n\n const rootParentTitle = leftSection?.title || \"\";\n const rootRefParentTitle = rightSection?.title || \"\";\n\n for (let i = 1; i < leftPathParts.length; i += 1) {\n if (leftSection?.subsections) leftSection = leftSection.subsections[leftPathParts[i]] || null;\n }\n for (let i = 1; i < rightPathParts.length; i += 1) {\n if (rightSection?.subsections) rightSection = rightSection.subsections[rightPathParts[i]] || null;\n }\n\n if (leftSection) baseSec = { ...leftSection, title: rootParentTitle || leftSection.title };\n if (rightSection) refSec = { ...rightSection, title: rootRefParentTitle || rightSection.title };\n }\n\n const isMappingCD =\n !baseSec.cognitiveData?.isMissingRationale ||\n Boolean(baseSec.cognitiveData?.decisioning?.length);\n const isDeviationCD =\n baseSec.evaluationResult?.cognitive_decisioning?.decisioning_factors?.length || false;\n const hasMapping = isMappingCD || isDeviationCD;\n\n return (\n <g key={line.id}>\n <path\n d={pathD}\n fill=\"none\"\n stroke={line.style.badgeBorder || \"#E2E8F0\"}\n strokeWidth=\"1.5\"\n />\n {!line.isMappingContinuation && (\n <foreignObject\n x={bendX - 100}\n y={midY - 14}\n width=\"200\"\n height=\"28\"\n style={{ pointerEvents: \"auto\", overflow: \"visible\" }}\n >\n <Box\n sx={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n height: \"100%\",\n }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (!hasMapping) return;\n if (cognitivePopup.open && activeBadgeId === line.id) {\n closeCognitivePopup();\n return;\n }\n\n setActiveBadgeId(line.id);\n openCognitivePopupFromState(\n buildSectionPopupState(\n e.currentTarget as HTMLElement,\n baseSec,\n refSec,\n line.sectionIdx,\n false,\n line.style,\n ),\n );\n }}\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"4px\",\n fontSize: \"11px\",\n bgcolor: line.style.badgeBg,\n color: line.style.badgeText,\n border: `1px solid ${line.style.badgeBorder}`,\n borderRadius: \"12px\",\n px: 1.5,\n py: 0.5,\n fontWeight: 600,\n textAlign: \"center\",\n whiteSpace: \"nowrap\",\n cursor: !hasMapping ? \"default\" : \"pointer\",\n }}\n >\n {line.style.badgeText === DEFAULT_DEVIAION_COLOR && line.style.label == null\n ? <ThreeDotsLoader color={line.style.badgeText} />\n : line.style.label == null\n ? null\n : String(line.style.label) === \"0\"\n ? \"Same\"\n : line.style.label}\n <Box\n component=\"span\"\n sx={{\n width: 14,\n height: 14,\n display: \"flex\",\n alignItems: \"center\",\n \"& svg\": { width: \"14px\", height: \"14px\" },\n }}\n >\n <ButtonCognitiveIcon />\n </Box>\n\n {hasMapping && (\n <ChevronDown\n size={11}\n style={{\n transform:\n cognitivePopup.open && activeBadgeId === line.id\n ? \"rotate(180deg)\"\n : \"rotate(0deg)\",\n transition: \"transform 0.25s ease\",\n }}\n />\n )}\n </Box>\n </Box>\n </foreignObject>\n )}\n </g>\n );\n })}\n\n <ConnectedLinesComp \n maintainRelativeOrder={maintainRelativeOrder} \n connectedLines={connectedLines} \n pathRefs={pathRefs} \n isGuidelineMode={isGuidelineMode}\n />\n </svg>\n );\n}\n"],"names":["SvgConnectors","svgContainerRef","svgDimensions","isResizing","overallConnector","rootDeviationStyle","lines","isSideBySide","activeSideBySideSection","isArrowVisible","maintainRelativeOrder","proposedSections","existingSections","cognitivePopup","activeBadgeId","closeCognitivePopup","setActiveBadgeId","openCognitivePopupFromState","buildSectionPopupState","connectedLines","pathRefs","isGuidelineMode","orderedLines","sort","left","right","Number","Boolean","isMappingContinuation","jsxs","ref","style","position","top","width","height","pointerEvents","zIndex","overflow","opacity","transition","children","jsx","x1","y1","y","x2","y2","stroke","badgeBorder","strokeWidth","map","line","bendX","midY","continuationJunctionX","label","hasCognitive","isSubSection","subSectionKeyPath","sectionIdx","pathD","getBentArrowPath","baseSec","title","content","refSec","targetRightIdx","pathParts","includes","DEVIATION_BADGE_SEPARATOR","split","leftPath","rightPath","leftPathParts","rightPathParts","leftSection","rightSection","length","rootParentTitle","rootRefParentTitle","i","subsections","isMappingCD","cognitiveData","isMissingRationale","decisioning","isDeviationCD","evaluationResult","cognitive_decisioning","decisioning_factors","hasMapping","d","fill","x","Box","sx","display","justifyContent","alignItems","onClick","e","stopPropagation","open","id","currentTarget","gap","fontSize","bgcolor","badgeBg","color","badgeText","border","borderRadius","px","py","fontWeight","textAlign","whiteSpace","cursor","DEFAULT_DEVIAION_COLOR","ThreeDotsLoader","String","component","ButtonCognitiveIcon","ChevronDown","size","transform","ConnectedLinesComp"],"mappings":"mcA4DA,SAAwBA,GAAcC,gBACpCA,EAAAC,cACAA,EAAAC,WACAA,EAAAC,iBACAA,EAAAC,mBACAA,EAAAC,MACAA,EAAAC,aACAA,EAAAC,wB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S,OACTE,WAAY,SACZ,QAAS,CAAEjE,MAAO,OAAQC,OAAQ,SAGpCM,WAACmF,EAAoB,MAGtBjC,GACCjD,EAACmF,EAAA,CACCC,KAAM,GACN/F,MAAO,CACLgG,UACElH,EAAe0F,MAAQzF,IAAkBsC,EAAKoD,GAC1C,iBACA,eACNhE,WAAY,mCAzFpBY,EAAKoD,MAqGjB9D,EAACsF,EAAA,CACCtH,wBACAS,iBACAC,WACAC,sBAIR"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsx as e}from"react/jsx-runtime";import{Box as t}from"@mui/material";const a=({size:a=6,color:o="text.secondary",gap:i=.5})=>e(t,{sx:{display:"flex",gap:i,alignItems:"center"},children:[0,.16,.32].map((i,r)=>e(t,{sx:{width:a,height:a,bgcolor:o,borderRadius:"50%",animation:"threeDotsBounce 1.4s infinite ease-in-out both",animationDelay:`${i}s`,"@keyframes threeDotsBounce":{"0%, 80%, 100%":{transform:"scale(0)",opacity:.3},"40%":{transform:"scale(1)",opacity:1}}}},r))});export{a as default};
|
|
2
2
|
//# sourceMappingURL=ThreeDotsLoader.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThreeDotsLoader.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"ThreeDotsLoader.js","sources":["../../../../src/features/CognitiveCompare/components/ThreeDotsLoader.tsx"],"sourcesContent":["import { Box } from '@mui/material';\n\ninterface ThreeDotsLoaderProps {\n size?: number;\n color?: string;\n gap?: number;\n}\n\nconst ThreeDotsLoader = ({\n size = 6,\n color = 'text.secondary',\n gap = 0.5,\n}: ThreeDotsLoaderProps) => {\n return (\n <Box sx={{ display: 'flex', gap, alignItems: 'center' }}>\n {[0, 0.16, 0.32].map((delay, index) => (\n <Box\n key={index}\n sx={{\n width: size,\n height: size,\n bgcolor: color,\n borderRadius: '50%',\n animation: 'threeDotsBounce 1.4s infinite ease-in-out both',\n animationDelay: `${delay}s`,\n '@keyframes threeDotsBounce': {\n '0%, 80%, 100%': {\n transform: 'scale(0)',\n opacity: 0.3,\n },\n '40%': {\n transform: 'scale(1)',\n opacity: 1,\n },\n },\n }}\n />\n ))}\n </Box>\n );\n};\n\nexport default ThreeDotsLoader;"],"names":["ThreeDotsLoader","size","color","gap","Box","sx","display","alignItems","children","map","delay","index","jsx","width","height","bgcolor","borderRadius","animation","animationDelay","transform","opacity"],"mappings":"4EAQA,MAAMA,EAAkB,EACtBC,OAAO,EACPC,QAAQ,iBACRC,MAAM,QAGHC,EAAI,CAAAC,GAAI,CAAEC,QAAS,OAAQH,MAAKI,WAAY,UAC1CC,SAAA,CAAC,EAAG,IAAM,KAAMC,IAAI,CAACC,EAAOC,IAC3BC,EAACR,EAAA,CAECC,GAAI,CACFQ,MAAOZ,EACPa,OAAQb,EACRc,QAASb,EACTc,aAAc,MACdC,UAAW,iDACXC,eAAgB,GAAGR,KACnB,6BAA8B,CAC5B,gBAAiB,CACfS,UAAW,WACXC,QAAS,IAEX,MAAO,CACLD,UAAW,WACXC,QAAS,MAfVT"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as e,Fragment as t,jsx as r}from"react/jsx-runtime";import{Box as i}from"@mui/material";import n from"./ScrollLockToggle.js";import{useCompareContext as o}from"../CompareContext.js";const l=({connectedLines:l,pathRefs:d,maintainRelativeOrder:s})=>{const{scrollSyncLocked:a,toggleScrollSyncLocked:c,isGuidelineMode:h}=o();return e(t,{children:[l.map(t=>{const i=t.pathD,n=t.style?.badgeBorder||"#6366F1",o=`conn-marker-${t.id}`,l=`${t.id}-bg`,s=`${t.id}-stroke`,a=`${t.id}-number`;return e("g",{children:[r("defs",{children:r("clipPath",{id:"connections-clip",children:r("marker",{id:o,markerWidth:"8",markerHeight:"6",refX:"7",refY:"3",orient:"auto",children:r("polygon",{points:"0 0, 8 3, 0 6",fill:n})})})}),r("path",{ref:e=>{d.current[l]=e},d:i,fill:"none",stroke:"#FFFFFF",strokeWidth:"4",strokeOpacity:"0.7"}),r("path",{ref:e=>{d.current[s]=e},d:i,fill:"none",stroke:n,strokeWidth:"1.75",markerEnd:`url(#${o})`}),h&&t.matchLabel&&e("g",{ref:e=>{d.current[a]=e},transform:`translate(${t.x2-42}, ${t.y2})`,style:{pointerEvents:"none",transition:"visibility 0ms"},children:[r("rect",{x:"-22",y:"-8",width:"44",height:"16",rx:"4",fill:"#FFFFFF"}),r("rect",{x:"-21",y:"-7",width:"42",height:"14",rx:"3",fill:t.style?.badgeBg||"#FEF08A",stroke:n,strokeWidth:"1"}),r("text",{x:"0",y:"3.5",fontSize:"9px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',fill:t.style?.badgeText||n,textAnchor:"middle",children:t.matchLabel})]})]},t.id)}),e("g",{children:[e("g",{style:{transition:"visibility 0ms"},children:[r("path",{ref:e=>d.current["guideline-up-stroke"]=e,fill:"none",strokeWidth:"1.75",visibility:"hidden"}),e("g",{ref:e=>d.current["guideline-up-badge"]=e,visibility:"hidden",children:[r("polygon",{ref:e=>d.current["guideline-up-arrow"]=e,points:"-4,0 0,-6 4,0"}),r("rect",{ref:e=>d.current["guideline-up-badge-rect"]=e,x:"-12",y:"3",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),r("text",{ref:e=>d.current["guideline-up-text"]=e,x:"0",y:"14",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]})]}),e("g",{style:{transition:"visibility 0ms"},children:[r("path",{ref:e=>d.current["guideline-down-stroke"]=e,fill:"none",strokeWidth:"1.75",visibility:"hidden"}),e("g",{ref:e=>d.current["guideline-down-badge"]=e,visibility:"hidden",children:[r("polygon",{ref:e=>d.current["guideline-down-arrow"]=e,points:"-4,0 0,6 4,0"}),r("rect",{ref:e=>d.current["guideline-down-badge-rect"]=e,x:"-12",y:"-18",width:"24",height:"15",rx:"4",fill:"#FFFFFF",strokeWidth:"1"}),r("text",{ref:e=>d.current["guideline-down-text"]=e,x:"0",y:"-7",fontSize:"10px",fontWeight:"bold",fontFamily:'"Plus Jakarta Sans", sans-serif',textAnchor:"middle"})]})]})]}),s&&!h&&l.map(e=>{if(void 0===e.x1)return null;const t=e.style?.badgeBorder||"#6366F1",o=`${e.id}-btn`,l=e.x1+40,s=void 0!==e.y1?e.y1:0;return r("foreignObject",{ref:e=>{d.current[o]=e},x:l-12,y:s-12,width:"24",height:"24",style:{pointerEvents:"auto",overflow:"visible"},children:r(i,{onClick:e=>{e.stopPropagation(),c&&c(e)},sx:{display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%",bgcolor:"#FFFFFF",borderRadius:"50%",border:`1px solid ${t}`,cursor:"pointer",transition:"transform 0.2s ease","&:hover":{transform:"scale(1.05)",boxShadow:"0px 2px 4px rgba(0,0,0,0.1)"}},children:r(n,{locked:a,onToggle:c,color:e.style?.badgeText||t,borderColor:"transparent",size:12})})},`${e.id}-lock`)})]})};export{l as default};
|
|
2
2
|
//# sourceMappingURL=connectedLines.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectedLines.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"connectedLines.js","sources":["../../../../src/features/CognitiveCompare/components/connectedLines.tsx"],"sourcesContent":["import React from \"react\";\nimport { Box } from \"@mui/material\";\nimport ScrollLockToggle from \"./ScrollLockToggle\";\nimport { useCompareContext } from \"../CompareContext\";\n\nconst ConnectedLinesComp = ({\n connectedLines,\n pathRefs,\n maintainRelativeOrder,\n}: {\n connectedLines: Record<string, any>[];\n pathRefs: React.MutableRefObject<Record<string, any>>;\n maintainRelativeOrder?: boolean;\n isGuidelineMode ?: boolean;\n}) => {\n const { scrollSyncLocked, toggleScrollSyncLocked, isGuidelineMode } = useCompareContext();\n\n return (\n <>\n {connectedLines.map((line) => {\n const pathD = line.pathD;\n const color = line.style?.badgeBorder || \"#6366F1\";\n const markerId = `conn-marker-${line.id}`;\n const bgKey = `${line.id}-bg`;\n const strokeKey = `${line.id}-stroke`;\n const numberKey = `${line.id}-number`; \n\n return (\n <g key={line.id}>\n <defs>\n <clipPath id=\"connections-clip\">\n <marker\n id={markerId}\n markerWidth=\"8\"\n markerHeight=\"6\"\n refX=\"7\"\n refY=\"3\"\n orient=\"auto\"\n >\n <polygon\n points=\"0 0, 8 3, 0 6\"\n fill={color}\n />\n </marker>\n </clipPath>\n </defs>\n\n <path\n ref={(el) => {\n pathRefs.current[bgKey] = el;\n }}\n d={pathD}\n fill=\"none\"\n stroke=\"#FFFFFF\"\n strokeWidth=\"4\"\n strokeOpacity=\"0.7\"\n />\n <path\n ref={(el) => {\n pathRefs.current[strokeKey] = el;\n }}\n d={pathD}\n fill=\"none\"\n stroke={color}\n strokeWidth=\"1.75\"\n markerEnd={`url(#${markerId})`} \n />\n\n {/* Number Badge for All Modes (Always shows 6.2(a) etc.) */}\n {isGuidelineMode && line.matchLabel && (\n <g\n ref={(el) => {\n pathRefs.current[numberKey] = el;\n }}\n // ── CHANGED: Pushed from 34 to 42 for breathing space ──\n transform={`translate(${line.x2 - 42}, ${line.y2})`}\n style={{ pointerEvents: \"none\", transition: \"visibility 0ms\" }}\n >\n <rect \n x=\"-22\" \n y=\"-8\" \n width=\"44\" \n height=\"16\" \n rx=\"4\" \n fill=\"#FFFFFF\" \n />\n <rect \n x=\"-21\" \n y=\"-7\" \n width=\"42\" \n height=\"14\" \n rx=\"3\" \n fill={line.style?.badgeBg || \"#FEF08A\"} \n stroke={color} \n strokeWidth=\"1\" \n />\n <text \n x=\"0\" \n y=\"3.5\" \n fontSize=\"9px\" \n fontWeight=\"bold\" \n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n fill={line.style?.badgeText || color} \n textAnchor=\"middle\"\n >\n {line.matchLabel}\n </text>\n </g>\n )}\n\n </g>\n );\n })}\n\n {/* Global Up/Down Offscreen Indicators with Arrow Tips for ALL Modes */}\n <g>\n {/* UP INDICATOR */}\n <g style={{ transition: \"visibility 0ms\" }}>\n <path\n ref={(el) => (pathRefs.current[\"guideline-up-stroke\"] = el as SVGPathElement)}\n fill=\"none\"\n strokeWidth=\"1.75\"\n visibility=\"hidden\"\n />\n <g\n ref={(el) => (pathRefs.current[\"guideline-up-badge\"] = el as SVGGElement)}\n visibility=\"hidden\"\n >\n <polygon \n ref={(el) => (pathRefs.current[\"guideline-up-arrow\"] = el as SVGPolygonElement)} \n points=\"-4,0 0,-6 4,0\" \n />\n <rect\n ref={(el) => (pathRefs.current[\"guideline-up-badge-rect\"] = el as SVGRectElement)}\n x=\"-12\"\n y=\"3\"\n width=\"24\"\n height=\"15\"\n rx=\"4\"\n fill=\"#FFFFFF\"\n strokeWidth=\"1\"\n />\n <text\n ref={(el) => (pathRefs.current[\"guideline-up-text\"] = el as SVGTextElement)}\n x=\"0\"\n y=\"14\"\n fontSize=\"10px\"\n fontWeight=\"bold\"\n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n textAnchor=\"middle\"\n />\n </g>\n </g>\n\n {/* DOWN INDICATOR */}\n <g style={{ transition: \"visibility 0ms\" }}>\n <path\n ref={(el) => (pathRefs.current[\"guideline-down-stroke\"] = el as SVGPathElement)}\n fill=\"none\"\n strokeWidth=\"1.75\"\n visibility=\"hidden\"\n />\n <g\n ref={(el) => (pathRefs.current[\"guideline-down-badge\"] = el as SVGGElement)}\n visibility=\"hidden\"\n >\n <polygon \n ref={(el) => (pathRefs.current[\"guideline-down-arrow\"] = el as SVGPolygonElement)} \n points=\"-4,0 0,6 4,0\" \n />\n <rect\n ref={(el) => (pathRefs.current[\"guideline-down-badge-rect\"] = el as SVGRectElement)}\n x=\"-12\"\n y=\"-18\"\n width=\"24\"\n height=\"15\"\n rx=\"4\"\n fill=\"#FFFFFF\"\n strokeWidth=\"1\"\n />\n <text\n ref={(el) => (pathRefs.current[\"guideline-down-text\"] = el as SVGTextElement)}\n x=\"0\"\n y=\"-7\"\n fontSize=\"10px\"\n fontWeight=\"bold\"\n fontFamily='\"Plus Jakarta Sans\", sans-serif'\n textAnchor=\"middle\"\n />\n </g>\n </g>\n </g>\n\n {maintainRelativeOrder && !isGuidelineMode && connectedLines.map((line) => {\n if (line.x1 === undefined) return null;\n\n const color = line.style?.badgeBorder || \"#6366F1\";\n const btnKey = `${line.id}-btn`;\n const lockX = line.x1 + 40;\n const lockY = line.y1 !== undefined ? line.y1 : 0;\n\n return (\n <foreignObject\n key={`${line.id}-lock`}\n ref={(el) => {\n pathRefs.current[btnKey] = el;\n }}\n x={lockX - 12}\n y={lockY - 12}\n width=\"24\"\n height=\"24\"\n style={{ pointerEvents: \"auto\", overflow: \"visible\" }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (toggleScrollSyncLocked) toggleScrollSyncLocked(e);\n }}\n sx={{\n display: \"flex\",\n justifyContent: \"center\",\n alignItems: \"center\",\n width: \"100%\",\n height: \"100%\",\n bgcolor: \"#FFFFFF\",\n borderRadius: \"50%\",\n border: `1px solid ${color}`,\n cursor: \"pointer\",\n transition: \"transform 0.2s ease\",\n \"&:hover\": {\n transform: \"scale(1.05)\",\n boxShadow: \"0px 2px 4px rgba(0,0,0,0.1)\",\n },\n }}\n >\n <ScrollLockToggle\n locked={scrollSyncLocked}\n onToggle={toggleScrollSyncLocked}\n color={line.style?.badgeText || color}\n borderColor=\"transparent\"\n size={12}\n />\n </Box>\n </foreignObject>\n );\n })}\n </>\n );\n};\n\nexport default ConnectedLinesComp;\n"],"names":["ConnectedLinesComp","connectedLines","pathRefs","maintainRelativeOrder","scrollSyncLocked","toggleScrollSyncLocked","isGuidelineMode","useCompareContext","jsxs","Fragment","children","map","line","pathD","color","style","badgeBorder","markerId","id","bgKey","strokeKey","numberKey","jsx","markerWidth","markerHeight","refX","refY","orient","points","fill","ref","el","current","d","stroke","strokeWidth","strokeOpacity","markerEnd","matchLabel","transform","x2","y2","pointerEvents","transition","x","y","width","height","rx","badgeBg","fontSize","fontWeight","fontFamily","badgeText","textAnchor","visibility","x1","btnKey","lockX","lockY","y1","overflow","Box","onClick","e","stopPropagation","sx","display","justifyContent","alignItems","bgcolor","borderRadius","border","cursor","boxShadow","ScrollLockToggle","locked","onToggle","borderColor","size"],"mappings":"kMAKA,MAAMA,EAAqB,EACzBC,iBACAC,WACAC,4BAOA,MAAMC,iBAAEA,EAAAC,uBAAkBA,EAAwBC,gBAAAA,GAAoBC,IAEtE,OAEKC,EAAAC,EAAA,CAAAC,SAAA,CAAeT,EAAAU,IAAKC,IACnB,MAAMC,EAAQD,EAAKC,MACbC,EAAQF,EAAKG,OAAOC,aAAe,UACnCC,EAAW,eAAeL,EAAKM,KAC/BC,EAAQ,GAAGP,EAAKM,QAChBE,EAAY,GAAGR,EAAKM,YACpBG,EAAY,GAAGT,EAAKM,YAE1B,SACG,IACC,CAAAR,SAAA,CAAAY,EAAC,OACC,CAAAZ,SAAAY,EAAC,WAAS,CAAAJ,GAAG,mBACXR,SAAAY,EAAC,SAAA,CACCJ,GAAID,EACJM,YAAY,IACZC,aAAa,IACbC,KAAK,IACLC,KAAK,IACLC,OAAO,OAEPjB,SAAAY,EAAC,UAAA,CACCM,OAAO,gBACPC,KAAMf,UAMdQ,EAAC,OAAA,CACCQ,IAAMC,IACK7B,EAAA8B,QAAQb,GAASY,GAE5BE,EAAGpB,EACHgB,KAAK,OACLK,OAAO,UACPC,YAAY,IACZC,cAAc,QAEhBd,EAAC,OAAA,CACCQ,IAAMC,IACK7B,EAAA8B,QAAQZ,GAAaW,GAEhCE,EAAGpB,EACHgB,KAAK,OACLK,OAAQpB,EACRqB,YAAY,OACZE,UAAW,QAAQpB,OAIpBX,GAAmBM,EAAK0B,YACvB9B,EAAC,IAAA,CACCsB,IAAMC,IACK7B,EAAA8B,QAAQX,GAAaU,GAGhCQ,UAAW,aAAa3B,EAAK4B,GAAK,OAAO5B,EAAK6B,MAC9C1B,MAAO,CAAE2B,cAAe,OAAQC,WAAY,kBAE5CjC,SAA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AY,EAACqD,EAAA,CACCC,OAAQxE,EACRyE,SAAUxE,EACVS,MAAOF,EAAKG,OAAOsC,WAAavC,EAChCgE,YAAY,cACZC,KAAM,QArCL,GAAGnE,EAAKM"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as n,__rest as e}from"tslib";import{jsx as t,jsxs as r,Fragment as i}from"react/jsx-runtime";import{Box as o,Typography as a}from"@mui/material";import l,{useRef as d,useMemo as c,useLayoutEffect as s}from"react";import{DEFAULT_DEVIAION_COLOR as u}from"../CognitiveCompareConstants.js";import{EllipsisVertical as h}from"lucide-react";import p from"react-markdown";import{mixHexColors as g,areMarkdownPropsEqual as f}from"../CognitiveComparehelpers.js";import v from"rehype-raw";import m from"remark-gfm";var b=function(n){return"function"==typeof n?n:(null==n?void 0:n.default)||n},x=[b(m)],y=[b(v)],w=l.memo(function(f){var v=f.content,m=f.overlayContent,b=f.sxStyles,w=f.deviationBadges,E=void 0===w?[]:w,S=f.highlights,k=void 0===S?[]:S;f.maintainRelativeOrder;var C=f.highlightBg,B=f.suppressHighlightBg,F=void 0!==B&&B,z=f.collisionKey,A=d(null),T=!!m,W=c(function(){return E.reduce(function(e,t){var r;return n(n({},e),((r={})[t.id]=t,r))},{})},[E]),O=d({badgeMap:W,highlightBg:C,hideHighlightBg:T,suppressHighlightBg:F});O.current={badgeMap:W,highlightBg:C,hideHighlightBg:T,suppressHighlightBg:F};var I=function(e,t){return l.Children.map(e,function(e){var r;if(!l.isValidElement(e))return e;var i=(null===(r=e.props)||void 0===r?void 0:r.children)?I(e.props.children,t):e.props.children,o=l.cloneElement(e,n(n({},e.props),{children:i}));return t(o)})},M=c(function(){return{mark:function(r){var i,o,a,l,d=r.children,c=e(r,["children"]),s=O.current,u=s.badgeMap,h=s.highlightBg,p=s.hideHighlightBg,g=s.suppressHighlightBg,f=c["data-badge-id"],v=f?u[f]:null,m=c["data-highlight-color"],b=null!==(l=null!==(o=null!=m?m:null===(i=null==v?void 0:v.style)||void 0===i?void 0:i.highlightBg)&&void 0!==o?o:null===(a=null==v?void 0:v.style)||void 0===a?void 0:a.badgeBg)&&void 0!==l?l:h,x="true"===c["data-is-suggested-deviation-fix"]||g;return t("span",n({style:n(n(n({},x?{}:{backgroundColor:b}),{borderRadius:"2px",display:"inline",boxDecorationBreak:"clone",WebkitBoxDecorationBreak:"clone",backgroundClip:"padding-box",padding:"0 1px"}),p?{color:"transparent"}:{})},{children:d}))},span:function(i){var a,l,d,c,s,p,g=i.children,f=e(i,["children"]),v=O.current.badgeMap,m=f["data-badge-id"];if(!m)return t("span",n({},f,{children:g}));var b=v[m];if(!b)return t("span",n({},f,{children:g}));var x="number"==typeof b.stackIndex?b.stackIndex:0,y="translateY(calc(-20% + ".concat(12*x,"px + var(--badge-nudge, 0px)))");return r(o,n({component:"span",sx:{position:"static",display:"inline"}},{children:[r(o,n({ref:b.badgeRef,className:"deviation-badge","data-side":b.side||"right",sx:n(n({fontStyle:"normal",position:"absolute",zIndex:30+x,display:"inline-flex",alignItems:"stretch",fontSize:"10px",bgcolor:(null===(a=b.style)||void 0===a?void 0:a.badgeBg)||"#EEF2FF",color:(null===(l=b.style)||void 0===l?void 0:l.badgeText)||u,border:"1px solid ".concat((null===(d=b.style)||void 0===d?void 0:d.badgeBorder)||"#C7D2FE"),borderRadius:"12px",fontWeight:600,whiteSpace:"nowrap",boxShadow:"0 1px 3px rgba(0,0,0,0.07)",overflow:"hidden",transition:"none"},"left"===b.side?{right:"-16px",transform:"".concat(y," translateX(calc(100% + 8px))")}:{left:"-16px",transform:"".concat(y," translateX(calc(-100% - 8px))")}),b.isConnected&&b.style&&{outline:"2px solid ".concat(b.style.badgeBorder),outlineOffset:"1px"})},{children:[r(o,n({onClick:function(n){n.stopPropagation(),b.onSummaryClick&&b.onSummaryClick(n)},sx:{display:"flex",alignItems:"center",px:1,py:.3,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.04)"}}},{children:[t(o,n({component:"span",sx:{fontSize:"10px",fontWeight:700}},{children:b.label})),("left"===b.side||b.isOrphan)&&t(o,n({component:"span",sx:{fontSize:"10px",pl:.5,ml:.5,borderLeft:"1px solid ".concat((null===(c=b.style)||void 0===c?void 0:c.badgeBorder)||"#C7D2FE")}},{children:null!=b.score&&"N/A"!==b.score&&"NA"!==b.score&&0!==b.score?"".concat(b.score):"N/A"===b.score||"NA"===b.score?"N/A":"Same"}))]})),("left"===b.side||b.isOrphan)&&t(o,n({onClick:function(n){n.stopPropagation(),b.onClick&&b.onClick(n)},sx:{display:"flex",alignItems:"center",px:.5,borderLeft:"1px solid ".concat((null===(s=b.style)||void 0===s?void 0:s.badgeBorder)||"#C7D2FE"),cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.06)"}}},{children:t(h,{size:12,color:(null===(p=b.style)||void 0===p?void 0:p.badgeText)||"#3730A3"})}))]})),g]}))},table:function(e){var r=e.children;return t(o,n({sx:{display:"block",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",contain:"inline-size",overflowX:"auto",overflowY:"hidden",overscrollBehaviorX:"contain",WebkitOverflowScrolling:"touch",my:1}},{children:t(o,n({component:"table",sx:{width:"600px",minWidth:"600px",tableLayout:"fixed",borderCollapse:"collapse",fontSize:"inherit"}},{children:r}))}))},thead:function(e){var r=e.children;return t(o,n({component:"thead"},{children:r}))},tbody:function(e){var r=e.children;return t(o,n({component:"tbody"},{children:r}))},tr:function(e){var r=e.children;return t(o,n({component:"tr",sx:{borderBottom:"1px solid #E5E7EB"}},{children:r}))},th:function(e){var r=e.children;return t(o,n({component:"th",sx:{border:"1px solid #E5E7EB",padding:"8px",textAlign:"left",verticalAlign:"top",fontWeight:600,backgroundColor:"#F9FAFB",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},td:function(e){var r=e.children;return t(o,n({component:"td",sx:{border:"1px solid #E5E7EB",padding:"8px",verticalAlign:"top",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"}},{children:r}))},code:function(e){var r=e.children;return t("span",n({style:{fontFamily:"inherit",fontSize:"inherit"}},{children:r}))},pre:function(e){var r=e.children;return t("span",n({style:{fontFamily:"inherit",fontSize:"inherit",display:"block",whiteSpace:"pre-wrap"}},{children:r}))},updated:function(n){var e=n.children;return t(i,{children:e})},deleted:function(e){var r=e.children,i=I(r,function(n){return l.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return t("span",n({style:{boxShadow:"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444",backgroundColor:"#FCCCCC",textDecoration:"line-through"}},{children:i}))},changed:function(e){var r=e.children,i=I(r,function(n){return l.cloneElement(n,{"data-is-suggested-deviation-fix":"true"})});return t("span",n({style:{boxShadow:"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF",backgroundColor:"#D5E8FF"}},{children:i}))},ul:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"ul",sx:{mt:1,mb:1,pl:3,listStyleType:"disc"}},a,{children:i}))},ol:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"ol",sx:{mt:1,mb:1,pl:3,listStyleType:"decimal"}},a,{children:i}))},li:function(r){var i=r.children,a=e(r,["children"]);return t(o,n({component:"li",sx:{mb:.5,display:"list-item"}},a,{children:i}))}}},[]),$=function(n){if(!n||"string"!=typeof n)return"";var e=n,t=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/((?:<\/?[a-z]+[^>]*>\s*)+)([*+\-] |\d+\. )/gi,"$2$1")).replace(/\\(['"])/g,"$1").replace(/\\n/g,"\n").replace(/\\\./g,".").replace(/\r\n/g,"\n")).replace(/^(\d+\.)(\s{2,})/gm,function(n,e,t){return"".concat(e.slice(0,-1),"\\.").concat(t)})).replace(/^(\d+\.)\s*\n+(\s+)(\S)/gm,function(n,e,t,r){return"".concat(e," ").concat(r)})).replace(/([^\n])\n(#{1,6} )/g,"$1\n\n$2")).replace(/([^\n])\n([ \t]*(?:[#*+\-] |\d+\. ))/g,"$1\n\n$2")).replace(/\n{3,}/g,"\n\n")).replace(/^[ \t]+(?![ \t]*([\*\-\+] |\d+\. ))/gm,function(n){return n.replace(/ /g," ").replace(/\t/g," ")})).split(/(\n{2,})/);return(e=t.map(function(n){return/^\n+$/.test(n)||/\|.*\|/.test(n)&&/\|[\s:|-]+\|/.test(n)||/^#{1,6} /.test(n.trimStart())?n:n.replace(/\n(?=[^\n])/g,function(e,t){var r=n.slice(t+1);return/^[ \t]*([#>|\-*+]|\d+\.)/.test(r)?"\n":" "})}).join("")).trim()},j=function(n){return n.replace(/[\.,;:]/g," ")},P=c(function(){return E.map(function(n){return{id:n.id,connected:n.isConnected,stackIndex:n.stackIndex,size:n.size}})},[E]),D=c(function(){var e=$(v||""),t=F?j(e):e,r=(E||[]).map(function(n){var e,t;return{id:null==n?void 0:n.id,highlight:$((null==n?void 0:n.highlight)||""),highlightColor:(null===(e=null==n?void 0:n.style)||void 0===e?void 0:e.highlightBg)||(null===(t=null==n?void 0:n.style)||void 0===t?void 0:t.badgeBg)||C}}).filter(function(n){return n.id&&n.highlight}),i={};r.forEach(function(n){i[n.highlight]||(i[n.highlight]=[]),i[n.highlight].push(n)});var o=function(n,e,t,r){void 0===e&&(e=""),void 0===r&&(r=[]);var i=!1,o=function(n){var o=function(n,e,t){var r,i,o;void 0===e&&(e="");var a=n.match(/^(\s*)([\s\S]*?)(\s*)$/);if(!a)return n;var l=null!==(r=a[1])&&void 0!==r?r:"",d=null!==(i=a[2])&&void 0!==i?i:"",c=null!==(o=a[3])&&void 0!==o?o:"";return d?l+function(n,e){void 0===n&&(n="");var t=e?' data-highlight-color="'.concat(e,'"'):"",r=n?' data-badge-id="'.concat(n,'"'):"";return"<mark".concat(r).concat(t,">")}(e,t)+d+"</mark>"+c:n}(n,e,t),a=o;if(!i&&r.length>0){i=!0;var l="",d="";r.forEach(function(n){l+=function(n){return'<span data-badge-id="'.concat(n,'">')}(n.id),d="</span>"+d}),a=l+o+d}return""+a};return n.split(/(\n+)/).map(function(n){return/^\n+$/.test(n)?n:n.trim()?""===n.replace(/[|:\-\s]/g,"")&&n.includes("-")?n:n.includes("|")?n.split(/(\|)/).map(function(n){return"|"!==n&&n.trim()?o(n):n}).join(""):o(n):n}).join("")},a=[];Object.entries(i).forEach(function(n){var r=n[0],i=n[1],o=e.indexOf(r),l=!1;if(-1===o&&F){var d=j(r);-1!==(o=t.indexOf(d))&&(l=!0)}if(-1!==o){for(var c=i[0].highlightColor,s=1;s<i.length;s++)c=g(c,i[s].highlightColor||"");a.push({highlight:r,start:o,end:o+r.length,badges:i,color:c,usedLooseMatch:l})}});var l=new Set(Object.keys(i));(k||[]).forEach(function(n){if(n){var r=$(n);if(r&&!l.has(r)){var i=e.indexOf(r),o=!1;if(-1===i&&F){var d=j(r);-1!==(i=t.indexOf(d))&&(o=!0)}if(-1!==i){var c=e.slice(0,i);(c.match(/</g)||[]).length===(c.match(/>/g)||[]).length&&a.push({highlight:r,start:i,end:i+r.length,badges:[],color:C||"",usedLooseMatch:o})}}}}),a.sort(function(n,e){return n.start-e.start||e.end-n.end});var d=[],c={};a.forEach(function(n,e){for(var t=n.start,r=n.end,i=0,o=d;i<o.length;i++){var a=o[i],l=a.start,s=a.end,u=t<s&&r>s&&t>=l,h=t<l&&r>l&&r<=s;if(t>=l&&r<=s){n.orphaned=!0,c[e]=a.matchIdx;break}u&&(t=s),h&&(r=l)}n.trimmedStart=t,n.trimmedEnd=r,!n.orphaned&&t<r&&d.push({start:t,end:r,matchIdx:e})});var s={};Object.entries(c).forEach(function(n){var e=n[0],t=n[1],r=Number(e);s[t]||(s[t]=[]),s[t].push(r)});var u=a.map(function(e,t){return n(n({},e),{idx:t})}).filter(function(n){return!n.orphaned}).sort(function(n,e){var t,r;return(null!==(t=e.trimmedStart)&&void 0!==t?t:e.start)-(null!==(r=n.trimmedStart)&&void 0!==r?r:n.start)});return u.forEach(function(n){var t,r,i,l,d=null!==(t=n.trimmedStart)&&void 0!==t?t:n.start,c=null!==(r=n.trimmedEnd)&&void 0!==r?r:n.end;if(!(d>=c)){var u=e.slice(d,c),h=function(n,e,t,r){if(!t.length)return n;var i=t.map(function(n){return a[n]}).sort(function(n,e){return n.start-e.start}),l="",d=0;return i.forEach(function(t){var i,a,c=Math.max(d,t.start-e),s=Math.max(c,t.end-e);if(!(c>=s)){var u=g(r,t.color||"");l+=n.slice(d,c),l+=o(n.slice(c,s),(null===(a=null===(i=t.badges)||void 0===i?void 0:i[0])||void 0===a?void 0:a.id)||"",u,t.badges||[]),d=s}}),l+=n.slice(d)}(n.usedLooseMatch||d!==n.start||c!==n.end?u:n.highlight,n.start,s[n.idx]||[],n.color),p=o(h,(null===(l=null===(i=n.badges)||void 0===i?void 0:i[0])||void 0===l?void 0:l.id)||"",n.color,n.badges||[]);e=e.slice(0,d)+p+e.slice(c)}}),e},[v,E,k,C,F]),H=c(function(){return m?$(m||""):""},[m]),N=!!m,R={"& *":{fontFamily:"inherit"},"& code, & pre, & kbd, & samp":{fontFamily:"inherit !important",fontSize:"inherit",background:"none",padding:0,border:"none",whiteSpace:"pre-wrap"},"& p, & li, & ul, & ol":{position:"static",overflow:"visible",whiteSpace:"pre-wrap"}},L=n(n(n(n({},b),R),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:2}),N?{color:"transparent",userSelect:"none",pointerEvents:"none","& .deviation-badge":{pointerEvents:"auto"},"& table":{visibility:"hidden",margin:"0 !important"},"& th, & td":{padding:"0 !important",border:"none !important",backgroundColor:"transparent !important"},"& tr":{border:"none !important"},"& p:empty":{display:"none"}}:{}),q=n(n(n({},b),R),{position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:1,pointerEvents:"auto"});return s(function(){if(A.current){var n=function(){var n=Array.from(A.current.querySelectorAll(".deviation-badge"));if(0!==n.length){n.forEach(function(n){n.style.setProperty("--badge-nudge","0px")});var e=n.filter(function(n){return"left"===n.dataset.side}),t=n.filter(function(n){return"left"!==n.dataset.side}),r=A.current.getBoundingClientRect(),i=r.bottom-4,o=r.top+4,a=function(n){if(0!==n.length){var e=n.map(function(n){var e=n.getBoundingClientRect();return{el:n,naturalTop:e.top,height:e.height,currentTop:e.top}});e.sort(function(n,e){return n.naturalTop-e.naturalTop});var t=[],r=[];e.forEach(function(n){if(0===r.length)r.push(n);else{var e=r[r.length-1],i=e.currentTop+e.height;n.naturalTop<i+8?(n.currentTop=i+8,r.push(n)):(t.push(r),r=[n])}}),r.length>0&&t.push(r),t.forEach(function(n){var e=n[n.length-1],t=e.currentTop+e.height;if(t>i){var r=t-i,a=n[0].currentTop-o,l=Math.max(0,Math.min(r,a));n.forEach(function(n){n.currentTop-=l})}}),t.flat().forEach(function(n){var e=n.currentTop-n.naturalTop;n.el.style.setProperty("--badge-nudge","".concat(e,"px"))})}};a(e),a(t)}},e=requestAnimationFrame(function(){requestAnimationFrame(function(){n()})}),t=new ResizeObserver(function(){requestAnimationFrame(n)});return t.observe(A.current),function(){t.disconnect(),cancelAnimationFrame(e)}}},[D,z,P]),r(o,n({ref:A,sx:{position:"relative",display:"grid",gridTemplateColumns:"minmax(0, 1fr)",width:"100%",maxWidth:"100%",minWidth:0}},{children:[t(a,n({component:"div",sx:n(n({},L),{padding:"3px"})},{children:t(p,n({components:M,remarkPlugins:x,rehypePlugins:y},{children:D.replace(/#{3}/g,"")}))})),N&&t(a,n({component:"div",sx:q},{children:t(p,n({components:M,remarkPlugins:x,rehypePlugins:y},{children:H}))}))]}))},f);export{w as MemoizedMarkdown};
|
|
1
|
+
import{jsx as e,jsxs as t,Fragment as r}from"react/jsx-runtime";import{Box as n,Typography as i}from"@mui/material";import o,{useRef as a,useMemo as l,useLayoutEffect as s}from"react";import{DEFAULT_DEVIAION_COLOR as d}from"../CognitiveCompareConstants.js";import{EllipsisVertical as c}from"lucide-react";import h from"react-markdown";import{mixHexColors as p,areMarkdownPropsEqual as g}from"../CognitiveComparehelpers.js";import m from"rehype-raw";import u from"remark-gfm";const f=e=>"function"==typeof e?e:e?.default||e,x=[f(u)],b=[f(m)],y=o.memo(({content:g,overlayContent:m,sxStyles:u,deviationBadges:f=[],highlights:y=[],maintainRelativeOrder:v=!0,highlightBg:w,suppressHighlightBg:E=!1,collisionKey:S})=>{const k=a(null),C=!!m,B=l(()=>f.reduce((e,t)=>({...e,[t.id]:t}),{}),[f]),F=a({badgeMap:B,highlightBg:w,hideHighlightBg:C,suppressHighlightBg:E});F.current={badgeMap:B,highlightBg:w,hideHighlightBg:C,suppressHighlightBg:E};const $=(e,t)=>o.Children.map(e,e=>{if(!o.isValidElement(e))return e;const r=e.props?.children?$(e.props.children,t):e.props.children,n=o.cloneElement(e,{...e.props,children:r});return t(n)}),z=l(()=>({mark:({children:t,...r})=>{const{badgeMap:n,highlightBg:i,hideHighlightBg:o,suppressHighlightBg:a}=F.current,l=r["data-badge-id"],s=l?n[l]:null,d=r["data-highlight-color"]??s?.style?.highlightBg??s?.style?.badgeBg??i,c="true"===r["data-is-suggested-deviation-fix"]||a;return e("span",{style:{...c?{}:{backgroundColor:d},borderRadius:"2px",display:"inline",boxDecorationBreak:"clone",WebkitBoxDecorationBreak:"clone",backgroundClip:"padding-box",padding:"0 1px",...o?{color:"transparent"}:{}},children:t})},span:({children:r,...i})=>{const{badgeMap:o}=F.current,a=i["data-badge-id"];if(!a)return e("span",{...i,children:r});const l=o[a];if(!l)return e("span",{...i,children:r});const s="number"==typeof l.stackIndex?l.stackIndex:0,h=`translateY(calc(-20% + ${12*s}px + var(--badge-nudge, 0px)))`;return t(n,{component:"span",sx:{position:"static",display:"inline"},children:[t(n,{ref:l.badgeRef,className:"deviation-badge","data-side":l.side||"right",sx:{fontStyle:"normal",position:"absolute",zIndex:30+s,display:"inline-flex",alignItems:"stretch",fontSize:"10px",bgcolor:l.style?.badgeBg||"#EEF2FF",color:l.style?.badgeText||d,border:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`,borderRadius:"12px",fontWeight:600,whiteSpace:"nowrap",boxShadow:"0 1px 3px rgba(0,0,0,0.07)",overflow:"hidden",transition:"none",..."left"===l.side?{right:"-16px",transform:`${h} translateX(calc(100% + 8px))`}:{left:"-16px",transform:`${h} translateX(calc(-100% - 8px))`},...l.isConnected&&l.style&&{outline:`2px solid ${l.style.badgeBorder}`,outlineOffset:"1px"}},children:[t(n,{onClick:e=>{e.stopPropagation(),l.onSummaryClick&&l.onSummaryClick(e)},sx:{display:"flex",alignItems:"center",px:1,py:.3,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.04)"}},children:[e(n,{component:"span",sx:{fontSize:"10px",fontWeight:700},children:l.label}),("left"===l.side||l.isOrphan)&&e(n,{component:"span",sx:{fontSize:"10px",pl:.5,ml:.5,borderLeft:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`},children:null!=l.score&&"N/A"!==l.score&&"NA"!==l.score&&0!==l.score?`${l.score}`:"N/A"===l.score||"NA"===l.score?"N/A":"Same"})]}),("left"===l.side||l.isOrphan)&&e(n,{onClick:e=>{e.stopPropagation(),l.onClick&&l.onClick(e)},sx:{display:"flex",alignItems:"center",px:.5,borderLeft:`1px solid ${l.style?.badgeBorder||"#C7D2FE"}`,cursor:"pointer","&:hover":{bgcolor:"rgba(0,0,0,0.06)"}},children:e(c,{size:12,color:l.style?.badgeText||"#3730A3"})})]}),r]})},table:({children:t})=>e(n,{sx:{display:"block",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",contain:"inline-size",overflowX:"auto",overflowY:"hidden",overscrollBehaviorX:"contain",WebkitOverflowScrolling:"touch",my:1},children:e(n,{component:"table",sx:{width:"600px",minWidth:"600px",tableLayout:"fixed",borderCollapse:"collapse",fontSize:"inherit"},children:t})}),thead:({children:t})=>e(n,{component:"thead",children:t}),tbody:({children:t})=>e(n,{component:"tbody",children:t}),tr:({children:t})=>e(n,{component:"tr",sx:{borderBottom:"1px solid #E5E7EB"},children:t}),th:({children:t})=>e(n,{component:"th",sx:{border:"1px solid #E5E7EB",padding:"8px",textAlign:"left",verticalAlign:"top",fontWeight:600,backgroundColor:"#F9FAFB",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"},children:t}),td:({children:t})=>e(n,{component:"td",sx:{border:"1px solid #E5E7EB",padding:"8px",verticalAlign:"top",whiteSpace:"normal",wordBreak:"break-word",overflowWrap:"anywhere"},children:t}),code:({children:t})=>e("span",{style:{fontFamily:"inherit",fontSize:"inherit"},children:t}),pre:({children:t})=>e("span",{style:{fontFamily:"inherit",fontSize:"inherit",display:"block",whiteSpace:"pre-wrap"},children:t}),updated:({children:t})=>e(r,{children:t}),deleted:({children:t})=>{const r=$(t,e=>o.cloneElement(e,{"data-is-suggested-deviation-fix":"true"}));return e("span",{style:{boxShadow:"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444",backgroundColor:"#FCCCCC",textDecoration:"line-through"},children:r})},changed:({children:t})=>{const r=$(t,e=>o.cloneElement(e,{"data-is-suggested-deviation-fix":"true"}));return e("span",{style:{boxShadow:"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF",backgroundColor:"#D5E8FF"},children:r})},ul:({children:t,...r})=>e(n,{component:"ul",sx:{mt:1,mb:1,pl:3,listStyleType:"disc"},...r,children:t}),ol:({children:t,...r})=>e(n,{component:"ol",sx:{mt:1,mb:1,pl:3,listStyleType:"decimal"},...r,children:t}),li:({children:t,...r})=>e(n,{component:"li",sx:{mb:.5,display:"list-item"},...r,children:t})}),[]),A=e=>{if(!e||"string"!=typeof e)return"";let t=e;t=t.replace(/((?:<\/?[a-z]+[^>]*>\s*)+)([*+\-] |\d+\. )/gi,"$2$1"),t=t.replace(/\\(['"])/g,"$1").replace(/\\n/g,"\n").replace(/\\\./g,".").replace(/\r\n/g,"\n"),t=t.replace(/^(\d+\.)(\s{2,})/gm,(e,t,r)=>`${t.slice(0,-1)}\\.${r}`),t=t.replace(/^(\d+\.)\s*\n+(\s+)(\S)/gm,(e,t,r,n)=>`${t} ${n}`),t=t.replace(/([^\n])\n(#{1,6} )/g,"$1\n\n$2"),t=t.replace(/([^\n])\n([ \t]*(?:[#*+\-] |\d+\. ))/g,"$1\n\n$2"),t=t.replace(/\n{3,}/g,"\n\n"),t=t.replace(/^[ \t]+(?![ \t]*([\*\-\+] |\d+\. ))/gm,e=>e.replace(/ /g," ").replace(/\t/g," "));const r=t.split(/(\n{2,})/);return t=r.map(e=>/^\n+$/.test(e)||/\|.*\|/.test(e)&&/\|[\s:|-]+\|/.test(e)||/^#{1,6} /.test(e.trimStart())?e:e.replace(/\n(?=[^\n])/g,(t,r)=>{const n=e.slice(r+1);return/^[ \t]*([#>|\-*+]|\d+\.)/.test(n)?"\n":" "})).join(""),t.trim()},T=e=>e.replace(/[\.,;:]/g," "),W=l(()=>f.map(e=>({id:e.id,connected:e.isConnected,stackIndex:e.stackIndex,size:e.size})),[f]),O=l(()=>{let e=A(g||"");const t=E?T(e):e,r=(f||[]).map(e=>({id:e?.id,highlight:A(e?.highlight||""),highlightColor:e?.style?.highlightBg||e?.style?.badgeBg||w})).filter(e=>e.id&&e.highlight),n={};r.forEach(e=>{n[e.highlight]||(n[e.highlight]=[]),n[e.highlight].push(e)});const i=(e,t="",r,n=[])=>{let i=!1;const o=e=>{const o=((e,t="",r)=>{const n=e.match(/^(\s*)([\s\S]*?)(\s*)$/);if(!n)return e;const i=n[1]??"",o=n[2]??"",a=n[3]??"";return o?i+((e="",t)=>`<mark${e?` data-badge-id="${e}"`:""}${t?` data-highlight-color="${t}"`:""}>`)(t,r)+o+"</mark>"+a:e})(e,t,r);let a=o;if(!i&&n.length>0){i=!0;let e="",t="";n.forEach(r=>{e+=(e=>`<span data-badge-id="${e}">`)(r.id),t="</span>"+t}),a=e+o+t}return""+a};return e.split(/(\n+)/).map(e=>{if(/^\n+$/.test(e))return e;if(!e.trim())return e;return""===e.replace(/[|:\-\s]/g,"")&&e.includes("-")?e:e.includes("|")?e.split(/(\|)/).map(e=>"|"!==e&&e.trim()?o(e):e).join(""):o(e)}).join("")},o=[];Object.entries(n).forEach(([r,n])=>{let i=e.indexOf(r),a=!1;if(-1===i&&E){const e=T(r);i=t.indexOf(e),-1!==i&&(a=!0)}if(-1===i)return;let l=n[0].highlightColor;for(let e=1;e<n.length;e++)l=p(l,n[e].highlightColor||"");o.push({highlight:r,start:i,end:i+r.length,badges:n,color:l,usedLooseMatch:a})});const a=new Set(Object.keys(n));(y||[]).forEach(r=>{if(!r)return;const n=A(r);if(!n||a.has(n))return;let i=e.indexOf(n),l=!1;if(-1===i&&E){const e=T(n);i=t.indexOf(e),-1!==i&&(l=!0)}if(-1===i)return;const s=e.slice(0,i);(s.match(/</g)||[]).length===(s.match(/>/g)||[]).length&&o.push({highlight:n,start:i,end:i+n.length,badges:[],color:w||"",usedLooseMatch:l})}),o.sort((e,t)=>e.start-t.start||t.end-e.end);const l=[],s={};o.forEach((e,t)=>{let r=e.start,n=e.end;for(const i of l){const o=i.start,a=i.end,l=r<a&&n>a&&r>=o,d=r<o&&n>o&&n<=a;if(r>=o&&n<=a){e.orphaned=!0,s[t]=i.matchIdx;break}l&&(r=a),d&&(n=o)}e.trimmedStart=r,e.trimmedEnd=n,!e.orphaned&&r<n&&l.push({start:r,end:n,matchIdx:t})});const d={};Object.entries(s).forEach(([e,t])=>{const r=Number(e);d[t]||(d[t]=[]),d[t].push(r)});return o.map((e,t)=>({...e,idx:t})).filter(e=>!e.orphaned).sort((e,t)=>(t.trimmedStart??t.start)-(e.trimmedStart??e.start)).forEach(t=>{const r=t.trimmedStart??t.start,n=t.trimmedEnd??t.end;if(r>=n)return;const a=e.slice(r,n),l=((e,t,r,n)=>{if(!r.length)return e;const a=r.map(e=>o[e]).sort((e,t)=>e.start-t.start);let l="",s=0;return a.forEach(r=>{const o=Math.max(s,r.start-t),a=Math.max(o,r.end-t);if(o>=a)return;const d=p(n,r.color||"");l+=e.slice(s,o),l+=i(e.slice(o,a),r.badges?.[0]?.id||"",d,r.badges||[]),s=a}),l+=e.slice(s),l})(t.usedLooseMatch||r!==t.start||n!==t.end?a:t.highlight,t.start,d[t.idx]||[],t.color),s=i(l,t.badges?.[0]?.id||"",t.color,t.badges||[]);e=e.slice(0,r)+s+e.slice(n)}),e},[g,f,y,w,E]),I=l(()=>m?A(m||""):"",[m]),M=!!m,j={"& *":{fontFamily:"inherit"},"& code, & pre, & kbd, & samp":{fontFamily:"inherit !important",fontSize:"inherit",background:"none",padding:0,border:"none",whiteSpace:"pre-wrap"},"& p, & li, & ul, & ol":{position:"static",overflow:"visible",whiteSpace:"pre-wrap"}},P={...u,...j,position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:2,...M?{color:"transparent",userSelect:"none",pointerEvents:"none","& .deviation-badge":{pointerEvents:"auto"},"& table":{visibility:"hidden",margin:"0 !important"},"& th, & td":{padding:"0 !important",border:"none !important",backgroundColor:"transparent !important"},"& tr":{border:"none !important"},"& p:empty":{display:"none"}}:{}},D={...u,...j,position:"relative",width:"100%",maxWidth:"100%",minWidth:0,boxSizing:"border-box",overflow:"visible",whiteSpace:"normal",gridArea:"1 / 1",zIndex:1,pointerEvents:"auto"};return s(()=>{if(!k.current)return;const e=()=>{const e=Array.from(k.current.querySelectorAll(".deviation-badge"));if(0===e.length)return;e.forEach(e=>{e.style.setProperty("--badge-nudge","0px")});const t=e.filter(e=>"left"===e.dataset.side),r=e.filter(e=>"left"!==e.dataset.side),n=k.current.getBoundingClientRect(),i=n.bottom-4,o=n.top+4,a=e=>{if(0===e.length)return;const t=e.map(e=>{const t=e.getBoundingClientRect();return{el:e,naturalTop:t.top,height:t.height,currentTop:t.top}});t.sort((e,t)=>e.naturalTop-t.naturalTop);const r=[];let n=[];t.forEach(e=>{if(0===n.length)n.push(e);else{const t=n[n.length-1],i=t.currentTop+t.height;e.naturalTop<i+8?(e.currentTop=i+8,n.push(e)):(r.push(n),n=[e])}}),n.length>0&&r.push(n),r.forEach(e=>{const t=e[e.length-1],r=t.currentTop+t.height;if(r>i){const t=r-i,n=e[0].currentTop-o,a=Math.max(0,Math.min(t,n));e.forEach(e=>{e.currentTop-=a})}}),r.flat().forEach(e=>{const t=e.currentTop-e.naturalTop;e.el.style.setProperty("--badge-nudge",`${t}px`)})};a(t),a(r)},t=requestAnimationFrame(()=>{requestAnimationFrame(()=>{e()})}),r=new ResizeObserver(()=>{requestAnimationFrame(e)});return r.observe(k.current),()=>{r.disconnect(),cancelAnimationFrame(t)}},[O,S,W]),t(n,{ref:k,sx:{position:"relative",display:"grid",gridTemplateColumns:"minmax(0, 1fr)",width:"100%",maxWidth:"100%",minWidth:0},children:[e(i,{component:"div",sx:{...P,padding:"3px"},children:e(h,{components:z,remarkPlugins:x,rehypePlugins:b,children:O.replace(/#{3}/g,"")})}),M&&e(i,{component:"div",sx:D,children:e(h,{components:z,remarkPlugins:x,rehypePlugins:b,children:I})})]})},g);export{y as MemoizedMarkdown};
|
|
2
2
|
//# sourceMappingURL=memoizedMarkdown.js.map
|