@e-llm-studio/citation 0.0.249 → 0.0.250
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/BookemonStyles.js +2 -0
- package/dist/cjs/features/Bookemon/BookemonStyles.js.map +1 -0
- 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/lib/ui/icons.js +2 -0
- package/dist/cjs/lib/ui/icons.js.map +1 -0
- package/dist/cjs/lib/ui/materialCompat.js +2 -0
- package/dist/cjs/lib/ui/materialCompat.js.map +1 -0
- 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/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/BookemonStyles.js +2 -0
- package/dist/features/Bookemon/BookemonStyles.js.map +1 -0
- 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/lib/ui/icons.js +2 -0
- package/dist/lib/ui/icons.js.map +1 -0
- package/dist/lib/ui/materialCompat.js +2 -0
- package/dist/lib/ui/materialCompat.js.map +1 -0
- 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/BookemonStyles.d.ts +6 -0
- package/dist/types/features/Bookemon/BookemonStyles.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 +11 -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/lib/ui/icons.d.ts +46 -0
- package/dist/types/lib/ui/icons.d.ts.map +1 -0
- package/dist/types/lib/ui/materialCompat.d.ts +117 -0
- package/dist/types/lib/ui/materialCompat.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/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/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,2 +1,2 @@
|
|
|
1
|
-
import{useState as t,useRef as e,useCallback as n,useEffect as i}from"react";import{DEVIATION_BADGE_SEPARATOR as r}from"../CognitiveComparehelpers.js";var c=function(c){var o=c.containerRef,l=c.leftContainerRef,u=c.rightContainerRef;c.svgContainerRef;var a=c.pathRefs,d=c.leftHeaderRef,s=c.rightHeaderRef,v=c.proposedSections,h=c.existingSections,g=c.visibleFields,f=c.leftRefs,p=c.rightRefs,b=c.sectionLeftRefs,y=c.sectionRightRefs,x=c.subSectionLeftRefs,m=c.subSectionRightRefs,R=c.lhsBadgeRefs,C=c.rhsBadgeRefs,A=c.sectionRowRefs,B=c.expandedSections,S=c.expandedSubSections,M=c.connectedSections,I=c.isSideBySide,T=c.activeSideBySideSection,L=c.maintainRelativeOrder,F=c.isGuidelineMode,H=c.cognitiveMap,w=c.getSectionCompareStyle,k=c.getSubSectionCompareStyle,E=c.getDeviationStyleByKey,N=c.isArrowVisible,Y=c.isAnimatingRef,D=c.isSideBySideRef,j=c.sideBySideCacheRef,O=c.sideBySideLineRef,z=c.activeSideBySideSectionRef,P=c.activeSideBySideRightSectionRef,Q=c.connectedLines,X=c.setConnectedLines,q=c.cachedConnectedPositions,G=c.calculateLinesRef,K=c.resizeTimerRef,V=c.scrollLock,J=c.scrollSyncLocked,U=c.handleResizeRef,W=c.activeProposed,Z=c.existingRule,$=c.analysisData,_=c.pendingScrollTargetRef,tt=c.pendingScrollCallbackRef,et=c.resolvedComparisonConfig,nt=c.getFieldData,it=t([]),rt=it[0],ct=it[1],ot=t(null),lt=ot[0],ut=ot[1],at=t([]),dt=at[0],st=at[1],vt=null!=Q?Q:dt,ht=null!=X?X:st,gt=t({width:0,height:0}),ft=gt[0],pt=gt[1],bt=e(!1),yt=e(!1),xt=e(!1),mt=e(null),Rt=e([]),Ct=null!=q?q:Rt,At=function(t,e,n,i,r,c,o){if(Math.abs(i-e)<=1)return c&&o?"M ".concat(t,",").concat(e," L ").concat(n,",").concat(i):c&&!o?"M ".concat(t,",").concat(e," L ").concat(r,",").concat(e):!c&&o?"M ".concat(r,",").concat(e," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i);var l=Math.min(15,Math.abs(r-t),Math.abs(i-e)/2),u=Math.min(15,Math.abs(n-r),Math.abs(i-e)/2),a=i>e?l:-l,d=i>e?u:-u,s=n>r?u:-u;return c&&o?"M ".concat(t,",").concat(e," L ").concat(r-l,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):c&&!o?"M ".concat(t,",").concat(e," L ").concat(r-l,",").concat(e," Q ").concat(r,",").concat(e," ").concat(r,",").concat(e+a," L ").concat(r,",").concat(i):!c&&o?"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i-d," Q ").concat(r,",").concat(i," ").concat(r+s,",").concat(i," L ").concat(n,",").concat(i):"M ".concat(r,",").concat(e," L ").concat(r,",").concat(i)},Bt=n(function(){var t,e,n,i,c,a,A,N,D,j,O,z,P,Q,X,q,G,K;if(!bt.current&&!Y.current){bt.current=!0;try{if(!o.current)return;var V=function(t){var e=t.split("-"),n=e[0];if(!B[n]&&!1===L)return!1;if(L&&!B["left-".concat(n)]&&!B["right-".concat(n)]&&!B[n])return!1;for(var i=n,r=1;r<e.length-1;r++)if(i+="-".concat(e[r]),!S[i])return!1;return!0},J=o.current.getBoundingClientRect();pt({width:J.width,height:J.height});var U=[];if(g.forEach(function(t){var e,n,i=t.key,r=null===(e=f.current[i])||void 0===e?void 0:e.current,c=null===(n=p.current[i])||void 0===n?void 0:n.current;r&&c&&(r.style.height="auto",c.style.height="auto",r.style.minHeight="0px",c.style.minHeight="0px")}),!Y.current){for(var W=0;W<Math.max(v.length,h.length);W++){var Z=null===(t=b.current[W])||void 0===t?void 0:t.current,$=null===(e=y.current[W])||void 0===e?void 0:e.current;Z&&(Z.style.height="auto",Z.style.minHeight="0px"),$&&($.style.height="auto",$.style.minHeight="0px")}L||Object.keys(x.current).forEach(function(t){var e,n;if(V(t)){var i=null===(e=x.current[t])||void 0===e?void 0:e.current,r=null===(n=m.current[t])||void 0===n?void 0:n.current;i&&r&&(i.style.height="auto",r.style.height="auto",i.style.minHeight="0px",r.style.minHeight="0px")}})}var _={};g.forEach(function(t){var e,n,i=t.key,r=null===(e=f.current[i])||void 0===e?void 0:e.current,c=null===(n=p.current[i])||void 0===n?void 0:n.current;if(r&&c){var o=r.getBoundingClientRect(),l=c.getBoundingClientRect();_[i]=Math.max(o.height,l.height)}});var tt={left:{},right:{}},et={};if(!Y.current)if(L){if(I&&null!==T)if("number"==typeof T){var nt=T,it=v[nt],rt=null===(c=b.current[nt])||void 0===c?void 0:c.current;rt&&it&&(it.refIndexes||[]).forEach(function(t){var e,n=h.findIndex(function(e){return e.selfIndex===t}),i=null===(e=y.current[n])||void 0===e?void 0:e.current;if(i&&(B["left-".concat(nt)]||B["right-".concat(n)])){var r=Math.max(rt.getBoundingClientRect().height,i.getBoundingClientRect().height);tt.left[nt]=Math.max(tt.left[nt]||0,r),tt.right[n]=Math.max(tt.right[n]||0,r)}})}else{var ot=T.split(r)[2];if(ot){Z=null===(a=x.current[ot])||void 0===a?void 0:a.current,$=null===(A=m.current[ot])||void 0===A?void 0:A.current;if(Z&&$){lt=Math.max(Z.getBoundingClientRect().height,$.getBoundingClientRect().height);et[ot]=Math.max(et[ot]||0,lt)}}}}else{Object.keys(x.current).forEach(function(t){var e,n;if(V(t)){var i=null===(e=x.current[t])||void 0===e?void 0:e.current,r=null===(n=m.current[t])||void 0===n?void 0:n.current;if(i&&r&&null!==i.offsetParent&&null!==r.offsetParent){var c=i.getBoundingClientRect(),o=r.getBoundingClientRect(),l=Math.max(c.height,o.height);et[t]=l,i.style.minHeight="".concat(l,"px"),r.style.minHeight="".concat(l,"px")}}});for(W=0;W<Math.min(v.length,h.length);W++){var Z=null===(n=b.current[W])||void 0===n?void 0:n.current,$=null===(i=y.current[W])||void 0===i?void 0:i.current;if(Z&&$){var lt=Math.max(Z.getBoundingClientRect().height,$.getBoundingClientRect().height);tt.left[W]=lt,tt.right[W]=lt}}}if(g.forEach(function(t){var e,n,i=t.key,r=null===(e=f.current[i])||void 0===e?void 0:e.current,c=null===(n=p.current[i])||void 0===n?void 0:n.current;if(r&&c){var o=_[i];r.style.minHeight="".concat(o,"px"),c.style.minHeight="".concat(o,"px")}}),Y.current||(Object.entries(tt.left).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=b.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),Object.entries(tt.right).forEach(function(t){var e,n=t[0],i=t[1],r=null===(e=y.current[Number(n)])||void 0===e?void 0:e.current;r&&(r.style.minHeight="".concat(i,"px"))}),L||Object.keys(et).forEach(function(t){var e,n,i=null===(e=x.current[t])||void 0===e?void 0:e.current,r=null===(n=m.current[t])||void 0===n?void 0:n.current;if(i&&r&&et[t]){var c=et[t];i.style.minHeight="".concat(c,"px"),r.style.minHeight="".concat(c,"px")}})),!F){v.forEach(function(t,e){var n,i=t.continuationSourceRowId?v.findIndex(function(e){return e.comparisonRowId===t.continuationSourceRowId}):-1,r=i>=0?i:e,c=null===(n=b.current[r])||void 0===n?void 0:n.current;if(c){var o=function(t,e){if(!L)return h[e]?[e]:[];var n=(t.refIndexes||[]).map(function(t){return h.findIndex(function(e){return e.selfIndex===t})}).filter(function(t){return-1!==t});return!n.length&&h[e]?[e]:Array.from(new Set(n))}(t,e);o.forEach(function(t){var n,o,a,d,s,g,f,p,b,x,m,R,C=null===(n=y.current[t])||void 0===n?void 0:n.current;if(C){var A=c.getBoundingClientRect(),B=C.getBoundingClientRect(),S=A.right-J.left,M=B.left-J.left,F=A.top+18-J.top,k=B.top+18-J.top;if(L&&I&&T===e){var E=null!==(a=null===(o=l.current)||void 0===o?void 0:o.getBoundingClientRect().top)&&void 0!==a?a:0,N=null!==(s=null===(d=u.current)||void 0===d?void 0:d.getBoundingClientRect().top)&&void 0!==s?s:0,Y=E+(null!==(f=null===(g=l.current)||void 0===g?void 0:g.clientHeight)&&void 0!==f?f:1/0),D=N+(null!==(b=null===(p=u.current)||void 0===p?void 0:p.clientHeight)&&void 0!==b?b:1/0),j=function(t,e,n){return Math.max(e,Math.min(n,t))};F=j(A.top+18,E,Y)-J.top,k=j(B.top+18,N,D)-J.top}var O=w(r);O&&U.push({id:"line-".concat(r,"-").concat(t),x1:S,y1:F,x2:M,y2:k,style:O,sectionIdx:r,targetRightIdx:t,isSubSection:!1,isMappingContinuation:i>=0,hasCognitive:!!((null===(x=v[r])||void 0===x?void 0:x.cognitiveData)||(null===(m=h[t])||void 0===m?void 0:m.cognitiveData)||(null===(R=v[r])||void 0===R?void 0:R.nodeId)&&H[v[r].nodeId])})}})}})}if(!F&&I&&"string"==typeof T&&T.includes(r)){var at=T.split(r),dt=at[0],st=at[1],vt=at[2],gt=(at[3],"".concat(dt).concat(r).concat(st)),ft=null===(N=R.current[gt])||void 0===N?void 0:N.current,yt=null===(D=C.current[gt])||void 0===D?void 0:D.current;if(ft&&yt){var xt=ft.getBoundingClientRect(),mt=yt.getBoundingClientRect(),Rt=xt.right-J.left,Bt=mt.left-J.left,Mt=xt.top+xt.height/2-J.top,It=mt.top+mt.height/2-J.top;if(L){var Tt=null!==(O=null===(j=l.current)||void 0===j?void 0:j.getBoundingClientRect().top)&&void 0!==O?O:0,Lt=null!==(P=null===(z=u.current)||void 0===z?void 0:z.getBoundingClientRect().top)&&void 0!==P?P:0,Ft=Tt+(null!==(X=null===(Q=l.current)||void 0===Q?void 0:Q.clientHeight)&&void 0!==X?X:1/0),Ht=Lt+(null!==(G=null===(q=u.current)||void 0===q?void 0:q.clientHeight)&&void 0!==G?G:1/0),wt=function(t,e,n){return Math.max(e,Math.min(n,t))};Mt=wt(xt.top+xt.height/2,Tt,Ft)-J.top,It=wt(mt.top+mt.height/2,Lt,Ht)-J.top}var kt=null!==(K=E(dt,st))&&void 0!==K?K:k(vt);kt&&U.push({id:"line-subsec-".concat(gt),x1:Rt,y1:Mt,x2:Bt,y2:It,style:kt,sectionIdx:Number(vt.split("-")[0]),isSubSection:!0,subSectionKeyPath:T})}}if(ct(U),d.current&&s.current){var Et=d.current.getBoundingClientRect(),Nt=s.current.getBoundingClientRect(),Yt=(Et.top+Et.height/2-J.top+Nt.top+Nt.height/2-J.top)/2;ut({x1:Et.right-J.left,x2:Nt.left-J.left,y:Yt})}else ut(null);if(M.size>0){var Dt=[],jt=l.current,Ot=u.current;if(jt&&Ot){var zt=[],Pt=jt.getBoundingClientRect().top,Qt=Ot.getBoundingClientRect().top,Xt=Pt+jt.clientHeight,qt=Qt+Ot.clientHeight,Gt=jt.scrollTop,Kt=Ot.scrollTop,Vt=J.top,Jt=function(t,e,n){return Math.max(e,Math.min(n,t))};M.forEach(function(t){var e,n,i,c,o,l,u,a,d;if(F){var s=null,g=null,f=null;if("string"==typeof t&&t.includes(r)){var p=t.split(r),b=p[0],y=p[1],x=p[2],m="".concat(b).concat(r).concat(y);s=null===(e=R.current[m])||void 0===e?void 0:e.current,f=null!==(n=E(b,y))&&void 0!==n?n:k(x),g=Number((null==x?void 0:x.split("-")[0])||0)}else g=Number(t),s=null===(i=R.current[g])||void 0===i?void 0:i.current,f=w(g);if(!s)return;var A=document.querySelectorAll('[id^="guideline-target-"]');A.forEach(function(e,n){var i=s.getBoundingClientRect(),c=e.getBoundingClientRect(),o=i.right-J.left,l=c.left-J.left-0,u=o+75,a=i.top+i.height/2,d=c.top+c.height/2,v=a-Pt+Gt,h=d-Qt+Kt,g="conn-guide-".concat(t,"-").concat(n),p="";"string"==typeof t&&t.includes(r)?p=(t.split(r)[2]||"").split("-").map(function(t){return Number(t)+1}).join("."):p=String(Number(t)+1);var b=String.fromCharCode(97+n),y=1===A.length?null:"".concat(p,"(").concat(b,")");zt.push({lhsScrollY:v,rhsScrollY:h,x1:o,x2:l,containerTop:Vt,leftIdx:t,rhsArrayIdx:n,styleColor:(null==f?void 0:f.badgeBorder)||"#6366F1",styleBg:(null==f?void 0:f.badgeBg)||"#FFFFFF",styleText:(null==f?void 0:f.badgeText)||"#A16207",styleId:g,centerX:u});var x=Jt(a,Pt,Xt),m=Jt(d,Qt,qt),R=x-Vt,C=m-Vt,B=At(o,R,l,C,u,a>=Pt-4&&a<=Xt+4,d>=Qt-4&&d<=qt+4);Dt.push({id:g,pathD:B,style:f,leftIdx:t,rhsArrayIdx:n,x1:o,x2:l,y1:R,y2:C,centerX:u,matchLabel:y,isGuideline:!0})})}else if("string"==typeof t&&t.includes(r)){var B=t.split(r),S=(b=B[0],y=B[1],x=B[2],B[3],m="".concat(b).concat(r).concat(y),null===(c=R.current[m])||void 0===c?void 0:c.current),M=null===(o=C.current[m])||void 0===o?void 0:o.current;if(!S||!M)return;var I=S.getBoundingClientRect(),T=M.getBoundingClientRect(),H=null!==(l=E(b,y))&&void 0!==l?l:k(x),N=I.right-J.left,Y=T.left-J.left-0,D=N+75,j=I.top+I.height/2,O=T.top+T.height/2,z=j-Pt+Gt,P=O-Qt+Kt,Q="conn-subsec-".concat(m),X=((x||"").split("-").map(function(t){return Number(t)+1}).join("."),null);zt.push({lhsScrollY:z,rhsScrollY:P,x1:N,x2:Y,containerTop:Vt,leftIdx:t,rhsArrayIdx:t,styleColor:(null==H?void 0:H.badgeBorder)||"#6366F1",styleBg:(null==H?void 0:H.badgeBg)||"#FFFFFF",styleText:(null==H?void 0:H.badgeText)||"#A16207",styleId:Q,centerX:D});var q=Jt(j,Pt,Xt),G=Jt(O,Qt,qt),K=At(N,$=q-Vt,Y,_=G-Vt,D,j>=Pt-4&&j<=Xt+4,O>=Qt-4&&O<=qt+4);Dt.push({id:Q,pathD:K,style:H,leftIdx:t,rhsArrayIdx:t,x1:N,x2:Y,y1:$,y2:_,matchLabel:X})}else if(L){var V=t,U=v[V];if(!(null===(d=null==U?void 0:U.refIndexes)||void 0===d?void 0:d.length))return;U.refIndexes.forEach(function(e,n){var i,r,c=h.findIndex(function(t){return t.selfIndex===e});if(-1!==c){var o=null===(i=R.current[V])||void 0===i?void 0:i.current,l=null===(r=C.current[c])||void 0===r?void 0:r.current;if(o&&l){var u=o.getBoundingClientRect(),a=l.getBoundingClientRect(),d=w(V),s=u.right-J.left,v=a.left-J.left-0,g=s+75,f=u.top+u.height/2,p=a.top+a.height/2,b=f-Pt+Gt,y=p-Qt+Kt,x="conn-".concat(V,"-").concat(c),m=String(Number(t)+1),A=String.fromCharCode(97+n),B=1===U.refIndexes.length?null:"".concat(m,"(").concat(A,")");zt.push({lhsScrollY:b,rhsScrollY:y,x1:s,x2:v,containerTop:Vt,leftIdx:V,rhsArrayIdx:c,styleColor:(null==d?void 0:d.badgeBorder)||"#6366F1",styleBg:(null==d?void 0:d.badgeBg)||"#FFFFFF",styleText:(null==d?void 0:d.badgeText)||"#A16207",styleId:x,centerX:g});var S=Jt(f,Pt,Xt),M=Jt(p,Qt,qt),I=S-Vt,T=M-Vt,L=At(s,I,v,T,g,f>=Pt-4&&f<=Xt+4,p>=Qt-4&&p<=qt+4);Dt.push({id:x,pathD:L,style:d,leftIdx:V,rhsArrayIdx:c,x1:s,x2:v,y1:I,y2:T,matchLabel:B})}}})}else{var W=t,Z=W;S=null===(u=R.current[W])||void 0===u?void 0:u.current,M=null===(a=C.current[Z])||void 0===a?void 0:a.current;if(!S||!M)return;I=S.getBoundingClientRect(),T=M.getBoundingClientRect(),H=w(W),N=I.right-J.left,Y=T.left-J.left-0,D=N+75,j=I.top+I.height/2,O=T.top+T.height/2,z=j-Pt+Gt,P=O-Qt+Kt,Q="conn-".concat(W,"-").concat(Z),String(Number(t)+1),X=null;zt.push({lhsScrollY:z,rhsScrollY:P,x1:N,x2:Y,containerTop:Vt,leftIdx:W,rhsArrayIdx:Z,styleColor:(null==H?void 0:H.badgeBorder)||"#6366F1",styleBg:(null==H?void 0:H.badgeBg)||"#FFFFFF",styleText:(null==H?void 0:H.badgeText)||"#A16207",styleId:Q,centerX:D});var $,_;q=Jt(j,Pt,Xt),G=Jt(O,Qt,qt),K=At(N,$=q-Vt,Y,_=G-Vt,D,j>=Pt-4&&j<=Xt+4,O>=Qt-4&&O<=qt+4);Dt.push({id:Q,pathD:K,style:H,leftIdx:W,rhsArrayIdx:Z,x1:N,x2:Y,y1:$,y2:_,matchLabel:X})}}),Ct.current=zt}ht(Dt),setTimeout(function(){return St()},10)}else ht([]),Ct.current=[],setTimeout(function(){return St()},10)}catch(t){console.error("Line render safe fail: ",t)}finally{bt.current=!1}}},[g,v,h,H,et,nt,w,E,L,I,T,M,B,S,F]),St=n(function(){var t,e,n,i,r,c,d,s,v,h,g,f,p,b,y,x,m,R,C,A=Ct.current;if(!A.length)return null===(t=a.current["guideline-up-stroke"])||void 0===t||t.setAttribute("visibility","hidden"),null===(e=a.current["guideline-up-badge"])||void 0===e||e.setAttribute("visibility","hidden"),null===(n=a.current["guideline-down-stroke"])||void 0===n||n.setAttribute("visibility","hidden"),void(null===(i=a.current["guideline-down-badge"])||void 0===i||i.setAttribute("visibility","hidden"));if(!Y.current){var B=null!==(c=null===(r=l.current)||void 0===r?void 0:r.scrollTop)&&void 0!==c?c:0,S=null!==(s=null===(d=u.current)||void 0===d?void 0:d.scrollTop)&&void 0!==s?s:0,M=null!==(h=null===(v=l.current)||void 0===v?void 0:v.clientHeight)&&void 0!==h?h:1/0,I=null!==(f=null===(g=u.current)||void 0===g?void 0:g.clientHeight)&&void 0!==f?f:1/0,T=null!==(b=null===(p=l.current)||void 0===p?void 0:p.getBoundingClientRect().top)&&void 0!==b?b:0,L=null!==(x=null===(y=u.current)||void 0===y?void 0:y.getBoundingClientRect().top)&&void 0!==x?x:0,F=T+M,H=L+I,w=null===(m=o.current)||void 0===m?void 0:m.getBoundingClientRect(),k=null!==(R=null==w?void 0:w.top)&&void 0!==R?R:0,E=null!==(C=null==w?void 0:w.height)&&void 0!==C?C:1/0,N=function(t,e,n){return Math.max(e,Math.min(n,t))},D=0,j=0,O=0,z=0,P="#6366F1",Q="#A16207",X=!1,q=0;if(A.forEach(function(t){var e=t.lhsScrollY-B+T,n=t.rhsScrollY-S+L,i=a.current[t.styleId+"-stroke"],r=a.current[t.styleId+"-bg"],c=a.current[t.styleId+"-btn"],o=a.current[t.styleId+"-number"];if(i||r){var l=N(e,T,F),u=N(n,L,H),d=l-k,s=u-k,v=e>=T-4&&e<=F+4,h=n>=L-4&&n<=H+4,g=!0;X=!0;var f=t.centerX||t.x1+75;0===O&&(O=t.x1,z=d,q=f,P=t.styleColor,t.styleBg,Q=t.styleText||"#A16207"),n<L-4?(D++,g=!1):n>H+4&&(j++,g=!1);var p=At(t.x1,d,t.x2,s,q,v,h);i&&(g&&p?(i.setAttribute("visibility","visible"),i.setAttribute("d",p)):i.setAttribute("visibility","hidden")),r&&(g&&p?(r.setAttribute("visibility","visible"),r.setAttribute("d",p)):r.setAttribute("visibility","hidden")),c&&(v&&g?(c.setAttribute("visibility","visible"),c.setAttribute("y",String(d-12))):c.setAttribute("visibility","hidden")),o&&(v&&g?(o.setAttribute("visibility","visible"),o.setAttribute("transform","translate(".concat(t.x2-42,", ").concat(s,")"))):o.setAttribute("visibility","hidden"))}}),X&&q>0){var G=a.current["guideline-up-stroke"],K=a.current["guideline-up-badge"],V=a.current["guideline-up-arrow"],J=a.current["guideline-up-text"],U=a.current["guideline-up-badge-rect"];if(D>0){var W=Math.max(15,L-k+15),Z=Math.min(15,Math.abs(q-O),Math.max(0,z-W)),$="M ".concat(O,",").concat(z," L ").concat(q-Z,",").concat(z," Q ").concat(q,",").concat(z," ").concat(q,",").concat(z-Z," L ").concat(q,",").concat(W);null==G||G.setAttribute("visibility","visible"),null==G||G.setAttribute("d",$),null==G||G.setAttribute("stroke",P),null==K||K.setAttribute("visibility","visible"),null==K||K.setAttribute("transform","translate(".concat(q,", ").concat(W,")")),V&&V.setAttribute("fill",P),J&&(J.textContent="+".concat(D),J.setAttribute("fill",Q)),U&&U.setAttribute("stroke",P)}else null==G||G.setAttribute("visibility","hidden"),null==K||K.setAttribute("visibility","hidden");var _=a.current["guideline-down-stroke"],tt=a.current["guideline-down-badge"],et=a.current["guideline-down-arrow"],nt=a.current["guideline-down-text"],it=a.current["guideline-down-badge-rect"];if(j>0){var rt=Math.min(E-15,H-k-15);Z=Math.min(15,Math.abs(q-O),Math.max(0,rt-z)),$="M ".concat(O,",").concat(z," L ").concat(q-Z,",").concat(z," Q ").concat(q,",").concat(z," ").concat(q,",").concat(z+Z," L ").concat(q,",").concat(rt);null==_||_.setAttribute("visibility","visible"),null==_||_.setAttribute("d",$),null==_||_.setAttribute("stroke",P),null==tt||tt.setAttribute("visibility","visible"),null==tt||tt.setAttribute("transform","translate(".concat(q,", ").concat(rt,")")),et&&et.setAttribute("fill",P),nt&&(nt.textContent="+".concat(j),nt.setAttribute("fill",Q)),it&&it.setAttribute("stroke",P)}else null==_||_.setAttribute("visibility","hidden"),null==tt||tt.setAttribute("visibility","hidden")}}},[]),Mt=n(function(){Ct.current.length>0&&!Y.current||(null!==mt.current&&clearTimeout(mt.current),mt.current=setTimeout(function(){G.current(),mt.current=null},50))},[]),It=n(function(t){if(null!==_.current&&tt.current&&Math.abs(t.currentTarget.scrollTop-_.current)<=2){var e=tt.current;_.current=null,tt.current=null,e()}if(!xt.current&&!V.current){if(L&&J&&(D.current||M.size>0)){var n=t.currentTarget,i=l.current,c=u.current,a=n===i?c:n===c?i:null;if(n&&a){var d=function(){var t,e,n,i,c,o,l,u,a,d,s,v=z.current,h=P.current;if(null===v)return{leftAnchor:null,rightAnchor:null};if("string"==typeof v&&v.includes(r)){var g=v.split(r),f="".concat(g[0]).concat(r).concat(g[1]);return{leftAnchor:(null===(t=R.current[f])||void 0===t?void 0:t.current)||(null===(e=x.current[g[2]])||void 0===e?void 0:e.current)||(null===(n=b.current[Number(g[2])])||void 0===n?void 0:n.current)||null,rightAnchor:(null===(i=C.current[f])||void 0===i?void 0:i.current)||(null===(c=m.current[g[3]])||void 0===c?void 0:c.current)||(null===(o=y.current[Number(g[3])])||void 0===o?void 0:o.current)||null}}var p=Number(v),B=null!==h?Number(h):p;return{leftAnchor:(null===(l=R.current[p])||void 0===l?void 0:l.current)||(null===(u=A.current[p])||void 0===u?void 0:u.current)||(null===(a=b.current[p])||void 0===a?void 0:a.current)||null,rightAnchor:(null===(d=C.current[B])||void 0===d?void 0:d.current)||(null===(s=y.current[B])||void 0===s?void 0:s.current)||null}}(),s=d.leftAnchor,v=d.rightAnchor,h=n===i?s:v,g=n===i?v:s,f=null;if(h&&g){var p=h.getBoundingClientRect(),B=g.getBoundingClientRect(),S=a.getBoundingClientRect(),I=p.top+p.height/2;f=B.top-S.top+a.scrollTop+B.height/2-(I-S.top)}else{var T=Math.max(0,n.scrollHeight-n.clientHeight),F=Math.max(0,a.scrollHeight-a.clientHeight);f=T>0?n.scrollTop/T*F:n.scrollTop}var H=Math.max(0,a.scrollHeight-a.clientHeight);f=Math.max(0,Math.min(f,H)),Math.abs(a.scrollTop-f)>1&&(xt.current=!0,a.scrollTop=f,requestAnimationFrame(function(){xt.current=!1}))}}L||Mt(),yt.current||(yt.current=!0,requestAnimationFrame(function(){var t,e,n,i,c,a,d;if(D.current){var s=l.current,v=u.current;if(s&&v&&O.current){if(!j.current){var h=z.current,g=void 0;if("string"==typeof h&&h.includes(r)){var f=h.split(r),p="".concat(f[0]).concat(r).concat(f[1]);g=null===(t=R.current[p])||void 0===t?void 0:t.current}else g=null===(e=R.current[h])||void 0===e?void 0:e.current;if(g){var b=g.getBoundingClientRect();j.current={badgeScreenY:b.top+b.height/2,initialScrollTop:s.scrollTop,leftTop:s.getBoundingClientRect().top,leftBottom:s.getBoundingClientRect().top+s.clientHeight,cTop:null!==(i=null===(n=o.current)||void 0===n?void 0:n.getBoundingClientRect().top)&&void 0!==i?i:0}}}if(j.current){var y=j.current,x=s.scrollTop-y.initialScrollTop,m=y.badgeScreenY-x,C=((c=m,a=y.leftTop,d=y.leftBottom,Math.max(a,Math.min(d,c)))-y.cTop).toString(),A=m>=y.leftTop-4&&m<=y.leftBottom+4;O.current.setAttribute("y1",C),O.current.setAttribute("y2",C),O.current.setAttribute("visibility",A?"visible":"hidden")}}}St(),yt.current=!1}))}},[St,L,J,M,Mt]);return i(function(){G.current=Bt},[Bt]),i(function(){var t=setTimeout(Mt,250),e=function(){return U.current()};return window.addEventListener("resize",e),function(){clearTimeout(t),null!==mt.current&&clearTimeout(mt.current),null!==K.current&&clearTimeout(K.current),window.removeEventListener("resize",e)}},[W,Z,$,g,B,S,v,h,et,Mt,I,T,N,M]),{lines:rt,setLines:ct,overallConnector:lt,setOverallConnector:ut,connectedLines:vt,setConnectedLines:ht,svgDimensions:ft,cachedConnectedPositions:Ct,calculateLines:Bt,calculateLinesRef:G,calculateLinesDebounced:Mt,handleColumnScroll:It}};export{c as useLinesCalculator};
|
|
1
|
+
import{useState as t,useRef as e,useCallback as n,useEffect as r}from"react";import{DEVIATION_BADGE_SEPARATOR as i}from"../CognitiveComparehelpers.js";const c=({containerRef:c,leftContainerRef:l,rightContainerRef:o,svgContainerRef:u,pathRefs:s,leftHeaderRef:h,rightHeaderRef:g,proposedSections:d,existingSections:a,visibleFields:f,leftRefs:p,rightRefs:b,sectionLeftRefs:y,sectionRightRefs:$,subSectionLeftRefs:x,subSectionRightRefs:m,lhsBadgeRefs:R,rhsBadgeRefs:C,sectionRowRefs:A,expandedSections:B,expandedSubSections:S,connectedSections:M,isSideBySide:v,activeSideBySideSection:I,maintainRelativeOrder:T,isGuidelineMode:L,cognitiveMap:F,getSectionCompareStyle:H,getSubSectionCompareStyle:w,getDeviationStyleByKey:k,isArrowVisible:E,isAnimatingRef:N,isSideBySideRef:Y,sideBySideCacheRef:D,sideBySideLineRef:j,activeSideBySideSectionRef:O,activeSideBySideRightSectionRef:z,connectedLines:P,setConnectedLines:Q,cachedConnectedPositions:X,calculateLinesRef:q,resizeTimerRef:G,scrollLock:K,scrollSyncLocked:V,handleResizeRef:J,activeProposed:U,existingRule:W,analysisData:Z,pendingScrollTargetRef:_,pendingScrollCallbackRef:tt,resolvedComparisonConfig:et,getFieldData:nt})=>{const[rt,it]=t([]),[ct,lt]=t(null),[ot,ut]=t([]),st=P??ot,ht=Q??ut,[gt,dt]=t({width:0,height:0}),at=e(!1),ft=e(!1),pt=e(!1),bt=e(null),yt=e([]),$t=X??yt,xt=(t,e,n,r,i,c,l)=>{if(Math.abs(r-e)<=1)return c&&l?`M ${t},${e} L ${n},${r}`:c&&!l?`M ${t},${e} L ${i},${e}`:!c&&l?`M ${i},${e} L ${n},${r}`:`M ${i},${e} L ${i},${r}`;const o=Math.min(15,Math.abs(i-t),Math.abs(r-e)/2),u=Math.min(15,Math.abs(n-i),Math.abs(r-e)/2),s=r>e?o:-o,h=r>e?u:-u,g=n>i?u:-u;return c&&l?`M ${t},${e} L ${i-o},${e} Q ${i},${e} ${i},${e+s} L ${i},${r-h} Q ${i},${r} ${i+g},${r} L ${n},${r}`:c&&!l?`M ${t},${e} L ${i-o},${e} Q ${i},${e} ${i},${e+s} L ${i},${r}`:!c&&l?`M ${i},${e} L ${i},${r-h} Q ${i},${r} ${i+g},${r} L ${n},${r}`:`M ${i},${e} L ${i},${r}`},mt=n(()=>{if(!at.current&&!N.current){at.current=!0;try{if(!c.current)return;const t=t=>{const e=t.split("-"),n=e[0];if(!B[n]&&!1===T)return!1;if(T&&!B[`left-${n}`]&&!B[`right-${n}`]&&!B[n])return!1;let r=n;for(let t=1;t<e.length-1;t++)if(r+=`-${e[t]}`,!S[r])return!1;return!0},e=c.current.getBoundingClientRect();dt({width:e.width,height:e.height});const n=[];if(f.forEach(({key:t})=>{const e=p.current[t]?.current,n=b.current[t]?.current;e&&n&&(e.style.height="auto",n.style.height="auto",e.style.minHeight="0px",n.style.minHeight="0px")}),!N.current){for(let t=0;t<Math.max(d.length,a.length);t++){const e=y.current[t]?.current,n=$.current[t]?.current;e&&(e.style.height="auto",e.style.minHeight="0px"),n&&(n.style.height="auto",n.style.minHeight="0px")}T||Object.keys(x.current).forEach(e=>{if(!t(e))return;const n=x.current[e]?.current,r=m.current[e]?.current;n&&r&&(n.style.height="auto",r.style.height="auto",n.style.minHeight="0px",r.style.minHeight="0px")})}const r={};f.forEach(({key:t})=>{const e=p.current[t]?.current,n=b.current[t]?.current;if(e&&n){const i=e.getBoundingClientRect(),c=n.getBoundingClientRect();r[t]=Math.max(i.height,c.height)}});const u={left:{},right:{}},s={};if(!N.current)if(T){if(v&&null!==I)if("number"==typeof I){const t=I,e=d[t],n=y.current[t]?.current;n&&e&&(e.refIndexes||[]).forEach(e=>{const r=a.findIndex(t=>t.selfIndex===e),i=$.current[r]?.current;if(i&&(B[`left-${t}`]||B[`right-${r}`])){const e=Math.max(n.getBoundingClientRect().height,i.getBoundingClientRect().height);u.left[t]=Math.max(u.left[t]||0,e),u.right[r]=Math.max(u.right[r]||0,e)}})}else{const t=I.split(i)[2];if(t){const e=x.current[t]?.current,n=m.current[t]?.current;if(e&&n){const r=Math.max(e.getBoundingClientRect().height,n.getBoundingClientRect().height);s[t]=Math.max(s[t]||0,r)}}}}else{Object.keys(x.current).forEach(e=>{if(!t(e))return;const n=x.current[e]?.current,r=m.current[e]?.current;if(n&&r&&null!==n.offsetParent&&null!==r.offsetParent){const t=n.getBoundingClientRect(),i=r.getBoundingClientRect(),c=Math.max(t.height,i.height);s[e]=c,n.style.minHeight=`${c}px`,r.style.minHeight=`${c}px`}});for(let t=0;t<Math.min(d.length,a.length);t++){const e=y.current[t]?.current,n=$.current[t]?.current;if(e&&n){const r=Math.max(e.getBoundingClientRect().height,n.getBoundingClientRect().height);u.left[t]=r,u.right[t]=r}}}if(f.forEach(({key:t})=>{const e=p.current[t]?.current,n=b.current[t]?.current;if(e&&n){const i=r[t];e.style.minHeight=`${i}px`,n.style.minHeight=`${i}px`}}),N.current||(Object.entries(u.left).forEach(([t,e])=>{const n=y.current[Number(t)]?.current;n&&(n.style.minHeight=`${e}px`)}),Object.entries(u.right).forEach(([t,e])=>{const n=$.current[Number(t)]?.current;n&&(n.style.minHeight=`${e}px`)}),T||Object.keys(s).forEach(t=>{const e=x.current[t]?.current,n=m.current[t]?.current;if(e&&n&&s[t]){const r=s[t];e.style.minHeight=`${r}px`,n.style.minHeight=`${r}px`}})),!L){const t=(t,e)=>{if(!T)return a[e]?[e]:[];const n=(t.refIndexes||[]).map(t=>a.findIndex(e=>e.selfIndex===t)).filter(t=>-1!==t);return!n.length&&a[e]?[e]:Array.from(new Set(n))};d.forEach((r,i)=>{const c=r.continuationSourceRowId?d.findIndex(t=>t.comparisonRowId===r.continuationSourceRowId):-1,u=c>=0?c:i,s=y.current[u]?.current;if(!s)return;t(r,i).forEach(t=>{const r=$.current[t]?.current;if(!r)return;const h=s.getBoundingClientRect(),g=r.getBoundingClientRect(),f=h.right-e.left,p=g.left-e.left;let b=h.top+18-e.top,y=g.top+18-e.top;if(T&&v&&I===i){const t=l.current?.getBoundingClientRect().top??0,n=o.current?.getBoundingClientRect().top??0,r=t+(l.current?.clientHeight??1/0),i=n+(o.current?.clientHeight??1/0),c=(t,e,n)=>Math.max(e,Math.min(n,t));b=c(h.top+18,t,r)-e.top,y=c(g.top+18,n,i)-e.top}const x=H(u);x&&n.push({id:`line-${u}-${t}`,x1:f,y1:b,x2:p,y2:y,style:x,sectionIdx:u,targetRightIdx:t,isSubSection:!1,isMappingContinuation:c>=0,hasCognitive:!!(d[u]?.cognitiveData||a[t]?.cognitiveData||d[u]?.nodeId&&F[d[u].nodeId])})})})}if(!L&&v&&"string"==typeof I&&I.includes(i)){const[t,r,c,u]=I.split(i),s=`${t}${i}${r}`,h=R.current[s]?.current,g=C.current[s]?.current;if(h&&g){const i=h.getBoundingClientRect(),u=g.getBoundingClientRect(),d=i.right-e.left,a=u.left-e.left;let f=i.top+i.height/2-e.top,p=u.top+u.height/2-e.top;if(T){const t=l.current?.getBoundingClientRect().top??0,n=o.current?.getBoundingClientRect().top??0,r=t+(l.current?.clientHeight??1/0),c=n+(o.current?.clientHeight??1/0),s=(t,e,n)=>Math.max(e,Math.min(n,t));f=s(i.top+i.height/2,t,r)-e.top,p=s(u.top+u.height/2,n,c)-e.top}const b=k(t,r)??w(c);b&&n.push({id:`line-subsec-${s}`,x1:d,y1:f,x2:a,y2:p,style:b,sectionIdx:Number(c.split("-")[0]),isSubSection:!0,subSectionKeyPath:I})}}if(it(n),h.current&&g.current){const t=h.current.getBoundingClientRect(),n=g.current.getBoundingClientRect(),r=(t.top+t.height/2-e.top+n.top+n.height/2-e.top)/2;lt({x1:t.right-e.left,x2:n.left-e.left,y:r})}else lt(null);if(M.size>0){const t=[],n=l.current,r=o.current;if(n&&r){const c=[],l=n.getBoundingClientRect().top,o=r.getBoundingClientRect().top,u=l+n.clientHeight,s=o+r.clientHeight,h=n.scrollTop,g=r.scrollTop,f=e.top,p=(t,e,n)=>Math.max(e,Math.min(n,t));M.forEach(n=>{if(L){let r=null,d=null,a=null;if("string"==typeof n&&n.includes(i)){const[t,e,c]=n.split(i),l=`${t}${i}${e}`;r=R.current[l]?.current,a=k(t,e)??w(c),d=Number(c?.split("-")[0]||0)}else d=Number(n),r=R.current[d]?.current,a=H(d);if(!r)return;const b=document.querySelectorAll('[id^="guideline-target-"]');b.forEach((d,y)=>{const $=r.getBoundingClientRect(),x=d.getBoundingClientRect(),m=$.right-e.left,R=x.left-e.left-0,C=m+75,A=$.top+$.height/2,B=x.top+x.height/2,S=A-l+h,M=B-o+g,v=`conn-guide-${n}-${y}`;let I="";if("string"==typeof n&&n.includes(i)){I=(n.split(i)[2]||"").split("-").map(t=>Number(t)+1).join(".")}else I=String(Number(n)+1);const T=String.fromCharCode(97+y),L=1===b.length?null:`${I}(${T})`;c.push({lhsScrollY:S,rhsScrollY:M,x1:m,x2:R,containerTop:f,leftIdx:n,rhsArrayIdx:y,styleColor:a?.badgeBorder||"#6366F1",styleBg:a?.badgeBg||"#FFFFFF",styleText:a?.badgeText||"#A16207",styleId:v,centerX:C});const F=p(A,l,u),H=p(B,o,s),w=F-f,k=H-f,E=xt(m,w,R,k,C,A>=l-4&&A<=u+4,B>=o-4&&B<=s+4);t.push({id:v,pathD:E,style:a,leftIdx:n,rhsArrayIdx:y,x1:m,x2:R,y1:w,y2:k,centerX:C,matchLabel:L,isGuideline:!0})})}else if("string"==typeof n&&n.includes(i)){const[r,d,a,b]=n.split(i),y=`${r}${i}${d}`,$=R.current[y]?.current,x=C.current[y]?.current;if(!$||!x)return;const m=$.getBoundingClientRect(),A=x.getBoundingClientRect(),B=k(r,d)??w(a),S=m.right-e.left,M=A.left-e.left-0,v=S+75,I=m.top+m.height/2,T=A.top+A.height/2,L=I-l+h,F=T-o+g,H=`conn-subsec-${y}`,E=((a||"").split("-").map(t=>Number(t)+1).join("."),null);c.push({lhsScrollY:L,rhsScrollY:F,x1:S,x2:M,containerTop:f,leftIdx:n,rhsArrayIdx:n,styleColor:B?.badgeBorder||"#6366F1",styleBg:B?.badgeBg||"#FFFFFF",styleText:B?.badgeText||"#A16207",styleId:H,centerX:v});const N=p(I,l,u),Y=p(T,o,s),D=N-f,j=Y-f,O=xt(S,D,M,j,v,I>=l-4&&I<=u+4,T>=o-4&&T<=s+4);t.push({id:H,pathD:O,style:B,leftIdx:n,rhsArrayIdx:n,x1:S,x2:M,y1:D,y2:j,matchLabel:E})}else if(T){const r=n,i=d[r];if(!i?.refIndexes?.length)return;i.refIndexes.forEach((d,b)=>{const y=a.findIndex(t=>t.selfIndex===d);if(-1===y)return;const $=R.current[r]?.current,x=C.current[y]?.current;if(!$||!x)return;const m=$.getBoundingClientRect(),A=x.getBoundingClientRect(),B=H(r),S=m.right-e.left,M=A.left-e.left-0,v=S+75,I=m.top+m.height/2,T=A.top+A.height/2,L=I-l+h,F=T-o+g,w=`conn-${r}-${y}`,k=String(Number(n)+1),E=String.fromCharCode(97+b),N=1===i.refIndexes.length?null:`${k}(${E})`;c.push({lhsScrollY:L,rhsScrollY:F,x1:S,x2:M,containerTop:f,leftIdx:r,rhsArrayIdx:y,styleColor:B?.badgeBorder||"#6366F1",styleBg:B?.badgeBg||"#FFFFFF",styleText:B?.badgeText||"#A16207",styleId:w,centerX:v});const Y=p(I,l,u),D=p(T,o,s),j=Y-f,O=D-f,z=xt(S,j,M,O,v,I>=l-4&&I<=u+4,T>=o-4&&T<=s+4);t.push({id:w,pathD:z,style:B,leftIdx:r,rhsArrayIdx:y,x1:S,x2:M,y1:j,y2:O,matchLabel:N})})}else{const r=n,i=r,d=R.current[r]?.current,a=C.current[i]?.current;if(!d||!a)return;const b=d.getBoundingClientRect(),y=a.getBoundingClientRect(),$=H(r),x=b.right-e.left,m=y.left-e.left-0,A=x+75,B=b.top+b.height/2,S=y.top+y.height/2,M=B-l+h,v=S-o+g,I=`conn-${r}-${i}`,T=(String(Number(n)+1),null);c.push({lhsScrollY:M,rhsScrollY:v,x1:x,x2:m,containerTop:f,leftIdx:r,rhsArrayIdx:i,styleColor:$?.badgeBorder||"#6366F1",styleBg:$?.badgeBg||"#FFFFFF",styleText:$?.badgeText||"#A16207",styleId:I,centerX:A});const L=p(B,l,u),F=p(S,o,s),w=L-f,k=F-f,E=xt(x,w,m,k,A,B>=l-4&&B<=u+4,S>=o-4&&S<=s+4);t.push({id:I,pathD:E,style:$,leftIdx:r,rhsArrayIdx:i,x1:x,x2:m,y1:w,y2:k,matchLabel:T})}}),$t.current=c}ht(t),setTimeout(()=>Rt(),10)}else ht([]),$t.current=[],setTimeout(()=>Rt(),10)}catch(t){console.error("Line render safe fail: ",t)}finally{at.current=!1}}},[f,d,a,F,et,nt,H,k,T,v,I,M,B,S,L]),Rt=n(()=>{const t=$t.current;if(!t.length)return s.current["guideline-up-stroke"]?.setAttribute("visibility","hidden"),s.current["guideline-up-badge"]?.setAttribute("visibility","hidden"),s.current["guideline-down-stroke"]?.setAttribute("visibility","hidden"),void s.current["guideline-down-badge"]?.setAttribute("visibility","hidden");if(N.current)return;const e=l.current?.scrollTop??0,n=o.current?.scrollTop??0,r=l.current?.clientHeight??1/0,i=o.current?.clientHeight??1/0,u=l.current?.getBoundingClientRect().top??0,h=o.current?.getBoundingClientRect().top??0,g=u+r,d=h+i,a=c.current?.getBoundingClientRect(),f=a?.top??0,p=a?.height??1/0,b=(t,e,n)=>Math.max(e,Math.min(n,t));let y=0,$=0,x=0,m=0,R="#6366F1",C="#A16207",A=!1,B=0;if(t.forEach(t=>{const r=t.lhsScrollY-e+u,i=t.rhsScrollY-n+h,c=s.current[t.styleId+"-stroke"],l=s.current[t.styleId+"-bg"],o=s.current[t.styleId+"-btn"],a=s.current[t.styleId+"-number"];if(!c&&!l)return;const p=b(r,u,g),S=b(i,h,d),M=p-f,v=S-f,I=r>=u-4&&r<=g+4,T=i>=h-4&&i<=d+4;let L=!0;A=!0;const F=t.centerX||t.x1+75;0===x&&(x=t.x1,m=M,B=F,R=t.styleColor,t.styleBg,C=t.styleText||"#A16207"),i<h-4?(y++,L=!1):i>d+4&&($++,L=!1);const H=xt(t.x1,M,t.x2,v,B,I,T);c&&(L&&H?(c.setAttribute("visibility","visible"),c.setAttribute("d",H)):c.setAttribute("visibility","hidden")),l&&(L&&H?(l.setAttribute("visibility","visible"),l.setAttribute("d",H)):l.setAttribute("visibility","hidden")),o&&(I&&L?(o.setAttribute("visibility","visible"),o.setAttribute("y",String(M-12))):o.setAttribute("visibility","hidden")),a&&(I&&L?(a.setAttribute("visibility","visible"),a.setAttribute("transform",`translate(${t.x2-42}, ${v})`)):a.setAttribute("visibility","hidden"))}),A&&B>0){const t=s.current["guideline-up-stroke"],e=s.current["guideline-up-badge"],n=s.current["guideline-up-arrow"],r=s.current["guideline-up-text"],i=s.current["guideline-up-badge-rect"];if(y>0){const c=Math.max(15,h-f+15),l=Math.min(15,Math.abs(B-x),Math.max(0,m-c)),o=`M ${x},${m} L ${B-l},${m} Q ${B},${m} ${B},${m-l} L ${B},${c}`;t?.setAttribute("visibility","visible"),t?.setAttribute("d",o),t?.setAttribute("stroke",R),e?.setAttribute("visibility","visible"),e?.setAttribute("transform",`translate(${B}, ${c})`),n&&n.setAttribute("fill",R),r&&(r.textContent=`+${y}`,r.setAttribute("fill",C)),i&&i.setAttribute("stroke",R)}else t?.setAttribute("visibility","hidden"),e?.setAttribute("visibility","hidden");const c=s.current["guideline-down-stroke"],l=s.current["guideline-down-badge"],o=s.current["guideline-down-arrow"],u=s.current["guideline-down-text"],g=s.current["guideline-down-badge-rect"];if($>0){const t=Math.min(p-15,d-f-15),e=Math.min(15,Math.abs(B-x),Math.max(0,t-m)),n=`M ${x},${m} L ${B-e},${m} Q ${B},${m} ${B},${m+e} L ${B},${t}`;c?.setAttribute("visibility","visible"),c?.setAttribute("d",n),c?.setAttribute("stroke",R),l?.setAttribute("visibility","visible"),l?.setAttribute("transform",`translate(${B}, ${t})`),o&&o.setAttribute("fill",R),u&&(u.textContent=`+${$}`,u.setAttribute("fill",C)),g&&g.setAttribute("stroke",R)}else c?.setAttribute("visibility","hidden"),l?.setAttribute("visibility","hidden")}},[]),Ct=n(()=>{$t.current.length>0&&!N.current||(null!==bt.current&&clearTimeout(bt.current),bt.current=setTimeout(()=>{q.current(),bt.current=null},50))},[]),At=n(t=>{if(null!==_.current&&tt.current&&Math.abs(t.currentTarget.scrollTop-_.current)<=2){const t=tt.current;_.current=null,tt.current=null,t()}if(!pt.current&&!K.current){if(T&&V&&(Y.current||M.size>0)){const e=t.currentTarget,n=l.current,r=o.current,c=e===n?r:e===r?n:null;if(e&&c){const t=()=>{const t=O.current,e=z.current;if(null===t)return{leftAnchor:null,rightAnchor:null};if("string"==typeof t&&t.includes(i)){const e=t.split(i),n=`${e[0]}${i}${e[1]}`;return{leftAnchor:R.current[n]?.current||x.current[e[2]]?.current||y.current[Number(e[2])]?.current||null,rightAnchor:C.current[n]?.current||m.current[e[3]]?.current||$.current[Number(e[3])]?.current||null}}const n=Number(t),r=null!==e?Number(e):n;return{leftAnchor:R.current[n]?.current||A.current[n]?.current||y.current[n]?.current||null,rightAnchor:C.current[r]?.current||$.current[r]?.current||null}},{leftAnchor:r,rightAnchor:l}=t(),o=e===n?r:l,u=e===n?l:r;let s=null;if(o&&u){const t=o.getBoundingClientRect(),e=u.getBoundingClientRect(),n=c.getBoundingClientRect(),r=t.top+t.height/2;s=e.top-n.top+c.scrollTop+e.height/2-(r-n.top)}else{const t=Math.max(0,e.scrollHeight-e.clientHeight),n=Math.max(0,c.scrollHeight-c.clientHeight);s=t>0?e.scrollTop/t*n:e.scrollTop}const h=Math.max(0,c.scrollHeight-c.clientHeight);s=Math.max(0,Math.min(s,h)),Math.abs(c.scrollTop-s)>1&&(pt.current=!0,c.scrollTop=s,requestAnimationFrame(()=>{pt.current=!1}))}}T||Ct(),ft.current||(ft.current=!0,requestAnimationFrame(()=>{if(Y.current){const t=l.current,e=o.current;if(t&&e&&j.current){if(!D.current){const e=O.current;let n;if("string"==typeof e&&e.includes(i)){const t=e.split(i),r=`${t[0]}${i}${t[1]}`;n=R.current[r]?.current}else n=R.current[e]?.current;if(n){const e=n.getBoundingClientRect();D.current={badgeScreenY:e.top+e.height/2,initialScrollTop:t.scrollTop,leftTop:t.getBoundingClientRect().top,leftBottom:t.getBoundingClientRect().top+t.clientHeight,cTop:c.current?.getBoundingClientRect().top??0}}}if(D.current){const e=D.current,n=t.scrollTop-e.initialScrollTop,r=e.badgeScreenY-n,i=(((t,e,n)=>Math.max(e,Math.min(n,t)))(r,e.leftTop,e.leftBottom)-e.cTop).toString(),c=r>=e.leftTop-4&&r<=e.leftBottom+4;j.current.setAttribute("y1",i),j.current.setAttribute("y2",i),j.current.setAttribute("visibility",c?"visible":"hidden")}}}Rt(),ft.current=!1}))}},[Rt,T,V,M,Ct]);return r(()=>{q.current=mt},[mt]),r(()=>{const t=setTimeout(Ct,250),e=()=>J.current();return window.addEventListener("resize",e),()=>{clearTimeout(t),null!==bt.current&&clearTimeout(bt.current),null!==G.current&&clearTimeout(G.current),window.removeEventListener("resize",e)}},[U,W,Z,f,B,S,d,a,et,Ct,v,I,E,M]),{lines:rt,setLines:it,overallConnector:ct,setOverallConnector:lt,connectedLines:st,setConnectedLines:ht,svgDimensions:gt,cachedConnectedPositions:$t,calculateLines:mt,calculateLinesRef:q,calculateLinesDebounced:Ct,handleColumnScroll:At}};export{c as useLinesCalculator};
|
|
2
2
|
//# sourceMappingURL=useLinesCalculator.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useLinesCalculator.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useLinesCalculator.js","sources":["../../../../src/features/CognitiveCompare/hooks/useLinesCalculator.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef, useState } from \"react\"\nimport { CachedBadgePosition, SectionBlock } from \"../CognitiveCompareTypes\";\nimport { DEVIATION_BADGE_SEPARATOR, getBentArrowPath, hasValue } from \"../CognitiveComparehelpers\";\nimport { maxHeight } from \"@mui/system\";\n\nexport const useLinesCalculator = ({\n containerRef,\n leftContainerRef,\n rightContainerRef,\n svgContainerRef,\n pathRefs,\n leftHeaderRef, rightHeaderRef,\n proposedSections, existingSections,\n visibleFields,\n leftRefs, rightRefs,\n sectionLeftRefs, sectionRightRefs,\n subSectionLeftRefs, subSectionRightRefs,\n lhsBadgeRefs, rhsBadgeRefs,\n sectionRowRefs,\n expandedSections, expandedSubSections,\n connectedSections,\n isSideBySide, activeSideBySideSection,\n maintainRelativeOrder,\n isGuidelineMode, // ── NEW PROP ──\n cognitiveMap,\n getSectionCompareStyle, getSubSectionCompareStyle, getDeviationStyleByKey,\n isArrowVisible,\n\n isAnimatingRef,\n isSideBySideRef,\n sideBySideCacheRef,\n sideBySideLineRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n connectedLines: providedConnectedLines,\n setConnectedLines: providedSetConnectedLines,\n cachedConnectedPositions: providedCachedConnectedPositions,\n calculateLinesRef,\n resizeTimerRef,\n scrollLock,\n scrollSyncLocked,\n\n handleResizeRef,\n activeProposed, existingRule, analysisData,\n pendingScrollTargetRef, pendingScrollCallbackRef,\n\n resolvedComparisonConfig,\n getFieldData\n}: any) => {\n // States and Refs\n const [lines, setLines] = useState<Record<string, any>[]>([]);\n const [overallConnector, setOverallConnector] = useState<{ x1: number; x2: number; y: number; } | null>(null);\n const [internalConnectedLines, internalSetConnectedLines] = useState<Record<string, any>[]>([]);\n const connectedLines = providedConnectedLines ?? internalConnectedLines;\n const setConnectedLines = providedSetConnectedLines ?? internalSetConnectedLines;\n const [svgDimensions, setSvgDimensions] = useState<{ width: number; height: number }>({ width: 0, height: 0 });\n\n const isCalculatingLines = useRef(false);\n const scrollTicking = useRef(false);\n const scrollSyncing = useRef(false);\n const timerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const internalCachedConnectedPositions = useRef<CachedBadgePosition[]>([]);\n const cachedConnectedPositions =\n providedCachedConnectedPositions ?? internalCachedConnectedPositions;\n\n\n \n // Helpers\n // ── UNIFIED ROUNDED PATH GENERATOR (Guarantees shared trunk for ALL modes) ──\n const getRoundedStaggeredPath = (x1: number, y1: number, x2: number, y2: number, cX: number, visL: boolean, visR: boolean) => {\n if (Math.abs(y2 - y1) <= 1) {\n if (visL && visR) return `M ${x1},${y1} L ${x2},${y2}`;\n if (visL && !visR) return `M ${x1},${y1} L ${cX},${y1}`;\n if (!visL && visR) return `M ${cX},${y1} L ${x2},${y2}`;\n return `M ${cX},${y1} L ${cX},${y2}`;\n }\n const r1 = Math.min(15, Math.abs(cX - x1), Math.abs(y2 - y1) / 2);\n const r2 = Math.min(15, Math.abs(x2 - cX), Math.abs(y2 - y1) / 2);\n const dy1 = y2 > y1 ? r1 : -r1;\n const dy2 = y2 > y1 ? r2 : -r2;\n const dx2 = x2 > cX ? r2 : -r2; // Safe horizontal direction\n \n if (visL && visR) {\n return `M ${x1},${y1} L ${cX - r1},${y1} Q ${cX},${y1} ${cX},${y1 + dy1} L ${cX},${y2 - dy2} Q ${cX},${y2} ${cX + dx2},${y2} L ${x2},${y2}`;\n } else if (visL && !visR) {\n return `M ${x1},${y1} L ${cX - r1},${y1} Q ${cX},${y1} ${cX},${y1 + dy1} L ${cX},${y2}`;\n } else if (!visL && visR) {\n return `M ${cX},${y1} L ${cX},${y2 - dy2} Q ${cX},${y2} ${cX + dx2},${y2} L ${x2},${y2}`;\n } else {\n return `M ${cX},${y1} L ${cX},${y2}`;\n }\n };\n\n // Helper to check if a subsection is actually visible in the expanded section\n const isSubSectionVisible = (keyPath: string) => {\n const pathParts = keyPath.split('-');\n const rootIdx = pathParts[0];\n\n // Edge case\n // Early return if root parent is not expanded\n // Only happens in side by side view for deeply nested children\n if (!expandedSections[rootIdx] && maintainRelativeOrder === false) return;\n\n if (maintainRelativeOrder) {\n if (!expandedSections[`left-${rootIdx}`] && !expandedSections[`right-${rootIdx}`] && !expandedSections[rootIdx]) return false;\n }\n\n // Check to confirm if all the ancestors of the node are expanded otherwise early return\n let ancestorPath = rootIdx;\n for (let i = 1; i < pathParts.length - 1; i++) {\n ancestorPath += `-${pathParts[i]}`;\n if (!expandedSections[ancestorPath]) return false;\n }\n\n return true;\n };\n\n // Callbacks\n const calculateLines = useCallback(() => {\n if (isCalculatingLines.current) return;\n if (isAnimatingRef.current) return;\n isCalculatingLines.current = true;\n try {\n if (!containerRef.current) return;\n\n // Helper to check if a subsection is actually visible in the expanded accordion tree\n const isSubSectionVisible = (keyPath: string) => {\n const pathParts = keyPath.split('-');\n const rootIdx = pathParts[0];\n\n // 1. Root Parent must be expanded\n if (!expandedSections[rootIdx] && maintainRelativeOrder === false) return false;\n if (maintainRelativeOrder) {\n if (!expandedSections[`left-${rootIdx}`] && !expandedSections[`right-${rootIdx}`] && !expandedSections[rootIdx]) return false;\n }\n\n // 2. All intermediate ancestor subsections must be expanded\n let ancestorPath = rootIdx;\n for (let i = 1; i < pathParts.length - 1; i++) {\n ancestorPath += `-${pathParts[i]}`;\n if (!expandedSubSections[ancestorPath]) {\n return false;\n }\n }\n return true;\n };\n\n // 3. Keep the SVG setup and field heights logic intact\n const containerRect = containerRef.current.getBoundingClientRect();\n setSvgDimensions({\n width: containerRect.width,\n height: containerRect.height,\n });\n\n const newLines: Record<string, any>[] = [];\n\n // RESET STYLES (WRITE ONLY)\n visibleFields.forEach(({ key }: {key: any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n l.style.height = \"auto\";\n r.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n r.style.minHeight = \"0px\";\n }\n });\n\n if (!isAnimatingRef.current) {\n for (let idx = 0; idx < Math.max(proposedSections.length, existingSections.length); idx++) {\n const l = sectionLeftRefs.current[idx]?.current;\n const r = sectionRightRefs.current[idx]?.current;\n\n if (l) {\n l.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n }\n if (r) {\n r.style.height = \"auto\";\n r.style.minHeight = \"0px\";\n }\n }\n \n if (!maintainRelativeOrder) {\n // Subsections reset\n Object.keys(subSectionLeftRefs.current).forEach(keyPath => {\n if (!isSubSectionVisible(keyPath)) return;\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r) {\n l.style.height = \"auto\";\n r.style.height = \"auto\";\n l.style.minHeight = \"0px\";\n r.style.minHeight = \"0px\";\n }\n });\n }\n }\n\n // READ HEIGHTS (READ ONLY)\n const fieldHeights: Record<string, number> = {};\n\n visibleFields.forEach(({ key } : {key: any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n const lRect = l.getBoundingClientRect();\n const rRect = r.getBoundingClientRect();\n fieldHeights[key] = Math.max(lRect.height, rRect.height);\n }\n });\n\n const syncHeights = { left: {} as Record<number, number>, right: {} as Record<number, number> };\n const subSectionHeights: Record<string, number> = {};\n\n if (!isAnimatingRef.current) {\n if (!maintainRelativeOrder) {\n // ── FIX: Measure and apply subsection heights FIRST so their new heights push the parent containers ──\n Object.keys(subSectionLeftRefs.current).forEach(keyPath => {\n if (!isSubSectionVisible(keyPath)) return;\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r && l.offsetParent !== null && r.offsetParent !== null) {\n const lRect = l.getBoundingClientRect();\n const rRect = r.getBoundingClientRect();\n const maxH = Math.max(lRect.height, rRect.height);\n subSectionHeights[keyPath] = maxH;\n \n // Apply immediately so the browser recalculates layout for the parent block below\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n\n // ── NOW measure main sections (which will naturally wrap the aligned subsections) ──\n for (let idx = 0; idx < Math.min(proposedSections.length, existingSections.length); idx++) {\n const l = sectionLeftRefs.current[idx]?.current;\n const r = sectionRightRefs.current[idx]?.current;\n\n if (l && r) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n syncHeights.left[idx] = maxH;\n syncHeights.right[idx] = maxH;\n }\n }\n\n } else if (isSideBySide && activeSideBySideSection !== null) {\n if (typeof activeSideBySideSection === \"number\") {\n const leftIdx = activeSideBySideSection;\n const leftSec = proposedSections[leftIdx] as any;\n const l = sectionLeftRefs.current[leftIdx]?.current;\n\n if (l && leftSec) {\n (leftSec.refIndexes || []).forEach((rhsSelfIdx: number) => {\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx);\n const r = sectionRightRefs.current[rhsArrayIdx]?.current;\n if (!r) return;\n\n if (expandedSections[`left-${leftIdx}`] || expandedSections[`right-${rhsArrayIdx}`]) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n syncHeights.left[leftIdx] = Math.max(syncHeights.left[leftIdx] || 0, maxH);\n syncHeights.right[rhsArrayIdx] = Math.max(syncHeights.right[rhsArrayIdx] || 0, maxH);\n }\n });\n }\n } else {\n const keyPath = activeSideBySideSection.split(DEVIATION_BADGE_SEPARATOR)[2]; \n if (keyPath) {\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r) {\n const maxH = Math.max(l.getBoundingClientRect().height, r.getBoundingClientRect().height);\n subSectionHeights[keyPath] = Math.max(subSectionHeights[keyPath] || 0, maxH);\n }\n }\n }\n }\n }\n\n visibleFields.forEach(({ key } : {key : any}) => {\n const l = leftRefs.current[key]?.current;\n const r = rightRefs.current[key]?.current;\n\n if (l && r) {\n const maxH = fieldHeights[key];\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n\n if (!isAnimatingRef.current) {\n Object.entries(syncHeights.left).forEach(([idx, maxH]) => {\n const l = sectionLeftRefs.current[Number(idx)]?.current;\n if (l) l.style.minHeight = `${maxH}px`;\n });\n \n Object.entries(syncHeights.right).forEach(([idx, maxH]) => {\n const r = sectionRightRefs.current[Number(idx)]?.current;\n if (r) r.style.minHeight = `${maxH}px`;\n });\n\n if (!maintainRelativeOrder) {\n Object.keys(subSectionHeights).forEach(keyPath => {\n const l = subSectionLeftRefs.current[keyPath]?.current;\n const r = subSectionRightRefs.current[keyPath]?.current;\n if (l && r && subSectionHeights[keyPath]) {\n const maxH = subSectionHeights[keyPath];\n l.style.minHeight = `${maxH}px`;\n r.style.minHeight = `${maxH}px`;\n }\n });\n }\n }\n\n // SECTION CONNECTORS\n // ── SKIP SECTION LINES IF IN GUIDELINE MODE ──\n if (!isGuidelineMode) {\n const getMappedRightIndexes = (leftSec: any, leftIdx: number) => {\n // Standard/Side-by-Side data is already materialized as explicit\n // mapping rows, so its counterpart is always at the same row index.\n // Looking up by display_index is ambiguous when a target section is\n // intentionally repeated for more than one mapping edge.\n if (!maintainRelativeOrder) {\n return existingSections[leftIdx] ? [leftIdx] : [];\n }\n\n const mapped = (leftSec.refIndexes || [])\n .map((rhsSelfIdx: number) =>\n existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx),\n )\n .filter((idx: number) => idx !== -1);\n\n // Backward-compatible fallback for old one-to-one/index-based data\n if (!mapped.length && existingSections[leftIdx]) {\n return [leftIdx];\n }\n\n return Array.from(new Set(mapped));\n };\n\n proposedSections.forEach((leftSec: any, leftIdx: number) => {\n const continuationSourceIdx = leftSec.continuationSourceRowId\n ? proposedSections.findIndex(\n (section: any) =>\n section.comparisonRowId === leftSec.continuationSourceRowId,\n )\n : -1;\n const resolvedLeftIdx =\n continuationSourceIdx >= 0 ? continuationSourceIdx : leftIdx;\n const lWrap = sectionLeftRefs.current[resolvedLeftIdx]?.current;\n if (!lWrap) return;\n\n const rightIndexes = getMappedRightIndexes(leftSec, leftIdx);\n\n rightIndexes.forEach((rhsArrayIdx: any) => {\n const rWrap = sectionRightRefs.current[rhsArrayIdx]?.current;\n if (!rWrap) return;\n\n const leftRect = lWrap.getBoundingClientRect();\n const rightRect = rWrap.getBoundingClientRect();\n\n const x1 = leftRect.right - containerRect.left;\n const x2 = rightRect.left - containerRect.left;\n\n let y1 = leftRect.top + 18 - containerRect.top;\n let y2 = rightRect.top + 18 - containerRect.top;\n\n if (maintainRelativeOrder && isSideBySide && activeSideBySideSection === leftIdx) {\n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n const leftBottom = leftTop + (leftContainerRef.current?.clientHeight ?? Infinity);\n const rightBottom = rightTop + (rightContainerRef.current?.clientHeight ?? Infinity);\n\n const clamp = (v: number, min: number, max: number) =>\n Math.max(min, Math.min(max, v));\n\n y1 = clamp(leftRect.top + 18, leftTop, leftBottom) - containerRect.top;\n y2 = clamp(rightRect.top + 18, rightTop, rightBottom) - containerRect.top;\n }\n\n const style = getSectionCompareStyle(resolvedLeftIdx);\n\n if (style) {\n newLines.push({\n id: `line-${resolvedLeftIdx}-${rhsArrayIdx}`,\n x1,\n y1,\n x2,\n y2,\n style,\n sectionIdx: resolvedLeftIdx,\n targetRightIdx: rhsArrayIdx,\n isSubSection: false,\n isMappingContinuation: continuationSourceIdx >= 0,\n hasCognitive: !!(\n proposedSections[resolvedLeftIdx]?.cognitiveData ||\n existingSections[rhsArrayIdx]?.cognitiveData ||\n proposedSections[resolvedLeftIdx]?.nodeId &&\n cognitiveMap[proposedSections[resolvedLeftIdx].nodeId as string]\n ),\n });\n }\n });\n });\n }\n\n if (!isGuidelineMode && isSideBySide && typeof activeSideBySideSection === 'string' && activeSideBySideSection.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath, rightKeyPath] = activeSideBySideSection.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n\n const lBadgeEl = lhsBadgeRefs.current[refId]?.current;\n const rBadgeEl = rhsBadgeRefs.current[refId]?.current;\n\n if (lBadgeEl && rBadgeEl) {\n const lRect = lBadgeEl.getBoundingClientRect();\n const rRect = rBadgeEl.getBoundingClientRect();\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left;\n \n let y1 = lRect.top + lRect.height / 2 - containerRect.top;\n let y2 = rRect.top + rRect.height / 2 - containerRect.top;\n\n if (maintainRelativeOrder) {\n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n const leftBottom = leftTop + (leftContainerRef.current?.clientHeight ?? Infinity);\n const rightBottom = rightTop + (rightContainerRef.current?.clientHeight ?? Infinity);\n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n\n y1 = clamp(lRect.top + lRect.height / 2, leftTop, leftBottom) - containerRect.top;\n y2 = clamp(rRect.top + rRect.height / 2, rightTop, rightBottom) - containerRect.top;\n }\n \n const style =\n getDeviationStyleByKey(nodeId, devKey) ??\n getSubSectionCompareStyle(leftKeyPath);\n if (style) {\n newLines.push({\n id: `line-subsec-${refId}`,\n x1, y1, x2, y2,\n style,\n sectionIdx: Number(leftKeyPath.split('-')[0]),\n isSubSection: true,\n subSectionKeyPath: activeSideBySideSection,\n });\n }\n }\n }\n\n setLines(newLines);\n\n if (leftHeaderRef.current && rightHeaderRef.current) {\n const leftHeaderRect = leftHeaderRef.current.getBoundingClientRect();\n const rightHeaderRect = rightHeaderRef.current.getBoundingClientRect();\n const overallY =\n (leftHeaderRect.top +\n leftHeaderRect.height / 2 -\n containerRect.top +\n rightHeaderRect.top +\n rightHeaderRect.height / 2 -\n containerRect.top) /\n 2;\n setOverallConnector({\n x1: leftHeaderRect.right - containerRect.left,\n x2: rightHeaderRect.left - containerRect.left,\n y: overallY,\n });\n } else {\n setOverallConnector(null);\n }\n\n if (connectedSections.size > 0) {\n const newConnectedLines: Record<string, any>[] = [];\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n\n if (leftContainer && rightContainer) {\n const newCache: CachedBadgePosition[] = [];\n \n const leftTop = leftContainer.getBoundingClientRect().top;\n const rightTop = rightContainer.getBoundingClientRect().top;\n const leftBottom = leftTop + leftContainer.clientHeight;\n const rightBottom = rightTop + rightContainer.clientHeight;\n\n const leftScrollTop = leftContainer.scrollTop;\n const rightScrollTop = rightContainer.scrollTop;\n const cTop = containerRect.top;\n\n const clamp = (v: number, min: number, max: number) =>\n Math.max(min, Math.min(max, v));\n\n connectedSections.forEach((connectedIdx:any) => {\n // ── GUIDELINE MODE LOGIC ──\n if (isGuidelineMode) {\n let lBadge: HTMLElement | null = null;\n let leftIdxNum: number | null = null;\n let style: any = null;\n\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath] = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n lBadge = lhsBadgeRefs.current[refId]?.current;\n style = getDeviationStyleByKey(nodeId, devKey) ?? getSubSectionCompareStyle(leftKeyPath);\n leftIdxNum = Number(leftKeyPath?.split('-')[0] || 0);\n } else {\n leftIdxNum = Number(connectedIdx);\n lBadge = lhsBadgeRefs.current[leftIdxNum]?.current;\n style = getSectionCompareStyle(leftIdxNum);\n }\n\n if (!lBadge) return;\n\n const targetMarks = document.querySelectorAll('[id^=\"guideline-target-\"]');\n \n targetMarks.forEach((rBadge, index) => {\n const lRect = lBadge!.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n \n // ── UNIVERSAL SPINE JUNCTION PUSHED TO X1+75 TO CLEAR LOCK ICON ──\n const centerX = x1 + 75;\n\n const rawLhsY = lRect.top + lRect.height / 2;\n // Target the middle of the highlighted text vertically\n const rawRhsY = rRect.top + rRect.height / 2;\n\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n \n const styleId = `conn-guide-${connectedIdx}-${index}`;\n \n // ── BULLETPROOF MATH LABEL GENERATION ──\n let baseLabel = \"\";\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const leftKeyPath = parts[2] || \"\";\n baseLabel = leftKeyPath.split('-').map(n => Number(n) + 1).join('.');\n } else {\n baseLabel = String(Number(connectedIdx) + 1);\n }\n const letter = String.fromCharCode(97 + index); // a, b, c...\n const matchLabel = targetMarks.length === 1 ? null : `${baseLabel}(${letter})`;\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx: connectedIdx, rhsArrayIdx: index, \n styleColor: style?.badgeBorder || \"#6366F1\", \n styleBg: style?.badgeBg || \"#FFFFFF\",\n styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ \n id: styleId, pathD, style, leftIdx: connectedIdx, rhsArrayIdx: index, \n x1, x2, y1, y2, centerX, matchLabel, isGuideline: true \n });\n });\n } else {\n // ── UNIFIED CONTRACT TO CONTRACT LOGIC ──\n if (typeof connectedIdx === 'string' && connectedIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const [nodeId, devKey, leftKeyPath, rightKeyPath] = connectedIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${nodeId}${DEVIATION_BADGE_SEPARATOR}${devKey}`;\n\n const lBadge = lhsBadgeRefs.current[refId]?.current;\n const rBadge = rhsBadgeRefs.current[refId]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getDeviationStyleByKey(nodeId, devKey) ?? getSubSectionCompareStyle(leftKeyPath);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-subsec-${refId}`;\n \n const leftKeyP = leftKeyPath || \"\";\n const baseLabel = leftKeyP.split('-').map(n => Number(n) + 1).join('.');\n const matchLabel = null; // 1-to-1 connection, no badge needed\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx: connectedIdx, rhsArrayIdx: connectedIdx,\n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX, \n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ id: styleId, pathD, style, leftIdx: connectedIdx, rhsArrayIdx: connectedIdx, x1, x2, y1, y2, matchLabel });\n } else {\n if (!maintainRelativeOrder) {\n const leftIdx = connectedIdx;\n const rhsArrayIdx = leftIdx as number;\n const lBadge = lhsBadgeRefs.current[leftIdx]?.current;\n const rBadge = rhsBadgeRefs.current[rhsArrayIdx]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getSectionCompareStyle(leftIdx as number);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-${leftIdx}-${rhsArrayIdx}`;\n \n const baseLabel = String(Number(connectedIdx) + 1);\n const matchLabel = null; // 1-to-1 connection, no badge needed\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx, rhsArrayIdx, \n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({ id: styleId, pathD, style, leftIdx, rhsArrayIdx, x1, x2, y1, y2, matchLabel });\n } else {\n const leftIdx = connectedIdx as number;\n const leftSec = proposedSections[leftIdx] as any;\n if (!leftSec?.refIndexes?.length) return;\n\n leftSec.refIndexes.forEach((rhsSelfIdx: number, index: number) => {\n const rhsArrayIdx = existingSections.findIndex((s: any) => s.selfIndex === rhsSelfIdx);\n if (rhsArrayIdx === -1) return;\n\n const lBadge = lhsBadgeRefs.current[leftIdx]?.current;\n const rBadge = rhsBadgeRefs.current[rhsArrayIdx]?.current;\n if (!lBadge || !rBadge) return;\n\n const lRect = lBadge.getBoundingClientRect();\n const rRect = rBadge.getBoundingClientRect();\n const style = getSectionCompareStyle(leftIdx);\n\n const x1 = lRect.right - containerRect.left;\n const x2 = rRect.left - containerRect.left - 0;\n \n const centerX = x1 + 75; // ── UNIVERSAL SPINE JUNCTION ──\n\n const rawLhsY = lRect.top + lRect.height / 2;\n const rawRhsY = rRect.top + rRect.height / 2;\n const lhsScrollY = (rawLhsY - leftTop) + leftScrollTop;\n const rhsScrollY = (rawRhsY - rightTop) + rightScrollTop;\n const styleId = `conn-${leftIdx}-${rhsArrayIdx}`;\n \n const baseLabel = String(Number(connectedIdx) + 1);\n const letter = String.fromCharCode(97 + index); \n const matchLabel = leftSec.refIndexes.length === 1 ? null : `${baseLabel}(${letter})`;\n\n newCache.push({\n lhsScrollY, rhsScrollY, x1, x2, containerTop: cTop,\n leftIdx, rhsArrayIdx,\n styleColor: style?.badgeBorder || \"#6366F1\", styleBg: style?.badgeBg || \"#FFFFFF\", styleText: style?.badgeText || \"#A16207\",\n styleId, centerX,\n });\n\n const clampedLhsY = clamp(rawLhsY, leftTop, leftBottom);\n const clampedRhsY = clamp(rawRhsY, rightTop, rightBottom);\n const y1 = clampedLhsY - cTop;\n const y2 = clampedRhsY - cTop;\n const lhsVisible = rawLhsY >= leftTop - 4 && rawLhsY <= leftBottom + 4;\n const rhsVisible = rawRhsY >= rightTop - 4 && rawRhsY <= rightBottom + 4;\n\n const pathD = getRoundedStaggeredPath(x1, y1, x2, y2, centerX, lhsVisible, rhsVisible);\n\n newConnectedLines.push({\n id: styleId, pathD, style, leftIdx, rhsArrayIdx, x1, x2, y1, y2, matchLabel,\n });\n });\n }\n }\n }\n });\n cachedConnectedPositions.current = newCache;\n }\n setConnectedLines(newConnectedLines);\n\n setTimeout(() => updateConnectedLinesOnScroll(), 10);\n } else {\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n setTimeout(() => updateConnectedLinesOnScroll(), 10);\n }\n } catch (e) {\n console.error(\"Line render safe fail: \", e);\n } finally {\n isCalculatingLines.current = false;\n }\n }, [\n visibleFields,\n proposedSections,\n existingSections,\n cognitiveMap,\n resolvedComparisonConfig,\n getFieldData,\n getSectionCompareStyle,\n getDeviationStyleByKey,\n maintainRelativeOrder,\n isSideBySide, \n activeSideBySideSection, \n connectedSections,\n expandedSections,\n expandedSubSections,\n isGuidelineMode, \n ]);\n\n const updateConnectedLinesOnScroll = useCallback(() => {\n const cache = cachedConnectedPositions.current;\n \n if (!cache.length) {\n pathRefs.current[\"guideline-up-stroke\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-up-badge\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-down-stroke\"]?.setAttribute(\"visibility\", \"hidden\");\n pathRefs.current[\"guideline-down-badge\"]?.setAttribute(\"visibility\", \"hidden\");\n return;\n }\n\n if (isAnimatingRef.current) return;\n \n const leftScroll = leftContainerRef.current?.scrollTop ?? 0;\n const rightScroll = rightContainerRef.current?.scrollTop ?? 0;\n \n const leftHeight = leftContainerRef.current?.clientHeight ?? Infinity;\n const rightHeight = rightContainerRef.current?.clientHeight ?? Infinity;\n \n const leftTop = leftContainerRef.current?.getBoundingClientRect().top ?? 0;\n const rightTop = rightContainerRef.current?.getBoundingClientRect().top ?? 0;\n \n const leftBottom = leftTop + leftHeight;\n const rightBottom = rightTop + rightHeight;\n \n const containerRect = containerRef.current?.getBoundingClientRect();\n const containerTop = containerRect?.top ?? 0;\n const containerHeight = containerRect?.height ?? Infinity;\n \n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n \n let topCount = 0;\n let bottomCount = 0;\n let sharedX1 = 0, sharedY1 = 0;\n let sharedColor = \"#6366F1\", sharedBg = \"#FFFFFF\", sharedTextCol = \"#A16207\";\n let hasActiveConnections = false;\n let universalSpineX = 0; \n\n cache.forEach((entry: any) => {\n const lhsViewportY = (entry.lhsScrollY - leftScroll) + leftTop;\n const rhsViewportY = (entry.rhsScrollY - rightScroll) + rightTop;\n \n const strokeEl = pathRefs.current[entry.styleId + \"-stroke\"];\n const bgEl = pathRefs.current[entry.styleId + \"-bg\"];\n const btnEl = pathRefs.current[entry.styleId + \"-btn\"];\n const numberBadgeEl = pathRefs.current[entry.styleId + \"-number\"];\n \n if (!strokeEl && !bgEl) return;\n \n const visibleLhsY = clamp(lhsViewportY, leftTop, leftBottom);\n const visibleRhsY = clamp(rhsViewportY, rightTop, rightBottom);\n \n const y1 = visibleLhsY - containerTop;\n const y2 = visibleRhsY - containerTop;\n \n const lhsVisible = lhsViewportY >= leftTop - 4 && lhsViewportY <= leftBottom + 4;\n const rhsVisible = rhsViewportY >= rightTop - 4 && rhsViewportY <= rightBottom + 4;\n \n let showLine = true;\n hasActiveConnections = true;\n\n // Enforce absolute strict universal spine\n const centerX = entry.centerX || (entry.x1 + 75);\n\n if (sharedX1 === 0) {\n sharedX1 = entry.x1;\n sharedY1 = y1;\n universalSpineX = centerX;\n sharedColor = entry.styleColor;\n sharedBg = entry.styleBg || \"#FFFFFF\";\n sharedTextCol = entry.styleText || \"#A16207\";\n }\n\n if (rhsViewportY < rightTop - 4) {\n topCount++; showLine = false; \n } else if (rhsViewportY > rightBottom + 4) {\n bottomCount++; showLine = false; \n } \n \n const pathD = getRoundedStaggeredPath(entry.x1, y1, entry.x2, y2, universalSpineX, lhsVisible, rhsVisible);\n \n if (strokeEl) {\n if (showLine && pathD) {\n strokeEl.setAttribute(\"visibility\", \"visible\");\n strokeEl.setAttribute(\"d\", pathD);\n } else { strokeEl.setAttribute(\"visibility\", \"hidden\"); }\n }\n \n if (bgEl) {\n if (showLine && pathD) {\n bgEl.setAttribute(\"visibility\", \"visible\");\n bgEl.setAttribute(\"d\", pathD);\n } else { bgEl.setAttribute(\"visibility\", \"hidden\"); }\n }\n\n if (btnEl) {\n if (!lhsVisible || !showLine) {\n btnEl.setAttribute(\"visibility\", \"hidden\");\n } else {\n btnEl.setAttribute(\"visibility\", \"visible\");\n btnEl.setAttribute(\"y\", String(y1 - 12)); \n }\n }\n\n if (numberBadgeEl) {\n if (!lhsVisible || !showLine) {\n numberBadgeEl.setAttribute(\"visibility\", \"hidden\");\n } else {\n numberBadgeEl.setAttribute(\"visibility\", \"visible\");\n numberBadgeEl.setAttribute(\"transform\", `translate(${entry.x2 - 42}, ${y2})`);\n }\n }\n });\n\n // ── UNIVERSAL OFF-SCREEN ARROWS (ALWAYS ORIGINATE EXACTLY AT THE SPINE: X1 + 75) ──\n if (hasActiveConnections && universalSpineX > 0) {\n const upStroke = pathRefs.current[\"guideline-up-stroke\"];\n const upBadge = pathRefs.current[\"guideline-up-badge\"];\n const upArrow = pathRefs.current[\"guideline-up-arrow\"];\n const upText = pathRefs.current[\"guideline-up-text\"];\n const upRect = pathRefs.current[\"guideline-up-badge-rect\"];\n\n if (topCount > 0) {\n const upY = Math.max(15, rightTop - containerTop + 15); \n const r = Math.min(15, Math.abs(universalSpineX - sharedX1), Math.max(0, sharedY1 - upY));\n const pathD = `M ${sharedX1},${sharedY1} L ${universalSpineX - r},${sharedY1} Q ${universalSpineX},${sharedY1} ${universalSpineX},${sharedY1 - r} L ${universalSpineX},${upY}`;\n\n upStroke?.setAttribute(\"visibility\", \"visible\");\n upStroke?.setAttribute(\"d\", pathD);\n upStroke?.setAttribute(\"stroke\", sharedColor);\n\n upBadge?.setAttribute(\"visibility\", \"visible\");\n upBadge?.setAttribute(\"transform\", `translate(${universalSpineX}, ${upY})`);\n \n if (upArrow) { upArrow.setAttribute(\"fill\", sharedColor); }\n if (upText) { upText.textContent = `+${topCount}`; upText.setAttribute(\"fill\", sharedTextCol); }\n if (upRect) { upRect.setAttribute(\"stroke\", sharedColor); }\n } else {\n upStroke?.setAttribute(\"visibility\", \"hidden\");\n upBadge?.setAttribute(\"visibility\", \"hidden\");\n }\n\n const downStroke = pathRefs.current[\"guideline-down-stroke\"];\n const downBadge = pathRefs.current[\"guideline-down-badge\"];\n const downArrow = pathRefs.current[\"guideline-down-arrow\"];\n const downText = pathRefs.current[\"guideline-down-text\"];\n const downRect = pathRefs.current[\"guideline-down-badge-rect\"];\n\n if (bottomCount > 0) {\n const downY = Math.min(containerHeight - 15, rightBottom - containerTop - 15);\n const r = Math.min(15, Math.abs(universalSpineX - sharedX1), Math.max(0, downY - sharedY1));\n const pathD = `M ${sharedX1},${sharedY1} L ${universalSpineX - r},${sharedY1} Q ${universalSpineX},${sharedY1} ${universalSpineX},${sharedY1 + r} L ${universalSpineX},${downY}`;\n\n downStroke?.setAttribute(\"visibility\", \"visible\");\n downStroke?.setAttribute(\"d\", pathD);\n downStroke?.setAttribute(\"stroke\", sharedColor);\n\n downBadge?.setAttribute(\"visibility\", \"visible\");\n downBadge?.setAttribute(\"transform\", `translate(${universalSpineX}, ${downY})`);\n \n if (downArrow) { downArrow.setAttribute(\"fill\", sharedColor); }\n if (downText) { downText.textContent = `+${bottomCount}`; downText.setAttribute(\"fill\", sharedTextCol); }\n if (downRect) { downRect.setAttribute(\"stroke\", sharedColor); }\n } else {\n downStroke?.setAttribute(\"visibility\", \"hidden\");\n downBadge?.setAttribute(\"visibility\", \"hidden\");\n }\n }\n }, []);\n\n const calculateLinesDebounced = useCallback(() => {\n if (cachedConnectedPositions.current.length > 0 && !isAnimatingRef.current) {\n return;\n }\n if (timerRef.current !== null) {\n clearTimeout(timerRef.current);\n }\n timerRef.current = setTimeout(() => {\n calculateLinesRef.current();\n timerRef.current = null;\n }, 50);\n }, []); \n \n \n const handleColumnScroll = useCallback((e: any) => {\n if (pendingScrollTargetRef.current !== null && pendingScrollCallbackRef.current) {\n if (Math.abs(e.currentTarget.scrollTop - pendingScrollTargetRef.current) <= 2) {\n const callback = pendingScrollCallbackRef.current;\n pendingScrollTargetRef.current = null;\n pendingScrollCallbackRef.current = null;\n callback();\n }\n }\n \n if (scrollSyncing.current) return;\n if (scrollLock.current) return;\n\n if (\n maintainRelativeOrder &&\n scrollSyncLocked &&\n (isSideBySideRef.current || connectedSections.size > 0)\n ) {\n const source = e.currentTarget as HTMLElement;\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n const target =\n source === leftContainer\n ? rightContainer\n : source === rightContainer\n ? leftContainer\n : null;\n\n if (source && target) {\n const resolveActiveAnchors = () => {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n const activeRightIdx = activeSideBySideRightSectionRef.current;\n\n if (activeLeftIdx === null) return { leftAnchor: null, rightAnchor: null };\n\n if (\n typeof activeLeftIdx === \"string\" &&\n activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR)\n ) {\n const parts = activeLeftIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n\n return {\n leftAnchor:\n lhsBadgeRefs.current[refId]?.current ||\n subSectionLeftRefs.current[parts[2]]?.current ||\n sectionLeftRefs.current[Number(parts[2])]?.current ||\n null,\n rightAnchor:\n rhsBadgeRefs.current[refId]?.current ||\n subSectionRightRefs.current[parts[3]]?.current ||\n sectionRightRefs.current[Number(parts[3])]?.current ||\n null,\n };\n }\n\n const leftIdx = Number(activeLeftIdx);\n const rightIdx = activeRightIdx !== null ? Number(activeRightIdx) : leftIdx;\n\n return {\n leftAnchor:\n lhsBadgeRefs.current[leftIdx]?.current ||\n sectionRowRefs.current[leftIdx]?.current ||\n sectionLeftRefs.current[leftIdx]?.current ||\n null,\n rightAnchor:\n rhsBadgeRefs.current[rightIdx]?.current ||\n sectionRightRefs.current[rightIdx]?.current ||\n null,\n };\n };\n\n const { leftAnchor, rightAnchor } = resolveActiveAnchors();\n const sourceAnchor = source === leftContainer ? leftAnchor : rightAnchor;\n const targetAnchor = source === leftContainer ? rightAnchor : leftAnchor;\n\n let nextTargetTop: number | null = null;\n\n if (sourceAnchor && targetAnchor) {\n const sourceAnchorRect = sourceAnchor.getBoundingClientRect();\n const targetAnchorRect = targetAnchor.getBoundingClientRect();\n const targetRect = target.getBoundingClientRect();\n\n const sourceAnchorCenterY =\n sourceAnchorRect.top + sourceAnchorRect.height / 2;\n const targetAnchorAbsoluteCenterY =\n targetAnchorRect.top -\n targetRect.top +\n target.scrollTop +\n targetAnchorRect.height / 2;\n\n nextTargetTop =\n targetAnchorAbsoluteCenterY - (sourceAnchorCenterY - targetRect.top);\n } else {\n const sourceMaxScroll = Math.max(0, source.scrollHeight - source.clientHeight);\n const targetMaxScroll = Math.max(0, target.scrollHeight - target.clientHeight);\n nextTargetTop = sourceMaxScroll > 0\n ? (source.scrollTop / sourceMaxScroll) * targetMaxScroll\n : source.scrollTop;\n }\n\n const targetMaxScroll = Math.max(0, target.scrollHeight - target.clientHeight);\n nextTargetTop = Math.max(0, Math.min(nextTargetTop, targetMaxScroll));\n\n if (Math.abs(target.scrollTop - nextTargetTop) > 1) {\n scrollSyncing.current = true;\n target.scrollTop = nextTargetTop;\n requestAnimationFrame(() => {\n scrollSyncing.current = false;\n });\n }\n }\n }\n \n if (!maintainRelativeOrder) {\n calculateLinesDebounced();\n }\n \n if (!scrollTicking.current) {\n scrollTicking.current = true;\n \n requestAnimationFrame(() => {\n if (isSideBySideRef.current) {\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n \n if (leftContainer && rightContainer && sideBySideLineRef.current) {\n if (!sideBySideCacheRef.current) {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n let lBadge;\n \n if (typeof activeLeftIdx === 'string' && activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = activeLeftIdx.split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n lBadge = lhsBadgeRefs.current[refId]?.current;\n } else {\n lBadge = lhsBadgeRefs.current[activeLeftIdx as number]?.current;\n }\n \n if (lBadge) {\n const lRect = lBadge.getBoundingClientRect();\n sideBySideCacheRef.current = {\n badgeScreenY: lRect.top + lRect.height / 2, \n initialScrollTop: leftContainer.scrollTop, \n leftTop: leftContainer.getBoundingClientRect().top,\n leftBottom: leftContainer.getBoundingClientRect().top + leftContainer.clientHeight,\n cTop: containerRef.current?.getBoundingClientRect().top ?? 0\n };\n }\n }\n \n if (sideBySideCacheRef.current) {\n const cache = sideBySideCacheRef.current;\n const scrollDelta = leftContainer.scrollTop - cache.initialScrollTop;\n const rawLhsY = cache.badgeScreenY - scrollDelta;\n const clamp = (v: number, min: number, max: number) => Math.max(min, Math.min(max, v));\n const clampedLhsY = clamp(rawLhsY, cache.leftTop, cache.leftBottom);\n const horizontalY = (clampedLhsY - cache.cTop).toString();\n const isVisible = rawLhsY >= cache.leftTop - 4 && rawLhsY <= cache.leftBottom + 4;\n \n sideBySideLineRef.current.setAttribute(\"y1\", horizontalY);\n sideBySideLineRef.current.setAttribute(\"y2\", horizontalY); \n sideBySideLineRef.current.setAttribute(\"visibility\", isVisible ? \"visible\" : \"hidden\");\n }\n }\n }\n \n updateConnectedLinesOnScroll(); \n scrollTicking.current = false;\n });\n }\n }, [\n updateConnectedLinesOnScroll,\n maintainRelativeOrder,\n scrollSyncLocked,\n connectedSections,\n calculateLinesDebounced,\n ]);\n\n\n useEffect(() => {\n calculateLinesRef.current = calculateLines;\n }, [calculateLines]);\n\n useEffect(() => {\n const timer = setTimeout(calculateLinesDebounced, 250);\n const onWindowResize = () => handleResizeRef.current();\n window.addEventListener(\"resize\", onWindowResize);\n \n return () => {\n clearTimeout(timer);\n if (timerRef.current !== null) clearTimeout(timerRef.current);\n if (resizeTimerRef.current !== null) clearTimeout(resizeTimerRef.current);\n window.removeEventListener(\"resize\", onWindowResize);\n };\n }, [\n activeProposed,\n existingRule,\n analysisData,\n visibleFields,\n expandedSections,\n expandedSubSections,\n proposedSections,\n existingSections,\n resolvedComparisonConfig,\n calculateLinesDebounced,\n isSideBySide,\n activeSideBySideSection,\n isArrowVisible,\n connectedSections,\n ]);\n\n\n return {\n lines, setLines,\n overallConnector, setOverallConnector,\n connectedLines, setConnectedLines,\n svgDimensions,\n cachedConnectedPositions,\n calculateLines,\n calculateLinesRef,\n calculateLinesDebounced,\n handleColumnScroll,\n}\n\n}\n"],"names":["useLinesCalculator","containerRef","leftContainerRef","rightContainerRef","svgContainerRef","pathRefs","leftHeaderRef","rightHeaderRef","proposedSections","existingSections","visibleFields","leftRefs","rightRefs","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRowRefs","expandedSections","expandedSubSections","connectedSections","isSideBySide","activeSideBySideSection","maintainRelativeOrder","isGuidelineMode","cognitiveMap","getSectionCompareStyle","getSubSectionCompareStyle","getDeviationStyleByKey","isArrowVisible","isAnimatingRef","isSideBySideRef","sideBySideCacheRef","sideBySideLineRef","activeSideBySideSectionRef","activeSideBySideRightSectionRef","connectedLines","providedConnectedLines","setConnectedLines","providedSetConnectedLines","cachedConnectedPositions","providedCachedConnectedPositions","calculateLinesRef","resizeTimerRef","scrollLock","scrollSyncLocked","handleResizeRef","activeProposed","existingRule","analysisData","pendingScrollTargetRef","pendingScrollCallbackRef","resolvedComparisonConfig","getFieldData","lines","setLines","useState","overallConnector","setOverallConnector","internalConnectedLines","internalSetConnectedLines","svgDimensions","setSvgDimensions","width","height","isCalculatingLines","useRef","scrollTicking","scrollSyncing","timerRef","internalCachedConnectedPositions","getRoundedStaggeredPath","x1","y1","x2","y2","cX","visL","visR","Math","abs","r1","min","r2","dy1","dy2","dx2","calculateLines","useCallback","current","isSubSectionVisible","keyPath","pathParts","split","rootIdx","ancestorPath","i","length","containerRect","getBoundingClientRect","newLines","forEach","key","l","r","style","minHeight","idx","max","Object","keys","fieldHeights","lRect","rRect","syncHeights","left","right","subSectionHeights","leftIdx","leftSec","refIndexes","rhsSelfIdx","rhsArrayIdx","findIndex","s","selfIndex","maxH","DEVIATION_BADGE_SEPARATOR","offsetParent","entries","Number","getMappedRightIndexes","mapped","map","filter","Array","from","Set","continuationSourceIdx","continuationSourceRowId","section","comparisonRowId","resolvedLeftIdx","lWrap","rWrap","leftRect","rightRect","top","leftTop","rightTop","leftBottom","clientHeight","Infinity","rightBottom","clamp","v","push","id","sectionIdx","targetRightIdx","isSubSection","isMappingContinuation","hasCognitive","cognitiveData","nodeId","includes","devKey","leftKeyPath","rightKeyPath","refId","lBadgeEl","rBadgeEl","subSectionKeyPath","leftHeaderRect","rightHeaderRect","overallY","y","size","newConnectedLines","leftContainer","rightContainer","newCache","leftScrollTop","scrollTop","rightScrollTop","cTop","connectedIdx","lBadge","leftIdxNum","targetMarks","document","querySelectorAll","rBadge","index","centerX","rawLhsY","rawRhsY","lhsScrollY","rhsScrollY","styleId","baseLabel","n","join","String","letter","fromCharCode","matchLabel","containerTop","styleColor","badgeBorder","styleBg","badgeBg","styleText","badgeText","clampedLhsY","clampedRhsY","pathD","isGuideline","setTimeout","updateConnectedLinesOnScroll","e","console","error","cache","setAttribute","leftScroll","rightScroll","leftHeight","rightHeight","containerHeight","topCount","bottomCount","sharedX1","sharedY1","sharedColor","sharedTextCol","hasActiveConnections","universalSpineX","entry","lhsViewportY","rhsViewportY","strokeEl","bgEl","btnEl","numberBadgeEl","visibleLhsY","visibleRhsY","lhsVisible","rhsVisible","showLine","upStroke","upBadge","upArrow","upText","upRect","upY","textContent","downStroke","downBadge","downArrow","downText","downRect","downY","calculateLinesDebounced","clearTimeout","handleColumnScroll","currentTarget","callback","source","target","resolveActiveAnchors","activeLeftIdx","activeRightIdx","leftAnchor","rightAnchor","parts","rightIdx","sourceAnchor","targetAnchor","nextTargetTop","sourceAnchorRect","targetAnchorRect","targetRect","sourceAnchorCenterY","sourceMaxScroll","scrollHeight","targetMaxScroll","requestAnimationFrame","badgeScreenY","initialScrollTop","scrollDelta","horizontalY","toString","isVisible","useEffect","timer","onWindowResize","window","addEventListener","removeEventListener"],"mappings":"uJAKO,MAAMA,EAAqB,EAC9BC,eACAC,mBACAC,oBACAC,kBACAC,WACAC,gBAAeC,iBACfC,mBAAkBC,mBAClBC,gBACAC,WAAUC,YACVC,kBAAiBC,mBACjBC,qBAAoBC,sBACpBC,eAAcC,eACdC,iBACAC,mBAAkBC,sBAClBC,oBACAC,eAAcC,0BACdC,wBACAC,kBACAC,eACAC,yBAAwBC,4BAA2BC,yBACnDC,iBAEAC,iBACAC,kBACAC,qBACAC,oBACAC,6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AAW6C,GAAyB,KAC5CiC,EAAiB,IAAM1P,EAAgB2C,UAG7C,OAFOgN,OAAAC,iBAAiB,SAAUF,GAE3B,KACLhC,aAAa+B,GACY,OAArBlO,GAASoB,SAAkB+K,aAAanM,GAASoB,SACtB,OAA3B9C,EAAe8C,SAAkB+K,aAAa7N,EAAe8C,SAC1DgN,OAAAE,oBAAoB,SAAUH,KAEtC,CACDzP,EACAC,EACAC,EACAzC,EACAU,EACAC,EACAb,EACAC,EACA6C,GACAmN,GACAlP,EACAC,EACAO,EACAT,IAIG,CACXkC,SAAOC,YACPE,oBAAkBC,uBAClBtB,kBAAgBE,qBAChBuB,iBACArB,4BACA+C,kBACA7C,oBACA6N,2BACAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useRef as
|
|
1
|
+
import{useRef as e,useEffect as r,useCallback as n}from"react";import{DEVIATION_BADGE_SEPARATOR as t}from"../CognitiveComparehelpers.js";const c=({timerRef:c,ruleComponentRef:u,scrollContainerRef:l,containerRef:i,maintainRelativeOrder:o,proposedSections:s,existingSections:a,isSideBySideRef:R,activeSideBySideSectionRef:d,activeSideBySideRightSectionRef:f,sectionRowRefs:p,sectionRightRowRefs:g,sectionLeftRefs:h,sectionRightRefs:m,subSectionLeftRefs:C,subSectionRightRefs:S,lhsBadgeRefs:B,rhsBadgeRefs:T,leftContainerRef:b,rightContainerRef:y,calculateLinesRef:z,handleResizeRef:x,setIsResizing:v,setIsArrowVisible:w,sideBySideCacheRef:$,cachedConnectedPositions:A})=>{const E=e(0),F=e(0),L=e(0),M=e(()=>{}),I=x??M,N=e(null);e(c),r(()=>{const e=(e,r,n,t,c)=>{r.current=e.getBoundingClientRect().width;const u=new ResizeObserver(e=>{null!==n.current&&cancelAnimationFrame(n.current),n.current=requestAnimationFrame(()=>{n.current=null;const u=e[e.length-1];if(!u)return;const l=u.borderBoxSize?.[0]?.inlineSize??u.contentRect.width;Math.abs(l-r.current)<1?c():(r.current=l,t())})});return u.observe(e),u},r={current:null},n={current:null},t={current:null},c=[],o=[r,n,t];return u.current&&c.push(e(u.current,E,r,()=>I.current(),()=>{})),l.current&&c.push(e(l.current,F,n,()=>I.current(),()=>z.current?.())),i.current&&c.push(e(i.current,L,t,()=>I.current(),()=>z.current?.())),()=>{c.forEach(e=>e.disconnect()),o.forEach(e=>{null!==e.current&&(cancelAnimationFrame(e.current),e.current=null)})}},[]);return{handleResize:n(()=>{v(!0),w(!1),$.current=null,null!==N.current&&clearTimeout(N.current),null!==c.current&&(clearTimeout(c.current),c.current=null),N.current=setTimeout(()=>{try{if(A.current=[],R.current&&null!==d.current&&null!==f.current){const e=d.current,r=f.current,n="string"==typeof e&&e.includes(t);let c=null,u=null,l=null,i=null;if(n){const r=e.split(t),n=`${r[0]}${t}${r[1]}`;c=B.current[n]?.current||null,u=T.current[n]?.current||null,l=C.current[r[2]]?.current||h.current[Number(r[2])]?.current||null,i=S.current[r[3]]?.current||m.current[Number(r[3])]?.current||null}else c=p.current[e]?.current||null,l=h.current[e]?.current||null,u=g.current[r]?.current||null,i=m.current[r]?.current||null;if(c&&u&&l&&i){if(l.style.paddingTop="0px",i.style.paddingTop="0px",!o){const e=c.getBoundingClientRect(),r=u.getBoundingClientRect(),n=e.top-r.top;n>0?i.style.paddingTop=`${n}px`:n<0&&(l.style.paddingTop=`${Math.abs(n)}px`)}const e=b.current,r=y.current;if(e&&r){const n=c.getBoundingClientRect().top-e.getBoundingClientRect().top+e.scrollTop,t=u.getBoundingClientRect().top-r.getBoundingClientRect().top+r.scrollTop,l=t-(n-e.scrollTop);Math.abs(r.scrollTop-l)>1&&(r.scrollTop=l)}}}z.current?.(),R.current&&w(!0)}catch(e){console.error("Error in resize handler: ",e)}finally{v(!1),N.current=null}},150)},[o,s,a]),handleResizeRef:I}};export{c as useResizeHandler};
|
|
2
2
|
//# sourceMappingURL=useResizeHandler.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useResizeHandler.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useResizeHandler.js","sources":["../../../../src/features/CognitiveCompare/hooks/useResizeHandler.ts"],"sourcesContent":["import React, { useCallback, useEffect, useRef } from \"react\";\nimport { DEVIATION_BADGE_SEPARATOR } from \"../CognitiveComparehelpers\";\n\nexport const useResizeHandler = ({\n timerRef,\n ruleComponentRef,\n scrollContainerRef,\n containerRef,\n maintainRelativeOrder,\n proposedSections,\n existingSections,\n isSideBySideRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n sectionRowRefs,\n sectionRightRowRefs,\n sectionLeftRefs,\n sectionRightRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n leftContainerRef,\n rightContainerRef,\n calculateLinesRef,\n handleResizeRef: externalHandleResizeRef,\n setIsResizing,\n setIsArrowVisible,\n sideBySideCacheRef,\n cachedConnectedPositions\n}: any) => {\n\n // REFS Declaration\n const prevRootWidthRef = useRef<number>(0);\n const prevScrollWidthRef = useRef<number>(0);\n const prevContainerWidthRef = useRef<number>(0);\n const internalHandleResizeRef = useRef<() => void>(() => { });\n const handleResizeRef = externalHandleResizeRef ?? internalHandleResizeRef;\n const resizeTimerRef = useRef<ReturnType<typeof setTimeout> | null>(null);\n const timerRefLocal = useRef<ReturnType<typeof setTimeout> | null>(timerRef);\n\n useEffect(() => {\n // Local function to create a ResizeObserver for a given element and width reference, with debouncing using requestAnimationFrame\n const makeWidthObserver = (\n element: HTMLElement,\n prevWidthRef: React.MutableRefObject<number>,\n rafRef: React.MutableRefObject<number | null>, // Request AnimationFrame reference for debouncing\n onWidthChange: () => void,\n onNoChange: () => void\n ): ResizeObserver => {\n prevWidthRef.current = element.getBoundingClientRect().width;\n\n const observer = new ResizeObserver((entries) => {\n // Cancel the animation frame if rAF is already scheduled to prevent multiple calls during rapid resize events\n if (rafRef.current !== null) cancelAnimationFrame(rafRef.current);\n\n rafRef.current = requestAnimationFrame(() => {\n rafRef.current = null; // Reset rAF reference after execution\n\n const entry = entries[entries.length - 1];\n if (!entry) return;\n\n // Calculate the new width using borderBoxSize if available for more accurate measurements, otherwise fallback to contentRect\n const newWidth = entry.borderBoxSize?.[0]?.inlineSize ?? entry.contentRect.width;\n\n if (Math.abs(newWidth - prevWidthRef.current) < 1) {\n onNoChange();\n return;\n }\n\n prevWidthRef.current = newWidth;\n onWidthChange();\n });\n });\n observer.observe(element);\n return observer;\n };\n\n // Each observer gets its own rAF so they don't cancel each other\n // Preventing race conditions\n const rootRafRef: React.MutableRefObject<number | null> = { current: null };\n const scrollRafRef: React.MutableRefObject<number | null> = { current: null };\n const containerRafRef: React.MutableRefObject<number | null> = { current: null };\n\n const observers: ResizeObserver[] = [];\n const rafRefs = [rootRafRef, scrollRafRef, containerRafRef];\n\n if (ruleComponentRef.current) {\n observers.push(makeWidthObserver(\n ruleComponentRef.current,\n prevRootWidthRef,\n rootRafRef,\n () => handleResizeRef.current(),\n () => { },\n ));\n }\n\n if (scrollContainerRef.current) {\n observers.push(\n makeWidthObserver(\n scrollContainerRef.current,\n prevScrollWidthRef,\n scrollRafRef,\n () => handleResizeRef.current(),\n // Optional chaining to prevent runtime crashes\n () => calculateLinesRef.current?.(),\n ),\n )\n }\n\n if (containerRef.current) {\n observers.push(makeWidthObserver(\n containerRef.current,\n prevContainerWidthRef,\n containerRafRef,\n () => handleResizeRef.current(),\n () => calculateLinesRef.current?.(),\n ));\n }\n\n // Cleanup function to disconnect\n return () => {\n observers.forEach((observer: ResizeObserver) => observer.disconnect());\n rafRefs.forEach((rafRef: React.MutableRefObject<number | null>) => {\n if (rafRef.current !== null) {\n cancelAnimationFrame(rafRef.current);\n rafRef.current = null;\n }\n })\n }\n // add observers in initial mount only\n }, []);\n\n const handleResize = useCallback(() => {\n setIsResizing(true);\n setIsArrowVisible(false);\n\n sideBySideCacheRef.current = null;\n if (resizeTimerRef.current !== null) clearTimeout(resizeTimerRef.current);\n\n if (timerRef.current !== null) {\n clearTimeout(timerRef.current);\n timerRef.current = null;\n }\n\n resizeTimerRef.current = setTimeout(() => {\n try {\n cachedConnectedPositions.current = [];\n\n if (isSideBySideRef.current && activeSideBySideSectionRef.current !== null && activeSideBySideRightSectionRef.current !== null) {\n const activeLeftIdx = activeSideBySideSectionRef.current;\n const activeRightIdx = activeSideBySideRightSectionRef.current;\n\n const isSubSection = typeof activeLeftIdx === \"string\" && activeLeftIdx.includes(DEVIATION_BADGE_SEPARATOR);\n\n let leftElement: HTMLElement | null = null;\n let rightElement: HTMLElement | null = null;\n let leftPadTarget: HTMLElement | null = null;\n let rightPadTarget: HTMLElement | null = null;\n\n if (isSubSection) {\n const parts = (activeLeftIdx as string).split(DEVIATION_BADGE_SEPARATOR);\n\n const refIdx = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n\n leftElement = lhsBadgeRefs.current[refIdx]?.current || null;\n rightElement = rhsBadgeRefs.current[refIdx]?.current || null;\n\n leftPadTarget =\n subSectionLeftRefs.current[parts[2]]?.current ||\n sectionLeftRefs.current[Number(parts[2])]?.current ||\n null;\n\n rightPadTarget =\n subSectionRightRefs.current[parts[3]]?.current ||\n sectionRightRefs.current[Number(parts[3])]?.current ||\n null;\n } else {\n leftElement = sectionRowRefs.current[activeLeftIdx as number]?.current || null;\n leftPadTarget = sectionLeftRefs.current[activeLeftIdx as number]?.current || null;\n\n rightElement = sectionRightRowRefs.current[activeRightIdx as number]?.current || null;\n rightPadTarget = sectionRightRefs.current[activeRightIdx as number]?.current || null;\n\n }\n\n\n if (leftElement && rightElement && leftPadTarget && rightPadTarget) {\n leftPadTarget.style.paddingTop = \"0px\";\n rightPadTarget.style.paddingTop = \"0px\";\n\n\n if (!maintainRelativeOrder) {\n const leftBadgeRect = leftElement.getBoundingClientRect();\n const rightBadgeRect = rightElement.getBoundingClientRect();\n\n const badgeDiff = leftBadgeRect.top - rightBadgeRect.top;\n\n // Add padding based on the left / right click\n if (badgeDiff > 0) {\n rightPadTarget.style.paddingTop = `${badgeDiff}px`;\n } else if (badgeDiff < 0) {\n leftPadTarget.style.paddingTop = `${Math.abs(badgeDiff)}px`;\n }\n }\n\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n\n if (leftContainer && rightContainer) {\n const leftAbsoluteTop =\n leftElement.getBoundingClientRect().top - leftContainer.getBoundingClientRect().top + leftContainer.scrollTop;\n\n const rightAbsoluteTop =\n rightElement.getBoundingClientRect().top - rightContainer.getBoundingClientRect().top + rightContainer.scrollTop;\n\n // Get relative position of left deviation badge\n const currentRelativeY = leftAbsoluteTop - leftContainer.scrollTop;\n\n // Amount of scroll to be performed in the RHS\n const targetRightScroll = rightAbsoluteTop - currentRelativeY;\n\n if (Math.abs(rightContainer.scrollTop - targetRightScroll) > 1) {\n rightContainer.scrollTop = targetRightScroll;\n }\n }\n }\n }\n\n // Recalculate lines once the position and scroll calculation is completed\n calculateLinesRef.current?.();\n\n // Once calculation are done show the arrows\n if (isSideBySideRef.current) {\n setIsArrowVisible(true);\n }\n } catch (err: any) {\n console.error(\"Error in resize handler: \", err);\n }\n finally {\n setIsResizing(false);\n resizeTimerRef.current = null;\n }\n // 150 ms delay timeout to trigger handleResize once resizing animation is completed\n }, 150);\n }, [maintainRelativeOrder, proposedSections, existingSections]);\n\n return {\n handleResize,\n handleResizeRef\n }\n}\n"],"names":["useResizeHandler","timerRef","ruleComponentRef","scrollContainerRef","containerRef","maintainRelativeOrder","proposedSections","existingSections","isSideBySideRef","activeSideBySideSectionRef","activeSideBySideRightSectionRef","sectionRowRefs","sectionRightRowRefs","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","leftContainerRef","rightContainerRef","calculateLinesRef","handleResizeRef","externalHandleResizeRef","setIsResizing","setIsArrowVisible","sideBySideCacheRef","cachedConnectedPositions","prevRootWidthRef","useRef","prevScrollWidthRef","prevContainerWidthRef","internalHandleResizeRef","resizeTimerRef","useEffect","makeWidthObserver","element","prevWidthRef","rafRef","onWidthChange","onNoChange","current","getBoundingClientRect","width","observer","ResizeObserver","entries","cancelAnimationFrame","requestAnimationFrame","entry","length","newWidth","borderBoxSize","inlineSize","contentRect","Math","abs","observe","rootRafRef","scrollRafRef","containerRafRef","observers","rafRefs","push","forEach","disconnect","handleResize","useCallback","clearTimeout","setTimeout","activeLeftIdx","activeRightIdx","isSubSection","includes","DEVIATION_BADGE_SEPARATOR","leftElement","rightElement","leftPadTarget","rightPadTarget","parts","split","refIdx","Number","style","paddingTop","leftBadgeRect","rightBadgeRect","badgeDiff","top","leftContainer","rightContainer","leftAbsoluteTop","scrollTop","rightAbsoluteTop","targetRightScroll","err","console","error"],"mappings":"yIAGO,MAAMA,EAAmB,EAC5BC,WACAC,mBACAC,qBACAC,eACAC,wBACAC,mBACAC,mBACAC,kBACAC,6BACAC,kCACAC,iBACAC,sBACAC,kBACAC,mBACAC,qBACAC,sBACAC,eACAC,eACAC,mBACAC,oBACAC,oBACAC,gBAAiBC,EACjBC,gBACAC,oBACAC,qBACAC,+BAIM,MAAAC,EAAmBC,EAAe,GAClCC,EAAqBD,EAAe,GACpCE,EAAwBF,EAAe,GACvCG,EAA0BH,EAAmB,QAC7CP,EAAkBC,GAA2BS,EAC7CC,EAAiBJ,EAA6C,MAC9CA,EAA6C5B,GAEnEiC,EAAU,KAEN,MAAMC,EAAoB,CACtBC,EACAC,EACAC,EACAC,EACAC,KAEaH,EAAAI,QAAUL,EAAQM,wBAAwBC,MAEvD,MAAMC,EAAW,IAAIC,eAAgBC,IAEV,OAAnBR,EAAOG,SAAkBM,qBAAqBT,EAAOG,SAElDH,EAAAG,QAAUO,sBAAsB,KACnCV,EAAOG,QAAU,KAEjB,MAAMQ,EAAQH,EAAQA,EAAQI,OAAS,GACvC,IAAKD,EAAO,OAGZ,MAAME,EAAWF,EAAMG,gBAAgB,IAAIC,YAAcJ,EAAMK,YAAYX,MAEvEY,KAAKC,IAAIL,EAAWd,EAAaI,SAAW,EACjCD,KA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IAAIkC,EAAeE,UAAYE,GAAqB,IACzDJ,EAAeE,UAAYE,EAEnC,CACJ,CACJ,CAGAzE,EAAkBoB,YAGdjC,EAAgBiC,SAChBhB,GAAkB,SAEjBsE,GACGC,QAAAC,MAAM,4BAA6BF,EAAG,CAElD,QACIvE,GAAc,GACdS,EAAeQ,QAAU,IAC7B,GAED,MACJ,CAACpC,EAAuBC,EAAkBC,IAIzCe"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e,{useRef as t,useCallback as r}from"react";
|
|
1
|
+
import e,{useRef as t,useCallback as r}from"react";const f=()=>e.createRef(),c=(e,c)=>{const n=t({}),s=t({}),o=t({}),R=t({}),i=t({}),u=t({}),g=t({}),h=t({}),l=t({}),a=t({}),S=r((e,t)=>{const r="left"===e?n.current:s.current;return r[t]||(r[t]=f()),r[t]},[]),d=r((e,t)=>(e.current[t]||(e.current[t]=f()),e.current[t]),[]);e.forEach(e=>{S("left",e),S("right",e)});for(let e=0;e<c;e+=1)d(o,e),d(R,e),d(i,e),d(u,e),d(g,e);const b=r(e=>d(a,e),[d]),w=r((e,t)=>{const r="left"===e?h.current:l.current;return r[t]||(r[t]=f()),r[t]},[]),B=r((e,t)=>d("left"===e?i:u,t),[d]);return{leftRefs:n,rightRefs:s,sectionLeftRefs:o,sectionRightRefs:R,lhsBadgeRefs:i,rhsBadgeRefs:u,sectionRightRowRefs:g,subSectionLeftRefs:h,subSectionRightRefs:l,sectionRowRefs:a,getFieldRef:S,getSectionRowRef:b,getSubSectionRef:w,getBadgeRef:B}};export{c as useSectionRefs};
|
|
2
2
|
//# sourceMappingURL=useSectionRefs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSectionRefs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useSectionRefs.js","sources":["../../../../src/features/CognitiveCompare/hooks/useSectionRefs.ts"],"sourcesContent":["import React, { useCallback, useRef } from \"react\";\nimport { DivRefMap } from \"../CognitiveCompareTypes\";\n\n\n\nconst createDivRef = () => React.createRef<HTMLDivElement>();\n\nexport const useSectionRefs = (\n visibleFieldKeys: string[],\n sectionCount: number,\n) => {\n const leftRefs = useRef<DivRefMap<string>>({});\n const rightRefs = useRef<DivRefMap<string>>({});\n const sectionLeftRefs = useRef<DivRefMap>({});\n const sectionRightRefs = useRef<DivRefMap>({});\n const lhsBadgeRefs = useRef<DivRefMap>({});\n const rhsBadgeRefs = useRef<DivRefMap>({});\n const sectionRightRowRefs = useRef<DivRefMap>({});\n const subSectionLeftRefs = useRef<DivRefMap<string>>({});\n const subSectionRightRefs = useRef<DivRefMap<string>>({});\n const sectionRowRefs = useRef<DivRefMap>({});\n\n const getFieldRef = useCallback(\n (side: \"left\" | \"right\", key: string) => {\n const store = side === \"left\" ? leftRefs.current : rightRefs.current;\n if (!store[key]) {\n store[key] = createDivRef();\n }\n return store[key];\n },\n [],\n );\n\n const getIndexedRef = useCallback(\n (store: React.MutableRefObject<DivRefMap>, key: string | number) => {\n if (!store.current[key]) {\n store.current[key] = createDivRef();\n }\n return store.current[key];\n },\n [],\n );\n\n visibleFieldKeys.forEach((key) => {\n getFieldRef(\"left\", key);\n getFieldRef(\"right\", key);\n });\n\n for (let i = 0; i < sectionCount; i += 1) {\n getIndexedRef(sectionLeftRefs, i);\n getIndexedRef(sectionRightRefs, i);\n getIndexedRef(lhsBadgeRefs, i);\n getIndexedRef(rhsBadgeRefs, i);\n getIndexedRef(sectionRightRowRefs, i);\n }\n\n const getSectionRowRef = useCallback(\n (idx: string | number) => getIndexedRef(sectionRowRefs, idx),\n [getIndexedRef],\n );\n\n const getSubSectionRef = useCallback(\n (side: \"left\" | \"right\", keyPath: string) => {\n const store =\n side === \"left\" ? subSectionLeftRefs.current : subSectionRightRefs.current;\n if (!store[keyPath]) {\n store[keyPath] = createDivRef();\n }\n return store[keyPath];\n },\n [],\n );\n\n const getBadgeRef = useCallback(\n (side: \"left\" | \"right\", key: string | number) => {\n const store = side === \"left\" ? lhsBadgeRefs : rhsBadgeRefs;\n return getIndexedRef(store, key);\n },\n [getIndexedRef],\n );\n\n return {\n leftRefs,\n rightRefs,\n sectionLeftRefs,\n sectionRightRefs,\n lhsBadgeRefs,\n rhsBadgeRefs,\n sectionRightRowRefs,\n subSectionLeftRefs,\n subSectionRightRefs,\n sectionRowRefs,\n getFieldRef,\n getSectionRowRef,\n getSubSectionRef,\n getBadgeRef,\n };\n};\n"],"names":["createDivRef","React","createRef","useSectionRefs","visibleFieldKeys","sectionCount","leftRefs","useRef","rightRefs","sectionLeftRefs","sectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRightRowRefs","subSectionLeftRefs","subSectionRightRefs","sectionRowRefs","getFieldRef","useCallback","side","key","store","current","getIndexedRef","forEach","i","getSectionRowRef","idx","getSubSectionRef","keyPath","getBadgeRef"],"mappings":"mDAKA,MAAMA,EAAe,IAAMC,EAAMC,YAEpBC,EAAiB,CAC5BC,EACAC,KAEM,MAAAC,EAAWC,EAA0B,CAAA,GACrCC,EAAYD,EAA0B,CAAA,GACtCE,EAAkBF,EAAkB,CAAA,GACpCG,EAAmBH,EAAkB,CAAA,GACrCI,EAAeJ,EAAkB,CAAA,GACjCK,EAAeL,EAAkB,CAAA,GACjCM,EAAsBN,EAAkB,CAAA,GACxCO,EAAqBP,EAA0B,CAAA,GAC/CQ,EAAsBR,EAA0B,CAAA,GAChDS,EAAiBT,EAAkB,CAAA,GAEnCU,EAAcC,EAClB,CAACC,EAAwBC,KACvB,MAAMC,EAAiB,SAATF,EAAkBb,EAASgB,QAAUd,EAAUc,QAI7D,OAHKD,EAAMD,KACHC,EAAAD,GAAOpB,KAERqB,EAAMD,IAEf,IAGIG,EAAgBL,EACpB,CAACG,EAA0CD,KACpCC,EAAMC,QAAQF,KACXC,EAAAC,QAAQF,GAAOpB,KAEhBqB,EAAMC,QAAQF,IAEvB,IAGehB,EAAAoB,QAASJ,IACxBH,EAAY,OAAQG,GACpBH,EAAY,QAASG,KAGvB,IAAA,IAASK,EAAI,EAAGA,EAAIpB,EAAcoB,GAAK,EACrCF,EAAcd,EAAiBgB,GAC/BF,EAAcb,EAAkBe,GAChCF,EAAcZ,EAAcc,GAC5BF,EAAcX,EAAca,GAC5BF,EAAcV,EAAqBY,GAGrC,MAAMC,EAAmBR,EACtBS,GAAyBJ,EAAcP,EAAgBW,GACxD,CAACJ,IAGGK,EAAmBV,EACvB,CAACC,EAAwBU,KACvB,MAAMR,EACK,SAATF,EAAkBL,EAAmBQ,QAAUP,EAAoBO,QAIrE,OAHKD,EAAMQ,KACHR,EAAAQ,GAAW7B,KAEZqB,EAAMQ,IAEf,IAGIC,EAAcZ,EAClB,CAACC,EAAwBC,IAEhBG,EADgB,SAATJ,EAAkBR,EAAeC,EACnBQ,GAE9B,CAACG,IAGI,MAAA,CACLjB,WACAE,YACAC,kBACAC,mBACAC,eACAC,eACAC,sBACAC,qBACAC,sBACAC,iBACAC,cACAS,mBACAE,mBACAE"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{useState as e,useRef as
|
|
1
|
+
import{useState as e,useRef as t,useCallback as n,useEffect as r}from"react";import{DEVIATION_BADGE_SEPARATOR as c,resetClauseHighlight as i,smoothScrollTo as u}from"../CognitiveComparehelpers.js";const l=({isGuidelineMode:l,maintainRelativeOrder:o,proposedSections:s,existingSections:d,leftContainerRef:p,rightContainerRef:g,scrollContainerRef:a,sectionLeftRefs:f,sectionRightRefs:h,subSectionLeftRefs:R,subSectionRightRefs:S,lhsBadgeRefs:y,rhsBadgeRefs:m,sectionRowRefs:B,sectionRightRowRefs:x,rhsTopSpacerRef:C,rhsBottomSpacerRef:T,lhsTopSpacerRef:v,lhsBottomSpacerRef:b,calculateLinesRef:$,setConnectedSections:A,setConnectedLines:I,cachedConnectedPositions:w,closeMoreFunctionsPopup:L,setErrorToast:E,moreFunctions:F,closeSummaryPopup:N})=>{const[q,H]=e(!1),[M,P]=e(!1),[z,V]=e(!1),[j,k]=e(!1),[G,O]=e(null),D=t(!1),J=t(null),K=t(!1),Q=t(null),U=t(null),W=t(null),X=t(new Set),Y=()=>{X.current.forEach(e=>{i(e)}),X.current.clear()},Z=(e,t,n)=>{let r=null,i=null,u=null,l=null,o=null,s=null;const d=(e,t)=>{if(!e||!t)return!0;const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.bottom>=r.top&&n.top<=r.bottom};if(e){const e=t.split(c),n=`${e[0]}${c}${e[1]}`;r=R.current[e[2]]?.current||f.current[Number(e[2])]?.current||null,i=S.current[e[3]]?.current||h.current[Number(e[3])]?.current||null,u=y.current[n]?.current||r,l=m.current[n]?.current||i}else{const e=Number(t),c=null!==n?Number(n):e;r=f.current[e]?.current||null,i=h.current[c]?.current||null,o=y.current[e]?.current||null,s=m.current[c]?.current||null,u=o||B.current[e]?.current||r,l=s||x.current[c]?.current||i}if(r&&(r.style.paddingTop="0px"),i&&(i.style.paddingTop="0px"),e||(o&&(o.style.marginTop="0px"),s&&(s.style.marginTop="0px")),!e&&o&&s){const e=p.current,t=g.current;if(!d(o,e)||!d(s,t))return;const n=o.getBoundingClientRect(),r=s.getBoundingClientRect(),c=n.top-r.top;if(Math.abs(c)>32)return;return void(c>0&&(s.style.marginTop=`${c}px`))}if(u&&l&&r&&i){const e=u.getBoundingClientRect(),t=l.getBoundingClientRect(),n=e.top-t.top;n>0&&(i.style.paddingTop=`${n}px`)}},_=n(()=>{const e=Q.current,t=U.current;if(null!==e)if("string"==typeof e&&e.includes(c)){const t=e.split(c),n=R.current[t[2]]?.current||f.current[Number(t[2])]?.current||null,r=S.current[t[3]]?.current||h.current[Number(t[3])]?.current||null;n&&(n.style.paddingTop="0px"),r&&(r.style.paddingTop="0px")}else{const n=f.current[e]?.current||null,r=h.current[t??e]?.current||null;n&&(n.style.paddingTop="0px"),r&&(r.style.paddingTop="0px");const c=y.current[e]?.current||null,i=m.current[t??e]?.current||null;c&&(c.style.marginTop="0px"),i&&(i.style.marginTop="0px")}C.current&&(C.current.style.height="0px"),T.current&&(T.current.style.height="0px"),v.current&&(v.current.style.height="0px"),b.current&&(b.current.style.height="0px")},[]);r(()=>{K.current=q},[q]),r(()=>{Q.current=G},[G]);const ee=n(()=>{Y(),H(!1),K.current=!1,J.current=null,_(),O(null),Q.current=null,U.current=null,P(!1),k(!1)},[_]),te=n((e,t,n)=>{const r=n?.toggleIfSame??!0,i=n?.onReady,R=n?.sourceSide??"left";if(L(),null==e)return;if(t&&!l)return void E("No counterpart exists for this section.");Y();const S=q&&G===e;q&&null!==G&&_(),S&&r?ee():(A(new Set([e])),I([]),w.current=[],k(!0),D.current=!0,O(e),Q.current=e,H(!0),K.current=!0,P(!1),C.current&&(C.current.style.height="0px"),T.current&&(T.current.style.height="0px"),v.current&&(v.current.style.height="0px"),b.current&&(b.current.style.height="0px"),requestAnimationFrame(()=>{const t=()=>{const t="string"==typeof e&&e.includes(c);let n=null,r=null,S=null;if(l){if(t){const t=e.split(c),r=`${t[0]}${c}${t[1]}`;n=y.current[r]?.current||null}else n=f.current[e]?.current||B.current[e]?.current||null;r=document.getElementById("guideline-target-0"),S=r?e:null}else if(t){const t=e.split(c),i=`${t[0]}${c}${t[1]}`;n=y.current[i]?.current||null,r=m.current[i]?.current||null,S=r?e:null}else if(n=f.current[e]?.current||B.current[e]?.current||null,o){const t=s[e],n=t?.refIndexes||[];if(n.length>0){const e=n[0],t=d.findIndex(t=>t.selfIndex===e);-1!==t&&(r=h.current[t]?.current||x.current[t]?.current||null,S=t)}}else r=h.current[e]?.current||x.current[e]?.current||null,S=r?e:null;U.current=S;const v=p.current,b=g.current,A=()=>{Z(t,e,S),P(!0),$.current&&$.current(),D.current=!1,"right"===R&&b?b.dispatchEvent(new Event("scroll")):v&&v.dispatchEvent(new Event("scroll")),k(!1),i?.()};if(!n||!v)return D.current=!1,k(!1),void i?.();if(!r||!b)return void A();if(!o){let e=0;e="right"===R?r?r.getBoundingClientRect().top:0:n?n.getBoundingClientRect().top:0;const t=a.current,c=t?.getBoundingClientRect().top||0,i=t?t.scrollTop+e-c-150:0;return t?void u(t,i,200,A):void A()}const I=n.getBoundingClientRect().top-v.getBoundingClientRect().top+v.scrollTop,w=r.getBoundingClientRect().top-b.getBoundingClientRect().top+b.scrollTop,L=200;if("left"===R){const e=w-(I-v.scrollTop);e<0&&C.current&&!l&&(C.current.style.height=`${Math.abs(e)}px`),requestAnimationFrame(()=>{const t=b.scrollHeight-b.clientHeight;let n;if(e<0)n=0;else{if(e>t){const n=e-t;return T.current&&!l&&(T.current.style.height=`${n+150}px`),void requestAnimationFrame(()=>{u(b,e,L,A)})}n=e}u(b,n,L,A)})}else{const e=I-(w-b.scrollTop);requestAnimationFrame(()=>{const t=v.scrollHeight-v.clientHeight;let n;if(e<0)n=0;else{if(e>t)return void requestAnimationFrame(()=>u(v,t,L,A));n=e}u(v,n,L,A)})}};l?setTimeout(t,100):t()}))},[G,L,d,q,o,s,_,ee,l]);return{isSideBySide:q,setIsSideBySide:H,isArrowVisible:M,setIsArrowVisible:P,isResizing:z,setIsResizing:V,isSideBySideLoading:j,setIsSideBySideLoading:k,activeSideBySideSection:G,setActiveSideBySideSection:O,scrollLock:D,sideBySideCacheRef:J,isSideBySideRef:K,activeSideBySideSectionRef:Q,activeSideBySideRightSectionRef:U,sideBySideLineRef:W,highlightedClauseRefs:X,clearClauseHighlight:Y,applyAlignmentPadding:Z,resetSideBySide:ee,activateSideBySide:te}};export{l as useSideBySide};
|
|
2
2
|
//# sourceMappingURL=useSideBySide.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSideBySide.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"useSideBySide.js","sources":["../../../../src/features/CognitiveCompare/hooks/useSideBySide.tsx"],"sourcesContent":["import { useCallback, useEffect, useRef, useState } from \"react\"\nimport { DEVIATION_BADGE_SEPARATOR, resetClauseHighlight, smoothScrollTo } from \"../CognitiveComparehelpers\";\n\nexport const useSideBySide = ({ \n isGuidelineMode, // ── NEW PROP ──\n maintainRelativeOrder,\n proposedSections, existingSections,\n leftContainerRef, rightContainerRef, scrollContainerRef,\n sectionLeftRefs, sectionRightRefs,\n subSectionLeftRefs, subSectionRightRefs,\n lhsBadgeRefs, rhsBadgeRefs,\n sectionRowRefs, sectionRightRowRefs,\n rhsTopSpacerRef, rhsBottomSpacerRef,\n lhsTopSpacerRef, lhsBottomSpacerRef,\n calculateLinesRef,\n setConnectedSections, setConnectedLines, cachedConnectedPositions,\n closeMoreFunctionsPopup, setErrorToast,\n moreFunctions, closeSummaryPopup,\n}: any) => {\n const [isSideBySide, setIsSideBySide] = useState(false);\n const [isArrowVisible, setIsArrowVisible] = useState(false);\n const [isResizing, setIsResizing] = useState(false);\n const [isSideBySideLoading, setIsSideBySideLoading] = useState(false)\n const [activeSideBySideSection, setActiveSideBySideSection] = useState<number | string | null>(null)\n\n\n const scrollLock = useRef(false);\n const sideBySideCacheRef = useRef<{ badgeScreenY: number; initialScrollTop: number; leftTop: number; leftBottom: number; cTop: number; } | null>(null);\n const isSideBySideRef = useRef(false);\n const activeSideBySideSectionRef = useRef<number | string | null>(null);\n const activeSideBySideRightSectionRef = useRef<number | string | null>(null);\n const sideBySideLineRef = useRef<SVGLineElement | null>(null);\n const highlightedClauseRefs = useRef<Set<HTMLElement>>(new Set());\n\n // Helpers\n const clearClauseHighlight = () => {\n highlightedClauseRefs.current.forEach((el) => {\n resetClauseHighlight(el);\n });\n highlightedClauseRefs.current.clear();\n };\n\n const applyAlignmentPadding = (isSub: boolean, idx: any, activeRightIdx: any) => {\n let leftPadTarget: HTMLElement | null = null;\n let rightPadTarget: HTMLElement | null = null;\n let leftAlignEl: HTMLElement | null = null;\n let rightAlignEl: HTMLElement | null = null;\n let leftBadgeEl: HTMLElement | null = null;\n let rightBadgeEl: HTMLElement | null = null;\n const maxBadgeOffset = 32;\n\n const isVisibleInContainer = (el: HTMLElement | null, container: HTMLElement | null) => {\n if (!el || !container) return true;\n const rect = el.getBoundingClientRect();\n const cRect = container.getBoundingClientRect();\n return rect.bottom >= cRect.top && rect.top <= cRect.bottom;\n };\n\n if (isSub) {\n const parts = (idx as string).split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n leftPadTarget = subSectionLeftRefs.current[parts[2]]?.current || sectionLeftRefs.current[Number(parts[2])]?.current || null;\n rightPadTarget = subSectionRightRefs.current[parts[3]]?.current || sectionRightRefs.current[Number(parts[3])]?.current || null;\n leftAlignEl = lhsBadgeRefs.current[refId]?.current || leftPadTarget;\n rightAlignEl = rhsBadgeRefs.current[refId]?.current || rightPadTarget;\n } else {\n const leftNumIdx = Number(idx);\n const rightNumIdx = activeRightIdx !== null ? Number(activeRightIdx) : leftNumIdx;\n\n leftPadTarget = sectionLeftRefs.current[leftNumIdx]?.current || null;\n rightPadTarget = sectionRightRefs.current[rightNumIdx]?.current || null;\n leftBadgeEl = lhsBadgeRefs.current[leftNumIdx]?.current || null;\n rightBadgeEl = rhsBadgeRefs.current[rightNumIdx]?.current || null;\n\n // Core Fix: Fallbacks guarantee we find an element even if badges are null\n leftAlignEl = leftBadgeEl || sectionRowRefs.current[leftNumIdx]?.current || leftPadTarget;\n rightAlignEl = rightBadgeEl || sectionRightRowRefs.current[rightNumIdx]?.current || rightPadTarget;\n }\n\n if (leftPadTarget) leftPadTarget.style.paddingTop = \"0px\";\n if (rightPadTarget) rightPadTarget.style.paddingTop = \"0px\";\n if (!isSub) {\n if (leftBadgeEl) leftBadgeEl.style.marginTop = \"0px\";\n if (rightBadgeEl) rightBadgeEl.style.marginTop = \"0px\";\n }\n\n if (!isSub && leftBadgeEl && rightBadgeEl) {\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n if (!isVisibleInContainer(leftBadgeEl, leftContainer) || !isVisibleInContainer(rightBadgeEl, rightContainer)) {\n return;\n }\n const lRect = leftBadgeEl.getBoundingClientRect();\n const rRect = rightBadgeEl.getBoundingClientRect();\n const badgeDiff = lRect.top - rRect.top;\n\n if (Math.abs(badgeDiff) > maxBadgeOffset) return;\n\n if (badgeDiff > 0) {\n rightBadgeEl.style.marginTop = `${badgeDiff}px`;\n }\n return;\n }\n\n if (leftAlignEl && rightAlignEl && leftPadTarget && rightPadTarget) {\n const lRect = leftAlignEl.getBoundingClientRect();\n const rRect = rightAlignEl.getBoundingClientRect();\n const badgeDiff = lRect.top - rRect.top;\n\n if (badgeDiff > 0) {\n rightPadTarget.style.paddingTop = `${badgeDiff}px`;\n }\n }\n };\n\n const clearAlignmentOffsets = useCallback(() => {\n const leftIdx = activeSideBySideSectionRef.current;\n const rightIdx = activeSideBySideRightSectionRef.current;\n\n if (leftIdx !== null) {\n if (typeof leftIdx === \"string\" && leftIdx.includes(DEVIATION_BADGE_SEPARATOR)) {\n const parts = leftIdx.split(DEVIATION_BADGE_SEPARATOR);\n const leftPadTarget =\n subSectionLeftRefs.current[parts[2]]?.current ||\n sectionLeftRefs.current[Number(parts[2])]?.current ||\n null;\n const rightPadTarget =\n subSectionRightRefs.current[parts[3]]?.current ||\n sectionRightRefs.current[Number(parts[3])]?.current ||\n null;\n\n if (leftPadTarget) leftPadTarget.style.paddingTop = \"0px\";\n if (rightPadTarget) rightPadTarget.style.paddingTop = \"0px\";\n } else {\n const leftPadTarget = sectionLeftRefs.current[leftIdx as number]?.current || null;\n const rightPadTarget =\n sectionRightRefs.current[(rightIdx ?? leftIdx) as number]?.current || null;\n\n if (leftPadTarget) leftPadTarget.style.paddingTop = \"0px\";\n if (rightPadTarget) rightPadTarget.style.paddingTop = \"0px\";\n\n const leftBadge = lhsBadgeRefs.current[leftIdx as number]?.current || null;\n const rightBadge = rhsBadgeRefs.current[(rightIdx ?? leftIdx) as number]?.current || null;\n if (leftBadge) leftBadge.style.marginTop = \"0px\";\n if (rightBadge) rightBadge.style.marginTop = \"0px\";\n }\n }\n\n if (rhsTopSpacerRef.current) rhsTopSpacerRef.current.style.height = \"0px\";\n if (rhsBottomSpacerRef.current) rhsBottomSpacerRef.current.style.height = \"0px\";\n if (lhsTopSpacerRef.current) lhsTopSpacerRef.current.style.height = \"0px\";\n if (lhsBottomSpacerRef.current) lhsBottomSpacerRef.current.style.height = \"0px\";\n }, []);\n\n\n // Effects\n useEffect(() => {\n isSideBySideRef.current = isSideBySide;\n }, [isSideBySide]);\n\n useEffect(() => {\n activeSideBySideSectionRef.current = activeSideBySideSection;\n }, [activeSideBySideSection]);\n\n // Callbacks\n\n const resetSideBySide = useCallback(() => {\n clearClauseHighlight();\n setIsSideBySide(false);\n isSideBySideRef.current = false;\n sideBySideCacheRef.current = null;\n clearAlignmentOffsets();\n setActiveSideBySideSection(null);\n activeSideBySideSectionRef.current = null;\n activeSideBySideRightSectionRef.current = null;\n setIsArrowVisible(false);\n setIsSideBySideLoading(false);\n }, [clearAlignmentOffsets]);\n\n const activateSideBySide = useCallback(\n (\n idx: number | string,\n isOrphan: boolean,\n options?: { toggleIfSame?: boolean; onReady?: () => void; sourceSide?: \"left\" | \"right\" },\n ) => {\n const toggleIfSame = options?.toggleIfSame ?? true;\n const onReady = options?.onReady;\n const sourceSide = options?.sourceSide ?? \"left\";\n\n closeMoreFunctionsPopup();\n\n if (idx == null) return;\n\n // In Guideline Mode, we don't care about orphans, the whole rulebook is the counterpart.\n if (isOrphan && !isGuidelineMode) {\n setErrorToast(\"No counterpart exists for this section.\");\n return;\n }\n clearClauseHighlight();\n const isSameTarget = isSideBySide && activeSideBySideSection === idx;\n if (isSideBySide && activeSideBySideSection !== null) {\n clearAlignmentOffsets();\n }\n if (isSameTarget && toggleIfSame) {\n resetSideBySide();\n return;\n }\n\n setConnectedSections(new Set([idx]));\n setConnectedLines([]);\n cachedConnectedPositions.current = [];\n setIsSideBySideLoading(true);\n scrollLock.current = true;\n setActiveSideBySideSection(idx);\n activeSideBySideSectionRef.current = idx;\n setIsSideBySide(true);\n isSideBySideRef.current = true;\n setIsArrowVisible(false);\n\n if (rhsTopSpacerRef.current) rhsTopSpacerRef.current.style.height = \"0px\";\n if (rhsBottomSpacerRef.current) rhsBottomSpacerRef.current.style.height = \"0px\";\n if (lhsTopSpacerRef.current) lhsTopSpacerRef.current.style.height = \"0px\";\n if (lhsBottomSpacerRef.current) lhsBottomSpacerRef.current.style.height = \"0px\";\n\n requestAnimationFrame(() => {\n const executeAlignment = () => {\n const isSub = typeof idx === \"string\" && idx.includes(DEVIATION_BADGE_SEPARATOR);\n let leftEl: HTMLElement | null = null;\n let rightEl: HTMLElement | null = null;\n let activeRightIdx: number | string | null = null;\n\n if (isGuidelineMode) {\n // In guideline mode, grab leftEl normally, but rightEl is the injected <mark>\n if (isSub) {\n const parts = (idx as string).split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n leftEl = lhsBadgeRefs.current[refId]?.current || null;\n } else {\n leftEl = sectionLeftRefs.current[idx as number]?.current || sectionRowRefs.current[idx as number]?.current || null;\n }\n \n rightEl = document.getElementById('guideline-target-0');\n activeRightIdx = rightEl ? idx : null;\n } else {\n if (isSub) {\n const parts = (idx as string).split(DEVIATION_BADGE_SEPARATOR);\n const refId = `${parts[0]}${DEVIATION_BADGE_SEPARATOR}${parts[1]}`;\n \n leftEl = lhsBadgeRefs.current[refId]?.current || null;\n rightEl = rhsBadgeRefs.current[refId]?.current || null;\n activeRightIdx = rightEl ? idx : null;\n } else {\n leftEl = sectionLeftRefs.current[idx as number]?.current || sectionRowRefs.current[idx as number]?.current || null;\n \n if (!maintainRelativeOrder) {\n rightEl = sectionRightRefs.current[idx as number]?.current || sectionRightRowRefs.current[idx as number]?.current || null;\n activeRightIdx = rightEl ? idx : null;\n } else {\n const leftSec = proposedSections[idx as number] as any;\n const refIdxs = (leftSec?.refIndexes || []) as number[];\n \n if (refIdxs.length > 0) {\n const rhsSelfIndex = refIdxs[0];\n const rhsArrayIdx = existingSections.findIndex(\n (s: any) => s.selfIndex === rhsSelfIndex,\n );\n if (rhsArrayIdx !== -1) {\n rightEl = sectionRightRefs.current[rhsArrayIdx]?.current || sectionRightRowRefs.current[rhsArrayIdx]?.current || null;\n activeRightIdx = rhsArrayIdx;\n }\n }\n }\n }\n }\n\n activeSideBySideRightSectionRef.current = activeRightIdx;\n\n const leftContainer = leftContainerRef.current;\n const rightContainer = rightContainerRef.current;\n\n // Force visual alignment instantly after scroll animation completes\n const forceLayoutSync = () => {\n if (sourceSide === \"right\" && rightContainer) {\n rightContainer.dispatchEvent(new Event(\"scroll\"));\n } else if (leftContainer) {\n leftContainer.dispatchEvent(new Event(\"scroll\"));\n }\n };\n\n\n // CONSOLIDATED SCROLL COMPLETION HANDLER\n const finalizeSideBySide = () => {\n applyAlignmentPadding(isSub, idx, activeRightIdx);\n setIsArrowVisible(true);\n if (calculateLinesRef.current) calculateLinesRef.current();\n scrollLock.current = false;\n forceLayoutSync();\n setIsSideBySideLoading(false);\n onReady?.();\n };\n\n if (!leftEl || !leftContainer) {\n scrollLock.current = false;\n setIsSideBySideLoading(false);\n onReady?.();\n return;\n }\n\n if (!rightEl || !rightContainer) {\n finalizeSideBySide();\n return;\n }\n\n if (!maintainRelativeOrder) {\n let targetTop = 0;\n if (sourceSide === \"right\") {\n targetTop = rightEl ? rightEl.getBoundingClientRect().top : 0;\n } else {\n targetTop = leftEl ? leftEl.getBoundingClientRect().top : 0;\n }\n\n const scrollContainer = scrollContainerRef.current;\n const containerTop = scrollContainer?.getBoundingClientRect().top || 0;\n const nextTop = scrollContainer\n ? scrollContainer.scrollTop + targetTop - containerTop - 150\n : 0;\n const ANIM_SPEED = 200;\n\n if (!scrollContainer) {\n finalizeSideBySide();\n return;\n }\n\n smoothScrollTo(scrollContainer, nextTop, ANIM_SPEED, finalizeSideBySide);\n return;\n }\n\n const leftAbsoluteTop = leftEl.getBoundingClientRect().top - leftContainer.getBoundingClientRect().top + leftContainer.scrollTop;\n const rightAbsoluteTop = rightEl.getBoundingClientRect().top - rightContainer.getBoundingClientRect().top + rightContainer.scrollTop;\n const ANIM_SPEED = 200;\n\n if (sourceSide === \"left\") {\n const currentRelativeY = leftAbsoluteTop - leftContainer.scrollTop;\n const rawRightTargetScroll = rightAbsoluteTop - currentRelativeY;\n\n if (rawRightTargetScroll < 0) {\n if (rhsTopSpacerRef.current && !isGuidelineMode)\n rhsTopSpacerRef.current.style.height = `${Math.abs(rawRightTargetScroll)}px`;\n }\n\n requestAnimationFrame(() => {\n const rightMaxScroll = rightContainer.scrollHeight - rightContainer.clientHeight;\n let rightActualScroll: number;\n\n if (rawRightTargetScroll < 0) {\n rightActualScroll = 0;\n } else if (rawRightTargetScroll > rightMaxScroll) {\n const deficit = rawRightTargetScroll - rightMaxScroll;\n if (rhsBottomSpacerRef.current && !isGuidelineMode)\n rhsBottomSpacerRef.current.style.height = `${deficit + 150}px`;\n requestAnimationFrame(() => {\n smoothScrollTo(rightContainer, rawRightTargetScroll, ANIM_SPEED, finalizeSideBySide);\n });\n return;\n } else {\n rightActualScroll = rawRightTargetScroll;\n }\n\n smoothScrollTo(rightContainer, rightActualScroll, ANIM_SPEED, finalizeSideBySide);\n });\n } else {\n const currentRelativeY = rightAbsoluteTop - rightContainer.scrollTop;\n const rawLeftTargetScroll = leftAbsoluteTop - currentRelativeY;\n\n // STRICT FIX: Removed LHS Top Spacer injection. LHS acts strictly as scroll target without manipulation.\n requestAnimationFrame(() => {\n const leftMaxScroll = leftContainer.scrollHeight - leftContainer.clientHeight;\n let leftActualScroll: number;\n\n if (rawLeftTargetScroll < 0) {\n leftActualScroll = 0;\n } else if (rawLeftTargetScroll > leftMaxScroll) {\n requestAnimationFrame(() => smoothScrollTo(leftContainer, leftMaxScroll, ANIM_SPEED, finalizeSideBySide));\n return;\n } else {\n leftActualScroll = rawLeftTargetScroll;\n }\n smoothScrollTo(leftContainer, leftActualScroll, ANIM_SPEED, finalizeSideBySide);\n });\n }\n };\n\n // Because GuidelinePanel re-renders when setConnectedSections fires,\n // we must wait a tick for the `<mark>` tags to paint to the DOM before calculating scroll bounds.\n if (isGuidelineMode) {\n setTimeout(executeAlignment, 100);\n } else {\n executeAlignment();\n }\n });\n },\n [\n activeSideBySideSection,\n closeMoreFunctionsPopup,\n existingSections,\n isSideBySide,\n maintainRelativeOrder,\n proposedSections,\n clearAlignmentOffsets,\n resetSideBySide,\n isGuidelineMode\n ],\n );\n\n return {\n isSideBySide, setIsSideBySide,\n isArrowVisible, setIsArrowVisible,\n isResizing, setIsResizing,\n isSideBySideLoading, setIsSideBySideLoading,\n activeSideBySideSection, setActiveSideBySideSection,\n scrollLock,\n sideBySideCacheRef,\n isSideBySideRef,\n activeSideBySideSectionRef,\n activeSideBySideRightSectionRef,\n sideBySideLineRef,\n highlightedClauseRefs,\n clearClauseHighlight,\n applyAlignmentPadding,\n resetSideBySide,\n activateSideBySide,\n }\n}"],"names":["useSideBySide","isGuidelineMode","maintainRelativeOrder","proposedSections","existingSections","leftContainerRef","rightContainerRef","scrollContainerRef","sectionLeftRefs","sectionRightRefs","subSectionLeftRefs","subSectionRightRefs","lhsBadgeRefs","rhsBadgeRefs","sectionRowRefs","sectionRightRowRefs","rhsTopSpacerRef","rhsBottomSpacerRef","lhsTopSpacerRef","lhsBottomSpacerRef","calculateLinesRef","setConnectedSections","setConnectedLines","cachedConnectedPositions","closeMoreFunctionsPopup","setErrorToast","moreFunctions","closeSummaryPopup","isSideBySide","setIsSideBySide","useState","isArrowVisible","setIsArrowVisible","isResizing","setIsResizing","isSideBySideLoading","setIsSideBySideLoading","activeSideBySideSection","setActiveSideBySideSection","scrollLock","useRef","sideBySideCacheRef","isSideBySideRef","activeSideBySideSectionRef","activeSideBySideRightSectionRef","sideBySideLineRef","highlightedClauseRefs","Set","clearClauseHighlight","current","forEach","el","resetClauseHighlight","clear","applyAlignmentPadding","isSub","idx","activeRightIdx","leftPadTarget","rightPadTarget","leftAlignEl","rightAlignEl","leftBadgeEl","rightBadgeEl","isVisibleInContainer","container","rect","getBoundingClientRect","cRect","bottom","top","parts","split","DEVIATION_BADGE_SEPARATOR","refId","Number","leftNumIdx","rightNumIdx","style","paddingTop","marginTop","leftContainer","rightContainer","lRect","rRect","badgeDiff","Math","abs","clearAlignmentOffsets","useCallback","leftIdx","rightIdx","includes","leftBadge","rightBadge","height","useEffect","resetSideBySide","activateSideBySide","isOrphan","options","toggleIfSame","onReady","sourceSide","isSameTarget","requestAnimationFrame","executeAlignment","leftEl","rightEl","document","getElementById","leftSec","refIdxs","refIndexes","length","rhsSelfIndex","rhsArrayIdx","findIndex","s","selfIndex","finalizeSideBySide","dispatchEvent","Event","targetTop","scrollContainer","containerTop","nextTop","scrollTop","smoothScrollTo","leftAbsoluteTop","rightAbsoluteTop","ANIM_SPEED","rawRightTargetScroll","rightMaxScroll","scrollHeight","clientHeight","rightActualScroll","deficit","rawLeftTargetScroll","leftMaxScroll","leftActualScroll","setTimeout"],"mappings":"qMAGO,MAAMA,EAAgB,EACzBC,kBACAC,wBACAC,mBAAkBC,mBAClBC,mBAAkBC,oBAAmBC,qBACrCC,kBAAiBC,mBACjBC,qBAAoBC,sBACpBC,eAAcC,eACdC,iBAAgBC,sBAChBC,kBAAiBC,qBACjBC,kBAAiBC,qBACjBC,oBACAC,uBAAsBC,oBAAmBC,2BACzCC,0BAAyBC,gBACzBC,gBAAeC,wBAEf,MAAOC,EAAcC,GAAmBC,GAAS,IAC1CC,EAAgBC,GAAqBF,GAAS,IAC9CG,EAAYC,GAAiBJ,GAAS,IACtCK,EAAqBC,GAA0BN,GAAS,IACxDO,EAAyBC,GAA8BR,EAAiC,MAGzFS,EAAaC,GAAO,GACpBC,EAAqBD,EAAsH,MAC3IE,EAAkBF,GAAO,GACzBG,EAA6BH,EAA+B,MAC5DI,EAAkCJ,EAA+B,MACjEK,EAAoBL,EAA8B,MAClDM,EAAwBN,EAA6B,IAAAO,KAGrDC,EAAuB,KACHF,EAAAG,QAAQC,QAASC,IACnCC,EAAqBD,KAEzBL,EAAsBG,QAAQI,SAG5BC,EAAwB,CAACC,EAAgBC,EAAUC,KAC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+
import{useCallback as e}from"react";import{generateColorPalette as t,getFirstDeviationOutputValue as l,getFirstDeviationColor as n,safeStringify as o}from"../CognitiveComparehelpers.js";import{DEFAULT_DEVIAION_COLOR as a}from"../CognitiveCompareConstants.js";const i=({proposedSections:i,existingSections:r,maintainRelativeOrder:s,cognitiveMap:u,deviationData:d,treeData:b,resolvedComparisonConfig:c,badgeStyleOverride:f})=>({getSectionCompareStyle:e((e,o="left")=>{let u=null,d=null;if("left"===o)if(u=i[e],s&&u){const e=r.filter(e=>u.refIndexes?.includes(e.selfIndex));d=e.find(e=>e.evaluationResult)||e[0]}else d=r[e];else if(d=r[e],s&&d){const e=i.filter(e=>e.refIndexes?.includes(d.selfIndex));u=e.find(e=>e.evaluationResult)||e[0]}else u=i[e];const b=u?.relation&&"not_defined"!==u.relation,c=d?.relation&&"not_defined"!==d.relation;if(!b&&!c&&!!(!u?.cognitiveData&&!d?.cognitiveData)){const e=("left"===o?!u?.title&&!u?.content:!d?.title&&!d?.content)?null:"Not Defined";let l=t(a);if(f){const t=f(e);t&&(l={...l,badgeBg:t.bg,badgeText:t.text,badgeBorder:t.border})}return{...l,label:e}}const g=u?.evaluationResult??d?.evaluationResult??null,v=l(g),p=n(g);let m=t(p);if(f){const e=f(v);e&&(m={...m,badgeBg:e.bg,badgeText:e.text,badgeBorder:e.border})}return null!=g?{...m,label:v??""}:{...m,label:null}},[i,r,u,c,s,f]),getSubSectionCompareStyle:e(e=>{const s=e.split("-").map(Number);let u=i[s[0]],d=r[s[0]];for(let e=1;e<s.length;e++)u?.subsections&&(u=u.subsections[s[e]]),d?.subsections&&(d=d.subsections[s[e]]);if(!u&&!d)return null;const b=u?.relation&&"not_defined"!==u.relation,c=d?.relation&&"not_defined"!==d.relation;o(u?.id)||o(d?.id);if(!b&&!c&&!!(!u?.cognitiveData&&!d?.cognitiveData)){let e=t(a);if(f){const t=f(null);t&&(e={...e,badgeBg:t.bg,badgeText:t.text,badgeBorder:t.border})}return{...e,label:null}}const g=u?.evaluationResult??d?.evaluationResult??null,v=l(g),p=n(g);let m=t(p);if(f){const e=f(v);e&&(m={...m,badgeBg:e.bg,badgeText:e.text,badgeBorder:e.border})}return null!=g?{...m,label:v??""}:{...m,label:null}},[i,r,u,c,f]),getDeviationStyleByKey:e((e,n)=>{if(!e||null==n)return null;const o=d?.[e]?.evaluation_result??b?.nodes?.[e]?.evaluation_result??null;if(!o||"object"!=typeof o)return null;const i=o?.deviations?.[n]??o?.deviation_entries?.[n]??o?.[n]??null,r=i?.evaluation_outputs?.metadata?.label_color??i?.evaluation_outputs?.label_color??i?.metadata?.label_color??o?.evaluation_outputs?.metadata?.label_color??a,s=l(i)??l(o);return{...t(r),label:s}},[d,b])});export{i as useStyleHelpers};
|
|
2
2
|
//# sourceMappingURL=useStyles.js.map
|