@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":"memoizedMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"memoizedMarkdown.js","sources":["../../../../src/features/CognitiveCompare/hooks/memoizedMarkdown.tsx"],"sourcesContent":["import { Box, Typography } from \"@mui/material\";\nimport React, { useMemo, useRef, useLayoutEffect, ReactElement, ReactNode } from \"react\";\nimport { DEFAULT_DEVIAION_COLOR } from \"../CognitiveCompareConstants\";\nimport { EllipsisVertical } from \"lucide-react\";\nimport ReactMarkdown from \"react-markdown\";\nimport { areMarkdownPropsEqual, mixHexColors } from \"../CognitiveComparehelpers\";\nimport rehypeRaw from \"rehype-raw\";\nimport { HighlightMatch } from \"../CognitiveCompareTypes\";\nimport remarkGfm from \"remark-gfm\";\n\n// Ensures plugins work regardless of how the bundler exports them (ESM vs CJS)\nconst resolvePlugin = (plugin: any) => typeof plugin === \"function\" ? plugin : plugin?.default || plugin;\nconst remarkPlugins = [resolvePlugin(remarkGfm)];\nconst rehypePlugins = [resolvePlugin(rehypeRaw)];\n\ntype TransformFn = (element: ReactElement) => ReactElement;\nexport const MemoizedMarkdown = React.memo(({ \n content, \n overlayContent,\n sxStyles, \n deviationBadges = [], \n highlights = [],\n maintainRelativeOrder = true,\n highlightBg,\n suppressHighlightBg = false,\n collisionKey\n}: { \n content: string; \n overlayContent?: string;\n sxStyles: any; \n deviationBadges?: any[]; \n highlights?: string[]; \n maintainRelativeOrder?: boolean;\n highlightBg: string;\n suppressHighlightBg?: boolean;\n collisionKey?: string | number;\n}) => {\n const containerRef = useRef<HTMLDivElement>(null);\n const hideHighlightBg = !!overlayContent;\n\n const badgeMap = useMemo(\n () => deviationBadges.reduce((acc, badge) => ({ ...acc, [badge.id]: badge }), {} as Record<string, any>),\n [deviationBadges],\n );\n\n const dynamicPropsRef = useRef({ badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg });\n dynamicPropsRef.current = { badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg };\n\n const mapChildrenDeep = (\n children: ReactNode,\n transform: TransformFn\n ): ReactNode => {\n return React.Children.map(children, (child) => {\n if (!React.isValidElement(child)) {\n return child;\n }\n\n const newChildren = child.props?.children\n ? mapChildrenDeep(child.props.children, transform)\n : child.props.children;\n\n const cloned = React.cloneElement(child, {\n ...child.props,\n children: newChildren,\n });\n\n return transform(cloned);\n });\n }\n\n const components = useMemo(() => ({\n mark: ({ children, ...props }: any) => {\n const { badgeMap, highlightBg, hideHighlightBg, suppressHighlightBg } = dynamicPropsRef.current;\n const badgeId = props[\"data-badge-id\"];\n const badge = badgeId ? badgeMap[badgeId] : null;\n const overrideBg = props[\"data-highlight-color\"];\n const bg =\n overrideBg\n ?? badge?.style?.highlightBg\n ?? badge?.style?.badgeBg\n ?? highlightBg;\n \n const shouldHideBg = props[\"data-is-suggested-deviation-fix\"] === \"true\" || suppressHighlightBg;\n \n return (\n <span style={{\n ...(!shouldHideBg ? { backgroundColor: bg } : {}),\n borderRadius: \"2px\",\n display: \"inline\",\n boxDecorationBreak: \"clone\",\n WebkitBoxDecorationBreak: \"clone\",\n backgroundClip: \"padding-box\",\n padding: \"0 1px\",\n ...(hideHighlightBg ? { color: \"transparent\" } : {})\n }}>\n {children}\n </span>\n );\n },\n span: ({ children, ...props }: any) => {\n const { badgeMap } = dynamicPropsRef.current;\n const badgeId = props[\"data-badge-id\"];\n if (!badgeId) return <span {...props}>{children}</span>;\n\n const badge = badgeMap[badgeId];\n if (!badge) return <span {...props}>{children}</span>;\n\n const stackIndex = typeof badge.stackIndex === \"number\" ? badge.stackIndex : 0;\n const stackOffset = stackIndex * 12;\n const translateY = `translateY(calc(-20% + ${stackOffset}px + var(--badge-nudge, 0px)))`;\n\n return (\n <Box component=\"span\" sx={{ position: \"static\", display: \"inline\" }}>\n <Box\n ref={badge.badgeRef}\n className=\"deviation-badge\"\n data-side={badge.side || \"right\"}\n sx={{\n fontStyle: \"normal\",\n position: \"absolute\",\n zIndex: 30 + stackIndex,\n display: \"inline-flex\",\n alignItems: \"stretch\",\n fontSize: \"10px\",\n bgcolor: badge.style?.badgeBg || \"#EEF2FF\",\n color: badge.style?.badgeText || DEFAULT_DEVIAION_COLOR,\n border: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n borderRadius: \"12px\",\n fontWeight: 600,\n whiteSpace: \"nowrap\",\n boxShadow: \"0 1px 3px rgba(0,0,0,0.07)\",\n overflow: \"hidden\",\n transition: \"none\",\n ...(badge.side === \"left\"\n ? { right: \"-16px\", transform: `${translateY} translateX(calc(100% + 8px))` }\n : { left: \"-16px\", transform: `${translateY} translateX(calc(-100% - 8px))` }),\n ...(badge.isConnected && badge.style && { outline: `2px solid ${badge.style.badgeBorder}`, outlineOffset: \"1px\" })\n }}\n >\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (badge.onSummaryClick) badge.onSummaryClick(e);\n }}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n px: 1,\n py: 0.3,\n cursor: \"pointer\",\n \"&:hover\": { bgcolor: \"rgba(0,0,0,0.04)\" },\n }}\n >\n <Box component=\"span\" sx={{ fontSize: \"10px\", fontWeight: 700 }}>\n {badge.label}\n </Box>\n {(badge.side === \"left\" || badge.isOrphan) && (\n <Box\n component=\"span\"\n sx={{\n fontSize: \"10px\",\n pl: 0.5,\n ml: 0.5,\n borderLeft: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n }}\n >\n {(badge.score != null && badge.score !== \"N/A\" && badge.score !== \"NA\" && badge.score !== 0)\n ? `${badge.score}`\n : (badge.score === \"N/A\" || badge.score === \"NA\")\n ? \"N/A\"\n : \"Same\"}\n </Box>\n )}\n </Box>\n\n {(badge.side === \"left\" || badge.isOrphan) && (\n <Box\n onClick={(e) => {\n e.stopPropagation();\n if (badge.onClick) badge.onClick(e);\n }}\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n px: 0.5,\n borderLeft: `1px solid ${badge.style?.badgeBorder || \"#C7D2FE\"}`,\n cursor: \"pointer\",\n \"&:hover\": { bgcolor: \"rgba(0,0,0,0.06)\" },\n }}\n >\n <EllipsisVertical size={12} color={badge.style?.badgeText || \"#3730A3\"} />\n </Box>\n )}\n </Box>\n {children}\n </Box>\n );\n },\n table: ({ children }: any) => (\n <Box\n sx={{\n display: \"block\",\n width: \"100%\",\n maxWidth: \"100%\",\n minWidth: 0,\n boxSizing: \"border-box\",\n contain: \"inline-size\",\n overflowX: \"auto\",\n overflowY: \"hidden\",\n overscrollBehaviorX: \"contain\",\n WebkitOverflowScrolling: \"touch\",\n my: 1,\n }}\n >\n <Box\n component=\"table\"\n sx={{\n width: \"600px\",\n minWidth: \"600px\",\n tableLayout: \"fixed\",\n borderCollapse: \"collapse\",\n fontSize: \"inherit\",\n }}\n >\n {children}\n </Box>\n </Box>\n ),\n thead: ({ children }: any) => <Box component=\"thead\">{children}</Box>,\n tbody: ({ children }: any) => <Box component=\"tbody\">{children}</Box>,\n tr: ({ children }: any) => <Box component=\"tr\" sx={{ borderBottom: \"1px solid #E5E7EB\" }}>{children}</Box>,\n th: ({ children }: any) => <Box 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}</Box>,\n td: ({ children }: any) => <Box component=\"td\" sx={{ border: \"1px solid #E5E7EB\", padding: \"8px\", verticalAlign: \"top\", whiteSpace: \"normal\", wordBreak: \"break-word\", overflowWrap: \"anywhere\" }}>{children}</Box>,\n code: ({ children }: any) => <span style={{ fontFamily: \"inherit\", fontSize: \"inherit\" }}>{children}</span>,\n pre: ({ children }: any) => <span style={{ fontFamily: \"inherit\", fontSize: \"inherit\", display: \"block\", whiteSpace: \"pre-wrap\" }}>{children}</span>,\n updated: ({ children }: any) => <>{children}</>,\n\n deleted: ({ children }: any) => {\n const updatedChildren = mapChildrenDeep(children, (el) => React.cloneElement(el, { \"data-is-suggested-deviation-fix\": \"true\" }));\n return <span style={{ boxShadow: \"inset 0 1px 0 #EF4444, inset 0 -1px 0 #EF4444\", backgroundColor: \"#FCCCCC\", textDecoration: \"line-through\" }}>{updatedChildren}</span>;\n },\n\n changed: ({ children }: any) => {\n const updatedChildren = mapChildrenDeep(children, (el) => React.cloneElement(el, { \"data-is-suggested-deviation-fix\": \"true\" }));\n return <span style={{ boxShadow: \"inset 0 1px 0 #2F59FF, inset 0 -1px 0 #2F59FF\", backgroundColor: \"#D5E8FF\" }}>{updatedChildren}</span>;\n },\n\n ul: ({ children, ...props }: any) => <Box component=\"ul\" sx={{ mt: 1, mb: 1, pl: 3, listStyleType: \"disc\" }} {...props}>{children}</Box>,\n ol: ({ children, ...props }: any) => <Box component=\"ol\" sx={{ mt: 1, mb: 1, pl: 3, listStyleType: \"decimal\" }} {...props}>{children}</Box>,\n li: ({ children, ...props }: any) => <Box component=\"li\" sx={{ mb: 0.5, display: \"list-item\" }} {...props}>{children}</Box>,\n }),\n []\n );\n\n const normalizeMarkdownText = (rawText: string): string => {\n if (!rawText || typeof rawText !== \"string\") return \"\";\n\n let text = rawText;\n\n // This converts `<updated><changed> * text` into `* <updated><changed>text to show bullet points in change_history as well`\n text = text.replace(/((?:<\\/?[a-z]+[^>]*>\\s*)+)([*+\\-] |\\d+\\. )/gi, \"$2$1\");\n\n text = text\n .replace(/\\\\(['\"])/g, \"$1\")\n .replace(/\\\\n/g, \"\\n\")\n .replace(/\\\\\\./g, \".\") \n .replace(/\\r\\n/g, \"\\n\");\n \n text = text.replace(/^(\\d+\\.)(\\s{2,})/gm, (_, num, spaces) => `${num.slice(0, -1)}\\\\.${spaces}`);\n text = text.replace(/^(\\d+\\.)\\s*\\n+(\\s+)(\\S)/gm, (_, marker, _indent, firstChar) => `${marker} ${firstChar}`);\n text = text.replace(/([^\\n])\\n(#{1,6} )/g, \"$1\\n\\n$2\");\n \n // Check for blank line before assign bullets\n text = text.replace(/([^\\n])\\n([ \\t]*(?:[#*+\\-] |\\d+\\. ))/g, \"$1\\n\\n$2\");\n\n text = text.replace(/\\n{3,}/g, \"\\n\\n\");\n\n // This protects the indentation required for markdown lists.\n text = text.replace(/^[ \\t]+(?![ \\t]*([\\*\\-\\+] |\\d+\\. ))/gm, (match) => {\n return match.replace(/ /g, \"\\u00A0\").replace(/\\t/g, \"\\u00A0\\u00A0\\u00A0\\u00A0\");\n });\n\n const parts = text.split(/(\\n{2,})/);\n text = parts.map((chunk) => {\n if (/^\\n+$/.test(chunk)) return chunk;\n if (/\\|.*\\|/.test(chunk) && /\\|[\\s:|-]+\\|/.test(chunk)) return chunk;\n if (/^#{1,6} /.test(chunk.trimStart())) return chunk;\n \n return chunk.replace(/\\n(?=[^\\n])/g, (_, offset) => {\n const remainingLine = chunk.slice(offset + 1);\n // If it is a bullet/number/table/heading, DO NOT collapse the newline\n const isStructural = /^[ \\t]*([#>|\\-*+]|\\d+\\.)/.test(remainingLine);\n return isStructural ? \"\\n\" : \" \";\n });\n }).join(\"\");\n\n // CRITICAL: Removed the duplicate `text = text.replace(/^[ \\t]+/gm...)` block from here!\n\n return text.trim();\n };\n\n const normalizePunctuationForMatch = (text: string) => text.replace(/[\\.,;:]/g, \" \");\n\n const collisionDependency = useMemo(() => deviationBadges.map((badge) => ({\n id: badge.id,\n connected: badge.isConnected,\n stackIndex: badge.stackIndex,\n size: badge.size,\n })), [deviationBadges]);\n\n const buildMarkOpen = (badgeId: string = \"\", color?: string) => {\n const colorAttr = color ? ` data-highlight-color=\"${color}\"` : \"\";\n const badgeAttr = badgeId ? ` data-badge-id=\"${badgeId}\"` : \"\";\n return `<mark${badgeAttr}${colorAttr}>`;\n };\n \n const buildMarkClose = () => `</mark>`;\n const buildSpanOpen = (badgeId: string) => `<span data-badge-id=\"${badgeId}\">`;\n const buildSpanClose = () => `</span>`;\n\n const wrapWithMark = (value: string, badgeId: string = \"\", highlightColor?: string) => {\n const match = value.match(/^(\\s*)([\\s\\S]*?)(\\s*)$/);\n if (!match) return value;\n const leading = match[1] ?? \"\";\n const body = match[2] ?? \"\";\n const trailing = match[3] ?? \"\";\n if (!body) return value;\n return leading + buildMarkOpen(badgeId, highlightColor) + body + buildMarkClose() + trailing;\n };\n\n const contentToRender = useMemo(() => {\n // 2. CRITICAL: Removed safeStringify here. Pure strings only to prevent encoded brackets.\n let normalizedContent = normalizeMarkdownText(content || \"\");\n\n const matchContent = suppressHighlightBg ? normalizePunctuationForMatch(normalizedContent) : normalizedContent;\n\n const badgeEntries = (deviationBadges || [])\n .map((badge: any) => ({\n id: badge?.id,\n highlight: normalizeMarkdownText(badge?.highlight || \"\"),\n highlightColor: badge?.style?.highlightBg || badge?.style?.badgeBg || highlightBg,\n }))\n .filter((entry: any) => entry.id && entry.highlight);\n\n const groupedBadges: Record<string, any[]> = {};\n badgeEntries.forEach((entry) => {\n if (!groupedBadges[entry.highlight]) groupedBadges[entry.highlight] = [];\n groupedBadges[entry.highlight].push(entry);\n });\n\n const createMarkedHighlight = (text: string, badgeId: string = \"\", highlightColor?: string, badges: any[] = []) => {\n let spanEmitted = false;\n\n const wrapSegment = (segment: string): string => {\n const mark = wrapWithMark(segment, badgeId, highlightColor);\n let wrapped = mark;\n \n if (!spanEmitted && badges.length > 0) {\n spanEmitted = true;\n let spansOpen = \"\";\n let spansClose = \"\";\n \n // Emit spans for ALL badges in the group, not just badges[0]\n badges.forEach((b) => {\n spansOpen += buildSpanOpen(b.id);\n spansClose = buildSpanClose() + spansClose;\n });\n \n wrapped = spansOpen + mark + spansClose;\n }\n \n return \"\\u200B\" + wrapped;\n };\n\n return text\n .split(/(\\n+)/)\n .map((part) => {\n if (/^\\n+$/.test(part)) return part;\n if (!part.trim()) return part;\n const strippedForSeparatorCheck = part.replace(/[|:\\-\\s]/g, \"\");\n if (strippedForSeparatorCheck === \"\" && part.includes(\"-\")) return part;\n if (part.includes(\"|\")) {\n return part.split(/(\\|)/).map((cell) => {\n if (cell === \"|\" || !cell.trim()) return cell;\n return wrapSegment(cell);\n }).join(\"\");\n }\n return wrapSegment(part);\n })\n .join(\"\");\n };\n\n const allMatches: HighlightMatch[] = [];\n\n Object.entries(groupedBadges).forEach(([highlight, badges]) => {\n let idx = normalizedContent.indexOf(highlight);\n let usedLooseMatch = false;\n\n if (idx === -1 && suppressHighlightBg) {\n const matchHighlight = normalizePunctuationForMatch(highlight);\n idx = matchContent.indexOf(matchHighlight);\n if (idx !== -1) usedLooseMatch = true;\n }\n\n if (idx === -1) return;\n\n let color = badges[0].highlightColor;\n for (let i = 1; i < badges.length; i++) {\n color = mixHexColors(color, badges[i].highlightColor || \"\");\n }\n\n allMatches.push({ highlight, start: idx, end: idx + highlight.length, badges, color, usedLooseMatch });\n });\n\n const badgeHighlightSet = new Set(Object.keys(groupedBadges));\n\n (highlights || []).forEach((highlight) => {\n if (!highlight) return;\n const cleanHighlight = normalizeMarkdownText(highlight);\n if (!cleanHighlight || badgeHighlightSet.has(cleanHighlight)) return;\n\n let idx = normalizedContent.indexOf(cleanHighlight);\n let usedLooseMatch = false;\n\n if (idx === -1 && suppressHighlightBg) {\n const matchHighlight = normalizePunctuationForMatch(cleanHighlight);\n idx = matchContent.indexOf(matchHighlight);\n if (idx !== -1) usedLooseMatch = true;\n }\n\n if (idx === -1) return;\n\n const before = normalizedContent.slice(0, idx);\n const openTags = (before.match(/</g) || []).length;\n const closeTags = (before.match(/>/g) || []).length;\n \n if (openTags === closeTags) {\n allMatches.push({\n highlight: cleanHighlight, start: idx, end: idx + cleanHighlight.length, badges: [], color: highlightBg || \"\", usedLooseMatch,\n } as unknown as HighlightMatch);\n }\n });\n\n allMatches.sort((a, b) => a.start - b.start || b.end - a.end);\n\n const claimedRanges: Array<{ start: number; end: number; matchIdx: number }> = [];\n const containedBy: Record<number, number> = {};\n\n allMatches.forEach((match, i) => {\n let start = match.start;\n let end = match.end;\n\n for (const claimed of claimedRanges) {\n const cStart = claimed.start;\n const cEnd = claimed.end;\n const fullyContained = start >= cStart && end <= cEnd;\n const partialOverlapRight = start < cEnd && end > cEnd && start >= cStart;\n const partialOverlapLeft = start < cStart && end > cStart && end <= cEnd;\n\n if (fullyContained) {\n match.orphaned = true;\n containedBy[i] = claimed.matchIdx;\n break;\n }\n if (partialOverlapRight) start = cEnd;\n if (partialOverlapLeft) end = cStart;\n }\n\n match.trimmedStart = start;\n match.trimmedEnd = end;\n\n if (!match.orphaned && start < end) {\n claimedRanges.push({ start, end, matchIdx: i });\n }\n });\n\n const childrenOf: Record<number, number[]> = {};\n Object.entries(containedBy).forEach(([childIdxStr, parentIdx]) => {\n const childIdx = Number(childIdxStr);\n if (!childrenOf[parentIdx]) childrenOf[parentIdx] = [];\n childrenOf[parentIdx].push(childIdx);\n });\n\n const injectChildren = (highlightText: string, parentAbsStart: number, childIndices: number[], parentColor: string) => {\n if (!childIndices.length) return highlightText;\n const children = childIndices.map((ci) => allMatches[ci]).sort((a, b) => a.start - b.start);\n let result = \"\";\n let cursor = 0;\n\n children.forEach((child) => {\n const relStart = Math.max(cursor, child.start - parentAbsStart);\n const relEnd = Math.max(relStart, child.end - parentAbsStart);\n if (relStart >= relEnd) return;\n\n const mixedColor = mixHexColors(parentColor, child.color || \"\");\n result += highlightText.slice(cursor, relStart);\n\n // Removed the redundant wrapperStart/wrapperEnd logic.\n // createMarkedHighlight now handles the spans natively and cleanly.\n result += createMarkedHighlight(\n highlightText.slice(relStart, relEnd), \n child.badges?.[0]?.id || \"\", \n mixedColor, \n child.badges || []\n );\n \n cursor = relEnd;\n });\n\n result += highlightText.slice(cursor);\n return result;\n };\n\n const finalMatches = allMatches.map((m, i) => ({ ...m, idx: i })).filter((m) => !m.orphaned).sort((a, b) => (b.trimmedStart ?? b.start) - (a.trimmedStart ?? a.start));\n\n finalMatches.forEach((match) => {\n const tStart = match.trimmedStart ?? match.start;\n const tEnd = match.trimmedEnd ?? match.end;\n if (tStart >= tEnd) return;\n\n const rawSlice = normalizedContent.slice(tStart, tEnd);\n const effectiveHighlight = match.usedLooseMatch || tStart !== match.start || tEnd !== match.end ? rawSlice : match.highlight;\n const withChildren = injectChildren(effectiveHighlight, match.start, childrenOf[match.idx!] || [], match.color);\n const markedText = createMarkedHighlight(withChildren, match.badges?.[0]?.id || \"\", match.color, match.badges || []);\n\n normalizedContent = normalizedContent.slice(0, tStart) + markedText + normalizedContent.slice(tEnd);\n });\n\n return normalizedContent;\n }, [content, deviationBadges, highlights, highlightBg, suppressHighlightBg]);\n\n const overlayContentToRender = useMemo(() => {\n if (!overlayContent) return \"\";\n return normalizeMarkdownText(overlayContent || \"\");\n }, [overlayContent]);\n\n const hasOverlay = !!overlayContent;\n\n const sharedContentSx = {\n \"& *\": { fontFamily: \"inherit\" },\n \"& code, & pre, & kbd, & samp\": {\n fontFamily: \"inherit !important\",\n fontSize: \"inherit\",\n background: \"none\",\n padding: 0,\n border: \"none\",\n whiteSpace: \"pre-wrap\",\n },\n \"& p, & li, & ul, & ol\": { position: \"static\", overflow: \"visible\", whiteSpace: \"pre-wrap\" },\n };\n\n const baseSx = { ...sxStyles, ...sharedContentSx, position: \"relative\", width: \"100%\", maxWidth: \"100%\", minWidth: 0, boxSizing: \"border-box\", overflow: \"visible\", whiteSpace: \"normal\", gridArea: \"1 / 1\", zIndex: 2, ...(hasOverlay ? {\n color: \"transparent\",\n userSelect: \"none\", \n pointerEvents: \"none\", \n \"& .deviation-badge\": { pointerEvents: \"auto\" },\n \"& table\": { visibility: \"hidden\", margin: \"0 !important\" },\n \"& th, & td\": { padding: \"0 !important\", border: \"none !important\", backgroundColor: \"transparent !important\" },\n \"& tr\": { border: \"none !important\" },\n \"& p:empty\": { display: \"none\" }\n } : {})\n };\n\n const overlaySx = { ...sxStyles, ...sharedContentSx, position: \"relative\", width: \"100%\", maxWidth: \"100%\", minWidth: 0, boxSizing: \"border-box\", overflow: \"visible\", whiteSpace: \"normal\", gridArea: \"1 / 1\", zIndex: 1, pointerEvents: \"auto\" };\n\n useLayoutEffect(() => {\n if (!containerRef.current) return;\n\n const resolveCollisions = () => {\n const badges = Array.from(\n containerRef.current!.querySelectorAll(\".deviation-badge\")\n ) as HTMLElement[];\n \n if (badges.length === 0) return;\n\n badges.forEach((b) => { b.style.setProperty(\"--badge-nudge\", \"0px\"); });\n\n const leftBadges = badges.filter((b) => b.dataset.side === \"left\");\n const rightBadges = badges.filter((b) => b.dataset.side !== \"left\");\n\n const containerRect = containerRef.current!.getBoundingClientRect();\n const maxBottom = containerRect.bottom - 4;\n const minTop = containerRect.top + 4;\n\n const applyPushDownAndClamp = (sideBadges: HTMLElement[]) => {\n if (sideBadges.length === 0) return;\n\n const metrics = sideBadges.map((el) => {\n const rect = el.getBoundingClientRect();\n return { \n el, \n naturalTop: rect.top, \n height: rect.height,\n currentTop: rect.top\n };\n });\n\n metrics.sort((a, b) => a.naturalTop - b.naturalTop);\n\n const MIN_GAP = 8;\n const clusters: typeof metrics[] = [];\n let currentCluster: typeof metrics = [];\n\n metrics.forEach((item) => {\n if (currentCluster.length === 0) {\n currentCluster.push(item);\n } else {\n const prev = currentCluster[currentCluster.length - 1];\n const prevBottom = prev.currentTop + prev.height;\n\n if (item.naturalTop < prevBottom + MIN_GAP) {\n item.currentTop = prevBottom + MIN_GAP;\n currentCluster.push(item);\n } else {\n clusters.push(currentCluster);\n currentCluster = [item];\n }\n }\n });\n if (currentCluster.length > 0) clusters.push(currentCluster);\n\n clusters.forEach((cluster) => {\n const lastItem = cluster[cluster.length - 1];\n const clusterBottom = lastItem.currentTop + lastItem.height;\n\n if (clusterBottom > maxBottom) {\n const overflowAmount = clusterBottom - maxBottom;\n\n const firstItem = cluster[0];\n const availableTopSpace = firstItem.currentTop - minTop;\n \n const actualShiftUp = Math.max(0, Math.min(overflowAmount, availableTopSpace));\n\n cluster.forEach((item) => {\n item.currentTop -= actualShiftUp;\n });\n }\n });\n\n clusters.flat().forEach((item) => {\n const nudge = item.currentTop - item.naturalTop;\n item.el.style.setProperty(\"--badge-nudge\", `${nudge}px`);\n });\n };\n\n applyPushDownAndClamp(leftBadges);\n applyPushDownAndClamp(rightBadges);\n };\n\n const raf1 = requestAnimationFrame(()=>{\n requestAnimationFrame(()=>{\n resolveCollisions();\n })\n });\n\n const resizeObserver = new ResizeObserver(() => {\n requestAnimationFrame(resolveCollisions);\n });\n resizeObserver.observe(containerRef.current);\n\n return () => {\n resizeObserver.disconnect();\n cancelAnimationFrame(raf1);\n }\n }, [contentToRender, collisionKey, collisionDependency]);\n\n return (\n <Box\n ref={containerRef}\n sx={{\n position: \"relative\",\n display: \"grid\",\n gridTemplateColumns: \"minmax(0, 1fr)\",\n width: \"100%\",\n maxWidth: \"100%\",\n minWidth: 0,\n }}\n >\n <Typography component=\"div\" sx={{ ...baseSx, padding: \"3px\" }}>\n <ReactMarkdown\n components={components}\n remarkPlugins={remarkPlugins}\n rehypePlugins={rehypePlugins}\n >\n {/* 4. Removed safeStringify wrapper! It encodes < to < */}\n {contentToRender.replace(/#{3}/g, \"\")}\n </ReactMarkdown>\n </Typography>\n\n {hasOverlay && (\n <Typography component=\"div\" sx={overlaySx}>\n <ReactMarkdown\n components={components}\n remarkPlugins={remarkPlugins}\n rehypePlugins={rehypePlugins}\n >\n {overlayContentToRender}\n </ReactMarkdown>\n </Typography>\n )}\n </Box>\n );\n },\n areMarkdownPropsEqual\n);"],"names":["resolvePlugin","plugin","default","remarkPlugins","remarkGfm","rehypePlugins","rehypeRaw","MemoizedMarkdown","React","memo","content","overlayContent","sxStyles","deviationBadges","highlights","maintainRelativeOrder","highlightBg","suppressHighlightBg","collisionKey","containerRef","useRef","hideHighlightBg","badgeMap","useMemo","reduce","acc","badge","id","dynamicPropsRef","current","mapChildrenDeep","children","transform","Children","map","child","isValidElement","newChildren","props","cloned","cloneElement","components","mark","badgeId","bg","style","badgeBg","shouldHideBg","jsx","backgroundColor","borderRadius","display","boxDecorationBreak","WebkitBoxDecorationBreak","backgroundClip","padding","color","span","stackIndex","translateY","jsxs","Box","component","sx","position","ref","badgeRef","className","side","fontStyle","zIndex","alignItems","fontSize","bgcolor","badgeText","DEFAULT_DEVIAION_COLOR","border","badgeBorder","fontWeight","whiteSpace","boxShadow","overflow","transition","right","left","isConnected","outline","outlineOffset","onClick","e","stopPropagation","onSummaryClick","px","py","cursor","label","isOrphan","pl","ml","borderLeft","score","EllipsisVertical","size","table","width","maxWidth","minWidth","boxSizing","contain","overflowX","overflowY","overscrollBehaviorX","WebkitOverflowScrolling","my","tableLayout","borderCollapse","thead","tbody","tr","borderBottom","th","textAlign","verticalAlign","wordBreak","overflowWrap","td","code","fontFamily","pre","updated","deleted","updatedChildren","el","textDecoration","changed","ul","mt","mb","listStyleType","ol","li","normalizeMarkdownText","rawText","text","replace","_","num","spaces","slice","marker","_indent","firstChar","match","parts","split","chunk","test","trimStart","offset","remainingLine","join","trim","normalizePunctuationForMatch","collisionDependency","connected","contentToRender","normalizedContent","matchContent","badgeEntries","highlight","highlightColor","filter","entry","groupedBadges","forEach","push","createMarkedHighlight","badges","spanEmitted","wrapSegment","segment","value","leading","body","trailing","buildMarkOpen","wrapWithMark","wrapped","length","spansOpen","spansClose","b","buildSpanOpen","part","includes","cell","allMatches","Object","entries","idx","indexOf","usedLooseMatch","matchHighlight","i","mixHexColors","start","end","badgeHighlightSet","Set","keys","cleanHighlight","has","before","sort","a","claimedRanges","containedBy","claimed","cStart","cEnd","partialOverlapRight","partialOverlapLeft","orphaned","matchIdx","trimmedStart","trimmedEnd","childrenOf","childIdxStr","parentIdx","childIdx","Number","m","tStart","tEnd","rawSlice","withChildren","highlightText","parentAbsStart","childIndices","parentColor","ci","result","relStart","Math","max","relEnd","mixedColor","injectChildren","markedText","overlayContentToRender","hasOverlay","sharedContentSx","background","baseSx","gridArea","userSelect","pointerEvents","visibility","margin","overlaySx","useLayoutEffect","resolveCollisions","Array","from","querySelectorAll","setProperty","leftBadges","dataset","rightBadges","containerRect","getBoundingClientRect","maxBottom","bottom","minTop","top","applyPushDownAndClamp","sideBadges","metrics","rect","naturalTop","height","currentTop","clusters","currentCluster","item","prev","prevBottom","cluster","lastItem","clusterBottom","overflowAmount","availableTopSpace","actualShiftUp","min","flat","nudge","raf1","requestAnimationFrame","resizeObserver","ResizeObserver","observe","disconnect","cancelAnimationFrame","gridTemplateColumns","Typography","ReactMarkdown","areMarkdownPropsEqual"],"mappings":"2dAWA,MAAMA,EAAiBC,GAAkC,mBAAXA,EAAwBA,EAASA,GAAQC,SAAWD,EAC5FE,EAAgB,CAACH,EAAcI,IAC/BC,EAAgB,CAACL,EAAcM,IAGxBC,EAAmBC,EAAMC,KAAK,EACzCC,UACAC,iBACAC,WACAC,kBAAkB,GAClBC,aAAa,GACbC,yBAAwB,EACxBC,cACAC,uBAAsB,EACtBC,mBAYM,MAAAC,EAAeC,EAAuB,MACtCC,IAAoBV,EAEpBW,EAAWC,EACf,IAAMV,EAAgBW,OAAO,CAACC,EAAKC,SAAgBD,EAAK,CAACC,EAAMC,IAAKD,IAAU,CAAA,GAC9E,CAACb,IAGGe,EAAkBR,EAAO,CAAEE,WAAUN,cAAaK,kBAAiBJ,wBACzEW,EAAgBC,QAAU,CAAEP,WAAUN,cAAaK,kBAAiBJ,uBAE9D,MAAAa,EAAkB,CACtBC,EACAC,IAEOxB,EAAMyB,SAASC,IAAIH,EAAWI,IACnC,IAAK3B,EAAM4B,eAAeD,GACjB,OAAAA,EAGH,MAAAE,EAAcF,EAAMG,OAAOP,SAC7BD,EAAgBK,EAAMG,MAAMP,SAAUC,GACtCG,EAAMG,MAAMP,SAEVQ,EAAS/B,EAAMgC,aAAaL,EAAO,IACpCA,EAAMG,MACTP,SAAUM,IAGZ,OAAOL,EAAUO,KAIfE,EAAalB,EAAQ,KAAO,CAChCmB,KAAM,EAAGX,cAAaO,MACd,MAAEhB,SAAAA,EAAUN,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qB,iBACrBvM,MAAO,OACPC,SAAU,OACVC,SAAU,GAGZ3E,SAAA,CAACiB,EAAAgQ,EAAA,CAAWlP,UAAU,MAAMC,GAAI,IAAK8L,EAAQtM,QAAS,OACpDxB,SAAAiB,EAACiQ,EAAA,CACCxQ,aACAtC,gBACAE,gBAGC0B,SAAAsI,EAAgBrB,QAAQ,QAAS,QAIrC0G,GACE1M,EAAAgQ,EAAA,CAAWlP,UAAU,MAAMC,GAAIoM,EAC9BpO,SAAAiB,EAACiQ,EAAA,CACCxQ,aACAtC,gBACAE,gBAEC0B,SAAA0N,UAObyD"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useState as e,useCallback as t}from"react";import{DEVIATION_BADGE_SEPARATOR as n}from"../CognitiveComparehelpers.js";const r=({maintainRelativeOrder:r,proposedSections:i,existingSections:s,activeSideBySideSection:c,connectedSections:o,resetSideBySide:f,setConnectedSections:u,setConnectedLines:l,cachedConnectedPositions:d,svgContainerRef:a,isAnimatingRef:S,animationTimerRef:p,calculateLinesRef:g,sectionLeftRefs:x,sectionRightRefs:h,subSectionLeftRefs:m,subSectionRightRefs:y})=>{const[R,I]=e({}),[b,C]=e({}),E=e=>{S.current=!0,p.current&&clearTimeout(p.current),a.current&&(a.current.style.opacity="0"),p.current=setTimeout(()=>{S.current=!1,g.current(),a.current&&(a.current.style.opacity="1")},e)},$=t(e=>{if(!e||"string"!=typeof e||!e.includes(n))return;const t=e.split(n),i=t[2],s=t[3],c=i?Number(i.split("-")[0]):-1,o=s?Number(s.split("-")[0]):-1;I(e=>{const t={...e};let n=!1;if(-1!==c){const e=r?`left-${c}`:String(c);t[e]||(t[e]=!0,n=!0)}if(-1!==o){const e=r?`right-${o}`:String(o);t[e]||(t[e]=!0,n=!0)}return n?t:e}),C(e=>{const t={...e};let n=!1;const r=e=>{if(!e)return;const r=e.split("-");let i=r[0];for(let e=1;e<r.length;e++)i+=`-${r[e]}`,t[i]||(t[i]=!0,n=!0)};return r(i),r(s),n?t:e})},[r,I,C]);return{expandedSections:R,setExpandedSections:I,expandedSubSections:b,setExpandedSubSections:C,handleSubSectionToggle:e=>{const t=m.current[e]?.current,n=y.current[e]?.current;t&&(t.style.minHeight="0px"),n&&(n.style.minHeight="0px"),E(450),C(t=>({...t,[e]:!t[e]}))},toggleSection:(e,t)=>{const a=x.current[e]?.current,S=h.current[e]?.current;a&&(a.style.minHeight="0px"),S&&(S.style.minHeight="0px"),E(650);const p=r?`${t}-${e}`:String(e);if(!!R[p]){const a=new Set([String(e)]);if(r)if("left"===t){const t=i[e];(t?.refIndexes||[]).forEach(e=>{const t=s.findIndex(t=>t.selfIndex===e);-1!==t&&a.add(String(t))})}else{const t=s[e];i.forEach((e,n)=>{e.refIndexes?.includes(t?.selfIndex)&&a.add(String(n))})}const S=e=>{if(null===e)return!1;const t=String(e),r=t.split("-")[0];if(a.has(r))return!0;if(t.includes(n)){const e=t.split(n),r=e[2]?.split("-")[0],i=e[3]?.split("-")[0];if(r&&a.has(r))return!0;if(i&&a.has(i))return!0}return!1},p=S(c),g=Array.from(o).some(e=>S(e));(p||g)&&(f(),u(new Set),l([]),d.current=[])}I(n=>{const c={...n},o=!n[p];if(!r)return c[String(e)]=o,c;if(c[p]=o,"left"===t){const t=i[e];(t?.refIndexes||[]).forEach(e=>{const t=s.findIndex(t=>t.selfIndex===e);-1!==t&&(c[`right-${t}`]=o)})}else{const t=s[e],n=t?.selfIndex;i.forEach((e,t)=>{e.refIndexes?.includes(n)&&(c[`left-${t}`]=o)})}return c})},forceExpandCrossWiredSections:$}};export{r as useAccordionState};
|
|
2
2
|
//# sourceMappingURL=useAccordionState.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useAccordionState.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useAccordionState.js","sources":["../../../../src/features/CognitiveCompare/hooks/useAccordionState.ts"],"sourcesContent":["import React, { useCallback, useState } from \"react\";\nimport { SectionBlock } from \"../CognitiveCompareTypes\";\nimport { DEVIATION_BADGE_SEPARATOR } from \"../CognitiveComparehelpers\";\n\ntype AccordionStateParams = {\n maintainRelativeOrder: boolean;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n activeSideBySideSection: number | string | null;\n connectedSections: Set<number | string>;\n resetSideBySide: () => void;\n setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;\n setConnectedLines: React.Dispatch<React.SetStateAction<Record<string, any>[]>>;\n cachedConnectedPositions: React.MutableRefObject<any[]>;\n svgContainerRef: React.MutableRefObject<SVGSVGElement | null>;\n isAnimatingRef: React.MutableRefObject<boolean>;\n animationTimerRef: React.MutableRefObject<ReturnType<typeof setTimeout> | null>;\n calculateLinesRef: React.MutableRefObject<() => void>;\n sectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionLeftRefs: React.MutableRefObject<Record<string, React.RefObject<HTMLDivElement>>>;\n subSectionRightRefs: React.MutableRefObject<Record<string, React.RefObject<HTMLDivElement>>>;\n};\n\nexport const useAccordionState = ({\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n activeSideBySideSection,\n connectedSections,\n resetSideBySide,\n setConnectedSections,\n setConnectedLines,\n cachedConnectedPositions,\n svgContainerRef,\n isAnimatingRef,\n animationTimerRef,\n calculateLinesRef,\n sectionLeftRefs,\n sectionRightRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n}: AccordionStateParams) => {\n const [expandedSections, setExpandedSections] = useState<Record<string, boolean>>(\n {},\n );\n const [expandedSubSections, setExpandedSubSections] = useState<\n Record<string, boolean>\n >({});\n\n const clearConnectedState = () => {\n resetSideBySide();\n setConnectedSections(new Set());\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n };\n\n const queueLayoutSync = (delay: number) => {\n isAnimatingRef.current = true;\n if (animationTimerRef.current) {\n clearTimeout(animationTimerRef.current);\n }\n if (svgContainerRef.current) {\n svgContainerRef.current.style.opacity = \"0\";\n }\n\n animationTimerRef.current = setTimeout(() => {\n isAnimatingRef.current = false;\n calculateLinesRef.current();\n if (svgContainerRef.current) {\n svgContainerRef.current.style.opacity = \"1\";\n }\n }, delay);\n };\n // --- ADD THIS HELPER FUNCTION ---\n const forceExpandCrossWiredSections = useCallback((actionId: string | number | null) => {\n if (!actionId || typeof actionId !== \"string\" || !actionId.includes(DEVIATION_BADGE_SEPARATOR)) return;\n\n const parts = actionId.split(DEVIATION_BADGE_SEPARATOR);\n const leftKeyPath = parts[2];\n const rightKeyPath = parts[3];\n\n const leftRootIdx = leftKeyPath ? Number(leftKeyPath.split(\"-\")[0]) : -1;\n const rightRootIdx = rightKeyPath ? Number(rightKeyPath.split(\"-\")[0]) : -1;\n\n // 1. Expand Root Sections\n setExpandedSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n if (leftRootIdx !== -1) {\n const key = maintainRelativeOrder ? `left-${leftRootIdx}` : String(leftRootIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n if (rightRootIdx !== -1) {\n const key = maintainRelativeOrder ? `right-${rightRootIdx}` : String(rightRootIdx);\n if (!next[key]) { next[key] = true; changed = true; }\n }\n return changed ? next : prev;\n });\n\n // 2. Expand Nested Subsections\n setExpandedSubSections((prev: any) => {\n const next = { ...prev };\n let changed = false;\n const expandPath = (path: string) => {\n if (!path) return;\n const pParts = path.split(\"-\");\n let current = pParts[0];\n for (let i = 1; i < pParts.length; i++) {\n current += `-${pParts[i]}`;\n if (!next[current]) { next[current] = true; changed = true; }\n }\n };\n expandPath(leftKeyPath);\n expandPath(rightKeyPath);\n return changed ? next : prev;\n });\n }, [maintainRelativeOrder, setExpandedSections, setExpandedSubSections]);\n const handleSubSectionToggle = (keyPath: string) => {\n const leftEl = subSectionLeftRefs.current[keyPath]?.current;\n const rightEl = subSectionRightRefs.current[keyPath]?.current;\n if (leftEl) leftEl.style.minHeight = \"0px\";\n if (rightEl) rightEl.style.minHeight = \"0px\";\n\n queueLayoutSync(450);\n setExpandedSubSections((prev) => ({ ...prev, [keyPath]: !prev[keyPath] }));\n };\n\n const toggleSection = (idx: number, columnKey: \"left\" | \"right\") => {\n const leftEl = sectionLeftRefs.current[idx]?.current;\n const rightEl = sectionRightRefs.current[idx]?.current;\n if (leftEl) leftEl.style.minHeight = \"0px\";\n if (rightEl) rightEl.style.minHeight = \"0px\";\n\n queueLayoutSync(650);\n\n const key = maintainRelativeOrder ? `${columnKey}-${idx}` : String(idx);\n const isCurrentlyExpanded = !!expandedSections[key];\n\n if (isCurrentlyExpanded) {\n const collapsingIndexes = new Set<string>([String(idx)]);\n\n if (maintainRelativeOrder) {\n if (columnKey === \"left\") {\n const sec = proposedSections[idx] as any;\n (sec?.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex(\n (s: any) => s.selfIndex === rhsSelfIdx,\n );\n if (rhsArrayIdx !== -1) collapsingIndexes.add(String(rhsArrayIdx));\n });\n } else {\n const sec = existingSections[idx] as any;\n proposedSections.forEach((s: any, lhsArrayIdx: number) => {\n if (s.refIndexes?.includes(sec?.selfIndex)) {\n collapsingIndexes.add(String(lhsArrayIdx));\n }\n });\n }\n }\n\n const isRelatedToCollapse = (id: string | number | null) => {\n if (id === null) return false;\n const idStr = String(id);\n const rootIndex = idStr.split(\"-\")[0];\n if (collapsingIndexes.has(rootIndex)) return true;\n\n if (idStr.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = idStr.split(DEVIATION_BADGE_SEPARATOR);\n const leftRoot = parts[2]?.split(\"-\")[0];\n const rightRoot = parts[3]?.split(\"-\")[0];\n if (leftRoot && collapsingIndexes.has(leftRoot)) return true;\n if (rightRoot && collapsingIndexes.has(rightRoot)) return true;\n }\n\n return false;\n };\n\n const isTargetActive = isRelatedToCollapse(activeSideBySideSection);\n const hasChildConnection = Array.from(connectedSections).some((id) =>\n isRelatedToCollapse(id),\n );\n\n if (isTargetActive || hasChildConnection) {\n clearConnectedState();\n }\n }\n\n setExpandedSections((prev) => {\n const next = { ...prev };\n const isExpanding = !prev[key];\n\n if (!maintainRelativeOrder) {\n next[String(idx)] = isExpanding;\n return next;\n }\n\n next[key] = isExpanding;\n if (columnKey === \"left\") {\n const sec = proposedSections[idx] as any;\n (sec?.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex(\n (s: any) => (s as any).selfIndex === rhsSelfIdx,\n );\n if (rhsArrayIdx !== -1) next[`right-${rhsArrayIdx}`] = isExpanding;\n });\n } else {\n const sec = existingSections[idx] as any;\n const selfIdx = sec?.selfIndex;\n proposedSections.forEach((s: any, lhsArrayIdx: number) => {\n if (s.refIndexes?.includes(selfIdx)) next[`left-${lhsArrayIdx}`] = isExpanding;\n });\n }\n return next;\n });\n };\n\n return {\n expandedSections,\n setExpandedSections,\n expandedSubSections,\n setExpandedSubSections,\n handleSubSectionToggle,\n toggleSection,\n forceExpandCrossWiredSections,\n };\n};\n"],"names":["useAccordionState","maintainRelativeOrder","proposedSections","existingSections","activeSideBySideSection","connectedSections","resetSideBySide","setConnectedSections","setConnectedLines","cachedConnectedPositions","svgContainerRef","isAnimatingRef","animationTimerRef","calculateLinesRef","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","expandedSections","setExpandedSections","useState","expandedSubSections","setExpandedSubSections","queueLayoutSync","delay","current","clearTimeout","style","opacity","setTimeout","forceExpandCrossWiredSections","useCallback","actionId","includes","DEVIATION_BADGE_SEPARATOR","parts","split","leftKeyPath","rightKeyPath","leftRootIdx","Number","rightRootIdx","prev","next","changed","key","String","expandPath","path","pParts","i","length","handleSubSectionToggle","keyPath","leftEl","rightEl","minHeight","toggleSection","idx","columnKey","collapsingIndexes","Set","sec","refIndexes","forEach","rhsSelfIdx","rhsArrayIdx","findIndex","s","selfIndex","add","lhsArrayIdx","isRelatedToCollapse","id","idStr","rootIndex","has","leftRoot","rightRoot","isTargetActive","hasChildConnection","Array","from","some","isExpanding","selfIdx"],"mappings":"4HAwBO,MAAMA,EAAoB,EAC/BC,wBACAC,mBACAC,mBACAC,0BACAC,oBACAC,kBACAC,uBACAC,oBACAC,2BACAC,kBACAC,iBACAC,oBACAC,oBACAC,kBACAC,mBACAC,qBACAC,0BAEM,MAACC,EAAkBC,GAAuBC,EAC9C,CAAC,IAEIC,EAAqBC,GAA0BF,EAEpD,CAAE,GASEG,EAAmBC,IACvBb,EAAec,SAAU,EACrBb,EAAkBa,SACpBC,aAAad,EAAkBa,SAE7Bf,EAAgBe,UACFf,EAAAe,QAAQE,MAAMC,QAAU,KAGxBhB,EAAAa,QAAUI,WAAW,KACrClB,EAAec,SAAU,EACzBZ,EAAkBY,UACdf,EAAgBe,UACFf,EAAAe,QAAQE,MAAMC,QAAU,MAEzCJ,IAGCM,EAAgCC,EAAaC,IAC7C,IAACA,GAAgC,iBAAbA,IAA0BA,EAASC,SAASC,GAA4B,OAE1F,MAAAC,EAAQH,EAASI,MAAMF,GACvBG,EAAcF,EAAM,GACpBG,EAAeH,EAAM,GAErBI,EAAcF,EAAcG,OAAOH,EAAYD,MAAM,KAAK,KAAM,EAChEK,EAAeH,EAAeE,OAAOF,EAAaF,MAAM,KAAK,KAAM,EAGzEjB,EAAqBuB,IACb,MAAAC,EAAO,IAAKD,GAClB,IAAIE,GAAU,EACd,IAAwB,IAApBL,EAAoB,CACtB,MAAMM,EAAM5C,EAAwB,QAAQsC,IAAgBO,OAAOP,GAC9DI,EAAKE,KAAQF,EAAKE,IAAO,EAAgBD,GAAA,EAChD,CACA,IAAyB,IAArBH,EAAqB,CACvB,MAAMI,EAAM5C,EAAwB,SAASwC,IAAiBK,OAAOL,GAChEE,EAAKE,KAAQF,EAAKE,IAAO,EAAgBD,GAAA,EAChD,CACA,OAAOA,EAAUD,EAAOD,IAI1BpB,EAAwBoB,IAChB,MAAAC,EAAO,IAAKD,GAClB,IAAIE,GAAU,EACR,MAAAG,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AAQ4B,KAAiBa,IAEvE,CACO,OAAAzC,KAWTb"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as n,__spreadArray as e}from"tslib";import{useMemo as t}from"react";import{isMissingStr as i,safeStringify as o,getRationale as r,resolveComparisonInputItems as a,getSideData as l,hasValue as d,DEVIATION_BADGE_SEPARATOR as s}from"../CognitiveComparehelpers.js";import{buildComparisonRows as u}from"../utils/buildComparisonRows.js";var v={id:"",title:"",similarity:0,sections:[]},c=function(c,f,p,I,_,h){var g,m;void 0===_&&(_=!0);var x="string"==typeof p?p:JSON.stringify(p||{}),b=Boolean(h&&(h.learnings_data||(null===(m=null===(g=h.data)||void 0===g?void 0:g.artifactData)||void 0===m?void 0:m.userStorySnapshot))),y=t(function(){if(!c||0===Object.keys(c).length)return{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:"Tree data is required"};var t=JSON.parse(x);try{var d=c.nodes||c,s=[],v=[],p=[],I=c.base_root_id,g=c.input_index_map||{0:"left",1:"right"},m=c[I]||d[I];if(!m||!1===m.display_node)return{activeProposed:{title:"No Data",sections:[]},activeVariants:[],comparisonRows:[],parseError:null};var y=c.content_mapping||{},R=function(n){return c[n]||d[n]},C=function(e,t,o){if(!e||"object"!=typeof e)return e||null;if(e.deviations)return e;if(_)return e;var r=Object.keys(e).filter(function(n){return/^\d+$/.test(n)});if(!r.length)return e;var a=r.sort(function(n,e){return Number(n)-Number(e)}),l={},d={},s=null;return a.forEach(function(n){var r,a,u,v,c,f,p=e[n];if(p&&"object"==typeof p){s||(s=p);var I=!(null==p?void 0:p.status)||"pending"===p.status,_=(null==p?void 0:p.deviation_highlight)||(null===(a=null==p?void 0:p.web_search_answer)||void 0===a?void 0:a.deviation_highlight),h=function(n){var e,t=(null===(e=null==p?void 0:p.cognitive_decisioning)||void 0===e?void 0:e.citations)||(null==p?void 0:p.citations)||{};return Object.values(t).map(function(e){var t;return null===(t=null==e?void 0:e[n])||void 0===t?void 0:t.highlighted_text}).filter(function(n){return"string"==typeof n&&n.trim().length>0})},m=function(){for(var n=[],e=0;e<arguments.length;e++)n[e]=arguments[e];for(var t=0,o=n;t<o.length;t++){var r=o[t];if(Array.isArray(r)&&r.some(function(n){return!i(n)}))return r}return[]},x=I?m((null===(u=null==p?void 0:p.deviation_highlights)||void 0===u?void 0:u[t])||(null===(v=null==p?void 0:p.deviation_highlights)||void 0===v?void 0:v[g[0]]),"string"==typeof _?[_]:[],h(t),h(g[0])):[],b=I?m((null===(c=null==p?void 0:p.deviation_highlights)||void 0===c?void 0:c[o])||(null===(f=null==p?void 0:p.deviation_highlights)||void 0===f?void 0:f[g[1]]),h(o),h(g[1])):[];l[n]=((r={})[g[0]]=x[0]||"",r[g[1]]=b[0]||"",r.deviation_summary=(null==p?void 0:p.deviation_summary)||"",r.deviation_title=null==p?void 0:p.deviation_title,r.deviation_impact=null==p?void 0:p.deviation_impact,r.deviation_explanation=null==p?void 0:p.deviation_explanation,r.evaluation_outputs=null==p?void 0:p.evaluation_outputs,r.cognitive_decisioning=null==p?void 0:p.cognitive_decisioning,r.deviation_highlights=null==p?void 0:p.deviation_highlights,r),d[n]=p}}),n(n({},e),{deviation_title:(null==s?void 0:s.deviation_title)||(null==e?void 0:e.deviation_title),deviation_impact:(null==s?void 0:s.deviation_impact)||(null==e?void 0:e.deviation_impact),deviation_summary:(null==s?void 0:s.deviation_summary)||(null==e?void 0:e.deviation_summary),deviation_explanation:(null==s?void 0:s.deviation_explanation)||(null==e?void 0:e.deviation_explanation),evaluation_outputs:(null==s?void 0:s.evaluation_outputs)||(null==e?void 0:e.evaluation_outputs),cognitive_decisioning:(null==s?void 0:s.cognitive_decisioning)||(null==e?void 0:e.cognitive_decisioning),deviations:l,deviation_entries:d})},E=function(n){var e=new Map,t=function(n){n.forEach(function(n){var i;n.id&&e.set(n.id,n),(null===(i=n.subsections)||void 0===i?void 0:i.length)&&t(n.subsections)})};t(n);var i=function(n,t){for(var o,r=[],a=function(n){var a=n.ref_parent_section_node_id;if(a&&e.has(a)&&a!==(null==t?void 0:t.id)){var l=e.get(a);l.subsections||(l.subsections=[]),l.subsections.some(function(e){return e.id===n.id})||l.subsections.push(n)}else(null===(o=n.subsections)||void 0===o?void 0:o.length)&&(n.subsections=i(n.subsections,n)),r.push(n)},l=0,d=n;l<d.length;l++){a(d[l])}return r},o=i(n),r=function(n){n.forEach(function(n){n.subsections&&n.subsections.length>0&&(n.subsections.sort(function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:(n.selfIndex||0)-(e.selfIndex||0)}),r(n.subsections))})};return r(o),o},O=function(n){var e=n.comparison_inputs?Object.keys(n.comparison_inputs):[],t=g[0],i=g[1];return e.length>0&&(t=e.includes(g[0])?g[0]:e[0],i=e.includes(g[1])?g[1]:e.length>1?e[1]:e[0]),{nodeLeftId:t,nodeRightId:i}},j=function(e,t,i,r){var a=t.attributes||{},l=t.data||{},d=!1!==a.display_title,s=!1!==a.display_content,u=d?o(l.title||""):"",v=s?o(l.content||""):"",c=s?o(l.change_history||""):"",f=void 0!==a.display_index&&null!==a.display_index?Number(a.display_index):-1,p=function(n){return(null==n?void 0:n.entity_id)||(null==n?void 0:n.ref_parent_section_node_id)||(null==n?void 0:n.parent_entity_id)||null}(a),I=!(!u.trim()&&!v.trim());return n(n({id:"".concat(e,"::").concat(t.contentId),nodeId:e,contentId:t.contentId,parentContentId:p,title:u,content:v,change_history:c,displayTitle:d,displayContent:s,subsections:[]},I?r:{score:void 0,relation:"not_defined"}),{evaluationResult:i,evaluationResults:i?[i]:[],selfIndex:f,refIndexes:[],refContentIds:[],ref_parent_section_node_id:p})},N=function(n,t){n.refIndexes=Array.from(new Set(e(e([],n.refIndexes||[],!0),t.refIndexes||[],!0))),n.refContentIds=Array.from(new Set(e(e([],n.refContentIds||[],!0),t.refContentIds||[],!0)));var i=new Set((n.subsections||[]).map(function(n){return n.id||n.contentId||n.nodeId}));(t.subsections||[]).forEach(function(t){var o=t.id||t.contentId||t.nodeId;i.has(o)||(n.subsections=e(e([],n.subsections||[],!0),[t],!1),i.add(o))});var o=e(e([],n.evaluationResults||(n.evaluationResult?[n.evaluationResult]:[]),!0),t.evaluationResults||(t.evaluationResult?[t.evaluationResult]:[]),!0).filter(Boolean),r=new Set;return n.evaluationResults=o.filter(function(n){var e=(null==n?void 0:n.nodeId)||JSON.stringify(Object.keys((null==n?void 0:n.deviations)||n||{}));return!r.has(e)&&(r.add(e),!0)}),!n.evaluationResult&&t.evaluationResult&&(n.evaluationResult=t.evaluationResult),!n.cognitiveData&&t.cognitiveData&&(n.cognitiveData=t.cognitiveData),n},S=function(n,e){return n.selfIndex<0&&e.selfIndex>=0?1:n.selfIndex>=0&&e.selfIndex<0?-1:n.selfIndex-e.selfIndex},w=function(e,i){var o,l=R(e);if(!l||!1===l.display_node)return[];if(b&&"1"===i)return[];var d=O(l),s=d.nodeLeftId,u=d.nodeRightId,v=r(l),c=(null===(o=null==t?void 0:t[e])||void 0===o?void 0:o.evaluation_result)||l.evaluation_result||null,f=C(c,s,u),p=f&&"object"==typeof f?n(n({},f),{nodeId:e}):f,I=a(l,i,g,y).map(function(n){return j(e,n,p,v)});if(l.next){var _=Object.values(l.next).flatMap(function(n){return w(n,i)});I.forEach(function(n){var e=_.filter(function(e){return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId});n.subsections=e.length?e:_})}return I};if(f){var k=function(e,i){var o;void 0===i&&(i=0);var l=[],d=[];if(!e)return{refSections:l,baseSections:d};var s={},u={},v=-1,c=-1,f=function(l){var d=e[l],f=R(d);if(!f||!1===f.display_node)return"continue";var p=O(f),I=p.nodeLeftId,_=p.nodeRightId,h=r(f),m=(null===(o=null==t?void 0:t[d])||void 0===o?void 0:o.evaluation_result)||f.evaluation_result||null,x=C(m,I,_),E=x&&"object"==typeof x?n(n({},x),{nodeId:d}):x,S=k(f.next,i+1),w=S.refSections,D=S.baseSections,P=a(f,"0",g,y).map(function(n){var e=j(d,n,E,h);return-1===e.selfIndex&&(e.selfIndex=c--),e}),K=[];if(!b){var V=a(f,"1",g,y);K=V.map(function(n){var e=j(d,n,E,h);return-1===e.selfIndex&&(e.selfIndex=v--),e})}P.forEach(function(n){K.forEach(function(e){var t,i,o,r,a,l,d,s;Number(e.selfIndex)>=0&&Number(n.selfIndex)>=0&&((null===(t=e.refIndexes)||void 0===t?void 0:t.includes(Number(n.selfIndex)))||null===(i=e.refIndexes)||void 0===i||i.push(Number(n.selfIndex)),(null===(o=n.refIndexes)||void 0===o?void 0:o.includes(Number(e.selfIndex)))||null===(r=n.refIndexes)||void 0===r||r.push(Number(e.selfIndex))),n.contentId&&!(null===(a=e.refContentIds)||void 0===a?void 0:a.includes(n.contentId))&&(null===(l=e.refContentIds)||void 0===l||l.push(n.contentId)),e.contentId&&!(null===(d=n.refContentIds)||void 0===d?void 0:d.includes(e.contentId))&&(null===(s=n.refContentIds)||void 0===s||s.push(e.contentId))})}),K.forEach(function(n){var e=w.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===i?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||d);s[t]=s[t]?N(s[t],n):n}),P.forEach(function(n){var e=D.filter(function(e){var t;return!e.parentContentId||e.parentContentId===n.contentId||e.parentContentId===n.parentContentId||(null===(t=n.refContentIds)||void 0===t?void 0:t.includes(e.parentContentId))});e.length>0&&(n.subsections=e);var t=0===i?String(n.selfIndex):"".concat(n.selfIndex,"_").concat(n.contentId||d);u[t]=u[t]?N(u[t],n):n})};for(var p in e)f(p);return l=Object.values(s),d=Object.values(u),l.sort(S),d.sort(S),{refSections:l,baseSections:d}},D=k(m.next),P=D.refSections,K=D.baseSections;b||(v=E(P)),s=K}else m.next&&Object.values(m.next).forEach(function(n){var e=R(n);if(e&&!1!==e.display_node){var t=w(n,"0");if(b)s.push.apply(s,t);else{var i=E(w(n,"1"));p.push.apply(p,u(n,t,i))}}}),b||(s=p.map(function(n){return n.left}),v=p.map(function(n){return n.right}));var V=l(m,"0",g,y),T=l(m,"1",g,y),A={title:V.title||"Uploaded Contract",description:m.decision_scope_description||"",sections:s},G={id:"tree-variant-1",title:b?function(){var n,e;if((null==h?void 0:h.learnings_data)&&Object.keys(h.learnings_data).length>0){var t=Object.keys(h.learnings_data)[0];return(null===(n=h.learnings_data[t])||void 0===n?void 0:n.title)||"Rulebook Guidelines"}return(null===(e=null==h?void 0:h.data)||void 0===e?void 0:e.artifactTitle)||"Rulebook Guidelines"}():T.title||"Reference Template",similarity:0,sections:v,analysis:{rule_difference_comparison:{summary:{overall_score:0,overall_summary:m.decision_scope_description||""},fields:{}}}};return{activeProposed:A,activeVariants:[G],comparisonRows:p,parseError:null}}catch(n){return console.error("Data Transformation Error: ",n),{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:n instanceof Error?n.message:"Unknown Parsing Error"}}},[c,f,x,_,h]),R=y.activeProposed,C=y.activeVariants,E=y.comparisonRows,O=y.parseError,j=(null==C?void 0:C[0])||v,N=t(function(){return(null==R?void 0:R.sections)||[]},[null==R?void 0:R.sections]),S=t(function(){return j.sections||[]},[j.sections]),w=N.length>0||S.length>0,k=t(function(){return I.fields.filter(function(n){var e=n.key;return(!w||"description"!==e)&&(d(null==R?void 0:R[e])||d(j[e]))})},[R,j,w,I.fields]),D=t(function(){var n,e,t={},o={},r={},a=0,l=null===(n=null==c?void 0:c.input_index_map)||void 0===n?void 0:n[0],d=null===(e=null==c?void 0:c.input_index_map)||void 0===e?void 0:e[1],u=function(n,e){if(!f){var t="left"===e?N.indexOf(n):S.indexOf(n);return{rootKey:"".concat(e,":").concat(t),parentNum:t+1}}if("left"===e){var i=n.selfIndex,o=void 0!==i&&i>=0?i+1:N.indexOf(n)+1;return{rootKey:"left-root:".concat(n.id),parentNum:o}}var r=n.selfIndex,a=N.find(function(n){var e;return null===(e=n.refIndexes)||void 0===e?void 0:e.includes(r)});if(a){var l=a.selfIndex,d=void 0!==l&&l>=0?l+1:N.indexOf(a)+1;return{rootKey:"left-root:".concat(a.id),parentNum:d}}var s=void 0!==r&&r>=0?r+1:S.indexOf(n)+1;return{rootKey:"right-orphan-root:".concat(n.id),parentNum:s}},v=function(n,e){if(n&&e)return n.find(function(n){return n.id===e.id||n.nodeId&&n.nodeId===e.nodeId||n.contentId&&n.contentId===e.contentId})||void 0},p=function(n,e,u,c,f,I,_){if(e&&function(n,e,t){var a;((null===(a=null==n?void 0:n.evaluationResults)||void 0===a?void 0:a.length)?n.evaluationResults:(null==n?void 0:n.evaluationResult)?[n.evaluationResult]:[]).forEach(function(a){var u=(null==a?void 0:a.deviations)||{};Object.keys(u).sort().forEach(function(v){var c=u[v];if(c){var f=!i(c[l]),p=!i(c[d]);if(f||p){var I=(null==a?void 0:a.nodeId)||n.nodeId||n.id,_="".concat(I).concat(s).concat(v);void 0===o[_]&&(void 0===r[e]&&(r[e]=1),o[_]={index:r[e]++,rootKey:e,parentNum:t})}}})})}(e,c,f),e&&!I){var h=(null==_?void 0:_.id)||"fallback_parent_".concat(a++);t[h]||(t[h]=[]),t[h].push(e)}((null==e?void 0:e.subsections)||(null==n?void 0:n.subsections)||(null==u?void 0:u.subsections)||[]).forEach(function(t){var i=v(null==n?void 0:n.subsections,t),o=v(null==u?void 0:u.subsections,t);p(t,i,o,c,f,!1,e||_)})};N.forEach(function(n){var e,t=u(n,"left"),i=t.rootKey,o=t.parentNum,r=null;if(f){var a=null===(e=n.refIndexes)||void 0===e?void 0:e[0];r=S.find(function(n){return n.selfIndex===a})}else r=S[N.indexOf(n)];p(n,n,r,i,o,!0,n)}),b||S.forEach(function(n){var e=u(n,"right"),t=e.rootKey,i=e.parentNum;t.startsWith("right-orphan-root:")&&p(n,null,n,t,i,!0,n)});var I=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].index]})),_=Object.fromEntries(Object.entries(o).map(function(n){return[n[0],n[1].parentNum]}));return{parentDeviationRecord:t,registry:I,deviationParentRegistry:_}},[N,S,f,c,b]),P=D.parentDeviationRecord,K=D.registry,V=D.deviationParentRegistry;return{isGuidelineMode:b,activeProposed:R,activeVariants:C,comparisonRows:E,existingRule:j,proposedSections:N,existingSections:S,visibleFields:k,parentDeviationRecord:P,deviationNumberRegistry:K,deviationParentRegistry:V,parseError:O}};export{c as useCognitiveTreeData};
|
|
1
|
+
import{useMemo as e}from"react";import{isMissingStr as t,safeStringify as n,getRationale as i,resolveComparisonInputItems as o,getSideData as s,hasValue as r,DEVIATION_BADGE_SEPARATOR as a}from"../CognitiveComparehelpers.js";import{buildComparisonRows as d}from"../utils/buildComparisonRows.js";const c={id:"",title:"",similarity:0,sections:[]},l=(l,u,f,p,v=!0,I)=>{const _="string"==typeof f?f:JSON.stringify(f||{}),h=Boolean(I&&(I.learnings_data||I.data?.artifactData?.userStorySnapshot)),{activeProposed:g,activeVariants:m,comparisonRows:x,parseError:b}=e(()=>{if(!l||0===Object.keys(l).length)return{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:"Tree data is required"};const e=JSON.parse(_);try{const r=l.nodes||l;let a=[],c=[],f=[];const p=l.base_root_id,_=l.input_index_map||{0:"left",1:"right"},g=l[p]||r[p];if(!g||!1===g.display_node)return{activeProposed:{title:"No Data",sections:[]},activeVariants:[],comparisonRows:[],parseError:null};const m=l.content_mapping||{},x=e=>l[e]||r[e],b=(e,n,i)=>{if(!e||"object"!=typeof e)return e||null;if(e.deviations)return e;if(v)return e;const o=Object.keys(e).filter(e=>/^\d+$/.test(e));if(!o.length)return e;const s=o.sort((e,t)=>Number(e)-Number(t)),r={},a={};let d=null;return s.forEach(o=>{const s=e[o];if(!s||"object"!=typeof s)return;d||(d=s);const c=!s?.status||"pending"===s.status,l=s?.deviation_highlight||s?.web_search_answer?.deviation_highlight,u=e=>{const t=s?.cognitive_decisioning?.citations||s?.citations||{};return Object.values(t).map(t=>t?.[e]?.highlighted_text).filter(e=>"string"==typeof e&&e.trim().length>0)},f=(...e)=>{for(const n of e)if(Array.isArray(n)&&n.some(e=>!t(e)))return n;return[]},p=c?f(s?.deviation_highlights?.[n]||s?.deviation_highlights?.[_[0]],"string"==typeof l?[l]:[],u(n),u(_[0])):[],v=c?f(s?.deviation_highlights?.[i]||s?.deviation_highlights?.[_[1]],u(i),u(_[1])):[];r[o]={[_[0]]:p[0]||"",[_[1]]:v[0]||"",deviation_summary:s?.deviation_summary||"",deviation_title:s?.deviation_title,deviation_impact:s?.deviation_impact,deviation_explanation:s?.deviation_explanation,evaluation_outputs:s?.evaluation_outputs,cognitive_decisioning:s?.cognitive_decisioning,deviation_highlights:s?.deviation_highlights},a[o]=s}),{...e,deviation_title:d?.deviation_title||e?.deviation_title,deviation_impact:d?.deviation_impact||e?.deviation_impact,deviation_summary:d?.deviation_summary||e?.deviation_summary,deviation_explanation:d?.deviation_explanation||e?.deviation_explanation,evaluation_outputs:d?.evaluation_outputs||e?.evaluation_outputs,cognitive_decisioning:d?.cognitive_decisioning||e?.cognitive_decisioning,deviations:r,deviation_entries:a}},y=e=>{const t=new Map,n=e=>{e.forEach(e=>{e.id&&t.set(e.id,e),e.subsections?.length&&n(e.subsections)})};n(e);const i=(e,n)=>{let o=[];for(const s of e){const e=s.ref_parent_section_node_id;if(e&&t.has(e)&&e!==n?.id){const n=t.get(e);n.subsections||(n.subsections=[]),n.subsections.some(e=>e.id===s.id)||n.subsections.push(s)}else s.subsections?.length&&(s.subsections=i(s.subsections,s)),o.push(s)}return o},o=i(e),s=e=>{e.forEach(e=>{e.subsections&&e.subsections.length>0&&(e.subsections.sort((e,t)=>e.selfIndex<0&&t.selfIndex>=0?1:e.selfIndex>=0&&t.selfIndex<0?-1:(e.selfIndex||0)-(t.selfIndex||0)),s(e.subsections))})};return s(o),o},R=e=>{const t=e.comparison_inputs?Object.keys(e.comparison_inputs):[];let n=_[0],i=_[1];return t.length>0&&(n=t.includes(_[0])?_[0]:t[0],i=t.includes(_[1])?_[1]:t.length>1?t[1]:t[0]),{nodeLeftId:n,nodeRightId:i}},C=e=>e?.entity_id||e?.ref_parent_section_node_id||e?.parent_entity_id||null,E=(e,t,i,o)=>{const s=t.attributes||{},r=t.data||{},a=!1!==s.display_title,d=!1!==s.display_content,c=a?n(r.title||""):"",l=d?n(r.content||""):"",u=d?n(r.change_history||""):"",f=void 0!==s.display_index&&null!==s.display_index?Number(s.display_index):-1,p=C(s),v=!(!c.trim()&&!l.trim());return{id:`${e}::${t.contentId}`,nodeId:e,contentId:t.contentId,parentContentId:p,title:c,content:l,change_history:u,displayTitle:a,displayContent:d,subsections:[],...v?o:{score:void 0,relation:"not_defined"},evaluationResult:i,evaluationResults:i?[i]:[],selfIndex:f,refIndexes:[],refContentIds:[],ref_parent_section_node_id:p}},O=(e,t)=>{e.refIndexes=Array.from(new Set([...e.refIndexes||[],...t.refIndexes||[]])),e.refContentIds=Array.from(new Set([...e.refContentIds||[],...t.refContentIds||[]]));const n=new Set((e.subsections||[]).map(e=>e.id||e.contentId||e.nodeId));(t.subsections||[]).forEach(t=>{const i=t.id||t.contentId||t.nodeId;n.has(i)||(e.subsections=[...e.subsections||[],t],n.add(i))});const i=[...e.evaluationResults||(e.evaluationResult?[e.evaluationResult]:[]),...t.evaluationResults||(t.evaluationResult?[t.evaluationResult]:[])].filter(Boolean),o=new Set;return e.evaluationResults=i.filter(e=>{const t=e?.nodeId||JSON.stringify(Object.keys(e?.deviations||e||{}));return!o.has(t)&&(o.add(t),!0)}),!e.evaluationResult&&t.evaluationResult&&(e.evaluationResult=t.evaluationResult),!e.cognitiveData&&t.cognitiveData&&(e.cognitiveData=t.cognitiveData),e},j=(e,t)=>e.selfIndex<0&&t.selfIndex>=0?1:e.selfIndex>=0&&t.selfIndex<0?-1:e.selfIndex-t.selfIndex,N=(t,n)=>{const s=x(t);if(!s||!1===s.display_node)return[];if(h&&"1"===n)return[];const{nodeLeftId:r,nodeRightId:a}=R(s),d=i(s),c=e?.[t]?.evaluation_result||s.evaluation_result||null,l=b(c,r,a),u=l&&"object"==typeof l?{...l,nodeId:t}:l,f=o(s,n,_,m).map(e=>E(t,e,u,d));if(s.next){const e=Object.values(s.next).flatMap(e=>N(e,n));f.forEach(t=>{const n=e.filter(e=>!e.parentContentId||e.parentContentId===t.contentId||e.parentContentId===t.parentContentId);t.subsections=n.length?n:e})}return f};if(u){const t=(n,s=0)=>{let r=[],a=[];if(!n)return{refSections:r,baseSections:a};const d={},c={};let l=-1,u=-1;for(const r in n){const a=n[r],f=x(a);if(!f||!1===f.display_node)continue;const{nodeLeftId:p,nodeRightId:v}=R(f),I=i(f),g=e?.[a]?.evaluation_result||f.evaluation_result||null,y=b(g,p,v),C=y&&"object"==typeof y?{...y,nodeId:a}:y,{refSections:j,baseSections:N}=t(f.next,s+1),S=o(f,"0",_,m).map(e=>{const t=E(a,e,C,I);return-1===t.selfIndex&&(t.selfIndex=u--),t});let w=[];if(!h){const e=o(f,"1",_,m);w=e.map(e=>{const t=E(a,e,C,I);return-1===t.selfIndex&&(t.selfIndex=l--),t})}S.forEach(e=>{w.forEach(t=>{Number(t.selfIndex)>=0&&Number(e.selfIndex)>=0&&(t.refIndexes?.includes(Number(e.selfIndex))||t.refIndexes?.push(Number(e.selfIndex)),e.refIndexes?.includes(Number(t.selfIndex))||e.refIndexes?.push(Number(t.selfIndex))),e.contentId&&!t.refContentIds?.includes(e.contentId)&&t.refContentIds?.push(e.contentId),t.contentId&&!e.refContentIds?.includes(t.contentId)&&e.refContentIds?.push(t.contentId)})}),w.forEach(e=>{const t=j.filter(t=>!t.parentContentId||t.parentContentId===e.contentId||t.parentContentId===e.parentContentId||e.refContentIds?.includes(t.parentContentId));t.length>0&&(e.subsections=t);const n=0===s?String(e.selfIndex):`${e.selfIndex}_${e.contentId||a}`;d[n]=d[n]?O(d[n],e):e}),S.forEach(e=>{const t=N.filter(t=>!t.parentContentId||t.parentContentId===e.contentId||t.parentContentId===e.parentContentId||e.refContentIds?.includes(t.parentContentId));t.length>0&&(e.subsections=t);const n=0===s?String(e.selfIndex):`${e.selfIndex}_${e.contentId||a}`;c[n]=c[n]?O(c[n],e):e})}return r=Object.values(d),a=Object.values(c),r.sort(j),a.sort(j),{refSections:r,baseSections:a}},{refSections:n,baseSections:s}=t(g.next);h||(c=y(n)),a=s}else g.next&&Object.values(g.next).forEach(e=>{const t=x(e);if(!t||!1===t.display_node)return;const n=N(e,"0");if(h)return void a.push(...n);const i=y(N(e,"1"));f.push(...d(e,n,i))}),h||(a=f.map(e=>e.left),c=f.map(e=>e.right));const S=s(g,"0",_,m),w=s(g,"1",_,m),$={title:S.title||"Uploaded Contract",description:g.decision_scope_description||"",sections:a};return{activeProposed:$,activeVariants:[{id:"tree-variant-1",title:h?(()=>{if(I?.learnings_data&&Object.keys(I.learnings_data).length>0){const e=Object.keys(I.learnings_data)[0];return I.learnings_data[e]?.title||"Rulebook Guidelines"}return I?.data?.artifactTitle||"Rulebook Guidelines"})():w.title||"Reference Template",similarity:0,sections:c,analysis:{rule_difference_comparison:{summary:{overall_score:0,overall_summary:g.decision_scope_description||""},fields:{}}}}],comparisonRows:f,parseError:null}}catch(e){return console.error("Data Transformation Error: ",e),{activeProposed:{},activeVariants:[],comparisonRows:[],parseError:e instanceof Error?e.message:"Unknown Parsing Error"}}},[l,u,_,v,I]),y=m?.[0]||c,R=e(()=>g?.sections||[],[g?.sections]),C=e(()=>y.sections||[],[y.sections]),E=R.length>0||C.length>0,O=e(()=>p.fields.filter(({key:e})=>(!E||"description"!==e)&&(r(g?.[e])||r(y[e]))),[g,y,E,p.fields]),{parentDeviationRecord:j,registry:N,deviationParentRegistry:S}=e(()=>{const e={},n={},i={};let o=0;const s=l?.input_index_map?.[0],r=l?.input_index_map?.[1],d=(e,t)=>{if(!u){const n="left"===t?R.indexOf(e):C.indexOf(e);return{rootKey:`${t}:${n}`,parentNum:n+1}}if("left"===t){const t=e.selfIndex,n=void 0!==t&&t>=0?t+1:R.indexOf(e)+1;return{rootKey:`left-root:${e.id}`,parentNum:n}}const n=e.selfIndex,i=R.find(e=>e.refIndexes?.includes(n));if(i){const e=i.selfIndex,t=void 0!==e&&e>=0?e+1:R.indexOf(i)+1;return{rootKey:`left-root:${i.id}`,parentNum:t}}const o=void 0!==n&&n>=0?n+1:C.indexOf(e)+1;return{rootKey:`right-orphan-root:${e.id}`,parentNum:o}},c=(e,t)=>{if(e&&t)return e.find(e=>e.id===t.id||e.nodeId&&e.nodeId===t.nodeId||e.contentId&&e.contentId===t.contentId)||void 0},f=(d,l,u,p,v,I,_)=>{if(l&&((e,o,d)=>{(e?.evaluationResults?.length?e.evaluationResults:e?.evaluationResult?[e.evaluationResult]:[]).forEach(c=>{const l=c?.deviations||{};Object.keys(l).sort().forEach(u=>{const f=l[u];if(!f)return;const p=!t(f[s]),v=!t(f[r]);if(p||v){const t=`${c?.nodeId||e.nodeId||e.id}${a}${u}`;void 0===n[t]&&(void 0===i[o]&&(i[o]=1),n[t]={index:i[o]++,rootKey:o,parentNum:d})}})})})(l,p,v),l&&!I){const t=_?.id||"fallback_parent_"+o++;e[t]||(e[t]=[]),e[t].push(l)}(l?.subsections||d?.subsections||u?.subsections||[]).forEach(e=>{const t=c(d?.subsections,e),n=c(u?.subsections,e);f(e,t,n,p,v,!1,l||_)})};R.forEach(e=>{const{rootKey:t,parentNum:n}=d(e,"left");let i=null;if(u){const t=e.refIndexes?.[0];i=C.find(e=>e.selfIndex===t)}else i=C[R.indexOf(e)];f(e,e,i,t,n,!0,e)}),h||C.forEach(e=>{const{rootKey:t,parentNum:n}=d(e,"right");t.startsWith("right-orphan-root:")&&f(e,null,e,t,n,!0,e)});const p=Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t.index])),v=Object.fromEntries(Object.entries(n).map(([e,t])=>[e,t.parentNum]));return{parentDeviationRecord:e,registry:p,deviationParentRegistry:v}},[R,C,u,l,h]);return{isGuidelineMode:h,activeProposed:g,activeVariants:m,comparisonRows:x,existingRule:y,proposedSections:R,existingSections:C,visibleFields:O,parentDeviationRecord:j,deviationNumberRegistry:N,deviationParentRegistry:S,parseError:b}};export{l as useCognitiveTreeData};
|
|
2
2
|
//# sourceMappingURL=useCompareData.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useCompareData.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useCompareData.js","sources":["../../../../src/features/CognitiveCompare/hooks/useCompareData.ts"],"sourcesContent":["import { useMemo } from \"react\";\nimport { getSideData, getRationale, hasValue, safeStringify, isMissingStr, DEVIATION_BADGE_SEPARATOR, resolveComparisonInputItems } from \"../CognitiveComparehelpers\";\nimport { ComparisonRow, SectionBlock, ProposedRuleData, RuleData, ComparisonConfig } from \"../CognitiveCompareTypes\";\nimport { buildComparisonRows } from \"../utils/buildComparisonRows\";\n\nconst DEFAULT_RULE_FALLBACK: RuleData = { id: \"\", title: \"\", similarity: 0, sections: [] };\n\nexport const useCognitiveTreeData = (\n treeData: Record<string, any> | undefined,\n maintainRelativeOrder: boolean,\n deviationData: Record<string, any> | null,\n resolvedComparisonConfig: ComparisonConfig,\n enableDeviationSchemaBackwardCompatibility: boolean = true,\n guidelinesData?: Record<string, any> | null\n) => {\n // AdaptTreeData function \n // memoized to increase performance\n // Stabilize the deviationData reference by stringifying it.\n // This prevents React from triggering re-renders purely due to memory reference changes.\n // We keep accepting it as a string so the memo dep stays content-based.\n const deviationDataStr = typeof deviationData === \"string\" ? deviationData : JSON.stringify(deviationData || {});\n\n // ── NEW: Check for either the new learnings_data or the old artifactData ──\n const isGuidelineMode = Boolean(\n guidelinesData && \n (guidelinesData.learnings_data || guidelinesData.data?.artifactData?.userStorySnapshot)\n );\n\n const { activeProposed, activeVariants, comparisonRows, parseError } = useMemo(() => {\n if (!treeData || Object.keys(treeData).length === 0) {\n return {\n activeProposed: {} as ProposedRuleData,\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: \"Tree data is required\",\n };\n }\n const stableDeviationData = JSON.parse(deviationDataStr);\n\n try {\n const nodes = treeData.nodes || treeData;\n let baseSections: any[] = []; \n let refSections: any[] = []; \n let comparisonRows: ComparisonRow[] = [];\n\n const rootId = treeData.base_root_id;\n const indexMap = treeData.input_index_map || { \"0\": \"left\", \"1\": \"right\" };\n const rootNode = treeData[rootId] || nodes[rootId];\n\n if (!rootNode || rootNode.display_node === false) {\n return {\n activeProposed: { title: \"No Data\", sections: [] },\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: null,\n };\n }\n \n const contentMapping = treeData.content_mapping || {};\n const getNode = (nodeId: string) => treeData[nodeId] || nodes[nodeId];\n \n\n const normalizeEvaluationResult = (rawEvaluationResult: any, nodeLeftId: string, nodeRightId: string) => {\n if (!rawEvaluationResult || typeof rawEvaluationResult !== \"object\") {\n return rawEvaluationResult || null;\n }\n\n // Old format already supported by UI.\n if (rawEvaluationResult.deviations) {\n return rawEvaluationResult;\n }\n\n if (enableDeviationSchemaBackwardCompatibility) {\n return rawEvaluationResult;\n }\n\n const numericDeviationKeys = Object.keys(rawEvaluationResult).filter(\n (k) => /^\\d+$/.test(k),\n );\n\n if (!numericDeviationKeys.length) {\n return rawEvaluationResult;\n }\n\n const sortedDeviationKeys = numericDeviationKeys.sort(\n (a, b) => Number(a) - Number(b),\n );\n const normalizedDeviations: Record<string, any> = {};\n const deviationEntries: Record<string, any> = {};\n let firstEntry: any = null;\n\n sortedDeviationKeys.forEach((devKey) => {\n const entry = rawEvaluationResult[devKey];\n if (!entry || typeof entry !== \"object\") return;\n if (!firstEntry) firstEntry = entry;\n\n const shouldShowHighlights =\n !entry?.status || entry.status === \"pending\";\n const deviationHighlight =\n entry?.deviation_highlight ||\n entry?.web_search_answer?.deviation_highlight;\n\n const citationHighlights = (docId: string): string[] => {\n const citations = entry?.cognitive_decisioning?.citations || entry?.citations || {};\n return Object.values(citations)\n .map((citation: any) => citation?.[docId]?.highlighted_text)\n .filter((text: any) => typeof text === \"string\" && text.trim().length > 0);\n };\n\n const firstNonEmpty = (...values: any[]): string[] => {\n for (const value of values) {\n if (Array.isArray(value) && value.some((text) => !isMissingStr(text))) {\n return value;\n }\n }\n return [];\n };\n\n const leftHighlights: string[] = shouldShowHighlights\n ? firstNonEmpty(\n entry?.deviation_highlights?.[nodeLeftId] ||\n entry?.deviation_highlights?.[indexMap[\"0\"] as string],\n typeof deviationHighlight === \"string\"\n ? [deviationHighlight]\n : [],\n citationHighlights(nodeLeftId),\n citationHighlights(indexMap[\"0\"] as string),\n )\n : [];\n\n const rightHighlights: string[] = shouldShowHighlights\n ? firstNonEmpty(\n entry?.deviation_highlights?.[nodeRightId] ||\n entry?.deviation_highlights?.[indexMap[\"1\"] as string],\n citationHighlights(nodeRightId),\n citationHighlights(indexMap[\"1\"] as string),\n )\n : [];\n\n normalizedDeviations[devKey] = {\n [indexMap[\"0\"] as string]: leftHighlights[0] || \"\", \n [indexMap[\"1\"] as string]: rightHighlights[0] || \"\",\n deviation_summary: entry?.deviation_summary || \"\",\n deviation_title: entry?.deviation_title,\n deviation_impact: entry?.deviation_impact,\n deviation_explanation: entry?.deviation_explanation,\n evaluation_outputs: entry?.evaluation_outputs,\n cognitive_decisioning: entry?.cognitive_decisioning,\n deviation_highlights: entry?.deviation_highlights,\n };\n\n deviationEntries[devKey] = entry;\n });\n\n return {\n ...rawEvaluationResult,\n deviation_title: firstEntry?.deviation_title || rawEvaluationResult?.deviation_title,\n deviation_impact: firstEntry?.deviation_impact || rawEvaluationResult?.deviation_impact,\n deviation_summary: firstEntry?.deviation_summary || rawEvaluationResult?.deviation_summary,\n deviation_explanation:\n firstEntry?.deviation_explanation || rawEvaluationResult?.deviation_explanation,\n evaluation_outputs:\n firstEntry?.evaluation_outputs || rawEvaluationResult?.evaluation_outputs,\n cognitive_decisioning:\n firstEntry?.cognitive_decisioning || rawEvaluationResult?.cognitive_decisioning,\n deviations: normalizedDeviations,\n deviation_entries: deviationEntries,\n };\n };\n\n // UNIVERSAL RE-ROUTING ENGINE (WITH SORTING FIX)\n const reRouteRHSTree = (sections: any[]) => {\n const allNodesMap = new Map<string, any>();\n \n const indexNodes = (nodes: any[]) => {\n nodes.forEach(node => {\n if (node.id) allNodesMap.set(node.id, node);\n if (node.subsections?.length) indexNodes(node.subsections);\n });\n };\n indexNodes(sections);\n \n const moveNodes = (nodes: any[], parentNode?: any): any[] => {\n let filteredNodes: any[] = [];\n \n for (const node of nodes) {\n const targetParentId = node.ref_parent_section_node_id;\n \n if (targetParentId && allNodesMap.has(targetParentId) && targetParentId !== parentNode?.id) {\n const targetParent = allNodesMap.get(targetParentId)!;\n if (!targetParent.subsections) targetParent.subsections = [];\n \n if (!targetParent.subsections.some((s: any) => s.id === node.id)) {\n targetParent.subsections.push(node);\n }\n } else {\n if (node.subsections?.length) {\n node.subsections = moveNodes(node.subsections, node);\n }\n filteredNodes.push(node);\n }\n }\n return filteredNodes;\n };\n \n const finalSections = moveNodes(sections);\n\n // Sort step added to ensure display_index is respected after re-routing\n const sortSubsections = (nodes: any[]) => {\n nodes.forEach(node => {\n if (node.subsections && node.subsections.length > 0) {\n node.subsections.sort((a: any, b: any) => {\n if (a.selfIndex < 0 && b.selfIndex >= 0) return 1;\n if (a.selfIndex >= 0 && b.selfIndex < 0) return -1;\n return (a.selfIndex || 0) - (b.selfIndex || 0);\n });\n sortSubsections(node.subsections);\n }\n });\n };\n\n sortSubsections(finalSections);\n return finalSections;\n };\n\n const getNodeInputIds = (node: any) => {\n const nodeInputKeys = node.comparison_inputs ? Object.keys(node.comparison_inputs) : [];\n let nodeLeftId = indexMap[\"0\"];\n let nodeRightId = indexMap[\"1\"];\n\n if (nodeInputKeys.length > 0) {\n nodeLeftId = nodeInputKeys.includes(indexMap[\"0\"]) ? indexMap[\"0\"] : nodeInputKeys[0];\n nodeRightId = nodeInputKeys.includes(indexMap[\"1\"]) ? indexMap[\"1\"] : (nodeInputKeys.length > 1 ? nodeInputKeys[1] : nodeInputKeys[0]);\n }\n\n return { nodeLeftId, nodeRightId };\n };\n\n const getParentContentId = (attrs: any) =>\n attrs?.entity_id ||\n attrs?.ref_parent_section_node_id ||\n attrs?.parent_entity_id ||\n null;\n\n const makeSectionBlock = (\n nodeId: string,\n item: any,\n evaluationResult: any,\n rationale: any,\n ): SectionBlock => {\n const attrs = item.attributes || {};\n const data = item.data || {};\n const displayTitle = attrs.display_title !== false;\n const displayContent = attrs.display_content !== false;\n const title = displayTitle ? safeStringify(data.title || \"\") : \"\";\n const content = displayContent ? safeStringify(data.content || \"\") : \"\";\n const changeHistory = displayContent ? safeStringify(data.change_history || \"\") : \"\";\n const selfIndex =\n attrs.display_index !== undefined && attrs.display_index !== null\n ? Number(attrs.display_index)\n : -1;\n const parentContentId = getParentContentId(attrs);\n const hasData = !!(title.trim() || content.trim());\n\n return {\n id: `${nodeId}::${item.contentId}`,\n nodeId,\n contentId: item.contentId,\n parentContentId,\n title,\n content,\n change_history: changeHistory,\n displayTitle,\n displayContent,\n subsections: [],\n ...(hasData ? rationale : { score: undefined, relation: \"not_defined\" }),\n evaluationResult,\n evaluationResults: evaluationResult ? [evaluationResult] : [],\n selfIndex,\n refIndexes: [],\n refContentIds: [],\n ref_parent_section_node_id: parentContentId,\n } as SectionBlock;\n };\n\n const mergeBlock = (target: any, incoming: any) => {\n target.refIndexes = Array.from(new Set([...(target.refIndexes || []), ...(incoming.refIndexes || [])]));\n target.refContentIds = Array.from(new Set([...(target.refContentIds || []), ...(incoming.refContentIds || [])]));\n\n const existingChildKeys = new Set(\n (target.subsections || []).map((child: any) =>\n child.id || child.contentId || child.nodeId,\n ),\n );\n (incoming.subsections || []).forEach((child: any) => {\n const childKey = child.id || child.contentId || child.nodeId;\n if (!existingChildKeys.has(childKey)) {\n target.subsections = [...(target.subsections || []), child];\n existingChildKeys.add(childKey);\n }\n });\n\n const mergedEvaluationResults = [\n ...(target.evaluationResults || (target.evaluationResult ? [target.evaluationResult] : [])),\n ...(incoming.evaluationResults || (incoming.evaluationResult ? [incoming.evaluationResult] : [])),\n ].filter(Boolean);\n const seenEvaluationResults = new Set<string>();\n target.evaluationResults = mergedEvaluationResults.filter((result: any) => {\n const key = result?.nodeId || JSON.stringify(Object.keys(result?.deviations || result || {}));\n if (seenEvaluationResults.has(key)) return false;\n seenEvaluationResults.add(key);\n return true;\n });\n\n if (!target.evaluationResult && incoming.evaluationResult) target.evaluationResult = incoming.evaluationResult;\n if (!target.cognitiveData && incoming.cognitiveData) target.cognitiveData = incoming.cognitiveData;\n\n return target;\n };\n\n const sortFn = (a: any, b: any) => {\n if (a.selfIndex! < 0 && b.selfIndex! >= 0) return 1;\n if (a.selfIndex! >= 0 && b.selfIndex! < 0) return -1;\n return a.selfIndex! - b.selfIndex!;\n };\n\n const buildSideSections = (nodeId: string, sideIndex: \"0\" | \"1\"): SectionBlock[] => {\n const node = getNode(nodeId);\n if (!node || node.display_node === false) return [];\n \n if (isGuidelineMode && sideIndex === \"1\") return [];\n\n const { nodeLeftId, nodeRightId } = getNodeInputIds(node);\n const rationale = getRationale(node);\n const rawEvaluationResult =\n stableDeviationData?.[nodeId]?.evaluation_result || node.evaluation_result || null;\n const normalizedEvaluationResult = normalizeEvaluationResult(rawEvaluationResult, nodeLeftId, nodeRightId);\n const evaluationResult = normalizedEvaluationResult && typeof normalizedEvaluationResult === \"object\"\n ? { ...normalizedEvaluationResult, nodeId }\n : normalizedEvaluationResult;\n const items = resolveComparisonInputItems(node, sideIndex, indexMap, contentMapping);\n\n const sections = items.map((item) =>\n makeSectionBlock(nodeId, item, evaluationResult, rationale),\n );\n\n if (node.next) {\n const childSections = (Object.values(node.next) as string[]).flatMap((childId) =>\n buildSideSections(childId, sideIndex),\n );\n sections.forEach((section) => {\n const matchedChildren = childSections.filter((child: any) =>\n !child.parentContentId ||\n child.parentContentId === section.contentId ||\n child.parentContentId === section.parentContentId,\n );\n section.subsections = matchedChildren.length ? matchedChildren : childSections;\n });\n }\n\n return sections;\n };\n\n if (!maintainRelativeOrder) {\n if (rootNode.next) {\n (Object.values(rootNode.next) as string[]).forEach((nodeId) => {\n const node = getNode(nodeId);\n if (!node || node.display_node === false) return;\n\n const leftBlocks = buildSideSections(nodeId, \"0\");\n\n if (isGuidelineMode) {\n baseSections.push(...leftBlocks);\n return;\n }\n\n const rightBlocks = reRouteRHSTree(buildSideSections(nodeId, \"1\"));\n comparisonRows.push(\n ...buildComparisonRows(nodeId, leftBlocks, rightBlocks),\n );\n });\n }\n\n if (!isGuidelineMode) {\n baseSections = comparisonRows.map((row) => row.left);\n refSections = comparisonRows.map((row) => row.right);\n }\n\n } else {\n const buildRelativeOrderMapping = (nodeMap?: Record<string, string> | null, depth = 0) => {\n let refSections: SectionBlock[] = [];\n let baseSections: SectionBlock[] = [];\n if (!nodeMap) return { refSections, baseSections };\n \n const rightNodesHash: Record<string, SectionBlock> = {};\n const leftNodesHash: Record<string, SectionBlock> = {};\n let rightNodeOrphanIdx = -1;\n let leftNodeOrphanIdx = -1;\n\n for (const nodeIdx in nodeMap) {\n const nodeId = nodeMap[nodeIdx];\n const node = getNode(nodeId);\n if (!node || node.display_node === false) continue;\n\n const { nodeLeftId, nodeRightId } = getNodeInputIds(node);\n const rationale = getRationale(node);\n const rawEvaluationResult = stableDeviationData?.[nodeId]?.evaluation_result || node.evaluation_result || null;\n const normalizedEvaluationResult = normalizeEvaluationResult(rawEvaluationResult, nodeLeftId, nodeRightId);\n const evaluationResult = normalizedEvaluationResult && typeof normalizedEvaluationResult === \"object\"\n ? { ...normalizedEvaluationResult, nodeId }\n : normalizedEvaluationResult;\n\n const { refSections: refSubSections, baseSections: baseSubSections } = buildRelativeOrderMapping(node.next, depth + 1);\n\n const leftItems = resolveComparisonInputItems(node, \"0\", indexMap, contentMapping);\n const leftBlocks = leftItems.map((item) => {\n const block = makeSectionBlock(nodeId, item, evaluationResult, rationale);\n if (block.selfIndex === -1) block.selfIndex = leftNodeOrphanIdx--;\n return block;\n });\n\n let rightBlocks: any[] = [];\n if (!isGuidelineMode) {\n const rightItems = resolveComparisonInputItems(node, \"1\", indexMap, contentMapping);\n rightBlocks = rightItems.map((item) => {\n const block = makeSectionBlock(nodeId, item, evaluationResult, rationale);\n if (block.selfIndex === -1) block.selfIndex = rightNodeOrphanIdx--;\n return block;\n });\n }\n\n leftBlocks.forEach((leftBlock: any) => {\n rightBlocks.forEach((rightBlock: any) => {\n if (Number(rightBlock.selfIndex) >= 0 && Number(leftBlock.selfIndex) >= 0) {\n if (!rightBlock.refIndexes?.includes(Number(leftBlock.selfIndex))) rightBlock.refIndexes?.push(Number(leftBlock.selfIndex));\n if (!leftBlock.refIndexes?.includes(Number(rightBlock.selfIndex))) leftBlock.refIndexes?.push(Number(rightBlock.selfIndex));\n }\n if (leftBlock.contentId && !rightBlock.refContentIds?.includes(leftBlock.contentId)) rightBlock.refContentIds?.push(leftBlock.contentId);\n if (rightBlock.contentId && !leftBlock.refContentIds?.includes(rightBlock.contentId)) leftBlock.refContentIds?.push(rightBlock.contentId);\n });\n });\n\n rightBlocks.forEach((rightBlock: any) => {\n const matchedSubSections = refSubSections.filter((sub: any) =>\n !sub.parentContentId ||\n sub.parentContentId === rightBlock.contentId ||\n sub.parentContentId === rightBlock.parentContentId ||\n rightBlock.refContentIds?.includes(sub.parentContentId),\n );\n if (matchedSubSections.length > 0) rightBlock.subsections = matchedSubSections;\n\n const rightHashKey = depth === 0\n ? String(rightBlock.selfIndex)\n : `${rightBlock.selfIndex}_${rightBlock.contentId || nodeId}`;\n rightNodesHash[rightHashKey] = rightNodesHash[rightHashKey]\n ? mergeBlock(rightNodesHash[rightHashKey], rightBlock)\n : rightBlock;\n });\n\n leftBlocks.forEach((leftBlock: any) => {\n const matchedSubSections = baseSubSections.filter((sub: any) =>\n !sub.parentContentId ||\n sub.parentContentId === leftBlock.contentId ||\n sub.parentContentId === leftBlock.parentContentId ||\n leftBlock.refContentIds?.includes(sub.parentContentId),\n );\n if (matchedSubSections.length > 0) leftBlock.subsections = matchedSubSections;\n\n const leftHashKey = depth === 0\n ? String(leftBlock.selfIndex)\n : `${leftBlock.selfIndex}_${leftBlock.contentId || nodeId}`;\n leftNodesHash[leftHashKey] = leftNodesHash[leftHashKey]\n ? mergeBlock(leftNodesHash[leftHashKey], leftBlock)\n : leftBlock;\n });\n }\n\n refSections = Object.values(rightNodesHash);\n baseSections = Object.values(leftNodesHash);\n\n refSections.sort(sortFn);\n baseSections.sort(sortFn);\n\n return { refSections, baseSections };\n };\n\n const { refSections: righSections, baseSections: leftSections } = buildRelativeOrderMapping(rootNode.next);\n \n if (!isGuidelineMode) {\n refSections = reRouteRHSTree(righSections);\n }\n baseSections = leftSections;\n }\n\n const rootLeftData = getSideData(rootNode, \"0\", indexMap, contentMapping);\n const rootRightData = getSideData(rootNode, \"1\", indexMap, contentMapping);\n\n const activeProposed: ProposedRuleData = {\n title: rootLeftData.title || \"Uploaded Contract\",\n description: rootNode.decision_scope_description || \"\",\n sections: baseSections,\n };\n\n // ── NEW: Extract the title dynamically based on the new learnings_data structure ──\n const getGuidelineTitle = () => {\n if (guidelinesData?.learnings_data && Object.keys(guidelinesData.learnings_data).length > 0) {\n const firstKey = Object.keys(guidelinesData.learnings_data)[0];\n return guidelinesData.learnings_data[firstKey]?.title || \"Rulebook Guidelines\";\n }\n return guidelinesData?.data?.artifactTitle || \"Rulebook Guidelines\";\n };\n\n const activeVariant: RuleData = {\n id: \"tree-variant-1\",\n title: isGuidelineMode ? getGuidelineTitle() : (rootRightData.title || \"Reference Template\"),\n similarity: 0,\n sections: refSections,\n analysis: { rule_difference_comparison: { summary: { overall_score: 0, overall_summary: rootNode.decision_scope_description || \"\" }, fields: {} } },\n };\n\n return {\n activeProposed,\n activeVariants: [activeVariant],\n comparisonRows,\n parseError: null,\n };\n } catch (err: unknown) {\n console.error(\"Data Transformation Error: \", err);\n return {\n activeProposed: {} as ProposedRuleData,\n activeVariants: [],\n comparisonRows: [] as ComparisonRow[],\n parseError: err instanceof Error ? err.message : \"Unknown Parsing Error\",\n };\n }\n }, [treeData, maintainRelativeOrder, deviationDataStr, enableDeviationSchemaBackwardCompatibility, guidelinesData]);\n\n // 2. Extracted section references\n const existingRule = activeVariants?.[0] || DEFAULT_RULE_FALLBACK;\n \n const proposedSections = useMemo(\n () => (activeProposed?.sections || []) as SectionBlock[],\n [activeProposed?.sections]\n );\n \n const existingSections = useMemo(\n () => (existingRule.sections || []) as SectionBlock[],\n [existingRule.sections]\n );\n\n const hasSectionAccordions =\n proposedSections.length > 0 || existingSections.length > 0;\n\n const visibleFields = useMemo(() => {\n return resolvedComparisonConfig.fields.filter(({ key }) => {\n if (hasSectionAccordions && key === \"description\") return false;\n return hasValue(activeProposed?.[key as keyof ProposedRuleData]) || hasValue(existingRule[key as keyof RuleData]);\n });\n }, [activeProposed, existingRule, hasSectionAccordions, resolvedComparisonConfig.fields]);\n\n // @ts-ignore\n const { parentDeviationRecord, registry: deviationNumberRegistry, deviationParentRegistry } = useMemo(() => {\n const parentDeviationRecord: Record<string, SectionBlock[]> = {};\n const registry: Record<string, { index: number; rootKey: string; parentNum: number }> = {};\n const counters: Record<string, number> = {};\n // Add a fallback id counter to ensure no deviations are left without ID even when backend does not provide any id.\n let fallbackIdCounter = 0;\n const leftDocId = treeData?.input_index_map?.[\"0\"];\n const rightDocId = treeData?.input_index_map?.[\"1\"];\n\n const resolveRootKeyAndParentNum = (\n rootSec: SectionBlock,\n side: \"left\" | \"right\",\n ): { rootKey: string; parentNum: number } => {\n if (!maintainRelativeOrder) {\n const idx = side === \"left\"\n ? proposedSections.indexOf(rootSec)\n : existingSections.indexOf(rootSec);\n return { rootKey: `${side}:${idx}`, parentNum: idx + 1 };\n }\n\n if (side === \"left\") {\n const selfIdx = (rootSec as any).selfIndex;\n const parentNum = selfIdx !== undefined && selfIdx >= 0 \n ? selfIdx + 1 \n : proposedSections.indexOf(rootSec) + 1;\n return { rootKey: `left-root:${rootSec.id}`, parentNum };\n }\n\n const rhsSelfIndex = (rootSec as any).selfIndex;\n const mappedLhs = proposedSections.find(\n (l: any) => l.refIndexes?.includes(rhsSelfIndex),\n );\n\n if (mappedLhs) {\n const lhsSelfIdx = (mappedLhs as any).selfIndex;\n const parentNum = lhsSelfIdx !== undefined && lhsSelfIdx >= 0 \n ? lhsSelfIdx + 1 \n : proposedSections.indexOf(mappedLhs) + 1;\n return { rootKey: `left-root:${mappedLhs.id}`, parentNum };\n }\n\n // True RHS orphan\n const parentNum = rhsSelfIndex !== undefined && rhsSelfIndex >= 0 \n ? rhsSelfIndex + 1 \n : existingSections.indexOf(rootSec) + 1;\n return { rootKey: `right-orphan-root:${rootSec.id}`, parentNum };\n };\n\n const processDeviations = (evalNode: any, rootKey: string, parentNum: number) => {\n const evaluationResults = evalNode?.evaluationResults?.length\n ? evalNode.evaluationResults\n : (evalNode?.evaluationResult ? [evalNode.evaluationResult] : []);\n\n evaluationResults.forEach((evaluationResult: any) => {\n const deviations = evaluationResult?.deviations || {};\n\n Object.keys(deviations).sort().forEach(devKey => {\n const devMap = deviations[devKey];\n if (!devMap) return;\n\n // changed the code because this logic was too strict and missed\n // cases where highlights were present in normalized/citation-backed data.\n const hasLeftHighlight = !isMissingStr(devMap[leftDocId as string]);\n const hasRightHighlight = !isMissingStr(devMap[rightDocId as string]);\n if (hasLeftHighlight || hasRightHighlight) {\n const registryNodeId = evaluationResult?.nodeId || evalNode.nodeId || evalNode.id;\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n if (registry[refId] === undefined) {\n if (counters[rootKey] === undefined) counters[rootKey] = 1;\n registry[refId] = { index: counters[rootKey]++, rootKey, parentNum };\n }\n }\n });\n });\n };\n\n // Resolve the correct child node at each level using id/refIndexes matching\n // rather than blind array-position (`subsections[i]`), so cross-routed\n // subsections are attributed to their actual structural parent.\n const findMatchingChild = (\n children: SectionBlock[] | undefined,\n target: SectionBlock | undefined,\n ): SectionBlock | undefined => {\n if (!children || !target) return undefined;\n return children.find((c: any) =>\n c.id === target.id ||\n (c.nodeId && c.nodeId === (target as any).nodeId) ||\n (c.contentId && c.contentId === (target as any).contentId)\n ) || undefined;\n };\n\n const traverse = (\n leftNode: SectionBlock | undefined | null,\n evalNode: SectionBlock | undefined | null,\n rightNode: SectionBlock | undefined | null,\n rootKey: string,\n parentNum: number,\n isRoot: boolean,\n parentNode: SectionBlock,\n ) => {\n if (evalNode) {\n processDeviations(evalNode, rootKey, parentNum);\n }\n\n if (evalNode && !isRoot) {\n const safeParentId = parentNode?.id || `fallback_parent_${fallbackIdCounter++}`;\n if (!parentDeviationRecord[safeParentId]) {\n parentDeviationRecord[safeParentId] = [];\n }\n parentDeviationRecord[safeParentId].push(evalNode);\n }\n\n const subs = evalNode?.subsections || leftNode?.subsections || rightNode?.subsections || [];\n subs.forEach((childEvalNode: any) => {\n const matchedLeft = findMatchingChild(leftNode?.subsections, childEvalNode);\n const matchedRight = findMatchingChild(rightNode?.subsections, childEvalNode);\n traverse(\n childEvalNode,\n matchedLeft,\n matchedRight,\n rootKey,\n parentNum,\n false,\n evalNode || parentNode,\n );\n });\n };\n\n proposedSections.forEach((rootSec) => {\n const { rootKey, parentNum } = resolveRootKeyAndParentNum(rootSec, \"left\");\n let rightSec = null;\n if (maintainRelativeOrder) {\n const rhsSelfIndex = (rootSec as any).refIndexes?.[0];\n rightSec = existingSections.find(s => (s as any).selfIndex === rhsSelfIndex);\n } else {\n rightSec = existingSections[proposedSections.indexOf(rootSec)];\n }\n traverse(rootSec, rootSec, rightSec, rootKey, parentNum, true, rootSec);\n });\n\n if (!isGuidelineMode) {\n existingSections.forEach((rootSec) => {\n const { rootKey, parentNum } = resolveRootKeyAndParentNum(rootSec, \"right\");\n const isOrphan = rootKey.startsWith(\"right-orphan-root:\");\n\n if (isOrphan) {\n traverse(rootSec, null, rootSec, rootKey, parentNum, true, rootSec);\n }\n });\n }\n\n const deviationNumberRegistry = Object.fromEntries(\n Object.entries(registry).map(([k, v]) => [k, v.index])\n );\n const deviationParentRegistry = Object.fromEntries(\n Object.entries(registry).map(([k, v]) => [k, v.parentNum])\n );\n\n return { parentDeviationRecord, registry: deviationNumberRegistry, deviationParentRegistry };\n\n }, [proposedSections, existingSections, maintainRelativeOrder, treeData, isGuidelineMode]);\n\n return {\n isGuidelineMode, // ── NEW ──\n activeProposed,\n activeVariants,\n comparisonRows,\n existingRule,\n proposedSections,\n existingSections,\n visibleFields,\n parentDeviationRecord,\n deviationNumberRegistry,\n deviationParentRegistry,\n parseError\n };\n};\n"],"names":["DEFAULT_RULE_FALLBACK","id","title","similarity","sections","useCognitiveTreeData","treeData","maintainRelativeOrder","deviationData","resolvedComparisonConfig","enableDeviationSchemaBackwardCompatibility","guidelinesData","deviationDataStr","JSON","stringify","isGuidelineMode","Boolean","learnings_data","data","artifactData","userStorySnapshot","activeProposed","activeVariants","comparisonRows","parseError","useMemo","Object","keys","length","stableDeviationData","parse","nodes","baseSections","refSections","rootId","base_root_id","indexMap","input_index_map","rootNode","display_node","contentMapping","content_mapping","getNode","nodeId","normalizeEvaluationResult","rawEvaluationResult","nodeLeftId","nodeRightId","deviations","numericDeviationKeys","filter","k","test","sortedDeviationKeys","sort","a","b","Number","normalizedDeviations","deviationEntries","firstEntry","forEach","devKey","entry","shouldShowHighlights","status","deviationHighlight","deviation_highlight","web_search_answer","citationHighlights","docId","citations","cognitive_decisioning","values","map","citation","highlighted_text","text","trim","firstNonEmpty","value","Array","isArray","some","isMissingStr","leftHighlights","deviation_highlights","rightHighlights","deviation_summary","deviation_title","deviation_impact","deviation_explanation","evaluation_outputs","deviation_entries","reRouteRHSTree","allNodesMap","Map","indexNodes","node","set","subsections","moveNodes","parentNode","filteredNodes","targetParentId","ref_parent_section_node_id","has","targetParent","get","s","push","finalSections","sortSubsections","selfIndex","getNodeInputIds","nodeInputKeys","comparison_inputs","includes","getParentContentId","attrs","entity_id","parent_entity_id","makeSectionBlock","item","evaluationResult","rationale","attributes","displayTitle","display_title","displayContent","display_content","safeStringify","content","changeHistory","change_history","display_index","parentContentId","hasData","contentId","score","relation","evaluationResults","refIndexes","refContentIds","mergeBlock","target","incoming","from","Set","existingChildKeys","child","childKey","add","mergedEvaluationResults","seenEvaluationResults","result","key","cognitiveData","sortFn","buildSideSections","sideIndex","getRationale","evaluation_result","normalizedEvaluationResult","resolveComparisonInputItems","next","childSections","flatMap","childId","section","matchedChildren","buildRelativeOrderMapping","nodeMap","depth","rightNodesHash","leftNodesHash","rightNodeOrphanIdx","leftNodeOrphanIdx","nodeIdx","refSubSections","baseSubSections","leftBlocks","block","rightBlocks","rightItems","leftBlock","rightBlock","matchedSubSections","sub","rightHashKey","String","leftHashKey","righSections","leftSections","buildComparisonRows","row","left","right","rootLeftData","getSideData","rootRightData","description","decision_scope_description","firstKey","artifactTitle","getGuidelineTitle","analysis","rule_difference_comparison","summary","overall_score","overall_summary","fields","err","console","error","Error","message","existingRule","proposedSections","existingSections","hasSectionAccordions","visibleFields","hasValue","parentDeviationRecord","registry","deviationNumberRegistry","deviationParentRegistry","counters","fallbackIdCounter","leftDocId","rightDocId","resolveRootKeyAndParentNum","rootSec","side","idx","indexOf","rootKey","parentNum","selfIdx","rhsSelfIndex","mappedLhs","find","l","lhsSelfIdx","findMatchingChild","children","c","traverse","leftNode","evalNode","rightNode","isRoot","devMap","hasLeftHighlight","hasRightHighlight","refId","DEVIATION_BADGE_SEPARATOR","index","processDeviations","safeParentId","childEvalNode","matchedLeft","matchedRight","rightSec","startsWith","fromEntries","entries","v"],"mappings":"uSAKA,MAAMA,EAAkC,CAAEC,GAAI,GAAIC,MAAO,GAAIC,WAAY,EAAGC,SAAU,IAEzEC,EAAuB,CAClCC,EACAC,EACAC,EACAC,EACAC,GAAsD,EACtDC,KAOM,MAAAC,EAA4C,iBAAlBJ,EAA6BA,EAAgBK,KAAKC,UAAUN,GAAiB,CAAA,GAGvGO,EAAkBC,QACtBL,IACCA,EAAeM,gBAAkBN,EAAeO,MAAMC,cAAcC,qBAGjEC,eAAEA,EAAgBC,eAAAA,EAAAC,eAAgBA,aAAgBC,GAAeC,EAAQ,KAC7E,IAAKnB,GAA6C,IAAjCoB,OAAOC,KAAKrB,GAAU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C,EAAcjB,EAAkBI,GAAUpJ,YAAagK,GACvDE,EAAelB,EAAkBM,GAAWtJ,YAAagK,GAC/Db,EACEa,EACAC,EACAC,EACA1B,EACAC,GACA,EACAY,GAAYnJ,MAKDoH,EAAA7J,QAAS2K,IACxB,MAAMI,QAAEA,EAASC,UAAAA,GAAcN,EAA2BC,EAAS,QACnE,IAAI+B,EAAW,KACf,GAAIhQ,EAAuB,CACnB,MAAAwO,EAAgBP,EAAgB1F,aAAa,GACnDyH,EAAW5C,EAAiBsB,KAAWpI,GAAAA,EAAUI,YAAc8H,EAAY,MAE3EwB,EAAW5C,EAAiBD,EAAiBiB,QAAQH,IAEvDe,EAASf,EAASA,EAAS+B,EAAU3B,EAASC,GAAW,EAAML,KAG5DzN,GACc4M,EAAA9J,QAAS2K,IACxB,MAAMI,QAAEA,EAASC,UAAAA,GAAcN,EAA2BC,EAAS,SAClDI,EAAQ4B,WAAW,uBAGlCjB,EAASf,EAAS,KAAMA,EAASI,EAASC,GAAW,EAAML,KAKjE,MAAMP,EAA0BvM,OAAO+O,YACrC/O,OAAOgP,QAAQ1C,GAAUtJ,IAAI,EAAEvB,EAAGwN,KAAO,CAACxN,EAAGwN,EAAEV,SAE3C/B,EAA0BxM,OAAO+O,YACrC/O,OAAOgP,QAAQ1C,GAAUtJ,IAAI,EAAEvB,EAAGwN,KAAO,CAACxN,EAAGwN,EAAE9B,aAGjD,MAAO,CAAEd,sBAAAA,EAAuBC,SAAUC,EAAyBC,wBAAAA,IAElE,CAACR,EAAkBC,EAAkBpN,EAAuBD,EAAUS,IAElE,MAAA,CACLA,kBACAM,iBACAC,iBACAC,iBACAkM,eACAC,mBACAC,mBACAE,gBACAE,wBACAE,0BACAC,0BACA1M"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useState as e,useCallback as n,useRef as t,useEffect as o}from"react";import{EMPTY_SECTION_POPUP_STATE as r,EMPTY_SUMMARY_POPUP_STATE as i,POPUP_GAP as c,VIEWPORT_MARGIN as u,ARROW_SIZE as l,POPUP_WIDTH as s}from"../CognitiveCompareConstants.js";const a=a=>{const[p,m]=e(r),[d,h]=e(r),[v,g]=e(i),f=n(()=>{g(i)},[]),[w,P]=e(null),[C,E]=e(null),F=t(null),M=t(null);o(()=>{M.current=null},[p.sectionIdx,p.open]);const x=n(()=>{P(null),m(r),E(null)},[]),A=n(()=>{h(r)},[]),b=n(()=>{if(!p.anchorEl||!p.refSectionTitle)return;const e=p.anchorEl.getBoundingClientRect();if(0===e.width&&0===e.height)return;const n=F?.current?.offsetHeight||0,t=Math.min(s,window.innerWidth-2*u),o=window.innerHeight-e.bottom-c-u,r=e.top-c-u;let i=o<n&&r>o;i=null!==M.current?!0===M.current&&(r>=n||r>=o):!(o>=n||o>=r),M.current=i;const a=i?r:o,m=Math.min(n||9999,a),d=i?e.top-c-m:e.bottom+c,h=e.left+e.width/2,v=h-t/2,g=Math.max(u,Math.min(v,window.innerWidth-t-u)),f=Math.max(l+4,Math.min(h-g,t-l-4));P({top:d,left:g,arrowLeft:f,openAbove:i,maxHeight:a})},[p.anchorEl,p.refSectionTitle]);o(()=>{if(!p.open)return;window.addEventListener("resize",b);let e=requestAnimationFrame(b),n=null;return F.current&&(n=new ResizeObserver(()=>{cancelAnimationFrame(e),e=requestAnimationFrame(b)}),n.observe(F.current)),()=>{cancelAnimationFrame(e),window.removeEventListener("resize",b),n?.disconnect()}},[p.open,b]),o(()=>{const e=a.current;if(!e||!d.open&&!p.open)return;const n=e=>{A(),F.current&&F.current.contains(e.target)||(P(null),x())};return e.addEventListener("scroll",n,{capture:!0}),()=>{e.removeEventListener("scroll",n,{capture:!0})}},[a,d.open,p.open,A,x]);const L=n(e=>{A(),P(null),m(e)},[A]),S=n(()=>{null!==d.sectionIdx&&d.anchorEl?L({...d,open:!0}):A()},[d,A,L]);return{cognitivePopup:p,setCognitivePopup:m,moreFunctions:d,setMoreFunctions:h,summaryPopup:v,setSummaryPopup:g,closeSummaryPopup:f,position:w,setPosition:P,activeBadgeId:C,setActiveBadgeId:E,popupRef:F,closeCognitivePopup:x,closeMoreFunctionsPopup:A,recalcPosition:b,handleOpenCognitiveCompare:S,openCognitivePopupFromState:L}};export{a as useComparePopups};
|
|
2
2
|
//# sourceMappingURL=useComparePopups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useComparePopups.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useComparePopups.js","sources":["../../../../src/features/CognitiveCompare/hooks/useComparePopups.tsx"],"sourcesContent":["import React, { useState, useCallback, useRef, useEffect } from \"react\";\nimport { SectionPopupState, PopupPosition, SummaryPopupState } from \"../CognitiveCompareTypes\";\nimport { EMPTY_SECTION_POPUP_STATE, POPUP_GAP, POPUP_WIDTH, VIEWPORT_MARGIN, ARROW_SIZE, EMPTY_SUMMARY_POPUP_STATE } from \"../CognitiveCompareConstants\";\n\nexport const useComparePopups = (scrollContainerRef: React.RefObject<HTMLDivElement>,) => {\n const [cognitivePopup, setCognitivePopup] = useState<SectionPopupState>(EMPTY_SECTION_POPUP_STATE);\n const [moreFunctions, setMoreFunctions] = useState<SectionPopupState>(EMPTY_SECTION_POPUP_STATE);\n const [summaryPopup, setSummaryPopup] = useState<SummaryPopupState>(EMPTY_SUMMARY_POPUP_STATE);\n const closeSummaryPopup = useCallback(()=>{\n setSummaryPopup(EMPTY_SUMMARY_POPUP_STATE);\n }, []);\n const [position, setPosition] = useState<PopupPosition | null>(null);\n const [activeBadgeId, setActiveBadgeId] = useState<string | null>(null);\n\n const popupRef = useRef<HTMLDivElement>(null);\n const popupDirectionLock = useRef<boolean | null>(null);\n\n useEffect(() => {\n popupDirectionLock.current = null;\n }, [cognitivePopup.sectionIdx, cognitivePopup.open]);\n\n const closeCognitivePopup = useCallback(() => {\n setPosition(null);\n setCognitivePopup(EMPTY_SECTION_POPUP_STATE);\n setActiveBadgeId(null);\n }, []);\n\n const closeMoreFunctionsPopup = useCallback(() => {\n setMoreFunctions(EMPTY_SECTION_POPUP_STATE);\n }, []);\n\n const recalcPosition = useCallback(() => {\n if (!cognitivePopup.anchorEl || !cognitivePopup.refSectionTitle) return;\n\n const badgeRect = cognitivePopup.anchorEl.getBoundingClientRect();\n if (badgeRect.width === 0 && badgeRect.height === 0) return;\n\n const popupH = popupRef?.current?.offsetHeight || 0;\n const popupW = Math.min(POPUP_WIDTH, window.innerWidth - VIEWPORT_MARGIN * 2);\n\n const spaceBelow = window.innerHeight - badgeRect.bottom - POPUP_GAP - VIEWPORT_MARGIN;\n const spaceAbove = badgeRect.top - POPUP_GAP - VIEWPORT_MARGIN;\n\n let openAbove = spaceBelow < popupH && spaceAbove > spaceBelow;\n if (popupDirectionLock.current !== null) {\n openAbove = popupDirectionLock.current === true ? (spaceAbove >= popupH || spaceAbove >= spaceBelow) : false;\n } else {\n openAbove = !(spaceBelow >= popupH || spaceBelow >= spaceAbove);\n }\n\n popupDirectionLock.current = openAbove;\n const dynamicMaxHeight = openAbove ? spaceAbove : spaceBelow;\n const actualPopupH = Math.min(popupH || 9999, dynamicMaxHeight);\n\n const top = openAbove ? badgeRect.top - POPUP_GAP - actualPopupH : badgeRect.bottom + POPUP_GAP;\n const badgeCenterX = badgeRect.left + badgeRect.width / 2;\n const rawLeft = badgeCenterX - popupW / 2;\n const clampedLeft = Math.max(VIEWPORT_MARGIN, Math.min(rawLeft, window.innerWidth - popupW - VIEWPORT_MARGIN));\n const arrowLeft = Math.max(ARROW_SIZE + 4, Math.min(badgeCenterX - clampedLeft, popupW - ARROW_SIZE - 4));\n\n setPosition({ top, left: clampedLeft, arrowLeft, openAbove, maxHeight: dynamicMaxHeight });\n }, [cognitivePopup.anchorEl, cognitivePopup.refSectionTitle]);\n\n useEffect(() => {\n if (!cognitivePopup.open) return;\n window.addEventListener(\"resize\", recalcPosition);\n let raf = requestAnimationFrame(recalcPosition);\n let popupObserver: ResizeObserver | null = null;\n if (popupRef.current) {\n popupObserver = new ResizeObserver(() => {\n cancelAnimationFrame(raf);\n raf = requestAnimationFrame(recalcPosition);\n });\n popupObserver.observe(popupRef.current);\n }\n return () => {\n cancelAnimationFrame(raf);\n window.removeEventListener(\"resize\", recalcPosition);\n popupObserver?.disconnect();\n };\n }, [cognitivePopup.open, recalcPosition]);\n\n useEffect(() => {\n const scrollContainer = scrollContainerRef.current;\n if (!scrollContainer || (!moreFunctions.open && !cognitivePopup.open)) return;\n\n const handleScroll = (e: Event) => {\n closeMoreFunctionsPopup();\n if (popupRef.current && popupRef.current.contains(e.target as Node)) {\n return;\n }\n setPosition(null);\n closeCognitivePopup();\n };\n\n scrollContainer.addEventListener(\"scroll\", handleScroll, { capture: true });\n return () => {\n scrollContainer.removeEventListener(\"scroll\", handleScroll, {\n capture: true,\n });\n };\n }, [\n scrollContainerRef,\n moreFunctions.open,\n cognitivePopup.open,\n closeMoreFunctionsPopup,\n closeCognitivePopup,\n ]);\n\n\n const openCognitivePopupFromState = useCallback(\n (nextPopup: SectionPopupState) => {\n closeMoreFunctionsPopup();\n setPosition(null);\n setCognitivePopup(nextPopup);\n },\n [closeMoreFunctionsPopup],\n );\n\n const handleOpenCognitiveCompare = useCallback(() => {\n if (moreFunctions.sectionIdx === null || !moreFunctions.anchorEl) {\n closeMoreFunctionsPopup();\n return;\n }\n\n openCognitivePopupFromState({\n ...moreFunctions,\n open: true,\n });\n }, [moreFunctions, closeMoreFunctionsPopup, openCognitivePopupFromState]);\n\n return {\n cognitivePopup,\n setCognitivePopup,\n moreFunctions,\n setMoreFunctions,\n summaryPopup,\n setSummaryPopup,\n closeSummaryPopup,\n position,\n setPosition,\n activeBadgeId,\n setActiveBadgeId,\n popupRef,\n closeCognitivePopup,\n closeMoreFunctionsPopup,\n recalcPosition,\n handleOpenCognitiveCompare,\n openCognitivePopupFromState,\n };\n};\n"],"names":["useComparePopups","scrollContainerRef","cognitivePopup","setCognitivePopup","useState","EMPTY_SECTION_POPUP_STATE","moreFunctions","setMoreFunctions","summaryPopup","setSummaryPopup","EMPTY_SUMMARY_POPUP_STATE","closeSummaryPopup","useCallback","position","setPosition","activeBadgeId","setActiveBadgeId","popupRef","useRef","popupDirectionLock","useEffect","current","sectionIdx","open","closeCognitivePopup","closeMoreFunctionsPopup","recalcPosition","anchorEl","refSectionTitle","badgeRect","getBoundingClientRect","width","height","popupH","offsetHeight","popupW","Math","min","POPUP_WIDTH","window","innerWidth","VIEWPORT_MARGIN","spaceBelow","innerHeight","bottom","POPUP_GAP","spaceAbove","top","openAbove","dynamicMaxHeight","actualPopupH","badgeCenterX","left","rawLeft","clampedLeft","max","arrowLeft","ARROW_SIZE","maxHeight","addEventListener","raf","requestAnimationFrame","popupObserver","ResizeObserver","cancelAnimationFrame","observe","removeEventListener","disconnect","scrollContainer","handleScroll","e","contains","target","capture","openCognitivePopupFromState","nextPopup","handleOpenCognitiveCompare"],"mappings":"6PAIa,MAAAA,EAAoBC,IAC/B,MAAOC,EAAgBC,GAAqBC,EAA4BC,IACjEC,EAAeC,GAAoBH,EAA4BC,IAC/DG,EAAcC,GAAmBL,EAA4BM,GAC9DC,EAAoBC,EAAY,KACpCH,EAAgBC,IACf,KACIG,EAAUC,GAAeV,EAA+B,OACxDW,EAAeC,GAAoBZ,EAAwB,MAE5Da,EAAWC,EAAuB,MAClCC,EAAqBD,EAAuB,MAElDE,EAAU,KACRD,EAAmBE,QAAU,MAC5B,CAACnB,EAAeoB,WAAYpB,EAAeqB,OAExC,MAAAC,EAAsBZ,EAAY,KACtCE,EAAY,MACZX,EAAkBE,GAClBW,EAAiB,OAChB,IAEGS,EAA0Bb,EAAY,KAC1CL,EAAiBF,IAChB,IAEGqB,EAAiBd,EAAY,KACjC,IAAKV,EAAeyB,WAAazB,EAAe0B,gBAAiB,OAE3D,MAAAC,EAAY3B,EAAeyB,SAASG,wBAC1C,GAAwB,IAApBD,EAAUE,OAAoC,IAArBF,EAAUG,OAAc,OAE/C,MAAAC,EAAShB,GAAUI,SAASa,cAAgB,EAC5CC,EAASC,KA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C,IAAqB9D,EAAciB,OAASrB,EAAeqB,KAAO,OAEjE,MAAA8C,EAAgBC,IACI7C,IACpBR,EAASI,SAAWJ,EAASI,QAAQkD,SAASD,EAAEE,UAGpD1D,EAAY,MACQU,MAItB,OADA4C,EAAgBT,iBAAiB,SAAUU,EAAc,CAAEI,SAAS,IAC7D,KACWL,EAAAF,oBAAoB,SAAUG,EAAc,CAC1DI,SAAS,MAGZ,CACDxE,EACAK,EAAciB,KACdrB,EAAeqB,KACfE,EACAD,IAIF,MAAMkD,EAA8B9D,EAC/B+D,IACyBlD,IACxBX,EAAY,MACZX,EAAkBwE,IAEpB,CAAClD,IAGCmD,EAA6BhE,EAAY,KACV,OAA7BN,EAAcgB,YAAwBhB,EAAcqB,SAK5B+C,EAAA,IACvBpE,EACHiB,MAAM,IANkBE,KAQzB,CAACnB,EAAemB,EAAyBiD,IAEvC,MAAA,CACLxE,iBACAC,oBACAG,gBACAC,mBACAC,eACAC,kBACAE,oBACAE,WACAC,cACAC,gBACAC,mBACAC,WACAO,sBACAC,0BACAC,iBACAkD,6BACAF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{useState as e,useRef as t,useEffect as o,useCallback as n}from"react";import{smoothScrollTo as i,debounce as r,DEVIATION_BADGE_SEPARATOR as l}from"../CognitiveComparehelpers.js";const s=({proposedSections:s,existingSections:c,parentDeviationRecord:u,expandedSections:d,maintainRelativeOrder:f,scrollContainerRef:h,leftContainerRef:a,rightContainerRef:v,lhsBadgeRefs:g,rhsBadgeRefs:w})=>{const[R,p]=e({}),B=t();o(()=>{if(!h.current)return;const e=f?a.current:h.current;if(!e)return;let t=null;const o=setTimeout(()=>{const o=(e,t)=>{const o=e.getBoundingClientRect(),n=t.getBoundingClientRect();return o.bottom<n.top?"above":o.top>n.bottom?"below":"inside"};t=r(()=>{p(t=>{const n={...t};return s.forEach((t,i)=>{const r=f?!!d[`left-${i}`]:!!d[String(i)];let s=!1,c=!1,h=null,a=null,v=null,w=null;r&&t?.id&&(u[t.id]||[]).forEach(n=>{const i=`${n.id}${l}0`,r=g.current[i];if(!r?.current)return;const u=o(r.current,e);v||(v=r,w=u),"above"===u?(s=!0,h=r):"below"!==u||c?B.current===t.id&&(B.current=""):(c=!0,a=r)}),t.id&&(n[t.id]={showAbove:s,showBelow:c,showAboveRef:h,showBelowRef:a,firstDeviationRef:v,firstDeviationPosition:w,columnKey:"left"})}),f||c.forEach((t,i)=>{const r=!!d[String(i)];let s=!1,c=!1,f=null,h=null,a=null,v=null;r&&t?.id&&(u[t.id]||[]).forEach(i=>{const r=!i.refIndexes?.length||void 0!==i.selfIndex&&i.selfIndex<0,u=`${i.id}${l}0`,d=w.current[u];if(!d?.current||!r||!t?.id)return;const g=o(d.current,e);if(a||(a=d,v=g),"above"===g){const e=n[t.id]?.showAboveRef?.current;(!e||e.getBoundingClientRect().top<d.current.getBoundingClientRect().top)&&(s=!0,f=d)}else if("below"!==g||c)B.current===t.id&&(B.current="");else{const e=n[t.id]?.showBelowRef?.current;(!e||e.getBoundingClientRect().top>d.current.getBoundingClientRect().top)&&(c=!0,h=d)}}),t.id&&r&&(s&&(n[t.id]=n[t.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},n[t.id].showAbove=s,n[t.id].showAboveRef=f,n[t.id].firstDeviationRef=a,n[t.id].firstDeviationPosition=v,n[t.id].columnKey="right"),c&&(n[t.id]=n[t.id]||{showAbove:!1,showAboveRef:null,showBelow:!1,showBelowRef:null,firstDeviationRef:null,firstDeviationPosition:null,columnKey:"right"},n[t.id].showBelow=c,n[t.id].showBelowRef=h,n[t.id].firstDeviationRef=a,n[t.id].firstDeviationPosition=v,n[t.id].columnKey="right"))}),n})},100),t(),e?.addEventListener("scroll",t)},0);return()=>{clearTimeout(o),t&&e.removeEventListener("scroll",t)}},[s,c,u,d,f,h,a,g,w]);const b=n((e,t,o)=>{if(o?.skipScroll)return void t();if(!e)return void t();let n=h.current;if(f&&(a.current?.contains(e)?n=a.current:v.current?.contains(e)&&(n=v.current)),!n)return void t();const r=e.getBoundingClientRect(),l=n.getBoundingClientRect(),s=l.bottom-.35*l.height,c=l.top+.35*l.height;if(r.top>s||r.top<c){const e=l.top+l.height/2,o=r.top+r.height/2-e,n=250;if(f){const e=a.current,r=v.current;e&&r?(i(r,r.scrollTop+o,n),i(e,e.scrollTop+o,n,t)):e?i(e,e.scrollTop+o,n,t):r?i(r,r.scrollTop+o,n,t):t()}else h.current?i(h.current,h.current.scrollTop+o,n,t):t()}else t()},[f]);return{showDeviationNavigation:R,showOpenNodeRef:B,adjustScrollForPopup:b}};export{s as useDeviationNavigation};
|
|
2
2
|
//# sourceMappingURL=useDeviationNavigation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeviationNavigation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useDeviationNavigation.js","sources":["../../../../src/features/CognitiveCompare/hooks/useDeviationNavigation.ts"],"sourcesContent":["import React, { useCallback, useEffect, useRef, useState } from \"react\";\nimport { DEVIATION_BADGE_SEPARATOR, debounce, smoothScrollTo } from \"../CognitiveComparehelpers\";\nimport { SectionBlock } from \"../CognitiveCompareTypes\";\n\nexport type DeviationNavigationEntry = {\n showAbove: boolean;\n showAboveRef: React.RefObject<HTMLDivElement> | null;\n showBelow: boolean;\n showBelowRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationRef: React.RefObject<HTMLDivElement> | null;\n firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null;\n columnKey: \"left\" | \"right\";\n};\n\ntype UseDeviationNavigationParams = {\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n parentDeviationRecord: Record<string, SectionBlock[]>;\n expandedSections: Record<string, boolean>;\n maintainRelativeOrder: boolean;\n scrollContainerRef: React.RefObject<HTMLDivElement>;\n leftContainerRef: React.RefObject<HTMLDivElement>;\n rightContainerRef: React.RefObject<HTMLDivElement>;\n lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n};\n\nexport const useDeviationNavigation = ({\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n rightContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n}: UseDeviationNavigationParams) => {\n const [showDeviationNavigation, setShowDeviationNavigation] = useState<\n Record<string, DeviationNavigationEntry>\n >({});\n const showOpenNodeRef = useRef<string | undefined>();\n\n useEffect(() => {\n if (!scrollContainerRef.current) return;\n\n const scrollElement = maintainRelativeOrder\n ? leftContainerRef.current\n : scrollContainerRef.current;\n if (!scrollElement) return;\n\n let debouncedHandleScroll: (() => void) | null = null;\n const timer = setTimeout(() => {\n const getPositionInContainer = (\n element: HTMLElement,\n container: HTMLElement,\n ) => {\n const rect = element.getBoundingClientRect();\n const parentRect = container.getBoundingClientRect();\n if (rect.bottom < parentRect.top) return \"above\";\n if (rect.top > parentRect.bottom) return \"below\";\n return \"inside\";\n };\n\n const handleScroll = () => {\n setShowDeviationNavigation((prev) => {\n const next = { ...prev };\n\n proposedSections.forEach((section, idx) => {\n const isExpanded = maintainRelativeOrder\n ? !!expandedSections[`left-${idx}`]\n : !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = lhsBadgeRefs.current[refId];\n if (!ref?.current) return;\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n showAbove = true;\n showAboveRef = ref;\n } else if (pos === \"below\" && !showBelow) {\n showBelow = true;\n showBelowRef = ref;\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id) {\n next[section.id] = {\n showAbove,\n showBelow,\n showAboveRef,\n showBelowRef,\n firstDeviationRef,\n firstDeviationPosition,\n columnKey: \"left\",\n };\n }\n });\n\n if (maintainRelativeOrder) {\n return next;\n }\n\n existingSections.forEach((section, idx) => {\n const isExpanded = !!expandedSections[String(idx)];\n let showAbove = false;\n let showBelow = false;\n let showAboveRef: React.RefObject<HTMLDivElement> | null = null;\n let showBelowRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationRef: React.RefObject<HTMLDivElement> | null = null;\n let firstDeviationPosition: \"above\" | \"below\" | \"inside\" | null = null;\n\n if (isExpanded && section?.id) {\n (parentDeviationRecord[section.id] || []).forEach((child) => {\n const isChildOrphan =\n !child.refIndexes?.length ||\n (child.selfIndex !== undefined && child.selfIndex < 0);\n const refId = `${child.id}${DEVIATION_BADGE_SEPARATOR}0`;\n const ref = rhsBadgeRefs.current[refId];\n if (\n !ref?.current ||\n !isChildOrphan ||\n !section?.id\n ) {\n return;\n }\n\n const pos = getPositionInContainer(ref.current, scrollElement);\n if (!firstDeviationRef) {\n firstDeviationRef = ref;\n firstDeviationPosition = pos;\n }\n if (pos === \"above\") {\n const currentAboveRef = next[section.id]?.showAboveRef?.current;\n if (\n !currentAboveRef ||\n currentAboveRef.getBoundingClientRect().top <\n ref.current.getBoundingClientRect().top\n ) {\n showAbove = true;\n showAboveRef = ref;\n }\n } else if (pos === \"below\" && !showBelow) {\n const currentBelowRef = next[section.id]?.showBelowRef?.current;\n if (\n !currentBelowRef ||\n currentBelowRef.getBoundingClientRect().top >\n ref.current.getBoundingClientRect().top\n ) {\n showBelow = true;\n showBelowRef = ref;\n }\n } else if (showOpenNodeRef.current === section.id) {\n showOpenNodeRef.current = \"\";\n }\n });\n }\n\n if (section.id && isExpanded) {\n if (showAbove) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showAbove = showAbove;\n next[section.id].showAboveRef = showAboveRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n if (showBelow) {\n next[section.id] = next[section.id] || {\n showAbove: false,\n showAboveRef: null,\n showBelow: false,\n showBelowRef: null,\n firstDeviationRef: null,\n firstDeviationPosition: null,\n columnKey: \"right\",\n };\n next[section.id].showBelow = showBelow;\n next[section.id].showBelowRef = showBelowRef;\n next[section.id].firstDeviationRef = firstDeviationRef;\n next[section.id].firstDeviationPosition = firstDeviationPosition;\n next[section.id].columnKey = \"right\";\n }\n }\n });\n\n return next;\n });\n };\n\n debouncedHandleScroll = debounce(handleScroll, 100);\n debouncedHandleScroll();\n scrollElement?.addEventListener(\"scroll\", debouncedHandleScroll);\n }, 0);\n\n return () => {\n clearTimeout(timer);\n if (debouncedHandleScroll) {\n scrollElement.removeEventListener(\"scroll\", debouncedHandleScroll);\n }\n };\n }, [\n proposedSections,\n existingSections,\n parentDeviationRecord,\n expandedSections,\n maintainRelativeOrder,\n scrollContainerRef,\n leftContainerRef,\n lhsBadgeRefs,\n rhsBadgeRefs,\n ]);\n\n // Centralized scroll adjuster for popups\n const adjustScrollForPopup = useCallback((\n anchorEl: HTMLElement | null,\n onComplete: () => void,\n options?: { skipScroll?: boolean },\n ) => {\n if (options?.skipScroll) {\n onComplete();\n return;\n }\n if (!anchorEl) {\n onComplete();\n return;\n }\n // 1. Determine the primary container to measure the boundary threshold against\n let primaryContainer: HTMLElement | null = scrollContainerRef.current;\n if (maintainRelativeOrder) {\n if (leftContainerRef.current?.contains(anchorEl)) {\n primaryContainer = leftContainerRef.current;\n } else if (rightContainerRef.current?.contains(anchorEl)) {\n primaryContainer = rightContainerRef.current;\n }\n }\n\n if (!primaryContainer) {\n onComplete();\n return;\n }\n\n const rect = anchorEl.getBoundingClientRect();\n const containerRect = primaryContainer.getBoundingClientRect();\n const bottomThreshold = containerRect.bottom - (containerRect.height * 0.35);\n const topThreshold = containerRect.top + (containerRect.height * 0.35);\n\n if (rect.top > bottomThreshold || rect.top < topThreshold) {\n const targetViewY = containerRect.top + (containerRect.height / 2);\n const currentViewY = rect.top + (rect.height / 2);\n const scrollOffset = currentViewY - targetViewY;\n const ANIM_SPEED = 250;\n\n if (maintainRelativeOrder) {\n const leftC = leftContainerRef.current;\n const rightC = rightContainerRef.current;\n \n // Smoothly scroll both columns, but only attach the onComplete \n // callback to one of them so the popup doesn't open twice.\n if (leftC && rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED);\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (leftC) {\n smoothScrollTo(leftC, leftC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else if (rightC) {\n smoothScrollTo(rightC, rightC.scrollTop + scrollOffset, ANIM_SPEED, onComplete);\n } else {\n onComplete();\n }\n } else {\n if (scrollContainerRef.current) {\n smoothScrollTo(\n scrollContainerRef.current, \n scrollContainerRef.current.scrollTop + scrollOffset, \n ANIM_SPEED, \n onComplete\n );\n } else {\n onComplete();\n }\n }\n } else {\n // If no scrolling is needed, execute the callback immediately\n onComplete();\n }\n }, [maintainRelativeOrder]);\n\n return {\n showDeviationNavigation,\n showOpenNodeRef,\n adjustScrollForPopup,\n };\n};\n"],"names":["useDeviationNavigation","proposedSections","existingSections","parentDeviationRecord","expandedSections","maintainRelativeOrder","scrollContainerRef","leftContainerRef","rightContainerRef","lhsBadgeRefs","rhsBadgeRefs","showDeviationNavigation","setShowDeviationNavigation","useState","showOpenNodeRef","useRef","useEffect","current","scrollElement","debouncedHandleScroll","timer","setTimeout","getPositionInContainer","element","container","rect","getBoundingClientRect","parentRect","bottom","top","debounce","prev","next","forEach","section","idx","isExpanded","String","showAbove","showBelow","showAboveRef","showBelowRef","firstDeviationRef","firstDeviationPosition","id","child","refId","DEVIATION_BADGE_SEPARATOR","ref","pos","columnKey","isChildOrphan","refIndexes","length","selfIndex","currentAboveRef","currentBelowRef","addEventListener","clearTimeout","removeEventListener","adjustScrollForPopup","useCallback","anchorEl","onComplete","options","skipScroll","primaryContainer","contains","containerRect","bottomThreshold","height","topThreshold","targetViewY","scrollOffset","ANIM_SPEED","leftC","rightC","smoothScrollTo","scrollTop"],"mappings":"yLA2BO,MAAMA,EAAyB,EACpCC,mBACAC,mBACAC,wBACAC,mBACAC,wBACAC,qBACAC,mBACAC,oBACAC,eACAC,mBAEA,MAAOC,EAAyBC,GAA8BC,EAE5D,CAAE,GACEC,EAAkBC,IAExBC,EAAU,KACJ,IAACV,EAAmBW,QAAS,OAEjC,MAAMC,EAAgBb,EAClBE,EAAiBU,QACjBX,EAAmBW,QACvB,IAAKC,EAAe,OAEpB,IAAIC,EAA6C,KAC3C,MAAAC,EAAQC,WAAW,KACjB,MAAAC,EAAyB,CAC7BC,EACAC,KAEM,MAAAC,EAAOF,EAAQG,wBACfC,EAAaH,EAAUE,wBAC7B,OAAID,EAAKG,OAASD,EAAWE,IAAY,QACrCJ,EAAKI,IAAMF,EAAWC,OAAe,QAClC,UAwJeT,EAAAW,EArJH,KACnBlB,EAA4BmB,IACpB,MAAAC,EAAO,IAAKD,GAgDlB,OA9CiB9B,EAAAgC,QAAQ,CAACC,EAASC,KACjC,MAAMC,EAAa/B,IACbD,EAAiB,QAAQ+B,OACzB/B,EAAiBiC,OAAOF,IAC9B,IAAIG,GAAY,EACZC,GAAY,EACZC,EAAuD,KACvDC,EAAuD,KACvDC,EAA4D,KAC5DC,EAA8D,KAE9DP,GAAcF,GAASU,KACxBzC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