@e-llm-studio/citation 0.0.249 → 0.0.251-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -183
- package/dist/BPACitationRenderer.js +2 -0
- package/dist/BPACitationRenderer.js.map +1 -0
- package/dist/BookCitation.js +2 -0
- package/dist/BookCitation.js.map +1 -0
- package/dist/Bookemon.js +2 -0
- package/dist/Bookemon.js.map +1 -0
- package/dist/ChatCitation.js +2 -0
- package/dist/ChatCitation.js.map +1 -0
- package/dist/ChatDrawer.js +2 -0
- package/dist/ChatDrawer.js.map +1 -0
- package/dist/CitationRenderer.js +2 -0
- package/dist/CitationRenderer.js.map +1 -0
- package/dist/CodeCitation.js +2 -0
- package/dist/CodeCitation.js.map +1 -0
- package/dist/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/CognitiveInternalgptReasoning.js +2 -0
- package/dist/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/GptWebCitation.js +2 -0
- package/dist/GptWebCitation.js.map +1 -0
- package/dist/IngestionStatusComponent.js +2 -0
- package/dist/IngestionStatusComponent.js.map +1 -0
- package/dist/PdfViewer.js +2 -0
- package/dist/PdfViewer.js.map +1 -0
- package/dist/ProjectAccordion.js +2 -0
- package/dist/ProjectAccordion.js.map +1 -0
- package/dist/SplitterCitationsComponent.js +2 -0
- package/dist/SplitterCitationsComponent.js.map +1 -0
- package/dist/TextualGuideLinesComponent.js +2 -0
- package/dist/TextualGuideLinesComponent.js.map +1 -0
- package/dist/assests/icons/CitationsIcon.js +1 -1
- package/dist/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/assests/icons/InfoAlert.js +1 -1
- package/dist/assests/icons/InfoAlert.js.map +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/assests/svg/SparkleIcon.js +1 -1
- package/dist/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/BPACitationRenderer.js +2 -0
- package/dist/cjs/BPACitationRenderer.js.map +1 -0
- package/dist/cjs/BookCitation.js +2 -0
- package/dist/cjs/BookCitation.js.map +1 -0
- package/dist/cjs/Bookemon.js +2 -0
- package/dist/cjs/Bookemon.js.map +1 -0
- package/dist/cjs/ChatCitation.js +2 -0
- package/dist/cjs/ChatCitation.js.map +1 -0
- package/dist/cjs/ChatDrawer.js +2 -0
- package/dist/cjs/ChatDrawer.js.map +1 -0
- package/dist/cjs/CitationRenderer.js +2 -0
- package/dist/cjs/CitationRenderer.js.map +1 -0
- package/dist/cjs/CodeCitation.js +2 -0
- package/dist/cjs/CodeCitation.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/cjs/GptWebCitation.js +2 -0
- package/dist/cjs/GptWebCitation.js.map +1 -0
- package/dist/cjs/IngestionStatusComponent.js +2 -0
- package/dist/cjs/IngestionStatusComponent.js.map +1 -0
- package/dist/cjs/PdfViewer.js +2 -0
- package/dist/cjs/PdfViewer.js.map +1 -0
- package/dist/cjs/ProjectAccordion.js +2 -0
- package/dist/cjs/ProjectAccordion.js.map +1 -0
- package/dist/cjs/SplitterCitationsComponent.js +2 -0
- package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
- package/dist/cjs/TextualGuideLinesComponent.js +2 -0
- package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
- package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/types.js +1 -1
- package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/cjs/service/apicache.service.js +1 -1
- package/dist/cjs/service/apicache.service.js.map +1 -1
- package/dist/cjs/service/onDemandApi.js +1 -1
- package/dist/cjs/service/onDemandApi.js.map +1 -1
- package/dist/cjs/types/onDemandApi.types.js +1 -1
- package/dist/cjs/types/onDemandApi.types.js.map +1 -1
- package/dist/cjs/utils/codeCitations.utils.js +1 -1
- package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
- package/dist/cjs/utils/helper.js +2 -0
- package/dist/cjs/utils/helper.js.map +1 -0
- package/dist/cjs/utils/sanitizeHtml.js +1 -1
- package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
- package/dist/cjs/utils/themeManager.js +1 -1
- package/dist/cjs/utils/themeManager.js.map +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.js +1 -1
- package/dist/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/features/Bookemon/Bookemon.js +1 -1
- package/dist/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/features/Bookemon/BookemonContent.js +1 -1
- package/dist/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/features/Bookemon/utils/highlight.js +1 -1
- package/dist/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/features/ChatCitation/components/Chip.js +1 -1
- package/dist/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/features/CitationViewer/components/Header.js +1 -1
- package/dist/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/features/GptWebCitation/types.js +1 -1
- package/dist/features/GptWebCitation/types.js.map +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/features/PdfViewer/rotationManager.js +1 -1
- package/dist/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/service/apicache.service.js +1 -1
- package/dist/service/apicache.service.js.map +1 -1
- package/dist/service/onDemandApi.js +1 -1
- package/dist/service/onDemandApi.js.map +1 -1
- package/dist/types/AutopilotStyle.d.ts +2 -0
- package/dist/types/AutopilotStyle.d.ts.map +1 -0
- package/dist/types/BPACitationRenderer.d.ts +3 -0
- package/dist/types/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/BookCitation.d.ts +3 -0
- package/dist/types/BookCitation.d.ts.map +1 -0
- package/dist/types/Bookemon.d.ts +3 -0
- package/dist/types/Bookemon.d.ts.map +1 -0
- package/dist/types/ChatCitation.d.ts +3 -0
- package/dist/types/ChatCitation.d.ts.map +1 -0
- package/dist/types/ChatDrawer.d.ts +3 -0
- package/dist/types/ChatDrawer.d.ts.map +1 -0
- package/dist/types/CitationRenderer.d.ts +3 -0
- package/dist/types/CitationRenderer.d.ts.map +1 -0
- package/dist/types/CodeCitation.d.ts +3 -0
- package/dist/types/CodeCitation.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
- package/dist/types/GptWebCitation.d.ts +3 -0
- package/dist/types/GptWebCitation.d.ts.map +1 -0
- package/dist/types/IngestionStatusComponent.d.ts +2 -0
- package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/PdfViewer.d.ts +3 -0
- package/dist/types/PdfViewer.d.ts.map +1 -0
- package/dist/types/ProjectAccordion.d.ts +3 -0
- package/dist/types/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/SplitterCitationsComponent.d.ts +3 -0
- package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
- package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
- package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
- package/dist/types/context/DataSelectedContext.d.ts +73 -0
- package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/types.d.ts +405 -0
- package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +12 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/types.d.ts +77 -0
- package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
- package/dist/types/features/UploadData/main.d.ts +9 -0
- package/dist/types/features/UploadData/main.d.ts.map +1 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/methodsToExpose.d.ts +18 -0
- package/dist/types/methodsToExpose.d.ts.map +1 -0
- package/dist/types/onDemandApi.types.js +1 -1
- package/dist/types/onDemandApi.types.js.map +1 -1
- package/dist/types/service/API.d.ts +6 -0
- package/dist/types/service/API.d.ts.map +1 -0
- package/dist/types/service/DataService.d.ts +73 -0
- package/dist/types/service/DataService.d.ts.map +1 -0
- package/dist/types/service/ModelService.d.ts +68 -0
- package/dist/types/service/ModelService.d.ts.map +1 -0
- package/dist/types/service/ProjectService.d.ts +16 -0
- package/dist/types/service/ProjectService.d.ts.map +1 -0
- package/dist/types/service/SavedDataSetService.d.ts +27 -0
- package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
- package/dist/types/service/apicache.service.d.ts +43 -0
- package/dist/types/service/apicache.service.d.ts.map +1 -0
- package/dist/types/service/constants.d.ts +3 -0
- package/dist/types/service/constants.d.ts.map +1 -0
- package/dist/types/service/envHelperService.d.ts +5 -0
- package/dist/types/service/envHelperService.d.ts.map +1 -0
- package/dist/types/service/onDemandApi.d.ts +27 -0
- package/dist/types/service/onDemandApi.d.ts.map +1 -0
- package/dist/types/service/variableHelperService.d.ts +6 -0
- package/dist/types/service/variableHelperService.d.ts.map +1 -0
- package/dist/types/theme.d.ts +4 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/types/types/CodeCitationTypes.d.ts +46 -0
- package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
- package/dist/types/types/onDemandApi.types.d.ts +63 -0
- package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
- package/dist/types/userProvidedConfig.d.ts +8 -0
- package/dist/types/userProvidedConfig.d.ts.map +1 -0
- package/dist/types/utils/api.d.ts +2 -0
- package/dist/types/utils/api.d.ts.map +1 -0
- package/dist/types/utils/codeCitations.utils.d.ts +9 -0
- package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
- package/dist/types/utils/helper.d.ts +5 -0
- package/dist/types/utils/helper.d.ts.map +1 -0
- package/dist/types/utils/sanitizeHtml.d.ts +5 -0
- package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
- package/dist/types/utils/themeManager.d.ts +13 -0
- package/dist/types/utils/themeManager.d.ts.map +1 -0
- package/dist/utils/codeCitations.utils.js +1 -1
- package/dist/utils/codeCitations.utils.js.map +1 -1
- package/dist/utils/helper.js +2 -0
- package/dist/utils/helper.js.map +1 -0
- package/dist/utils/sanitizeHtml.js +1 -1
- package/dist/utils/sanitizeHtml.js.map +1 -1
- package/dist/utils/themeManager.js +1 -1
- package/dist/utils/themeManager.js.map +1 -1
- package/package.json +135 -278
- package/dist/types/src/AccordianHeadTest.d.ts +0 -2
- package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
- package/dist/types/src/App.d.ts +0 -3
- package/dist/types/src/App.d.ts.map +0 -1
- package/dist/types/src/AutopilotStyle.d.ts +0 -2
- package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
- package/dist/types/src/BookCitationTest.d.ts +0 -3
- package/dist/types/src/BookCitationTest.d.ts.map +0 -1
- package/dist/types/src/BookemonTest.d.ts +0 -83
- package/dist/types/src/BookemonTest.d.ts.map +0 -1
- package/dist/types/src/ChatCitationTest.d.ts +0 -7
- package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
- package/dist/types/src/ChatDrawerTest.d.ts +0 -17
- package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
- package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
- package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
- package/dist/types/src/CodeCitationTest.d.ts +0 -3
- package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
- package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
- package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
- package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
- package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
- package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
- package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
- package/dist/types/src/CustomStylesProvider.d.ts +0 -6
- package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
- package/dist/types/src/CustomThemeProvider.d.ts +0 -7
- package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
- package/dist/types/src/DatagestMonTest.d.ts +0 -3
- package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
- package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
- package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/EmailCitationTest.d.ts +0 -3
- package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
- package/dist/types/src/ExcelCitationTest.d.ts +0 -2
- package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
- package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
- package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
- package/dist/types/src/PdfViewerTest.d.ts +0 -5
- package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
- package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
- package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
- package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
- package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
- package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
- package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
- package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
- package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
- package/dist/types/src/TableCitationTest.d.ts +0 -3
- package/dist/types/src/TableCitationTest.d.ts.map +0 -1
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
- package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
- package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
- package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
- package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
- package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
- package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
- package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
- package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
- package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
- package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
- package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
- package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
- package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
- package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
- package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
- package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/main.d.ts +0 -10
- package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
- package/dist/types/src/hooks/useDebounce.d.ts +0 -2
- package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
- package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
- package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
- package/dist/types/src/index.d.ts +0 -63
- package/dist/types/src/index.d.ts.map +0 -1
- package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
- package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
- package/dist/types/src/methodsToExpose.d.ts +0 -13
- package/dist/types/src/methodsToExpose.d.ts.map +0 -1
- package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
- package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/routes/Routes.d.ts +0 -2
- package/dist/types/src/routes/Routes.d.ts.map +0 -1
- package/dist/types/src/service/API.d.ts +0 -6
- package/dist/types/src/service/API.d.ts.map +0 -1
- package/dist/types/src/service/DataService.d.ts +0 -73
- package/dist/types/src/service/DataService.d.ts.map +0 -1
- package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
- package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
- package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
- package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
- package/dist/types/src/service/ModelService.d.ts +0 -68
- package/dist/types/src/service/ModelService.d.ts.map +0 -1
- package/dist/types/src/service/ProjectService.d.ts +0 -16
- package/dist/types/src/service/ProjectService.d.ts.map +0 -1
- package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
- package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
- package/dist/types/src/service/apicache.service.d.ts +0 -43
- package/dist/types/src/service/apicache.service.d.ts.map +0 -1
- package/dist/types/src/service/constants.d.ts +0 -3
- package/dist/types/src/service/constants.d.ts.map +0 -1
- package/dist/types/src/service/envHelperService.d.ts +0 -5
- package/dist/types/src/service/envHelperService.d.ts.map +0 -1
- package/dist/types/src/service/onDemandApi.d.ts +0 -27
- package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
- package/dist/types/src/service/variableHelperService.d.ts +0 -6
- package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
- package/dist/types/src/theme.d.ts +0 -4
- package/dist/types/src/theme.d.ts.map +0 -1
- package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
- package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
- package/dist/types/src/types/epubItems.d.ts +0 -23
- package/dist/types/src/types/epubItems.d.ts.map +0 -1
- package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
- package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
- package/dist/types/src/userProvidedConfig.d.ts +0 -8
- package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
- package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
- package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
- package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
- package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
- package/dist/types/src/utils/api.d.ts +0 -2
- package/dist/types/src/utils/api.d.ts.map +0 -1
- package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
- package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
- package/dist/types/src/utils/colors.d.ts +0 -5
- package/dist/types/src/utils/colors.d.ts.map +0 -1
- package/dist/types/src/utils/date.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts.map +0 -1
- package/dist/types/src/utils/helperFunctions.d.ts +0 -6
- package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
- package/dist/types/src/utils/regexHelperService.d.ts +0 -9
- package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
- package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
- package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
- package/dist/types/src/utils/themeManager.d.ts +0 -13
- package/dist/types/src/utils/themeManager.d.ts.map +0 -1
- package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
- package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
- package/dist/types/src/utils/variableHelperService.d.ts +0 -7
- package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveComparehelpers.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CognitiveComparehelpers.js","sources":["../../../../src/features/CognitiveCompare/CognitiveComparehelpers.ts"],"sourcesContent":["import React from \"react\";\nimport {\n ComparisonConfig,\n SectionBlock,\n StyleVariant,\n} from \"./CognitiveCompareTypes\";\nimport { DEFAULT_DEVIAION_COLOR } from \"./CognitiveCompareConstants\";\n\nexport const safeStringify = (val: unknown): string => {\n if (val === null || val === undefined) return \"\";\n if (typeof val === \"string\") return val;\n if (Array.isArray(val)) return val.map(safeStringify).join(\"\\n\\n\");\n if (typeof val === \"object\") return JSON.stringify(val);\n return String(val);\n};\n\n// Generic \"is non-empty\" guard used to hide empty fields/sections from rendering.\nexport const hasValue = (val: unknown): boolean => {\n if (val === null || val === undefined) return false;\n if (typeof val === \"string\") return val.trim().length > 0;\n if (Array.isArray(val)) return val.length > 0 && val.some((v) => hasValue(v));\n return true;\n};\n\nexport const getAlphabeticSuffix = (index: number) => {\n let value = index + 1;\n let suffix = \"\";\n\n while (value > 0) {\n value -= 1;\n const ASCII_LOWER_A = 97;\n suffix = String.fromCharCode(ASCII_LOWER_A + (value % 26)) + suffix;\n value = Math.floor(value / 26);\n }\n\n return suffix;\n};\n\nexport const getRhsMappedSectionNumber = ({\n section,\n proposedSections,\n leftNums,\n fallbackNumber,\n firstOnly = false,\n}: {\n section: SectionBlock;\n proposedSections: SectionBlock[];\n leftNums: Map<string, number>;\n fallbackNumber?: string;\n firstOnly?: boolean;\n}) => {\n if (!section?.id) return fallbackNumber;\n\n const mappedLabels = (proposedSections || [])\n .map((lhs) => {\n const refIndexes = Array.isArray(lhs?.refIndexes) ? lhs.refIndexes : [];\n const rhsPosition = refIndexes.findIndex(\n (refIndex: number) => refIndex === section.selfIndex,\n );\n if (rhsPosition === -1) return null;\n\n const baseNumber = lhs?.id ? leftNums.get(lhs.id) : undefined;\n if (baseNumber == null) return null;\n\n return refIndexes.length > 1\n ? `${baseNumber}${getAlphabeticSuffix(rhsPosition)}`\n : String(baseNumber);\n })\n .filter(Boolean);\n\n if (mappedLabels.length === 0) return fallbackNumber;\n\n return firstOnly ? mappedLabels[0] : mappedLabels.join(\", \");\n};\n\nexport const hasSingleMappedLhsSection = (\n section: SectionBlock,\n proposedSections: SectionBlock[],\n) => {\n if (section?.selfIndex == null) return false;\n\n const mappedLhsSections = (proposedSections || []).filter((lhs) =>\n Array.isArray(lhs?.refIndexes) && lhs.refIndexes.includes(section.selfIndex as number),\n );\n\n return mappedLhsSections.length === 1;\n};\n\n// Reads one side (left/right) of a node from comparison_inputs using input_index_map indirection.\nexport type ResolvedContentItem = {\n contentId: string;\n data: Record<string, unknown>;\n attributes: Record<string, unknown>;\n};\n\nexport const resolveComparisonInputItems = (\n node: any,\n sideIndex: \"0\" | \"1\",\n indexMap: Record<string, string>,\n contentMapping: Record<string, any> = {},\n): ResolvedContentItem[] => {\n const sideUuid = indexMap[sideIndex];\n const rawInput = node?.comparison_inputs?.[sideUuid];\n\n if (!rawInput) return [];\n\n const normalize = Array.isArray(rawInput) ? rawInput : [rawInput];\n\n return normalize\n .map((item: any, idx: number): ResolvedContentItem | null => {\n // New JSON: comparison_inputs contains content_mapping id\n if (item && typeof item === \"string\" && item.trim()) {\n const mapped = contentMapping[item];\n if (!mapped || typeof mapped !== \"object\") return null;\n if (!mapped) return null;\n\n return {\n contentId: item,\n data: mapped,\n attributes: mapped.additional_attributes || {},\n };\n }\n\n // Old/root-compatible JSON: comparison_inputs contains direct object\n if (item && typeof item === \"object\") {\n const fallbackId =\n item.content_id ||\n item.id ||\n `${sideUuid}-direct-${idx}`;\n\n return {\n contentId: fallbackId,\n data: item,\n attributes: item.additional_attributes || {},\n };\n }\n\n return null;\n })\n .filter(Boolean) as ResolvedContentItem[];\n};\n\nexport const getSideData = (\n node: any,\n sideIndex: \"0\" | \"1\",\n indexMap: Record<string, string>,\n contentMapping: Record<string, any> = {},\n) => {\n const items = resolveComparisonInputItems(\n node,\n sideIndex,\n indexMap,\n contentMapping,\n );\n\n const first = items[0]?.data || {};\n const attributes = items[0]?.attributes || null;\n\n return {\n title: safeStringify(first?.title || \"\"),\n content: safeStringify(first?.content || \"\"),\n change_history: safeStringify(first?.change_history || \"\"),\n attributes,\n subsections: first?.subsections || [],\n contentId: items[0]?.contentId,\n allItems: items,\n };\n};\n\n// Extracts mapping_rationale into UI-friendly score, relation label, and cognitive details.\nexport const getRationale = (node: any) => {\nif (!node.mapping_rationale) {\n return { \n cognitiveData: {\n decisioning: [],\n gap: [],\n relevance_score: 0,\n isMissingRationale: true, \n citations: [],\n },\n score: 0, \n relation: \"N/A\" \n };\n }\n const rat = node.mapping_rationale;\n const strength = parseInt(rat.decision_strength || \"0\");\n \n return {\n cognitiveData: {\n decisioning: rat.decisioning_factors || [],\n gap: rat.gaps_in_decision || [],\n relevance_score: strength,\n citations: rat.citations\n },\n score: 0,\n relation: \"N/A\",\n };\n};\n\n// Converts machine relation keys (e.g. \"no_deviation\") into readable badge labels.\nexport const formatRelationToLabel = (relation: string): string => {\n if (!relation || typeof relation !== \"string\") return \"Unknown\";\n if (relation.toUpperCase() === \"N/A\") return \"N/A\";\n return relation\n .split(\"_\")\n .map((word) => word.charAt(0).toUpperCase() + word.slice(1).toLowerCase())\n .join(\" \");\n};\n// Resolves relation + score into the visual style token used by cards, fields, and badges.\n// export const getStyleForRelation = (\n// score: number,\n// relation: string,\n// hasContent: boolean,\n// config: ComparisonConfig,\n// ): StyleVariant | null => {\n// const percentage = (score || 0) * 100;\n// const { thresholds, relationStyles } = config;\n\n// if (!hasContent) return null;\n\n// // const displayLabel = formatRelationToLabel(relation);\n// // const normalizedRelation = (relation || \"\").toLowerCase();\n// // return { ...relationStyles.low, label: 'Found 321' };\n\n// // if (normalizedRelation === \"n/a\" || normalizedRelation.includes(\"no_deviation\")) {\n// // return { ...relationStyles.low, label: displayLabel };\n// // }\n// // if (normalizedRelation.includes(\"no_deviation\")) {\n// // return { ...relationStyles.low, label: displayLabel };\n// // }\n// // if (\n// // normalizedRelation.includes(\"deviation\") ||\n// // normalizedRelation.includes(\"high_risk\") ||\n// // normalizedRelation.includes(\"critical\")\n// // ) {\n// // return { ...relationStyles.high, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.exact) {\n// // return { ...relationStyles.exact, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.high) {\n// // return { ...relationStyles.high, label: displayLabel };\n// // }\n// // if (percentage >= thresholds.medium) {\n// // return { ...relationStyles.medium, label: displayLabel };\n// // }\n// // return { ...relationStyles.low, label: displayLabel };\n// };\n\n// Maps cognitive relevance score (0-100) into synthetic relation buckets used for section badges.\n// export const cognitiveScoreToRelation = (\n// relevanceScore: number,\n// ): { score: number; relation: string } => {\n// // if (relevanceScore >= 90) return { score: 1.0, relation: \"exact_match\" };\n// // if (relevanceScore >= 70) return { score: 0.8, relation: \"high_match\" };\n// // if (relevanceScore >= 40) return { score: 0.5, relation: \"partial_match\" };\n// // return { score: 0.0, relation: \"no_deviation\" };\n// return { score: 0.0, relation: \"found the B\" };\n// };\n\ntype ColorPalette = {\n bg: string;\n border: string;\n badgeBg: string;\n badgeBorder: string;\n badgeText: string;\n highlightBg: string;\n};\n\nexport function generateColorPalette(hex: string): ColorPalette {\n const normalizeHex = (hex: string) => {\n if (hex.length === 4) {\n return (\n \"#\" +\n hex[1] +\n hex[1] +\n hex[2] +\n hex[2] +\n hex[3] +\n hex[3]\n );\n }\n return hex;\n };\n\n const hexToRgb = (hex: string) => {\n const normalized = normalizeHex(hex).replace(\"#\", \"\");\n const bigint = parseInt(normalized, 16);\n return {\n r: (bigint >> 16) & 255,\n g: (bigint >> 8) & 255,\n b: bigint & 255,\n };\n };\n\n const rgbToHex = (r: number, g: number, b: number) => {\n return (\n \"#\" +\n [r, g, b]\n .map((x) => x.toString(16).padStart(2, \"0\"))\n .join(\"\")\n .toUpperCase()\n );\n };\n\n // Mix with white based on opacity\n const mixWithWhite = (hex: string, opacity: number) => {\n const { r, g, b } = hexToRgb(hex);\n\n const newR = Math.round(r + (255 - r) * opacity);\n const newG = Math.round(g + (255 - g) * opacity);\n const newB = Math.round(b + (255 - b) * opacity);\n\n return rgbToHex(newR, newG, newB);\n };\n\n return {\n bg: mixWithWhite(hex, 0.8),\n border: mixWithWhite(hex, 0.5),\n badgeBg: mixWithWhite(hex, 0.8),\n badgeBorder: mixWithWhite(hex, 0.5),\n badgeText: hex.toUpperCase(),\n highlightBg: mixWithWhite(hex, 0.8),\n };\n}\n\nexport function debounce<T extends (...args: any[]) => any>(\n func: T,\n delay: number\n): (...args: Parameters<T>) => void {\n let timeoutId: ReturnType<typeof setTimeout> | undefined;\n\n return function(this: ThisParameterType<T>, ...args: Parameters<T>) {\n const context = this;\n clearTimeout(timeoutId);\n timeoutId = setTimeout(() => func.apply(context, args), delay);\n };\n}\n\nexport const checkPathMatchesIdx = (pathStr: string, idx: number)=>{\n if(!pathStr) return false;\n return pathStr === String(idx) || pathStr.startsWith(`${idx}-`);\n}\nexport const areMarkdownPropsEqual = (prevProps: any, nextProps: any) => {\n if (prevProps.content !== nextProps.content) return false;\n if (prevProps.overlayContent !== nextProps.overlayContent) return false;\n if (prevProps.sxStyles !== nextProps.sxStyles) return false;\n if (prevProps.maintainRelativeOrder !== nextProps.maintainRelativeOrder) return false;\n if (prevProps.highlightBg !== nextProps.highlightBg) return false;\n if (prevProps.suppressHighlightBg !== nextProps.suppressHighlightBg) return false;\n if (prevProps.collisionKey !== nextProps.collisionKey) return false;\n\n const prevH = prevProps.highlights || [];\n const nextH = nextProps.highlights || [];\n\n if (prevH.length !== nextH.length) return false;\n \n for (let i = 0; i < prevH.length; i++) {\n if (prevH[i] !== nextH[i]) return false;\n }\n\n const prevB = prevProps.deviationBadges || [];\n const nextB = nextProps.deviationBadges || [];\n\n if (prevB.length !== nextB.length) return false;\n for (let i = 0; i < prevB.length; i++) {\n if (prevB[i].id !== nextB[i].id) return false;\n if (prevB[i].actionId !== nextB[i].actionId) return false;\n if (prevB[i].label !== nextB[i].label) return false;\n if (prevB[i].score !== nextB[i].score) return false;\n if (prevB[i].isOrphan !== nextB[i].isOrphan) return false;\n if (prevB[i].isConnected !== nextB[i].isConnected) return false;\n if (prevB[i].showScrollLockToggle !== nextB[i].showScrollLockToggle) return false;\n if (prevB[i].scrollSyncLocked !== nextB[i].scrollSyncLocked) return false;\n if (prevB[i].style?.badgeBg !== nextB[i].style?.badgeBg) return false;\n if (prevB[i].style?.badgeBorder !== nextB[i].style?.badgeBorder) return false;\n if (prevB[i].style?.badgeText !== nextB[i].style?.badgeText) return false;\n }\n\n return true;\n};\n\nexport const DEVIATION_BADGE_SEPARATOR = \"::\";\n\nexport const isMissingStr = (str: string | undefined | null) => {\n if (!str) return true;\n const s = str.trim().toLowerCase();\n return (\n s.includes(\"no equivalent\") || \n s === \"n/a\" || \n s === \"na\" || \n s === \"none\"\n );\n};\n\nexport const hasMeaningfulRedlineTags = (content: unknown): boolean => {\n if (typeof content !== \"string\" || !content) return false;\n const tagPattern = /<(updated|deleted|changed|change)\\b[^>]*>([\\s\\S]*?)<\\/\\1>/gi;\n let match: RegExpExecArray | null = null;\n while ((match = tagPattern.exec(content)) !== null) {\n const inner = match[2] ?? \"\";\n const innerText = inner.replace(/<[^>]*>/g, \"\").trim();\n if (innerText.length > 0) return true;\n }\n return false;\n};\n\nexport const stripRedlineTags = (content: unknown): string => {\n if (typeof content !== \"string\" || !content) return \"\";\n return content.replace(/<\\/?(updated|deleted|changed|change)\\b[^>]*>/gi, \"\");\n};\n\nexport const getLhsDeviationDisplayIndexes = (\n sections: SectionBlock[],\n leftDocId: string | undefined,\n deviationNumberRegistry: Record<string, number>,\n) => {\n const displayIndexes = new Map<string, number>();\n if (!leftDocId) return displayIndexes;\n\n const normalize = (value: unknown) => {\n const raw = hasMeaningfulRedlineTags(value)\n ? stripRedlineTags(value)\n : safeStringify(value || \"\");\n return safeStringify(raw).replace(/\\\\n/g, \"\\n\");\n };\n\n (sections || []).forEach((root) => {\n const registeredEntries = new Map<string, number>();\n\n const visit = (node: SectionBlock) => {\n if (!node) return;\n const content = normalize(node.content);\n const evaluationResults = node.evaluationResults?.length\n ? node.evaluationResults\n : node.evaluationResult\n ? [node.evaluationResult]\n : [];\n\n evaluationResults.forEach((evaluationResult: any) => {\n const registryNodeId =\n evaluationResult?.nodeId || node.nodeId || node.id;\n Object.entries(evaluationResult?.deviations || {}).forEach(\n ([deviationKey, deviationMap]: [string, any]) => {\n const highlight = deviationMap[leftDocId];\n const normalizedHighlight = normalize(highlight);\n if (\n !normalizedHighlight ||\n isMissingStr(highlight) ||\n !content.includes(normalizedHighlight)\n ) return;\n\n const refId = `${registryNodeId}${DEVIATION_BADGE_SEPARATOR}${deviationKey}`;\n const registryIndex = deviationNumberRegistry[refId];\n if (registryIndex !== undefined && registryIndex !== null) {\n registeredEntries.set(refId, registryIndex);\n }\n },\n );\n });\n\n (node.subsections || []).forEach(visit);\n };\n\n visit(root);\n if (registeredEntries.size === 0) return;\n\n const firstIndex = Math.min(...Array.from(registeredEntries.values()));\n registeredEntries.forEach((registryIndex, refId) => {\n displayIndexes.set(refId, registryIndex - firstIndex + 1);\n });\n });\n\n return displayIndexes;\n};\n\nexport const extractDeviationScore = (evaluationResult: any, fallbackLabel?: any) => {\n if (!evaluationResult) return fallbackLabel;\n const score = evaluationResult.evaluation_output?.output_score \n ?? evaluationResult.evaluation_outputs?.output_score \n ?? evaluationResult.evaluation_outputs?.output_value \n ?? evaluationResult.output_score;\n return score ?? fallbackLabel ?? '';\n};\n\nexport const getBentArrowPath = (\n x1: number,\n y1: number,\n x2: number,\n y2: number,\n radius: number = 14,\n): string => {\n const midX = x1 + (x2 - x1) * 0.5;\n const dy = y2 - y1;\n\n if (Math.abs(dy) < 3) {\n return `M ${x1} ${y1} H ${x2}`;\n }\n\n const dir = dy > 0 ? 1 : -1;\n\n const r = Math.min(\n radius,\n Math.abs(dy) / 2,\n Math.abs(midX - x1) / 2,\n Math.abs(x2 - midX) / 2,\n );\n\n return [\n `M ${x1} ${y1}`,\n `H ${midX - r}`,\n `Q ${midX} ${y1} ${midX} ${y1 + dir * r}`,\n `V ${y2 - dir * r}`,\n `Q ${midX} ${y2} ${midX + r} ${y2}`,\n `H ${x2}`,\n ].join(\" \");\n};\n\nexport const smoothScrollTo = (\n element: HTMLElement,\n targetPosition: number,\n duration: number = 300,\n onComplete?: () => void,\n onProgress?: () => void,\n) => {\n const originalScrollBehavior = element.style.scrollBehavior;\n element.style.scrollBehavior = \"auto\";\n\n const startPosition = element.scrollTop;\n const distance = targetPosition - startPosition;\n let startTime: number | null = null;\n\n const easeOutCubic = (time: number, start: number, change: number, dur: number) => {\n time /= dur;\n time--;\n return change * (time * time * time + 1) + start;\n };\n\n const animation = (currentTime: number) => {\n if (startTime === null) startTime = currentTime;\n const timeElapsed = currentTime - startTime;\n \n if (timeElapsed < duration) {\n element.scrollTop = easeOutCubic(timeElapsed, startPosition, distance, duration);\n if (onProgress) onProgress();\n requestAnimationFrame(animation);\n } else {\n element.scrollTop = targetPosition;\n element.style.scrollBehavior = originalScrollBehavior;\n if (onProgress) onProgress();\n if (onComplete) onComplete();\n }\n };\n\n requestAnimationFrame(animation);\n};\n\nexport const escapeRegExp = (string: string) => {\n let escaped = string.replace(/[.*+?^${}()|[\\]\\\\]/g, '\\\\$&');\n escaped = escaped.replace(/['’‘`]/g, \"['’‘`]\");\n escaped = escaped.replace(/[\"”“]/g, '[\"”“]');\n escaped = escaped.replace(/[-—–]/g, '[-—–]');\n escaped = escaped.replace(/\\s+/g, '\\\\s+');\n\n return escaped;\n};\n\nconst SEVERITY_ORDER = [\"#B91C1C\", \"#A16207\", \"#1D4ED8\", \"#000000\"];\n\nconst getColorSeverityRank = (color: string): number => {\n const idx = SEVERITY_ORDER.findIndex(\n c => c.toLowerCase() === color.toLowerCase()\n );\n return idx === -1 ? SEVERITY_ORDER.length : idx;\n};\n\nexport const getFirstDeviationColor = (evaluationResult: any): string => {\n const allColors: string[] = [];\n\n const deviationKeys = Object.keys(evaluationResult?.deviations || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of deviationKeys) {\n const color = evaluationResult?.deviations?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n const entryKeys = Object.keys(evaluationResult?.deviation_entries || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of entryKeys) {\n const color = evaluationResult?.deviation_entries?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n const numericKeys = Object.keys(evaluationResult || {})\n .filter(k => /^\\d+$/.test(k))\n .sort((a, b) => Number(a) - Number(b));\n for (const key of numericKeys) {\n const color = evaluationResult?.[key]?.evaluation_outputs?.metadata?.label_color;\n if (color) allColors.push(color);\n }\n\n if (allColors.length === 0) {\n if (evaluationResult?.evaluation_outputs?.metadata?.label_color) {\n return evaluationResult.evaluation_outputs.metadata.label_color;\n }\n return DEFAULT_DEVIAION_COLOR;\n }\n\n return allColors.sort(\n (a, b) => getColorSeverityRank(a) - getColorSeverityRank(b)\n )[0];\n};\n\nexport const getFirstDeviationOutputValue = (evaluationResult: any): string | null => {\n const deviationKeys = Object.keys(evaluationResult?.deviations || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of deviationKeys) {\n const value = evaluationResult?.deviations?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n const entryKeys = Object.keys(evaluationResult?.deviation_entries || {})\n .sort((a, b) => Number(a) - Number(b));\n for (const key of entryKeys) {\n const value = evaluationResult?.deviation_entries?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n const numericKeys = Object.keys(evaluationResult || {})\n .filter(k => /^\\d+$/.test(k))\n .sort((a, b) => Number(a) - Number(b));\n for (const key of numericKeys) {\n const value = evaluationResult?.[key]?.evaluation_outputs?.output_value;\n if (value) return value;\n }\n\n if (evaluationResult?.evaluation_outputs?.output_value) {\n return evaluationResult.evaluation_outputs.output_value;\n }\n\n return null;\n};\n\nexport const mixHexColors = (hex1: string, hex2: string): string => {\n // Helper to convert hex to RGB array\n const hexToRgb = (hex: string) => {\n const cleanHex = hex.replace(\"#\", \"\");\n const r = parseInt(cleanHex.substring(0, 2), 16);\n const g = parseInt(cleanHex.substring(2, 4), 16);\n const b = parseInt(cleanHex.substring(4, 6), 16);\n return [r, g, b];\n };\n\n // Helper to convert RGB value back to 2-digit hex\n const toHex = (c: number) => {\n const hex = Math.round(c).toString(16);\n return hex.length === 1 ? \"0\" + hex : hex;\n };\n\n try {\n const rgb1 = hexToRgb(hex1);\n const rgb2 = hexToRgb(hex2);\n\n // Average the RGB values (Multiply by 0.95 to slightly darken the overlap for better visibility)\n const r = ((rgb1[0] + rgb2[0]) / 2) * 0.95;\n const g = ((rgb1[1] + rgb2[1]) / 2) * 0.95;\n const b = ((rgb1[2] + rgb2[2]) / 2) * 0.95;\n\n return `#${toHex(r)}${toHex(g)}${toHex(b)}`;\n } catch (e) {\n // Fallback to a default overlap color if invalid hex is passed\n return \"#FDE68A\"; \n }\n};\n\n// Recursively find the keyPath (e.g. \"2-1-0\") of a node by its id\n// path here is the running position string built up as we recurse deeper\nexport const recursivelyFindSubSectionIdxById = (\n node: any,\n path: string,\n targetId: string,\n): string | null => {\n if (!node) return null;\n if (node.id === targetId || node.nodeId === targetId || node.contentId === targetId) return path;\n if (!Array.isArray(node.subsections)) return null;\n\n for (let i = 0; i < node.subsections.length; i++) {\n const next = recursivelyFindSubSectionIdxById(\n node.subsections[i],\n `${path}-${i}`,\n targetId,\n );\n if (next) return next;\n }\n return null;\n};\n\nexport const findKeyPathByNodeId = (\n sections: SectionBlock[],\n nodeId: string,\n): string | null => {\n for (let i = 0; i < sections.length; i++) {\n const found = recursivelyFindSubSectionIdxById(\n sections[i],\n String(i),\n nodeId,\n );\n if (found) return found;\n }\n return null;\n};\n\nconst highlightTimeouts = new WeakMap<HTMLElement, number>();\n\nexport const resetClauseHighlight = (element: HTMLElement) => {\n if (!element) return;\n\n const timeoutId = highlightTimeouts.get(element);\n if (timeoutId != null) {\n clearTimeout(timeoutId);\n highlightTimeouts.delete(element);\n }\n\n element.style.transition = \"box-shadow 300ms ease-out, outline 300ms ease-out\";\n requestAnimationFrame(() => {\n element.style.outline = \"\";\n element.style.boxShadow = \"\";\n });\n window.setTimeout(() => {\n element.style.transition = \"\";\n element.style.borderRadius = \"\";\n }, 300);\n};\n\nexport const highlightClause = (element: HTMLElement) => {\n if (!element) return;\n\n const existingTimeout = highlightTimeouts.get(element);\n if (existingTimeout != null) {\n clearTimeout(existingTimeout);\n }\n\n element.style.transition = \"box-shadow 300ms ease-in-out, outline 300ms ease-in-out\";\n element.style.outline = \"2px solid #ff9494\";\n element.style.borderRadius = \"6px\";\n element.style.boxShadow = \"0 0 12px 2px rgba(244, 113, 113, 0.33)\";\n\n const timeoutId = window.setTimeout(() => {\n resetClauseHighlight(element);\n }, 3000);\n highlightTimeouts.set(element, timeoutId);\n};\n\nexport const scrollAndHighlightClause = (\n element: HTMLElement,\n scrollContainer: HTMLElement,\n) => {\n const containerRect = scrollContainer.getBoundingClientRect();\n const elementRect = element.getBoundingClientRect();\n\n const targetScrollTop =\n scrollContainer.scrollTop +\n elementRect.top -\n containerRect.top -\n containerRect.height / 2 +\n elementRect.height / 2;\n\n scrollContainer.scrollTo({ top: targetScrollTop, behavior: \"smooth\" });\n\n const doHighlight = () => highlightClause(element);\n\n const supportsScrollEnd =\n \"onscrollend\" in (scrollContainer as HTMLElement & { onscrollend?: unknown });\n\n if (supportsScrollEnd) {\n scrollContainer.addEventListener(\"scrollend\", doHighlight, { once: true });\n } else {\n let lastScrollTop = scrollContainer.scrollTop;\n const pollScroll = () => {\n if (scrollContainer.scrollTop === lastScrollTop) {\n doHighlight();\n } else {\n lastScrollTop = scrollContainer.scrollTop;\n requestAnimationFrame(pollScroll);\n }\n };\n requestAnimationFrame(pollScroll);\n }\n};\n\n\nexport const waitForElementVisible = (\n element: HTMLElement,\n onVisible: () => void,\n) => {\n if (element.getBoundingClientRect().height > 0) {\n requestAnimationFrame(onVisible);\n return;\n }\n\n const ro = new ResizeObserver((entries) => {\n for (const entry of entries) {\n if (entry.contentRect.height > 0) {\n ro.disconnect();\n requestAnimationFrame(onVisible);\n return;\n }\n }\n });\n\n ro.observe(element);\n};\n\n\nexport const scrollAndWait = (\n container: HTMLElement,\n top: number,\n callback: () => void\n) => {\n if (Math.abs(container.scrollTop - top) <= 2) {\n callback();\n return;\n }\n\n let called = false;\n let fallbackTimer: ReturnType<typeof setTimeout>;\n\n const fire = () => {\n if (called) return;\n called = true;\n clearTimeout(fallbackTimer);\n container.removeEventListener(\"scrollend\", handleScrollEnd);\n callback();\n };\n\n const handleScrollEnd = () => fire();\n\n container.addEventListener(\"scrollend\", handleScrollEnd);\n container.scrollTo({ top, behavior: \"smooth\" });\n fallbackTimer = setTimeout(fire, 800);\n};\n\nexport const waitForScrollIdle = (\n container: HTMLElement,\n idleMs = 100\n ): Promise<void> =>\n new Promise((resolve) => {\n let called = false;\n let timer: ReturnType<typeof setTimeout>;\n\n const fire = () => {\n if (called) return;\n called = true;\n container.removeEventListener(\"scroll\", onScroll);\n resolve();\n };\n\n const onScroll = () => {\n clearTimeout(timer);\n timer = setTimeout(fire, idleMs);\n };\n\n container.addEventListener(\"scroll\", onScroll);\n timer = setTimeout(fire, idleMs);\n });\n"],"names":["safeStringify","val","Array","isArray","map","join","JSON","stringify","String","hasValue","trim","length","some","v","getAlphabeticSuffix","index","value","suffix","ASCII_LOWER_A","fromCharCode","Math","floor","resolveComparisonInputItems","node","sideIndex","indexMap","contentMapping","sideUuid","rawInput","comparison_inputs","item","idx","mapped","contentId","data","attributes","additional_attributes","content_id","id","filter","Boolean","isMissingStr","str","s","toLowerCase","includes","hasMeaningfulRedlineTags","content","tagPattern","match","exec","replace","stripRedlineTags","SEVERITY_ORDER","getColorSeverityRank","color","findIndex","c","recursivelyFindSubSectionIdxById","path","targetId","nodeId","subsections","i","next","highlightTimeouts","WeakMap","resetClauseHighlight","element","timeoutId","get","clearTimeout","delete","style","transition","requestAnimationFrame","outline","boxShadow","window","setTimeout","borderRadius","highlightClause","existingTimeout","set","prevProps","nextProps","overlayContent","sxStyles","maintainRelativeOrder","highlightBg","suppressHighlightBg","collisionKey","prevH","highlights","nextH","prevB","deviationBadges","nextB","actionId","label","score","isOrphan","isConnected","showScrollLockToggle","scrollSyncLocked","badgeBg","badgeBorder","badgeText","func","delay","args","context","this","apply","evaluationResult","fallbackLabel","evaluation_output","output_score","evaluation_outputs","output_value","sections","found","hex","mixWithWhite","opacity","r","g","b","normalized","normalizeHex","bigint","parseInt","hexToRgb","x","toString","padStart","toUpperCase","rgbToHex","round","bg","border","x1","y1","x2","y2","radius","midX","dy","abs","dir","min","allColors","deviationKeys","Object","keys","deviations","sort","a","Number","key","metadata","label_color","push","entryKeys","deviation_entries","numericKeys","k","test","DEFAULT_DEVIAION_COLOR","leftDocId","deviationNumberRegistry","displayIndexes","Map","normalize","raw","forEach","root","registeredEntries","visit","evaluationResults","registryNodeId","entries","deviationKey","deviationMap","highlight","normalizedHighlight","refId","registryIndex","size","firstIndex","from","values","mapping_rationale","cognitiveData","decisioning","gap","relevance_score","isMissingRationale","citations","relation","rat","strength","decision_strength","decisioning_factors","gaps_in_decision","section","proposedSections","leftNums","fallbackNumber","firstOnly","mappedLabels","lhs","refIndexes","rhsPosition","refIndex","selfIndex","baseNumber","items","first","title","change_history","allItems","hex1","hex2","cleanHex","substring","toHex","rgb1","rgb2","e","scrollContainer","containerRect","getBoundingClientRect","elementRect","targetScrollTop","scrollTop","top","height","scrollTo","behavior","doHighlight","addEventListener","once","lastScrollTop","pollScroll","container","callback","fallbackTimer","called","fire","removeEventListener","handleScrollEnd","targetPosition","duration","onComplete","onProgress","originalScrollBehavior","scrollBehavior","startPosition","distance","startTime","animation","currentTime","timeElapsed","time","idleMs","Promise","resolve","timer","onScroll"],"mappings":"oHAQa,MAAAA,EAAiBC,GACxBA,QAA0C,GAC3B,iBAARA,EAAyBA,EAChCC,MAAMC,QAAQF,GAAaA,EAAIG,IAAIJ,GAAeK,KAAK,QACxC,iBAARJ,EAAyBK,KAAKC,UAAUN,GAC5CO,OAAOP,GAIHQ,EAAYR,GACnBA,UACe,iBAARA,EAAyBA,EAAIS,OAAOC,OAAS,GACpDT,MAAMC,QAAQF,IAAaA,EAAIU,OAAS,GAAKV,EAAIW,KAAMC,GAAMJ,EAASI,KAI/DC,EAAuBC,IAClC,IAAIC,EAAQD,EAAQ,EAChBE,EAAS,GAEb,KAAOD,EAAQ,GAAG,CACPA,GAAA,EACT,MAAME,EAAgB,GACtBD,EAAST,OAAOW,aAAaD,EAAiBF,EAAQ,IAAOC,EACrDD,EAAAI,KAAKC,MAAML,EAAQ,GAC7B,CAEO,OAAAC,GA4DIK,EAA8B,CACzCC,EACAC,EACAC,EACAC,EAAsC,CAAA,KAEhC,MAAAC,EAAWF,EAASD,GACpBI,EAAWL,GAAMM,oBAAoBF,GAEvC,IAACC,EAAU,MAAO,GAItB,OAFkB1B,MAAMC,QAAQyB,GAAYA,EAAW,CAACA,IAGrDxB,IAAI,CAAC0B,EAAWC,KAEf,GAAID,GAAwB,iBAATA,GAAqBA,EAAKpB,OAAQ,CAC7C,MAAAsB,EAASN,EAAeI,GAC9B,OAAKE,GAA4B,iBAAXA,GACjBA,EAEE,CACLC,UAAWH,EACXI,KAAMF,EACNG,WAAYH,EAAOI,uBAAyB,CAAC,GANG,IAQpD,CAGI,GAAAN,GAAwB,iBAATA,EAAmB,CAM7B,MAAA,CACLG,UALAH,EAAKO,YACLP,EAAKQ,IACL,GAAGX,YAAmBI,IAItBG,KAAMJ,EACNK,WAAYL,EAAKM,uBAAyB,CAAC,EAE/C,CAEO,OAAA,OAERG,O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S,CAAEF,MAAKG,SAAU,WACpBQ,EAAAxK,WAAW0K,EAAM,6BAjUL,CAC5BrL,EACAwL,EACAC,EAAmB,IACnBC,EACAC,KAEM,MAAAC,EAAyB5L,EAAQK,MAAMwL,eAC7C7L,EAAQK,MAAMwL,eAAiB,OAE/B,MAAMC,EAAgB9L,EAAQuK,UACxBwB,EAAWP,EAAiBM,EAClC,IAAIE,EAA2B,KAE/B,MAMMC,EAAaC,IACC,OAAdF,IAAgCA,EAAAE,GACpC,MAAMC,EAAcD,EAAcF,EARf,IAACI,EAUhBD,EAAcV,GAChBzL,EAAQuK,WAXU6B,EAWeD,EAV3BC,GAUiEX,EAAVM,KAT/DK,EACwBA,EAAOA,EAAO,GAQUN,GAC1CH,GAAuBA,IAC3BpL,sBAAsB0L,KAEtBjM,EAAQuK,UAAYiB,EACpBxL,EAAQK,MAAMwL,eAAiBD,EAC3BD,GAAuBA,IACvBD,GAAuBA,MAI/BnL,sBAAsB0L,yDAgSS,CAC7BhB,EACAoB,EAAS,MAET,IAAIC,QAASC,IACb,IACMC,EADFpB,GAAS,EAGb,MAAMC,EAAO,KACPD,IACKA,GAAA,EACCH,EAAAK,oBAAoB,SAAUmB,GAChCF,MAGFE,EAAW,KACftM,aAAaqM,GACLA,EAAA7L,WAAW0K,EAAMgB,IAGjBpB,EAAAJ,iBAAiB,SAAU4B,GAC7BD,EAAA7L,WAAW0K,EAAMgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),o=require("react/jsx-runtime"),e=require("react"),n=require("@mui/material"),t=require("lucide-react"),s=require("react-dom"),a=require("../../assests/svg/SparkleIcon.js"),r=require("./CognitiveCompareConfig.js"),l=require("./CitationRenderer.js");function c(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var d=c(s),x=10;exports.default=function(s){var c,p,g,u,v,h,b,f,_,m,y,F,j,w,C,k,B,D,S,E,T=s.open,I=s.onClose,R=s.sectionTitle,A=s.referenceSectionTitle,L=s.cognitiveData,P=s.relevanceScore,z=s.anchorEl,O=s.badgeStyle,W=s.popupRef,q=s.position,U=s.markdownStyles,H=s.docData,M=s.popupConfig,N=s.deviationData,G=void 0===N?null:N,Y=s.isLoading,K=i.__assign(i.__assign({},r.SHARED_MARKDOWN_STYLES),U),X=e.useMemo(function(){var o,e;return i.__assign(i.__assign(i.__assign({},r.DEFAULT_POPUP_CONFIG),M),{tabs:{deviation:i.__assign(i.__assign({},r.DEFAULT_POPUP_CONFIG.tabs.deviation),null===(o=null==M?void 0:M.tabs)||void 0===o?void 0:o.deviation),association:i.__assign(i.__assign({},r.DEFAULT_POPUP_CONFIG.tabs.association),null===(e=null==M?void 0:M.tabs)||void 0===e?void 0:e.association)},sectionTitles:i.__assign(i.__assign({},r.DEFAULT_POPUP_CONFIG.sectionTitles),null==M?void 0:M.sectionTitles)})},[M]),J=null==L?void 0:L.isMissingRationale,Q=e.useState(J?X.tabs.deviation.key:X.tabs.association.key),V=Q[0],Z=Q[1],$=e.useState(!1),ii=$[0],oi=$[1],ei=e.useCallback(function(i){oi(i)},[]);e.useEffect(function(){T?Z(J?X.tabs.deviation.key:X.tabs.association.key):oi(!1)},[T,J,X.tabs.deviation.key,X.tabs.association.key]);var ni=e.useMemo(function(){if(!O)return{border:X.accentColor,shadow:"".concat(X.accentColor,"2E")};var i=O.badgeText;return"#9F1239"===i||"#B42318"===i?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===i?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===i?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:X.accentColor,shadow:"".concat(X.accentColor,"2E")}},[O,X.accentColor]);e.useEffect(function(){if(T&&!ii){var i=function(i){var o;(null===(o=W.current)||void 0===o?void 0:o.contains(i.target))||(null==z?void 0:z.contains(i.target))||I()};return document.addEventListener("mousedown",i),function(){return document.removeEventListener("mousedown",i)}}},[T,I,z,W,ii]);var ti=J?[]:[X.tabs.deviation,X.tabs.association];if(1===ti.length&&ti[0].key===X.tabs.deviation.key)return null;if(!T||!L)return null;var si=null!==(g=null!==(p=V===X.tabs.deviation.key?null===(c=null==G?void 0:G.cognitive_decisioning)||void 0===c?void 0:c.decision_strength:L.relevance_score)&&void 0!==p?p:P)&&void 0!==g?g:0,ai=L.decisioning,ri=Array.isArray(ai)?ai:"string"==typeof ai&&ai.trim()?[ai]:[],li=L.gap,ci=Array.isArray(li)?li:"string"==typeof li&&li.trim()?[li]:[],di=q?q.left-150:-9999,xi=(null!==(u=null==q?void 0:q.arrowLeft)&&void 0!==u?u:60)+150,pi=o.jsxs(n.Box,i.__assign({ref:W,sx:{position:"fixed",top:null!==(v=null==q?void 0:q.top)&&void 0!==v?v:-9999,left:di,zIndex:9999,width:"".concat(1050,"px"),maxWidth:"min(".concat(1050,"px, calc(100vw - ").concat(di>0?di:0,"px - ").concat(12,"px))"),bgcolor:"#FFFFFF",borderRadius:"14px",border:"1.5px solid ".concat(ni.border),boxShadow:"0px 8px 32px ".concat(ni.shadow,", 0px 0px 0px 3px ").concat(ni.shadow),overflow:"visible",display:"flex",flexDirection:"column",maxHeight:(null==q?void 0:q.maxHeight)?"min(60vh, ".concat(q.maxHeight,"px)"):"60vh",visibility:!ii&&q?"visible":"hidden",pointerEvents:ii?"none":"auto"}},{children:[q&&(q.openAbove?o.jsxs(o.Fragment,{children:[o.jsx(n.Box,{sx:{position:"absolute",bottom:-11,left:xi-x,width:0,height:0,borderLeft:"".concat(x,"px solid transparent"),borderRight:"".concat(x,"px solid transparent"),borderTop:"".concat(11,"px solid ").concat(ni.border),zIndex:1}}),o.jsx(n.Box,{sx:{position:"absolute",bottom:-9,left:xi-x+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderTop:"".concat(x,"px solid #FFFFFF"),zIndex:2}})]}):o.jsxs(o.Fragment,{children:[o.jsx(n.Box,{sx:{position:"absolute",top:-11,left:xi-x,width:0,height:0,borderLeft:"".concat(x,"px solid transparent"),borderRight:"".concat(x,"px solid transparent"),borderBottom:"".concat(11,"px solid ").concat(ni.border),zIndex:1}}),o.jsx(n.Box,{sx:{position:"absolute",top:-9,left:xi-x+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderBottom:"".concat(x,"px solid #FFFFFF"),zIndex:2}})]})),o.jsxs(n.Box,i.__assign({sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0}},{children:[o.jsxs(n.Box,i.__assign({sx:{flex:1,minWidth:0}},{children:[("no counterpart"!==R||"no counterpart"!==A)&&o.jsxs(n.Typography,i.__assign({sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"}},{children:[o.jsx(n.Box,i.__assign({component:"span",title:R,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0}},{children:R})),o.jsx(n.Box,i.__assign({component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5}},{children:"↔"})),o.jsx(n.Box,i.__assign({component:"span",title:A||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0}},{children:A||"Reference Section"}))]})),o.jsx(n.Box,i.__assign({sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75}},{children:o.jsx(n.Typography,i.__assign({sx:{fontSize:"no counterpart"!==R||"no counterpart"!==A?"13px":"16px",fontWeight:400,color:"#5928ED",lineHeight:1}},{children:null===(h=Object.values(X.tabs).find(function(i){return i.key===V}))||void 0===h?void 0:h.subtitle}))}))]})),o.jsxs(n.Box,i.__assign({sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0}},{children:[o.jsxs(n.Box,i.__assign({sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"}},{children:[o.jsx(a.default,{}),X.decisionStrengthLabel," ",si,"%"]})),o.jsx(n.IconButton,i.__assign({onClick:I,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}}},{children:o.jsx(t.X,{size:22})}))]}))]})),o.jsx(n.Box,i.__assign({sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0}},{children:ti.map(function(e){var t=V===e.key,s=e.key===X.tabs.deviation.key,a=ti.length>1&&s&&Y,r=o.jsx(n.Box,i.__assign({onClick:function(){a||Z(e.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:a?"not-allowed":"pointer",opacity:a?.5:1,fontSize:"14px",fontWeight:t?600:400,color:t?X.accentColor:"#667085",backgroundColor:t?"".concat(X.accentColor,"14"):"transparent",borderBottom:t?"2px solid ".concat(X.accentColor):"2px solid transparent",transition:"all 0.15s",userSelect:"none"}},{children:e.label}),e.key);return a?o.jsx(n.Tooltip,i.__assign({title:"Fetching deviation data",arrow:!0,placement:"top"},{children:o.jsx("span",{children:r})}),e.key):r})})),o.jsx(n.Box,i.__assign({sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"".concat(ni.border,"55"),borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:ni.border},scrollbarWidth:"thin",scrollbarColor:"".concat(ni.border,"55 transparent")}},{children:V===X.tabs.deviation.key?G?o.jsxs(o.Fragment,{children:[(null===(f=(null===(b=null==G?void 0:G.cognitive_decisioning)||void 0===b?void 0:b.decisioning_factors)||[])||void 0===f?void 0:f.length)>0&&o.jsx(l.default,{title:"Decision Making Factors",content:null===(m=null===(_=null==G?void 0:G.cognitive_decisioning)||void 0===_?void 0:_.decisioning_factors)||void 0===m?void 0:m.join("\n\n"),citations:null===(y=null==G?void 0:G.cognitive_decisioning)||void 0===y?void 0:y.citations,styles:K,docData:H,deviationData:G,open:T,onCitationFullscreenChange:ei}),(null===(j=(null===(F=null==G?void 0:G.cognitive_decisioning)||void 0===F?void 0:F.gaps_in_decision)||[])||void 0===j?void 0:j.length)>0&&o.jsx(l.default,{title:"Gaps in Decision",content:null===(C=null===(w=null==G?void 0:G.cognitive_decisioning)||void 0===w?void 0:w.gaps_in_decision)||void 0===C?void 0:C.join("\n\n"),citations:null===(k=null==G?void 0:G.cognitive_decisioning)||void 0===k?void 0:k.citations,styles:K,docData:H,deviationData:G,open:T,onCitationFullscreenChange:ei}),0===(null===(D=(null===(B=null==G?void 0:G.cognitive_decisioning)||void 0===B?void 0:B.decisioning_factors)||[])||void 0===D?void 0:D.length)&&0===(null===(E=(null===(S=null==G?void 0:G.cognitive_decisioning)||void 0===S?void 0:S.gaps_in_decision)||[])||void 0===E?void 0:E.length)&&o.jsx(n.Box,i.__assign({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:o.jsx(n.Typography,i.__assign({sx:{fontSize:"13px",color:"#64748B"}},{children:"No cognitive decisioning data available for this section."}))}))]}):o.jsx(l.default,{title:"Deviation Analysis",content:"Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.",citations:{},styles:K,docData:H,open:T,onCitationFullscreenChange:ei}):o.jsxs(o.Fragment,{children:[ri.length>0&&o.jsx(l.default,{title:X.sectionTitles.decisioningFactors,content:ri.join("\n\n"),citations:L.citations,styles:K,open:T,docData:H,onCitationFullscreenChange:ei}),ci.length>0&&o.jsx(l.default,{title:X.sectionTitles.gaps,content:ci.join("\n\n"),citations:L.citations,styles:K,open:T,docData:H,onCitationFullscreenChange:ei}),0===ri.length&&0===ci.length&&o.jsx(n.Box,i.__assign({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:o.jsx(n.Typography,i.__assign({sx:{fontSize:"13px",color:"#64748B"}},{children:X.emptyStateMessage}))}))]})}))]}));return d.default.createPortal(pi,document.body)};
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),o=require("@mui/material"),i=require("lucide-react"),n=require("react-dom"),s=require("../../assests/svg/SparkleIcon.js"),r=require("./CognitiveCompareConfig.js"),a=require("./CitationRenderer.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(n);const d=10;exports.default=({open:n,onClose:l,sectionTitle:x,referenceSectionTitle:p,cognitiveData:h,relevanceScore:g,anchorEl:b,badgeStyle:u,popupRef:f,position:m,markdownStyles:v,docData:y,popupConfig:F,deviationData:j=null,isLoading:w})=>{const C={...r.SHARED_MARKDOWN_STYLES,...v},k=t.useMemo(()=>({...r.DEFAULT_POPUP_CONFIG,...F,tabs:{deviation:{...r.DEFAULT_POPUP_CONFIG.tabs.deviation,...F?.tabs?.deviation},association:{...r.DEFAULT_POPUP_CONFIG.tabs.association,...F?.tabs?.association}},sectionTitles:{...r.DEFAULT_POPUP_CONFIG.sectionTitles,...F?.sectionTitles}}),[F]),_=h?.isMissingRationale,[B,D]=t.useState(_?k.tabs.deviation.key:k.tabs.association.key),[S,E]=t.useState(!1),T=t.useCallback(e=>{E(e)},[]);t.useEffect(()=>{n?D(_?k.tabs.deviation.key:k.tabs.association.key):E(!1)},[n,_,k.tabs.deviation.key,k.tabs.association.key]);const I=t.useMemo(()=>{if(!u)return{border:k.accentColor,shadow:`${k.accentColor}2E`};const e=u.badgeText;return"#9F1239"===e||"#B42318"===e?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===e?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===e?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:k.accentColor,shadow:`${k.accentColor}2E`}},[u,k.accentColor]);t.useEffect(()=>{if(!n||S)return;const e=e=>{f.current?.contains(e.target)||b?.contains(e.target)||l()};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[n,l,b,f,S]);const R=_?[]:[k.tabs.deviation,k.tabs.association];if(1===R.length&&R[0].key===k.tabs.deviation.key)return null;if(!n||!h)return null;const A=(B===k.tabs.deviation.key?j?.cognitive_decisioning?.decision_strength:h.relevance_score)??g??0,L=h.decisioning,P=Array.isArray(L)?L:"string"==typeof L&&L.trim()?[L]:[],z=h.gap,O=Array.isArray(z)?z:"string"==typeof z&&z.trim()?[z]:[],W=m?m.left-150:-9999,$=(m?.arrowLeft??60)+150,q=e.jsxs(o.Box,{ref:f,sx:{position:"fixed",top:m?.top??-9999,left:W,zIndex:9999,width:"1050px",maxWidth:`min(1050px, calc(100vw - ${W>0?W:0}px - 12px))`,bgcolor:"#FFFFFF",borderRadius:"14px",border:`1.5px solid ${I.border}`,boxShadow:`0px 8px 32px ${I.shadow}, 0px 0px 0px 3px ${I.shadow}`,overflow:"visible",display:"flex",flexDirection:"column",maxHeight:m?.maxHeight?`min(60vh, ${m.maxHeight}px)`:"60vh",visibility:!S&&m?"visible":"hidden",pointerEvents:S?"none":"auto"},children:[m&&(m.openAbove?e.jsxs(e.Fragment,{children:[e.jsx(o.Box,{sx:{position:"absolute",bottom:-11,left:$-d,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderTop:`11px solid ${I.border}`,zIndex:1}}),e.jsx(o.Box,{sx:{position:"absolute",bottom:-9,left:$-d+1,width:0,height:0,borderLeft:"9px solid transparent",borderRight:"9px solid transparent",borderTop:"10px solid #FFFFFF",zIndex:2}})]}):e.jsxs(e.Fragment,{children:[e.jsx(o.Box,{sx:{position:"absolute",top:-11,left:$-d,width:0,height:0,borderLeft:"10px solid transparent",borderRight:"10px solid transparent",borderBottom:`11px solid ${I.border}`,zIndex:1}}),e.jsx(o.Box,{sx:{position:"absolute",top:-9,left:$-d+1,width:0,height:0,borderLeft:"9px solid transparent",borderRight:"9px solid transparent",borderBottom:"10px solid #FFFFFF",zIndex:2}})]})),e.jsxs(o.Box,{sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0},children:[e.jsxs(o.Box,{sx:{flex:1,minWidth:0},children:[("no counterpart"!==x||"no counterpart"!==p)&&e.jsxs(o.Typography,{sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"},children:[e.jsx(o.Box,{component:"span",title:x,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0},children:x}),e.jsx(o.Box,{component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5},children:"↔"}),e.jsx(o.Box,{component:"span",title:p||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0},children:p||"Reference Section"})]}),e.jsx(o.Box,{sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75},children:e.jsx(o.Typography,{sx:{fontSize:"no counterpart"!==x||"no counterpart"!==p?"13px":"16px",fontWeight:400,color:"#5928ED",lineHeight:1},children:Object.values(k.tabs).find(e=>e.key===B)?.subtitle})})]}),e.jsxs(o.Box,{sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0},children:[e.jsxs(o.Box,{sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"},children:[e.jsx(s.default,{}),k.decisionStrengthLabel," ",A,"%"]}),e.jsx(o.IconButton,{onClick:l,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}},children:e.jsx(i.X,{size:22})})]})]}),e.jsx(o.Box,{sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0},children:R.map(t=>{const i=B===t.key,n=t.key===k.tabs.deviation.key,s=R.length>1&&n&&w,r=e.jsx(o.Box,{onClick:()=>{s||D(t.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:s?"not-allowed":"pointer",opacity:s?.5:1,fontSize:"14px",fontWeight:i?600:400,color:i?k.accentColor:"#667085",backgroundColor:i?`${k.accentColor}14`:"transparent",borderBottom:i?`2px solid ${k.accentColor}`:"2px solid transparent",transition:"all 0.15s",userSelect:"none"},children:t.label},t.key);return s?e.jsx(o.Tooltip,{title:"Fetching deviation data",arrow:!0,placement:"top",children:e.jsx("span",{children:r})},t.key):r})}),e.jsx(o.Box,{sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:`${I.border}55`,borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:I.border},scrollbarWidth:"thin",scrollbarColor:`${I.border}55 transparent`},children:B===k.tabs.deviation.key?j?e.jsxs(e.Fragment,{children:[(j?.cognitive_decisioning?.decisioning_factors||[])?.length>0&&e.jsx(a.default,{title:"Decision Making Factors",content:j?.cognitive_decisioning?.decisioning_factors?.join("\n\n"),citations:j?.cognitive_decisioning?.citations,styles:C,docData:y,deviationData:j,open:n,onCitationFullscreenChange:T}),(j?.cognitive_decisioning?.gaps_in_decision||[])?.length>0&&e.jsx(a.default,{title:"Gaps in Decision",content:j?.cognitive_decisioning?.gaps_in_decision?.join("\n\n"),citations:j?.cognitive_decisioning?.citations,styles:C,docData:y,deviationData:j,open:n,onCitationFullscreenChange:T}),0===(j?.cognitive_decisioning?.decisioning_factors||[])?.length&&0===(j?.cognitive_decisioning?.gaps_in_decision||[])?.length&&e.jsx(o.Box,{sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"},children:e.jsx(o.Typography,{sx:{fontSize:"13px",color:"#64748B"},children:"No cognitive decisioning data available for this section."})})]}):e.jsx(a.default,{title:"Deviation Analysis",content:"Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.",citations:{},styles:C,docData:y,open:n,onCitationFullscreenChange:T}):e.jsxs(e.Fragment,{children:[P.length>0&&e.jsx(a.default,{title:k.sectionTitles.decisioningFactors,content:P.join("\n\n"),citations:h.citations,styles:C,open:n,docData:y,onCitationFullscreenChange:T}),O.length>0&&e.jsx(a.default,{title:k.sectionTitles.gaps,content:O.join("\n\n"),citations:h.citations,styles:C,open:n,docData:y,onCitationFullscreenChange:T}),0===P.length&&0===O.length&&e.jsx(o.Box,{sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"},children:e.jsx(o.Typography,{sx:{fontSize:"13px",color:"#64748B"},children:k.emptyStateMessage})})]})})]});return c.default.createPortal(q,document.body)};
|
|
2
2
|
//# sourceMappingURL=CognitivePopup.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitivePopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CognitivePopup.js","sources":["../../../../src/features/CognitiveCompare/CognitivePopup.tsx"],"sourcesContent":["import React, { useState, useEffect, useMemo, useCallback } from \"react\";\nimport { Box, Typography, IconButton, Tooltip } from \"@mui/material\";\nimport { X } from \"lucide-react\";\nimport ReactDOM from \"react-dom\";\nimport SparkleIcon from \"../../assests/svg/SparkleIcon\";\nimport ReactMarkdown from \"react-markdown\";\nimport CitationAnchor from \"./CitationAnchor\";\nimport {\n CognitivePopupConfig,\n CognitivePopupProps,\n} from \"./CognitiveCompareTypes\";\nimport { DEFAULT_POPUP_CONFIG, SHARED_MARKDOWN_STYLES } from \"./CognitiveCompareConfig\";\nimport CitationRenderer from \"./CitationRenderer\";\n\n// ─── CognitivePopup ───────────────────────────────────────────────────────────\n\nconst POPUP_WIDTH = 1050;\nconst LEFT_OFFSET = 150;\nconst VIEWPORT_MARGIN = 12;\nconst ARROW_SIZE = 10;\n\nconst CognitivePopup: React.FC<\n CognitivePopupProps & { popupConfig?: CognitivePopupConfig }\n> = ({\n open,\n onClose,\n sectionTitle,\n referenceSectionTitle,\n cognitiveData,\n relevanceScore,\n anchorEl,\n badgeStyle,\n popupRef,\n position,\n markdownStyles,\n docData,\n popupConfig,\n deviationData = null,\n isLoading\n}) => {\n const resolvedMarkdownStyles = {\n ...SHARED_MARKDOWN_STYLES,\n ...markdownStyles,\n };\n const cfg = useMemo(() => ({\n ...DEFAULT_POPUP_CONFIG,\n ...popupConfig,\n tabs: {\n deviation: { ...DEFAULT_POPUP_CONFIG.tabs.deviation, ...popupConfig?.tabs?.deviation },\n association: { ...DEFAULT_POPUP_CONFIG.tabs.association, ...popupConfig?.tabs?.association },\n },\n sectionTitles: { ...DEFAULT_POPUP_CONFIG.sectionTitles, ...popupConfig?.sectionTitles },\n }), [popupConfig]);\n \n const isMissingRationale = (cognitiveData as any)?.isMissingRationale;\n const [activeTab, setActiveTab] = useState<string>(\n isMissingRationale ? cfg.tabs.deviation.key : cfg.tabs.association.key,\n );\n const [isCitationFullscreenOpen, setIsCitationFullscreenOpen] = useState(false);\n\n const handleCitationFullscreenChange = useCallback((isFullscreen: boolean) => {\n setIsCitationFullscreenOpen(isFullscreen);\n }, []);\n\n useEffect(() => {\n if (open) {\n setActiveTab(\n isMissingRationale ? cfg.tabs.deviation.key : cfg.tabs.association.key,\n );\n } else {\n setIsCitationFullscreenOpen(false);\n }\n }, [\n open,\n isMissingRationale,\n cfg.tabs.deviation.key,\n cfg.tabs.association.key,\n ]);\n // ── Glow colour ────────────────────────────────────────────────────────────\n const glow = useMemo(() => {\n if (!badgeStyle)\n return { border: cfg.accentColor, shadow: `${cfg.accentColor}2E` }; // 2E ≈ 18% opacity\n const t = badgeStyle.badgeText;\n if (t === \"#9F1239\" || t === \"#B42318\")\n return { border: \"#E11D48\", shadow: \"rgba(225,29,72,0.15)\" };\n if (t === \"#1D4ED8\")\n return { border: \"#3B82F6\", shadow: \"rgba(59,130,246,0.15)\" };\n if (t === \"#A16207\")\n return { border: \"#F59E0B\", shadow: \"rgba(245,158,11,0.15)\" };\n return { border: cfg.accentColor, shadow: `${cfg.accentColor}2E` };\n }, [badgeStyle, cfg.accentColor]);\n\n useEffect(() => {\n if (!open || isCitationFullscreenOpen) return;\n const onMouseDown = (e: MouseEvent) => {\n if (\n popupRef.current?.contains(e.target as Node) ||\n anchorEl?.contains(e.target as Node)\n )\n return;\n onClose();\n };\n document.addEventListener(\"mousedown\", onMouseDown);\n return () => document.removeEventListener(\"mousedown\", onMouseDown);\n }, [open, onClose, anchorEl, popupRef, isCitationFullscreenOpen]);\n\n const visibleTabs = !isMissingRationale\n ? [cfg.tabs.deviation, cfg.tabs.association]\n : [];\n\n const hasOnlyDeviationTab =\n visibleTabs.length === 1 &&\n visibleTabs[0].key === cfg.tabs.deviation.key;\n\n // Prevent popup open when only deviation exists\n if (hasOnlyDeviationTab) return null;\n\n if (!open || !cognitiveData) return null;\n\n const score = (activeTab === cfg.tabs.deviation.key ? deviationData?.cognitive_decisioning?.decision_strength : cognitiveData.relevance_score) ?? relevanceScore ?? 0;\n\n const decisioningRaw = cognitiveData.decisioning;\n const decisioningPoints = Array.isArray(decisioningRaw)\n ? decisioningRaw\n : typeof decisioningRaw === \"string\" && decisioningRaw.trim()\n ? [decisioningRaw]\n : [];\n const gapRaw = cognitiveData.gap;\n const gapPoints = Array.isArray(gapRaw)\n ? gapRaw\n : typeof gapRaw === \"string\" && gapRaw.trim()\n ? [gapRaw]\n : [];\n\n // ── Popup node ─────────────────────────────────────────────────────────────\n const calculatedLeft = position ? position.left - LEFT_OFFSET : -9999;\n const al = (position?.arrowLeft ?? 60) + LEFT_OFFSET;\n\n const popupNode = (\n <Box\n ref={popupRef}\n sx={{\n position: \"fixed\",\n top: position?.top ?? -9999,\n left: calculatedLeft,\n zIndex: 9999,\n width: `${POPUP_WIDTH}px`, \n maxWidth: `min(${POPUP_WIDTH}px, calc(100vw - ${calculatedLeft > 0 ? calculatedLeft : 0}px - ${VIEWPORT_MARGIN}px))`,\n bgcolor: \"#FFFFFF\",\n borderRadius: \"14px\",\n border: `1.5px solid ${glow.border}`,\n boxShadow: `0px 8px 32px ${glow.shadow}, 0px 0px 0px 3px ${glow.shadow}`,\n overflow: \"visible\",\n display: \"flex\",\n flexDirection: \"column\",\n // maxHeight: \"60vh\",\n maxHeight: position?.maxHeight\n ? `min(60vh, ${position.maxHeight}px)`\n : \"60vh\",\n\n visibility: !isCitationFullscreenOpen && position ? \"visible\" : \"hidden\",\n pointerEvents: isCitationFullscreenOpen ? \"none\" : \"auto\",\n }}\n >\n {position &&\n (position.openAbove ? (\n <>\n <Box\n sx={{\n position: \"absolute\",\n bottom: -(ARROW_SIZE + 1),\n left: al - ARROW_SIZE,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE}px solid transparent`,\n borderRight: `${ARROW_SIZE}px solid transparent`,\n borderTop: `${ARROW_SIZE + 1}px solid ${glow.border}`,\n zIndex: 1,\n }}\n />\n <Box\n sx={{\n position: \"absolute\",\n bottom: -(ARROW_SIZE - 1),\n left: al - ARROW_SIZE + 1,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE - 1}px solid transparent`,\n borderRight: `${ARROW_SIZE - 1}px solid transparent`,\n borderTop: `${ARROW_SIZE}px solid #FFFFFF`,\n zIndex: 2,\n }}\n />\n </>\n ) : (\n <>\n <Box\n sx={{\n position: \"absolute\",\n top: -(ARROW_SIZE + 1),\n left: al - ARROW_SIZE,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE}px solid transparent`,\n borderRight: `${ARROW_SIZE}px solid transparent`,\n borderBottom: `${ARROW_SIZE + 1}px solid ${glow.border}`,\n zIndex: 1,\n }}\n />\n <Box\n sx={{\n position: \"absolute\",\n top: -(ARROW_SIZE - 1),\n left: al - ARROW_SIZE + 1,\n width: 0,\n height: 0,\n borderLeft: `${ARROW_SIZE - 1}px solid transparent`,\n borderRight: `${ARROW_SIZE - 1}px solid transparent`,\n borderBottom: `${ARROW_SIZE}px solid #FFFFFF`,\n zIndex: 2,\n }}\n />\n </>\n ))}\n <Box\n sx={{\n px: 2.5,\n pt: 2,\n pb: 1.5,\n display: \"flex\",\n alignItems: \"flex-start\",\n justifyContent: \"space-between\",\n gap: 2,\n flexShrink: 0,\n }}\n >\n <Box sx={{ flex: 1, minWidth: 0 }}>\n {(sectionTitle !== 'no counterpart' || referenceSectionTitle !== 'no counterpart') && (\n <Typography\n sx={{\n fontSize: \"16px\",\n fontWeight: 600,\n color: \"#101828\",\n lineHeight: 1.3,\n display: \"flex\",\n alignItems: \"center\",\n gap: 1,\n flexWrap: \"nowrap\",\n overflow: \"hidden\",\n width: \"100%\",\n }}\n >\n <Box\n component=\"span\"\n title={sectionTitle}\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n flex: \"0 1 auto\",\n maxWidth: \"calc(50% - 16px)\",\n minWidth: 0,\n }}\n >\n {sectionTitle}\n </Box>\n <Box\n component=\"span\"\n sx={{ color: \"#667085\", fontWeight: 400, flexShrink: 0, mx: 0.5 }}\n >\n ↔\n </Box>\n <Box\n component=\"span\"\n title={referenceSectionTitle || \"Reference Section\"}\n sx={{\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n whiteSpace: \"nowrap\",\n flex: 1,\n minWidth: 0,\n }}\n >\n {referenceSectionTitle || \"Reference Section\"}\n </Box>\n </Typography>\n )}\n <Box\n sx={{\n mt: 0.75,\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: 0.75,\n }}\n >\n <Typography\n sx={{\n fontSize: (sectionTitle !== 'no counterpart' || referenceSectionTitle !== 'no counterpart') ? \"13px\" : \"16px\",\n fontWeight: 400,\n color: \"#5928ED\",\n lineHeight: 1,\n }}\n >\n {\n Object.values(cfg.tabs).find((t) => t.key === activeTab)\n ?.subtitle\n }\n </Typography>\n </Box>\n </Box>\n\n <Box\n sx={{\n display: \"flex\",\n alignItems: \"center\",\n gap: 1.5,\n flexShrink: 0,\n }}\n >\n <Box\n sx={{\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"5px\",\n px: 1.5,\n py: 0.5,\n borderRadius: \"20px\",\n bgcolor: \"#FFFFFF\",\n border: \"1px solid #5928ED\",\n fontSize: \"12px\",\n fontWeight: 600,\n color: \"#5928ED\",\n }}\n >\n <SparkleIcon />\n {cfg.decisionStrengthLabel} {score}%\n </Box>\n <IconButton\n onClick={onClose}\n size=\"small\"\n sx={{\n color: \"#667085\",\n width: 24,\n height: 24,\n \"&:hover\": { bgcolor: \"transparent\", color: \"#101828\" },\n }}\n >\n <X size={22} />\n </IconButton>\n </Box>\n </Box>\n\n {/* ── Tabs (flexShrink: 0 — never shrinks) ── */}\n {/* ── Tabs ── */}\n <Box\n sx={{\n display: \"flex\",\n borderBottom: \"1px solid #E4E7EC\",\n px: 2.5,\n flexShrink: 0,\n }}\n >\n {visibleTabs.map((tab) => {\n const isActive = activeTab === tab.key;\n\n const isDeviationTab = tab.key === cfg.tabs.deviation.key;\n\n const shouldDisableDeviationSelection =\n visibleTabs.length > 1 &&\n isDeviationTab &&\n isLoading;\n\n const tabNode = (\n <Box\n key={tab.key}\n onClick={() => {\n if (shouldDisableDeviationSelection) return;\n setActiveTab(tab.key);\n }}\n sx={{\n pb: \"10px\",\n pt: \"4px\",\n mr: 3,\n px: 2,\n cursor: shouldDisableDeviationSelection\n ? \"not-allowed\"\n : \"pointer\",\n opacity: shouldDisableDeviationSelection ? 0.5 : 1,\n fontSize: \"14px\",\n fontWeight: isActive ? 600 : 400,\n color: isActive ? cfg.accentColor : \"#667085\",\n backgroundColor: isActive\n ? `${cfg.accentColor}14`\n : \"transparent\",\n borderBottom: isActive\n ? `2px solid ${cfg.accentColor}`\n : \"2px solid transparent\",\n transition: \"all 0.15s\",\n userSelect: \"none\",\n }}\n >\n {tab.label}\n </Box>\n );\n\n return shouldDisableDeviationSelection ? (\n <Tooltip\n key={tab.key}\n title=\"Fetching deviation data\"\n arrow\n placement=\"top\"\n >\n <span>{tabNode}</span>\n </Tooltip>\n ) : (\n tabNode\n );\n })}\n </Box>\n {/* Content */}\n <Box\n sx={{\n flex: 1,\n minHeight: 0,\n overflowY: \"auto\",\n px: 2.5,\n py: 2,\n display: \"flex\",\n flexDirection: \"column\",\n gap: 1.5,\n \"&::-webkit-scrollbar\": { width: \"6px\" },\n \"&::-webkit-scrollbar-track\": { background: \"transparent\" },\n \"&::-webkit-scrollbar-thumb\": {\n background: `${glow.border}55`,\n borderRadius: \"10px\",\n },\n \"&::-webkit-scrollbar-thumb:hover\": { background: glow.border },\n scrollbarWidth: \"thin\",\n scrollbarColor: `${glow.border}55 transparent`,\n }}\n >\n {activeTab === cfg.tabs.deviation.key ? (\n deviationData ?\n <>\n {(deviationData?.cognitive_decisioning?.decisioning_factors || [])?.length > 0 && (\n <CitationRenderer\n title=\"Decision Making Factors\"\n content={deviationData?.cognitive_decisioning?.decisioning_factors?.join(\"\\n\\n\")}\n citations={deviationData?.cognitive_decisioning?.citations}\n styles={resolvedMarkdownStyles} \n docData={docData} \n deviationData={deviationData}\n open={open} \n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {(deviationData?.cognitive_decisioning?.gaps_in_decision || [])?.length > 0 && (\n <CitationRenderer\n title=\"Gaps in Decision\"\n content={deviationData?.cognitive_decisioning?.gaps_in_decision?.join(\"\\n\\n\")}\n citations={deviationData?.cognitive_decisioning?.citations}\n styles={resolvedMarkdownStyles}\n docData={docData}\n deviationData={deviationData}\n open={open}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n {(deviationData?.cognitive_decisioning?.decisioning_factors || [])?.length === 0 && (deviationData?.cognitive_decisioning?.gaps_in_decision || [])?.length === 0 && (\n <Box\n sx={{\n p: 2,\n bgcolor: \"#F8FAFC\",\n borderRadius: \"8px\",\n border: \"1px solid #E2E8F0\",\n }}\n >\n <Typography sx={{ fontSize: \"13px\", color: \"#64748B\" }}>\n No cognitive decisioning data available for this section.\n </Typography>\n </Box>\n )}\n </>:\n <CitationRenderer\n title={`Deviation Analysis`}\n content={`Deviation analysis content will appear here. This tab shows\n structural and semantic deviations identified between the two\n sections being compared.`}\n citations={{}}\n styles={resolvedMarkdownStyles} \n docData={docData} \n open={open} \n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n ) : (\n <>\n {decisioningPoints.length > 0 && (\n <CitationRenderer\n title={cfg.sectionTitles.decisioningFactors}\n content={decisioningPoints.join(\"\\n\\n\")}\n citations={cognitiveData.citations}\n styles={resolvedMarkdownStyles} \n open={open}\n docData={docData}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {gapPoints.length > 0 && (\n <CitationRenderer\n title={cfg.sectionTitles.gaps}\n content={gapPoints.join(\"\\n\\n\")}\n citations={cognitiveData.citations}\n styles={resolvedMarkdownStyles}\n open={open}\n docData={docData}\n onCitationFullscreenChange={handleCitationFullscreenChange}\n />\n )}\n\n {decisioningPoints.length === 0 && gapPoints.length === 0 && (\n <Box\n sx={{\n p: 2,\n bgcolor: \"#F8FAFC\",\n borderRadius: \"8px\",\n border: \"1px solid #E2E8F0\",\n }}\n >\n {/* ── Dynamic empty state ── */}\n <Typography sx={{ fontSize: \"13px\", color: \"#64748B\" }}>\n {cfg.emptyStateMessage}\n </Typography>\n </Box>\n )}\n </>\n )}\n </Box>\n </Box>\n );\n\n return ReactDOM.createPortal(popupNode, document.body);\n};\n\nexport default CognitivePopup;\n"],"names":["ARROW_SIZE","open","onClose","sectionTitle","referenceSectionTitle","cognitiveData","relevanceScore","anchorEl","badgeStyle","popupRef","position","markdownStyles","docData","popupConfig","deviationData","isLoading","resolvedMarkdownStyles","SHARED_MARKDOWN_STYLES","cfg","useMemo","DEFAULT_POPUP_CONFIG","tabs","deviation","association","sectionTitles","isMissingRationale","activeTab","setActiveTab","useState","key","isCitationFullscreenOpen","setIsCitationFullscreenOpen","handleCitationFullscreenChange","useCallback","isFullscreen","useEffect","glow","border","accentColor","shadow","t","badgeText","onMouseDown","e","current","contains","target","document","addEventListener","removeEventListener","visibleTabs","length","score","cognitive_decisioning","decision_strength","relevance_score","decisioningRaw","decisioning","decisioningPoints","Array","isArray","trim","gapRaw","gap","gapPoints","calculatedLeft","left","al","arrowLeft","popupNode","jsxs","Box","ref","sx","top","zIndex","width","maxWidth","bgcolor","borderRadius","boxShadow","overflow","display","flexDirection","maxHeight","visibility","pointerEvents","children","openAbove","Fragment","jsx","bottom","height","borderLeft","borderRight","borderTop","borderBottom","px","pt","pb","alignItems","justifyContent","flexShrink","flex","minWidth","Typography","fontSize","fontWeight","color","lineHeight","flexWrap","component","title","textOverflow","whiteSpace","mx","mt","Object","values","find","subtitle","py","SparkleIcon","decisionStrengthLabel","IconButton","onClick","size","X","map","tab","isActive","isDeviationTab","shouldDisableDeviationSelection","tabNode","mr","cursor","opacity","backgroundColor","transition","userSelect","label","Tooltip","arrow","placement","minHeight","overflowY","background","scrollbarWidth","scrollbarColor","decisioning_factors","CitationRenderer","content","join","citations","styles","onCitationFullscreenChange","gaps_in_decision","p","decisioningFactors","gaps","emptyStateMessage","ReactDOM","createPortal","body"],"mappings":"mZAgBA,MAGMA,EAAa,mBAIf,EACFC,OACAC,UACAC,eACAC,wBACAC,gBACAC,iBACAC,WACAC,aACAC,WACAC,WACAC,iBACAC,UACAC,cACAC,gBAAgB,KAChBC,gBAEA,MAAMC,EAAyB,IAC1BC,EAAAA,0BACAN,GAECO,EAAMC,EAAAA,QAAQ,KAAO,IACtBC,EAAAA,wBACAP,EACHQ,KAAM,CACJC,UAAW,IAAKF,EAAAA,qBAAqBC,KAAKC,aAAcT,GAAaQ,MAAMC,WAC3EC,YAAa,IAAKH,EAAAA,q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BP,QAAS7F,EAAkB8F,KAAK,QAChCC,UAAWpJ,EAAcoJ,UACzBC,OAAQ1I,EACRf,OACAW,UACA+I,2BAA4B3H,IAI/BgC,EAAUb,OAAS,GAClBuC,EAAAA,IAAC4D,EAAA,QAAA,CACCtC,MAAO9F,EAAIM,cAAcuI,KACzBR,QAASvF,EAAUwF,KAAK,QACxBC,UAAWpJ,EAAcoJ,UACzBC,OAAQ1I,EACRf,OACAW,UACA+I,2BAA4B3H,IAIF,IAA7B0B,EAAkBP,QAAqC,IAArBa,EAAUb,QAC3CuC,EAAAA,IAACnB,EAAAA,IAAA,CACCE,GAAI,CACFoF,EAAG,EACH/E,QAAS,UACTC,aAAc,MACd1C,OAAQ,qBAIVkD,SAAAG,EAAAA,IAACe,EAAAA,WAAW,CAAAhC,GAAI,CAAEiC,SAAU,OAAQE,MAAO,WACxCrB,SAAArE,EAAI8I,8BAUrB,OAAOC,EAAS,QAAAC,aAAa7F,EAAWtB,SAASoH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react")
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");const r=e.createContext(null),t=r.Provider;exports.CompareContextProvider=t,exports.useCompareContext=()=>{const t=e.useContext(r);if(!t)throw new Error("useCompareContext must be used within CompareContextProvider");return t};
|
|
2
2
|
//# sourceMappingURL=CompareContext.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CompareContext.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"CompareContext.js","sources":["../../../../src/features/CognitiveCompare/CompareContext.tsx"],"sourcesContent":["import React, { createContext, useContext } from \"react\";\nimport { GptWebCitationConfig, IDisplayConfig, SectionBlock, StyleVariant } from \"./CognitiveCompareTypes\";\n\nexport type UnifiedNumbering = {\n leftNums: Map<string, number>;\n rightNums: Map<string, string>;\n};\n\nexport type CompareContextValue = {\n isGuidelineMode: boolean;\n maintainRelativeOrder: boolean;\n showDeviationBadges: boolean;\n isProposingFix?: boolean;\n proposingFixNodeId?: string;\n isRedlineFlow?: boolean;\n isSideBySide: boolean;\n activeSideBySideSection: number | string | null;\n scrollSyncLocked: boolean;\n toggleScrollSyncLocked: (e?: React.MouseEvent) => void;\n summaryPopupAnchorEl: HTMLElement | null;\n connectedSections: Set<number | string>;\n proposedSections: SectionBlock[];\n existingSections: SectionBlock[];\n deviationNumberRegistry: Record<string, number>;\n deviationParentRegistry: Record<string, unknown>;\n treeData: Record<string, any> | null | undefined;\n displayConfig: IDisplayConfig;\n resolvedMarkdownStyles: Record<string, any>;\n unifiedNumbering: UnifiedNumbering;\n expandedSections: Record<string, boolean>;\n expandedSubSections: Record<string, boolean>;\n setExpandedSubSections: React.Dispatch<React.SetStateAction<Record<string, boolean>>>;\n getSectionCompareStyle: (idx: number, side?: \"left\" | \"right\") => StyleVariant | null;\n getSubSectionCompareStyle: (path: string) => StyleVariant | null;\n getBadgeRef: (side: \"left\" | \"right\", id: string) => React.RefObject<HTMLDivElement>;\n getSectionRowRef: (idx: string | number) => React.RefObject<HTMLDivElement>;\n getSubSectionRef: (side: \"left\" | \"right\", path: string) => React.RefObject<HTMLDivElement>;\n sectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n sectionRightRowRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionLeftRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n subSectionRightRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n lhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n rhsBadgeRefs: React.MutableRefObject<Record<string | number, React.RefObject<HTMLDivElement>>>;\n openMoreFunctionsPopup: (\n e: React.MouseEvent,\n baseSec: SectionBlock,\n isOrphan: boolean,\n refSec: SectionBlock,\n id: string | number,\n style?: StyleVariant | null,\n ) => void;\n handleOpenSummaryPopup: (\n e: React.MouseEvent,\n actionId: string,\n isOrphan: boolean,\n summary: any,\n displayImpact?: boolean,\n ) => void;\n openSummaryPopup: (\n e: React.MouseEvent,\n actionId: string,\n isOrphan: boolean,\n summary: any,\n ) => void;\n handleCloseSummaryPopup: () => void;\n toggleSection: (idx: number, columnKey: \"left\" | \"right\") => void;\n handleSubSectionToggle: (keyPath: string) => void;\n renderSubSectionAccordion: (args: {\n section: SectionBlock;\n keyPath: string;\n depth: number;\n columnKey: \"left\" | \"right\";\n parentNodeId: string;\n sectionOffset?: number;\n rhsOrphanVisualIndexes?: ReadonlyMap<string, number>;\n }) => React.ReactNode;\n resetSideBySide: () => void;\n setConnectedSections: React.Dispatch<React.SetStateAction<Set<number | string>>>;\n setConnectedLines: React.Dispatch<React.SetStateAction<any[]>>;\n cachedConnectedPositions: React.MutableRefObject<any[]>;\n showDeviationNavigation: Record<string, any>;\n showOpenNodeRef: React.MutableRefObject<string | undefined>;\n deviationNodeIdToView?: string | undefined;\n deviationTargetParentId?: string | null;\n guidelinesData?: any;\n gptWebCitationConfig?: GptWebCitationConfig;\n};\n\nconst CompareContext = createContext<CompareContextValue | null>(null);\n\nexport const CompareContextProvider = CompareContext.Provider;\n\nexport const useCompareContext = () => {\n const context = useContext(CompareContext);\n if (!context) {\n throw new Error(\"useCompareContext must be used within CompareContextProvider\");\n }\n return context;\n};\n"],"names":["CompareContext","createContext","CompareContextProvider","Provider","context","useContext","Error"],"mappings":"2FA0FA,MAAMA,EAAiBC,EAAAA,cAA0C,MAEpDC,EAAyBF,EAAeG,oEAEpB,KACzB,MAAAC,EAAUC,aAAWL,GAC3B,IAAKI,EACG,MAAA,IAAIE,MAAM,gEAEX,OAAAF"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),r=require("@mui/material"),i=require("react-markdown"),l=require("rehype-raw"),o=require("../../CognitiveCompareConfig.js"),a=require("../../CognitiveComparehelpers.js"),s=require("../utils/processGuidelinesMarkdown.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=u(i),d=u(l);exports.default=({guidelinesData:i,deviationData:l,connectedSections:u,proposedSections:g})=>{const c=Array.from(u)[0],{targetHighlights:p,labelColor:h}=t.useMemo(()=>{if(null==c||!l)return{targetHighlights:[],labelColor:""};let e="";"number"==typeof c?e=g[c]?.nodeId||"":"string"==typeof c&&(e=c.includes(a.DEVIATION_BADGE_SEPARATOR)?c.split(a.DEVIATION_BADGE_SEPARATOR)[0]:c.split("::")[0].split(":")[0]);const t=l[e];if(!t)return{targetHighlights:[],labelColor:""};let r=[];const i=t.evaluation_result||{};let o="";return Object.values(i).forEach(e=>{e?.deviation_highlights?.rulebook_guidelines&&(r=[...r,...e.deviation_highlights.rulebook_guidelines],o=e.evaluation_outputs?.metadata?.label_color?a.generateColorPalette(e.evaluation_outputs?.metadata?.label_color).bg:"")}),{targetHighlights:r.filter(Boolean),labelColor:o}},[c,l,g]),b=t.useMemo(()=>s.processGuidelinesMarkdown({guidelinesData:i,targetHighlights:p,labelColor:h||"#FEF08A"}),[i,p,h]);return e.jsx(r.Box,{sx:{padding:"0px 12px",backgroundColor:"#FFFFFF",borderRadius:"8px",...o.SHARED_MARKDOWN_STYLES,overflow:"visible"},children:e.jsx(n.default,{rehypePlugins:[d.default],children:b})})};
|
|
2
2
|
//# sourceMappingURL=GuidelinePanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GuidelinePanel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"GuidelinePanel.js","sources":["../../../../../../src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { Box } from '@mui/material';\nimport ReactMarkdown from 'react-markdown';\nimport rehypeRaw from 'rehype-raw';\nimport { SHARED_MARKDOWN_STYLES } from '../../CognitiveCompareConfig';\nimport { DEVIATION_BADGE_SEPARATOR, generateColorPalette } from '../../CognitiveComparehelpers';\nimport { processGuidelinesMarkdown } from '../utils/processGuidelinesMarkdown';\n// import { SHARED_MARKDOWN_STYLES } from '../CognitiveCompareConfig';\n// import { DEVIATION_BADGE_SEPARATOR } from '../CognitiveComparehelpers';\n\nconst GuidelinePanel = ({ guidelinesData, deviationData, connectedSections, proposedSections }: any) => {\n const activeNodeIdFull = Array.from(connectedSections)[0];\n\n const {targetHighlights, labelColor} = useMemo(() => {\n if (activeNodeIdFull == null || !deviationData) return { targetHighlights: [], labelColor: \"\" };\n\n let baseNodeId = \"\";\n\n // 1. Resolve the actual Node ID whether the input is an array index or a composite string\n if (typeof activeNodeIdFull === 'number') {\n baseNodeId = proposedSections[activeNodeIdFull]?.nodeId || \"\";\n } else if (typeof activeNodeIdFull === 'string') {\n if (activeNodeIdFull.includes(DEVIATION_BADGE_SEPARATOR)) {\n baseNodeId = activeNodeIdFull.split(DEVIATION_BADGE_SEPARATOR)[0];\n } else {\n baseNodeId = activeNodeIdFull.split('::')[0].split(':')[0];\n }\n }\n\n // 2. Extract rulebook guidelines from deviation data\n const nodeDevData = deviationData[baseNodeId];\n if (!nodeDevData) return { targetHighlights: [], labelColor: \"\" };\n\n let guidelines: string[] = [];\n const evalResults = nodeDevData.evaluation_result || {};\n let labelColor: string = \"\"\n \n Object.values(evalResults).forEach((evalNode: any) => {\n if (evalNode?.deviation_highlights?.rulebook_guidelines) {\n guidelines = [...guidelines, ...evalNode.deviation_highlights.rulebook_guidelines];\n labelColor = evalNode.evaluation_outputs?.metadata?.label_color ? generateColorPalette(evalNode.evaluation_outputs?.metadata?.label_color).bg : \"\";\n }\n });\n\n return { targetHighlights: guidelines.filter(Boolean), labelColor }; // Filter out empty strings\n }, [activeNodeIdFull, deviationData, proposedSections]);\n\n const processedMarkdown = useMemo(\n () =>\n processGuidelinesMarkdown({\n guidelinesData,\n targetHighlights,\n labelColor: labelColor || \"#FEF08A\",\n }),\n [guidelinesData, targetHighlights, labelColor]\n );\n\n return (\n <Box sx={{ \n padding: '0px 12px', \n backgroundColor: '#FFFFFF', \n borderRadius: '8px', \n ...SHARED_MARKDOWN_STYLES,\n overflow: 'visible' \n }}>\n <ReactMarkdown rehypePlugins={[rehypeRaw as any]}>\n {processedMarkdown}\n </ReactMarkdown>\n </Box>\n );\n};\n\nexport default GuidelinePanel;"],"names":["guidelinesData","deviationData","connectedSections","proposedSections","activeNodeIdFull","Array","from","targetHighlights","labelColor","useMemo","baseNodeId","nodeId","includes","DEVIATION_BADGE_SEPARATOR","split","nodeDevData","guidelines","evalResults","evaluation_result","Object","values","forEach","evalNode","deviation_highlights","rulebook_guidelines","evaluation_outputs","metadata","label_color","generateColorPalette","bg","filter","Boolean","processedMarkdown","processGuidelinesMarkdown","jsx","Box","sx","padding","backgroundColor","borderRadius","SHARED_MARKDOWN_STYLES","overflow","children","ReactMarkdown","rehypePlugins","rehypeRaw"],"mappings":"icAUuB,EAAGA,iBAAgBC,gBAAeC,oBAAmBC,uBAC1E,MAAMC,EAAmBC,MAAMC,KAAKJ,GAAmB,IAEjDK,iBAACA,EAAAC,WAAkBA,GAAcC,UAAQ,KACzC,GAAoB,MAApBL,IAA6BH,EAAe,MAAO,CAAEM,iBAAkB,GAAIC,WAAY,IAE3F,IAAIE,EAAa,GAGe,iBAArBN,EACIM,EAAAP,EAAiBC,IAAmBO,QAAU,GACtB,iBAArBP,IAEdM,EADEN,EAAiBQ,SAASC,EAAAA,2BACfT,EAAiBU,MAAMD,EAAAA,2BAA2B,GAElDT,EAAiBU,MAAM,MAAM,GAAGA,MAAM,KAAK,IAKtD,MAAAC,EAAcd,EAAcS,GAC9B,IAACK,EAAoB,MAAA,CAAER,iBAAkB,GAAIC,WAAY,IAE7D,IAAIQ,EAAuB,GACrB,MAAAC,EAAcF,EAAYG,mBAAqB,GACrD,IAAIV,EAAqB,GASzB,OAPAW,OAAOC,OAAOH,GAAaI,QAASC,IAC9BA,GAAUC,sBAAsBC,sBAClCR,EAAa,IAAIA,KAAeM,EAASC,qBAAqBC,qBAC9DhB,EAAac,EAASG,oBAAoBC,UAAUC,YAAcC,EAAqBA,qBAAAN,EAASG,oBAAoBC,UAAUC,aAAaE,GAAK,MAI7I,CAAEtB,iBAAkBS,EAAWc,OAAOC,SAAUvB,WAAAA,IACtD,CAACJ,EAAkBH,EAAeE,IAE/B6B,EAAoBvB,EAAAA,QACxB,IACEwB,4BAA0B,CACxBjC,iBACAO,mBACAC,WAAYA,GAAc,YAE9B,CAACR,EAAgBO,EAAkBC,IAInC,OAAA0B,EAAAA,IAACC,OAAIC,GAAI,CACPC,QAAS,WACTC,gBAAiB,UACjBC,aAAc,SACXC,EAAAA,uBACHC,SAAU,WAEVC,eAACC,EAAc,QAAA,CAAAC,cAAe,CAACC,EAAgB,SAC5CH"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),a=require("@mui/material"),t=require("react-markdown"),o=require("rehype-raw"),n=require("../../CognitiveCompareConfig.js"),i=require("../../CognitiveComparehelpers.js"),d=require("../../CitationAnchor.js");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=l(t),u=l(o);const c=({evalNode:e})=>!1===e?.evaluation_outputs?.guideline_flag?.rulebook_used,p=(e,r,a)=>`${e}::${r}::${a}`,y=(e,r)=>`${e}::${r}`,b={relativeWrapper:{verticalAlign:"baseline"},arrow:{color:"#6D28D9"}};exports.default=({deviationData:t,connectedSections:o,proposedSections:l})=>{const w=Array.from(o||[])[0],v=r.useMemo(()=>((e,r)=>"number"==typeof e?r[e]?.nodeId||"":e&&"string"==typeof e&&e.trim()?e.includes(i.DEVIATION_BADGE_SEPARATOR)?e.split(i.DEVIATION_BADGE_SEPARATOR)[0]:e.split("::")[0].split(":")[0]:"")(w,l||[]),[w,l]),f=r.useMemo(()=>{if(!t||"object"!=typeof t)return[];return Object.entries(t).flatMap(([e,r])=>(e=>{const r=e&&"object"==typeof e?e.evaluation_result:null;return!r||"object"!=typeof r&&!Array.isArray(r)?[]:Array.isArray(r)?r.map((e,r)=>({evalNode:e,evaluationKey:String(r)})):"object"==typeof r?Object.entries(r).map(([e,r])=>({evalNode:r,evaluationKey:e})):[]})(r).filter(c).map(({evalNode:r,evaluationKey:a})=>({nodeId:e,evaluationKey:a,answerKey:y(e,a),evaluation:r,webSearchAnswer:r.web_search_answer,colorPalette:i.generateColorPalette(r?.evaluation_outputs?.metadata?.label_color||"")??{border:b.arrow.color}})).filter(({webSearchAnswer:e})=>!!e?.enhanced_content)).map((e,r)=>({...e,answerOrder:r}))},[t]),g=r.useMemo(()=>f.reduce((e,r)=>{const a=r.webSearchAnswer?.extraMetaData||{};return Object.entries(a).forEach(([a,t])=>{const o=p(r.nodeId,r.evaluationKey,a);e[o]={nodeId:r.nodeId,evaluationKey:r.evaluationKey,answerKey:r.answerKey,answerOrder:r.answerOrder,reasoningId:a,evaluation:r.evaluation,webSearchAnswer:r.webSearchAnswer,extraMetaData:t}}),e},{}),[f]),x=r.useMemo(()=>f.reduce((r,a)=>(r[a.answerKey]={a:({href:r="",children:t,type:o,reason:n,...i})=>{const l=i?.["data-cognitive-reasoning"],s=l?p(a.nodeId,a.evaluationKey,String(l)):"",u=s?g[s]:null;return e.jsx(d.default,{href:r,children:t,citationType:o,citationReason:n,metaData:{webGpt:u,webGptMetaKey:s},customStyle:b})}},r),{}),[f,g]);return e.jsx(a.Box,{sx:{padding:"12px 12px 12px 0px",backgroundColor:"#FFFFFF",borderRadius:"8px",...n.SHARED_MARKDOWN_STYLES,overflow:"visible"},children:f.length>0?f.map((r,t)=>e.jsx(a.Box,{id:r.nodeId===v?"guideline-target-0":void 0,"data-web-gpt-node-id":r.nodeId,"data-web-gpt-evaluation-key":r.evaluationKey,"data-web-gpt-answer-order":r.answerOrder,"data-web-gpt-active":r.nodeId===v?"true":"false",sx:{mb:1.5,border:r.nodeId===v?`2px solid ${r.colorPalette.border}`:"1px solid #d3d3d3",borderRadius:"6px",padding:"8px",backgroundColor:"#FFFFFF"},children:e.jsx(s.default,{rehypePlugins:[u.default],components:x[r.answerKey],children:r.webSearchAnswer.enhanced_content})},r.answerKey)):e.jsx(a.Typography,{sx:{color:"#64748B",fontSize:"14px",py:1},children:"No web GPT data available."})})};
|
|
2
2
|
//# sourceMappingURL=WebGptPanel.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebGptPanel.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"WebGptPanel.js","sources":["../../../../../../src/features/CognitiveCompare/Guidelines/components/WebGptPanel.tsx"],"sourcesContent":["import React, { useMemo } from 'react';\nimport { Box, Typography } from '@mui/material';\nimport ReactMarkdown from 'react-markdown';\nimport rehypeRaw from 'rehype-raw';\nimport { SHARED_MARKDOWN_STYLES } from '../../CognitiveCompareConfig';\nimport { DEVIATION_BADGE_SEPARATOR, generateColorPalette } from '../../CognitiveComparehelpers';\nimport CitationAnchor from '../../CitationAnchor';\n\nconst getBaseNodeId = (activeNodeIdFull: unknown, proposedSections: Record<string, unknown>[]) => {\n if (typeof activeNodeIdFull === 'number') {\n return proposedSections[activeNodeIdFull]?.nodeId || \"\";\n }\n\n if (activeNodeIdFull && typeof activeNodeIdFull === 'string' && activeNodeIdFull.trim()) {\n if (activeNodeIdFull.includes(DEVIATION_BADGE_SEPARATOR)) {\n return activeNodeIdFull.split(DEVIATION_BADGE_SEPARATOR)[0];\n }\n\n return activeNodeIdFull.split('::')[0].split(':')[0];\n }\n\n return \"\";\n};\n\nconst getEvaluationNodes = (nodeDevData: Record<string, unknown>) => {\n const evalResults = (nodeDevData && typeof nodeDevData === 'object') ? nodeDevData.evaluation_result : null;\n if (!evalResults || (typeof evalResults !== 'object' && !Array.isArray(evalResults))) return [];\n if (Array.isArray(evalResults)) {\n return evalResults.map((evalNode, index) => ({ evalNode, evaluationKey: String(index) }));\n }\n if (typeof evalResults === \"object\") {\n return Object.entries(evalResults).map(([evaluationKey, evalNode]) => ({ evalNode, evaluationKey }));\n }\n return [];\n};\n\nconst isWebGptEvaluation = ({ evalNode }: { evalNode: Record<string, any> }) =>\n evalNode?.evaluation_outputs?.guideline_flag?.rulebook_used === false;\n\nconst buildWebGptMetaKey = (nodeId: string, evaluationKey: string, reasoningId: string) =>\n `${nodeId}::${evaluationKey}::${reasoningId}`;\n\nconst buildWebGptAnswerKey = (nodeId: string, evaluationKey: string) =>\n `${nodeId}::${evaluationKey}`;\n\nconst WEB_GPT_CITATION_STYLE = {\n relativeWrapper: {\n verticalAlign: \"baseline\",\n },\n arrow: {\n color: \"#6D28D9\"\n }\n};\n\ninterface WebGptPanelProps {\n deviationData: Record<string, unknown>;\n connectedSections: Iterable<unknown>;\n proposedSections: Record<string, unknown>[];\n}\n\nconst WebGptPanel = ({ deviationData, connectedSections, proposedSections }: WebGptPanelProps) => {\n const activeNodeIdFull = Array.from(connectedSections || [])[0];\n const activeBaseNodeId = useMemo(\n () => getBaseNodeId(activeNodeIdFull, proposedSections || []),\n [activeNodeIdFull, proposedSections],\n );\n\n const webSearchAnswers = useMemo(() => {\n if (!deviationData || typeof deviationData !== \"object\") return [];\n\n const collectFromNode = ([nodeId, nodeDevData]: [string, any]) =>\n getEvaluationNodes(nodeDevData)\n .filter(isWebGptEvaluation)\n .map(({ evalNode, evaluationKey }: any) => ({\n nodeId,\n evaluationKey,\n answerKey: buildWebGptAnswerKey(nodeId, evaluationKey),\n evaluation: evalNode,\n webSearchAnswer: evalNode.web_search_answer,\n colorPalette : generateColorPalette(evalNode?.evaluation_outputs?.metadata?.label_color || \"\") ?? {border: WEB_GPT_CITATION_STYLE.arrow.color},\n }))\n .filter(({ webSearchAnswer }: any) => !!webSearchAnswer?.enhanced_content);\n\n return Object.entries(deviationData)\n .flatMap(collectFromNode as any)\n .map((answer: any, answerOrder: number) => ({\n ...answer,\n answerOrder,\n }));\n }, [deviationData]);\n\n const webGptExtraMetaByKey = useMemo(() => {\n return webSearchAnswers.reduce((acc: Record<string, any>, answer: any) => {\n const extraMetaData = answer.webSearchAnswer?.extraMetaData || {};\n\n Object.entries(extraMetaData).forEach(([reasoningId, extraMetaDataForReasoning]) => {\n const metaKey = buildWebGptMetaKey(answer.nodeId, answer.evaluationKey, reasoningId);\n acc[metaKey] = {\n nodeId: answer.nodeId,\n evaluationKey: answer.evaluationKey,\n answerKey: answer.answerKey,\n answerOrder: answer.answerOrder,\n reasoningId,\n evaluation: answer.evaluation,\n webSearchAnswer: answer.webSearchAnswer,\n extraMetaData: extraMetaDataForReasoning,\n };\n });\n\n return acc;\n }, {});\n }, [webSearchAnswers]);\n\n const componentsByAnswerKey = useMemo(() => {\n return webSearchAnswers.reduce((acc: Record<string, any>, answer: any) => {\n acc[answer.answerKey] = {\n a: ({ href = \"\", children, type, reason, ...props }: any) => {\n const reasoningId = props?.[\"data-cognitive-reasoning\"];\n const metaKey = reasoningId\n ? buildWebGptMetaKey(answer.nodeId, answer.evaluationKey, String(reasoningId))\n : \"\";\n const matchedExtraMetaData = metaKey ? webGptExtraMetaByKey[metaKey] : null;\n\n return (\n <CitationAnchor\n href={href}\n children={children}\n citationType={type}\n citationReason={reason}\n metaData={{\n webGpt: matchedExtraMetaData,\n webGptMetaKey: metaKey,\n }}\n customStyle={WEB_GPT_CITATION_STYLE}\n />\n );\n },\n };\n\n return acc;\n }, {});\n }, [webSearchAnswers, webGptExtraMetaByKey]);\n\n return (\n <Box sx={{ \n padding: '12px 12px 12px 0px', \n backgroundColor: '#FFFFFF', \n borderRadius: '8px', \n ...SHARED_MARKDOWN_STYLES,\n overflow: 'visible' \n }}>\n {webSearchAnswers.length > 0 ? (\n webSearchAnswers.map((answer: any, index: number) => (\n <Box\n key={answer.answerKey}\n // ── MAGIC FIX: This ID tells alignStraightLines & the SVG drawer exactly where to connect! ──\n id={answer.nodeId === activeBaseNodeId ? \"guideline-target-0\" : undefined}\n data-web-gpt-node-id={answer.nodeId}\n data-web-gpt-evaluation-key={answer.evaluationKey}\n data-web-gpt-answer-order={answer.answerOrder}\n data-web-gpt-active={answer.nodeId === activeBaseNodeId ? \"true\" : \"false\"}\n sx={{ mb: 1.5,\n border: (answer.nodeId === activeBaseNodeId) ? `2px solid ${answer.colorPalette.border}` : \"1px solid #d3d3d3\",\n borderRadius: \"6px\",\n padding: \"8px\",\n backgroundColor: \"#FFFFFF\",\n }}\n >\n <ReactMarkdown\n rehypePlugins={[rehypeRaw as any]}\n components={componentsByAnswerKey[answer.answerKey]}\n >\n {answer.webSearchAnswer.enhanced_content}\n </ReactMarkdown>\n </Box>\n ))\n ) : (\n <Typography sx={{ color: \"#64748B\", fontSize: \"14px\", py: 1 }}>\n No web GPT data available.\n </Typography>\n )}\n </Box>\n );\n};\n\nexport default WebGptPanel;\n"],"names":["isWebGptEvaluation","evalNode","evaluation_outputs","guideline_flag","rulebook_used","buildWebGptMetaKey","nodeId","evaluationKey","reasoningId","buildWebGptAnswerKey","WEB_GPT_CITATION_STYLE","relativeWrapper","verticalAlign","arrow","color","deviationData","connectedSections","proposedSections","activeNodeIdFull","Array","from","activeBaseNodeId","useMemo","trim","includes","DEVIATION_BADGE_SEPARATOR","split","getBaseNodeId","webSearchAnswers","Object","entries","flatMap","nodeDevData","evalResults","evaluation_result","isArray","map","index","String","getEvaluationNodes","filter","answerKey","evaluation","webSearchAnswer","web_search_answer","colorPalette","generateColorPalette","metadata","label_color","border","enhanced_content","answer","answerOrder","webGptExtraMetaByKey","reduce","acc","extraMetaData","forEach","extraMetaDataForReasoning","metaKey","componentsByAnswerKey","a","href","children","type","reason","props","matchedExtraMetaData","jsx","CitationAnchor","citationType","citationReason","metaData","webGpt","webGptMetaKey","customStyle","Box","sx","padding","backgroundColor","borderRadius","SHARED_MARKDOWN_STYLES","overflow","length","id","mb","ReactMarkdown","rehypePlugins","rehypeRaw","components","Typography","fontSize","py"],"mappings":"maAQA,MA4BMA,EAAqB,EAAGC,eACoC,IAAhEA,GAAUC,oBAAoBC,gBAAgBC,cAE1CC,EAAqB,CAACC,EAAgBC,EAAuBC,IACjE,GAAGF,MAAWC,MAAkBC,IAE5BC,EAAuB,CAACH,EAAgBC,IAC5C,GAAGD,MAAWC,IAEVG,EAAyB,CAC7BC,gBAAiB,CACfC,cAAe,YAEjBC,MAAO,CACLC,MAAO,4BAUS,EAAGC,gBAAeC,oBAAmBC,uBACvD,MAAMC,EAAmBC,MAAMC,KAAKJ,GAAqB,IAAI,GACvDK,EAAmBC,EAAAA,QACvB,IAvDkB,EAACJ,EAA2BD,IAChB,iBAArBC,EACFD,EAAiBC,IAAmBZ,QAAU,GAGnDY,GAAgD,iBAArBA,GAAiCA,EAAiBK,OAC3EL,EAAiBM,SAASC,EAAAA,2BACrBP,EAAiBQ,MAAMD,6BAA2B,GAGpDP,EAAiBQ,MAAM,MAAM,GAAGA,MAAM,KAAK,GAG7C,GA0CCC,CAAcT,EAAkBD,GAAoB,IAC1D,CAACC,EAAkBD,IAGfW,EAAmBN,EAAAA,QAAQ,KAC/B,IAAKP,GAA0C,iBAAlBA,QAAmC,GAezD,OAAAc,OAAOC,QAAQf,GACnBgB,QAdqB,EAAEzB,EAAQ0B,KA9CX,CAACA,IAC1B,MAAMC,EAAeD,GAAsC,iBAAhBA,EAA4BA,EAAYE,kBAAoB,KACnG,OAACD,GAAuC,iBAAhBA,IAA6Bd,MAAMgB,QAAQF,GAAsB,GACzFd,MAAMgB,QAAQF,GACTA,EAAYG,IAAI,CAACnC,EAAUoC,KAAW,CAAEpC,WAAUM,cAAe+B,OAAOD,MAEtD,iBAAhBJ,EAC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,OAAAS,EAAAA,IAACC,EAAA,QAAA,CACCP,OACAC,WACAO,aAAcN,EACdO,eAAgBN,EAChBO,SAAU,CACRC,OAAQN,EACRO,cAAef,GAEjBgB,YAAajE,MAMd6C,GACN,CAAE,GACJ,CAAC3B,EAAkByB,IAGpB,OAAAe,EAAAA,IAACQ,OAAIC,GAAI,CACPC,QAAS,qBACTC,gBAAiB,UACjBC,aAAc,SACXC,EAAAA,uBACHC,SAAU,WAETnB,WAAiBoB,OAAS,EACzBvD,EAAiBQ,IAAI,CAACe,EAAad,IACjC+B,EAAAA,IAACQ,EAAAA,IAAA,CAGCQ,GAAIjC,EAAO7C,SAAWe,EAAmB,0BAAuB,EAChE,uBAAsB8B,EAAO7C,OAC7B,8BAA6B6C,EAAO5C,cACpC,4BAA2B4C,EAAOC,YAClC,sBAAqBD,EAAO7C,SAAWe,EAAmB,OAAS,QACnEwD,GAAI,CAAEQ,GAAI,IACRpC,OAASE,EAAO7C,SAAWe,EAAoB,aAAa8B,EAAON,aAAaI,SAAW,oBAC3F+B,aAAc,MACdF,QAAS,MACTC,gBAAiB,WAGnBhB,SAAAK,EAAAA,IAACkB,EAAA,QAAA,CACCC,cAAe,CAACC,EAAAA,SAChBC,WAAY7B,EAAsBT,EAAOV,WAExCsB,WAAOpB,gBAAgBO,oBAlBrBC,EAAOV,YAuBf2B,EAAAA,IAAAsB,EAAAA,WAAA,CAAWb,GAAI,CAAE/D,MAAO,UAAW6E,SAAU,OAAQC,GAAI,GAAK7B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=t=>{if("string"!=typeof t||""===t.trim())return null;try{const e="undefined"!=typeof window?window.location.origin:"http://localhost";return new URL(t,e)}catch{return null}},e=(t,e)=>{if("string"!=typeof t||"string"!=typeof e||""===e.trim())return"";try{const r=t.match(new RegExp(`\\b${e}\\s*=\\s*(['"])(.*?)\\1`,"i"));return r?.[2]??""}catch{return""}},r=t=>{if("string"!=typeof t||""===t)return"";try{return t.replace(/&/g,"&").replace(/"/g,""").replace(/</g,"<").replace(/>/g,">")}catch{return t}},n=(t,e,n)=>{if("string"!=typeof t||""===t.trim())return t;if("string"!=typeof e||""===e.trim())return t;if(!n||"string"!=typeof n)return t;try{const i=r(n),a=new RegExp(`\\b${e}\\s*=\\s*(['"])(.*?)\\1`,"i");return a.test(t)?t.replace(a,()=>`${e}="${i}"`):t.replace(/<a\b/i,()=>`<a ${e}="${i}"`)}catch{return t}},i=(e,r)=>{if("string"!=typeof e||!e||"string"!=typeof r||!r)return"";try{const n=e.indexOf("?");if(n>=0){const t=e.slice(n+1).replace(/&/gi,"&"),i=t.indexOf(`${r}=`);if(i>=0){const e=i+r.length+1,n=t.slice(e).match(/&[A-Za-z_][A-Za-z0-9_]*=/),a=void 0!==n?.index?e+n.index:t.length;return decodeURIComponent(t.slice(e,a).replace(/\+/g," "))}}const i=t(e.replace(/&/gi,"&"));return i?.searchParams.get(r)||""}catch{return""}};exports.mergeRulebookCitationsIntoMatchingLinks=a=>{if("string"!=typeof a||!a||!a.includes("citation_type"))return a;try{let o=a;const c=/<a\b([^>]*?)>([\s\S]*?)<\/a>/gi;return Array.from(a.matchAll(c)).forEach(a=>{const c=a[0],s=a[1]||"",u=e(s,"href").replace(/&/gi,"&"),p=t(u);let l=e(s,"type");const h=p?.searchParams.get("citation_type");if(!("rulebook_citation"===l||"il_rulebook_citation"===h))return;l||(l=h||"rulebook_citation");const f=e(s,"reason"),g=p?.searchParams.get("citationNumber")||p?.searchParams.get("citation_number")||"",y=g.match(/^rb_(.+)$/),m=y?y[1]:g;if(!m)return void(o=o.split(c).join(""));const _={citation_type:h||"",phrase_to_highlight:i(u,"phrase_to_highlight")};if(!_.citation_type&&!_.phrase_to_highlight)return void(o=o.split(c).join(""));let b=!1;const $=e=>(e=>{if("string"!=typeof e||!e)return null;const r=e.match(/^(?:pdf_citation|deviation_summary)\$(\d+)/);if(r)return r[1];try{const r=t(e.replace(/&/gi,"&"));return r?.searchParams.get("citationNumber")||r?.searchParams.get("citation_number")||null}catch{return null}})(e)!==m?e:(b=!0,((e,r)=>{if("string"!=typeof e||""===e.trim())return e;if(!r||"object"!=typeof r)return e;try{const n=t(e);if(!n)return e;Object.entries(r).forEach(([t,e])=>{e&&n.searchParams.set(t,e)});const i=`${n.pathname}${n.search}${n.hash}`;return e.startsWith("./")?`.${i}`:!e.startsWith("/")&&i.startsWith("/")?i.slice(1):i}catch{return e}})(e,_));o=o.replace(/\[([^\]]+)\]\(([^)\n]+)\)/g,(t,e,n)=>{const i=$(n);return i===n?t:`<a type="${r(l)}" reason="${r(f)}" href="${r(i)}">${e}</a>`}),b||(o=o.replace(/<a\b([^>]*?)>/gi,(r,i)=>{const a=e(i,"type")||t(e(i,"href"))?.searchParams.get("citation_type");if("rulebook_citation"===a||"il_rulebook_citation"===a)return r;const o=e(i,"href"),c=$(o);if(c===o)return r;const s=r.replace(/\bhref\s*=\s*(['"])(.*?)\1/i,(t,e)=>`href=${e}${c}${e}`);return n(n(s,"type",l),"reason",f)})),o=o.split(c).join("")}),o}catch{return a}};
|
|
2
2
|
//# sourceMappingURL=helper.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helper.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"helper.js","sources":["../../../../../../src/features/CognitiveCompare/Guidelines/utils/helper.ts"],"sourcesContent":["// import { GuidelineArtifactData } from \"@/core/api/api.interface\";\n\nconst parseHref = (href: string) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || href.trim() === \"\") return null;\n\n // 2. TRY-CATCH\n try {\n // 3. REGEX / UTIL LOGIC\n const baseUrl = typeof window !== \"undefined\" ? window.location.origin : \"http://localhost\";\n return new URL(href, baseUrl);\n } catch {\n return null;\n }\n};\n\nconst getAttributeValue = (attributes: string, name: string) => {\n // 1. INPUT SANITIZATION\n if (typeof attributes !== \"string\" || typeof name !== \"string\" || name.trim() === \"\") return \"\";\n\n try {\n // 2. TRY-CATCH already wraps below\n // 3. REGEX / UTIL LOGIC\n const match = attributes.match(new RegExp(`\\\\b${name}\\\\s*=\\\\s*(['\"])(.*?)\\\\1`, \"i\"));\n return match?.[2] ?? \"\";\n } catch {\n return \"\";\n }\n};\n\nconst escapeHtmlAttribute = (value: string) => {\n // 1. INPUT SANITIZATION\n if (typeof value !== \"string\" || value === \"\") return \"\";\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n return value\n .replace(/&/g, \"&\")\n .replace(/\"/g, \""\")\n .replace(/</g, \"<\")\n .replace(/>/g, \">\");\n } catch {\n return value;\n }\n};\n\nconst upsertAttribute = (anchorOpen: string, name: string, value: string) => {\n // 1. INPUT SANITIZATION\n if (typeof anchorOpen !== \"string\" || anchorOpen.trim() === \"\") return anchorOpen;\n if (typeof name !== \"string\" || name.trim() === \"\") return anchorOpen;\n if (!value || typeof value !== \"string\") return anchorOpen;\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const escapedValue = escapeHtmlAttribute(value);\n const attributeRegex = new RegExp(`\\\\b${name}\\\\s*=\\\\s*(['\"])(.*?)\\\\1`, \"i\");\n\n if (attributeRegex.test(anchorOpen)) {\n return anchorOpen.replace(attributeRegex, () => `${name}=\"${escapedValue}\"`);\n }\n\n return anchorOpen.replace(/<a\\b/i, () => `<a ${name}=\"${escapedValue}\"`);\n } catch {\n return anchorOpen;\n }\n};\n\nconst appendRulebookParams = (href: string, params: Record<string, string>) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || href.trim() === \"\") return href;\n if (!params || typeof params !== \"object\") return href;\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const parsed = parseHref(href);\n if (!parsed) return href;\n\n Object.entries(params).forEach(([key, value]) => {\n if (value) parsed.searchParams.set(key, value);\n });\n\n const resolvedHref = `${parsed.pathname}${parsed.search}${parsed.hash}`;\n if (href.startsWith(\"./\")) return `.${resolvedHref}`;\n if (!href.startsWith(\"/\") && resolvedHref.startsWith(\"/\")) return resolvedHref.slice(1);\n return resolvedHref;\n } catch {\n return href;\n }\n};\n\nconst getLinkCitationNumber = (href: string) => {\n // 1. INPUT SANITIZATION\n if (typeof href !== \"string\" || !href) return null;\n\n // 2. CHECK PROPRIETARY TAGS (e.g., pdf_citation$2 or deviation_summary$1)\n const prefixMatch = href.match(/^(?:pdf_citation|deviation_summary)\\$(\\d+)/);\n if (prefixMatch) {\n return prefixMatch[1];\n }\n\n // 3. FALLBACK FOR STANDARD URLS\n try {\n const parsed = parseHref(href.replace(/&/gi, \"&\"));\n // UPDATED: Check both camelCase and snake_case\n return parsed?.searchParams.get(\"citationNumber\") || parsed?.searchParams.get(\"citation_number\") || null;\n } catch {\n return null;\n }\n};\n\nconst getQueryParamValue = (href: string, name: string) => {\n if (typeof href !== \"string\" || !href || typeof name !== \"string\" || !name) return \"\";\n\n try {\n const queryStartIndex = href.indexOf(\"?\");\n if (queryStartIndex >= 0) {\n const query = href.slice(queryStartIndex + 1).replace(/&/gi, \"&\");\n const paramStart = query.indexOf(`${name}=`);\n if (paramStart >= 0) {\n const valueStart = paramStart + name.length + 1;\n const followingParamMatch = query\n .slice(valueStart)\n .match(/&[A-Za-z_][A-Za-z0-9_]*=/);\n const valueEnd = followingParamMatch?.index !== undefined\n ? valueStart + followingParamMatch.index\n : query.length;\n\n return decodeURIComponent(query.slice(valueStart, valueEnd).replace(/\\+/g, \" \"));\n }\n }\n\n const parsed = parseHref(href.replace(/&/gi, \"&\"));\n return parsed?.searchParams.get(name) || \"\";\n } catch {\n return \"\";\n }\n};\n\nexport const mergeRulebookCitationsIntoMatchingLinks = (rawContent: string) => {\n // 1. INPUT SANITIZATION\n // Removed the strict \"rulebook_citation\" check here because the new format \n // uses \"il_rulebook_citation\" in the URL instead of the HTML attribute.\n if (typeof rawContent !== \"string\" || !rawContent || !rawContent.includes(\"citation_type\")) {\n return rawContent;\n }\n\n try {\n let content = rawContent;\n // Adjusted regex to be slightly more forgiving of the malformed quote in item 3\n const rulebookAnchorRegex = /<a\\b([^>]*?)>([\\s\\S]*?)<\\/a>/gi;\n const rulebookAnchors = Array.from(rawContent.matchAll(rulebookAnchorRegex));\n\n rulebookAnchors.forEach((match) => {\n const fullAnchor = match[0];\n const attributes = match[1] || \"\";\n \n // Extract href early to check if it's a rulebook citation\n const rawHref = getAttributeValue(attributes, \"href\").replace(/&/gi, \"&\");\n const parsedHref = parseHref(rawHref);\n \n let type = getAttributeValue(attributes, \"type\");\n const urlCitationType = parsedHref?.searchParams.get(\"citation_type\");\n \n // Allow if HTML type is rulebook_citation OR URL param is il_rulebook_citation\n const isRulebook = type === \"rulebook_citation\" || urlCitationType === \"il_rulebook_citation\";\n if (!isRulebook) return;\n \n // Fallback to URL param if HTML attribute is missing\n if (!type) type = urlCitationType || \"rulebook_citation\";\n \n const reason = getAttributeValue(attributes, \"reason\");\n \n // Handle both \"citationNumber\" and \"citation_number\"\n const rulebookCitationNumber = parsedHref?.searchParams.get(\"citationNumber\") || parsedHref?.searchParams.get(\"citation_number\") || \"\";\n \n // Handle both \"rb_1\" format and standard \"1\" format\n const rbMatch = rulebookCitationNumber.match(/^rb_(.+)$/);\n const targetCitationNumber = rbMatch ? rbMatch[1] : rulebookCitationNumber;\n \n if (!targetCitationNumber) {\n content = content.split(fullAnchor).join(\"\");\n return;\n }\n\n const paramsToMerge = {\n citation_type: urlCitationType || \"\",\n phrase_to_highlight: getQueryParamValue(rawHref, \"phrase_to_highlight\"),\n };\n \n if (!paramsToMerge.citation_type && !paramsToMerge.phrase_to_highlight) {\n content = content.split(fullAnchor).join(\"\");\n return;\n }\n\n let merged = false;\n \n const mergeHrefIfMatchingCitationNumber = (linkHref: string) => {\n if (getLinkCitationNumber(linkHref) !== targetCitationNumber) {\n return linkHref;\n }\n merged = true;\n return appendRulebookParams(linkHref, paramsToMerge);\n };\n\n content = content.replace(/\\[([^\\]]+)\\]\\(([^)\\n]+)\\)/g, (link, label, linkHref) => {\n const mergedHref = mergeHrefIfMatchingCitationNumber(linkHref);\n if (mergedHref === linkHref) return link;\n\n return `<a type=\"${escapeHtmlAttribute(type)}\" reason=\"${escapeHtmlAttribute(reason)}\" href=\"${escapeHtmlAttribute(mergedHref)}\">${label}</a>`;\n });\n\n if (!merged) {\n // Simplified attribute matching to handle standard tags\n content = content.replace(/<a\\b([^>]*?)>/gi, (anchorOpen, anchorAttributes) => {\n const anchorType = getAttributeValue(anchorAttributes, \"type\") || parseHref(getAttributeValue(anchorAttributes, \"href\"))?.searchParams.get(\"citation_type\");\n \n if (anchorType === \"rulebook_citation\" || anchorType === \"il_rulebook_citation\") return anchorOpen;\n\n const linkHref = getAttributeValue(anchorAttributes, \"href\");\n const mergedHref = mergeHrefIfMatchingCitationNumber(linkHref);\n if (mergedHref === linkHref) return anchorOpen;\n\n const anchorWithHref = anchorOpen.replace(\n /\\bhref\\s*=\\s*(['\"])(.*?)\\1/i,\n (_hrefAttr, quote) => `href=${quote}${mergedHref}${quote}`,\n );\n return upsertAttribute(upsertAttribute(anchorWithHref, \"type\", type), \"reason\", reason);\n });\n }\n\n content = content.split(fullAnchor).join(\"\");\n });\n\n return content;\n } catch {\n return rawContent;\n }\n};\n\nexport const processGuidelinesMarkdown = ({\n guidelinesData,\n targetHighlights = [],\n labelColor = \"#FEF08A\",\n}: {\n guidelinesData: any;\n targetHighlights?: string[];\n labelColor?: string;\n}) => {\n // 1. INPUT SANITIZATION\n const safeTargetHighlights = Array.isArray(targetHighlights)\n ? targetHighlights.filter((t) => typeof t === \"string\" && t.length > 0)\n : [];\n const safeLabelColor = typeof labelColor === \"string\" && labelColor.trim() !== \"\" ? labelColor : \"#FEF08A\";\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const snapshots =\n guidelinesData?.userStorySnapshot || [];\n\n let combinedMarkdown = \"\";\n\n snapshots.forEach((story: any) => {\n if (story?.title) combinedMarkdown += `### ${story.title}\\n\\n`;\n if (story?.value) combinedMarkdown += `${story.value}\\n\\n`;\n\n story?.sub_features?.forEach((sub: any) => {\n if (sub?.title) combinedMarkdown += `#### ${sub.title}\\n\\n`;\n if (sub?.value) combinedMarkdown += `${sub.value}\\n\\n`;\n });\n });\n\n safeTargetHighlights.forEach((targetText, index) => {\n try {\n const escapedText = targetText.replace(\n /[-\\/\\\\^$*+?.()|[\\]{}]/g,\n \"\\\\$&\"\n );\n\n const regex = new RegExp(`(${escapedText})`, \"g\");\n\n combinedMarkdown = combinedMarkdown.replace(\n regex,\n `<mark id=\"guideline-target-${index}\" style=\"background-color: ${safeLabelColor}; border-radius: 3px; padding: 2px;\">$1</mark>`\n );\n } catch {\n // Skip a single bad highlight term rather than failing the whole render\n }\n });\n\n return combinedMarkdown;\n } catch {\n return \"\";\n }\n};\n\n\nexport const getCitationNumberFromHref = (url: string): { citationNumber: string | null; phraseToHighlight: string | null } => {\n // 1. INPUT SANITIZATION\n if (typeof url !== \"string\" || url.trim() === \"\") {\n return { citationNumber: null, phraseToHighlight: null };\n }\n\n try {\n // 2. TRY-CATCH\n // 3. REGEX / UTIL LOGIC\n const parsedUrl = new URL(url, window.location.origin);\n // UPDATED: Check both camelCase and snake_case\n const citationNumber = parsedUrl.searchParams.get(\"citationNumber\") || parsedUrl.searchParams.get(\"citation_number\");\n const phraseToHighlight = parsedUrl.searchParams.get(\"phrase_to_highlight\");\n return { citationNumber, phraseToHighlight };\n } catch {\n return { citationNumber: null, phraseToHighlight: null };\n }\n};"],"names":["parseHref","href","trim","baseUrl","window","location","origin","URL","getAttributeValue","attributes","name","match","RegExp","escapeHtmlAttribute","value","replace","upsertAttribute","anchorOpen","escapedValue","attributeRegex","test","getQueryParamValue","queryStartIndex","indexOf","query","slice","paramStart","valueStart","length","followingParamMatch","valueEnd","index","decodeURIComponent","parsed","searchParams","get","rawContent","includes","content","rulebookAnchorRegex","Array","from","matchAll","forEach","fullAnchor","rawHref","parsedHref","type","urlCitationType","reason","rulebookCitationNumber","rbMatch","targetCitationNumber","split","join","paramsToMerge","citation_type","phrase_to_highlight","merged","mergeHrefIfMatchingCitationNumber","linkHref","prefixMatch","getLinkCitationNumber","params","Object","entries","key","set","resolvedHref","pathname","search","hash","startsWith","appendRulebookParams","link","label","mergedHref","anchorAttributes","anchorType","anchorWithHref","_hrefAttr","quote"],"mappings":"oEAEA,MAAMA,EAAaC,IAEf,GAAoB,iBAATA,GAAqC,KAAhBA,EAAKC,OAAsB,OAAA,KAGvD,IAEA,MAAMC,EAA4B,oBAAXC,OAAyBA,OAAOC,SAASC,OAAS,mBAClE,OAAA,IAAIC,IAAIN,EAAME,EAAO,CACxB,MACG,OAAA,IACX,GAGEK,EAAoB,CAACC,EAAoBC,KAEvC,GAAsB,iBAAfD,GAA2C,iBAATC,GAAqC,KAAhBA,EAAKR,OAAsB,MAAA,GAEzF,IAGM,MAAAS,EAAQF,EAAWE,MAAM,IAAIC,OAAO,MAAMF,2BAA+B,MACxE,OAAAC,IAAQ,IAAM,EAAA,CACjB,MACG,MAAA,EACX,GAGEE,EAAuBC,IAEzB,GAAqB,iBAAVA,GAAgC,KAAVA,EAAqB,MAAA,GAElD,IAGA,OAAOA,EACFC,QAAQ,KAAM,SACdA,QAAQ,KAAM,UACdA,QAAQ,KAAM,QACdA,QAAQ,KAAM,OAAM,CACrB,MACG,OAAAD,CACX,GAGEE,EAAkB,CAACC,EAAoBP,EAAcI,KAEvD,GAA0B,iBAAfG,GAAiD,KAAtBA,EAAWf,OAAsB,OAAAe,EACvE,GAAoB,iBAATP,GAAqC,KAAhBA,EAAKR,OAAsB,OAAAe,EAC3D,IAAKH,GAA0B,iBAAVA,EAA2B,OAAAG,EAE5C,IAGM,MAAAC,EAAeL,EAAoBC,GACnCK,EAAiB,IAAIP,OAAO,MAAMF,2BAA+B,KAEnE,OAAAS,EAAeC,KAAKH,GACbA,EAAWF,QAAQI,EAAgB,IAAM,GAAG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GAC9E2C,CAAA,CACH,MACG,OAAAnE,CACX,GAkHmBwE,CAAqBb,EAAUL,IAG1CjB,EAAUA,EAAQvB,QAAQ,6BAA8B,CAAC2D,EAAMC,EAAOf,KAC5D,MAAAgB,EAAajB,EAAkCC,GACjD,OAAAgB,IAAehB,EAAiBc,EAE7B,YAAY7D,EAAoBkC,eAAkBlC,EAAoBoC,aAAkBpC,EAAoB+D,OAAgBD,UAGlIjB,IAEDpB,EAAUA,EAAQvB,QAAQ,kBAAmB,CAACE,EAAY4D,KACtD,MAAMC,EAAatE,EAAkBqE,EAAkB,SAAW7E,EAAUQ,EAAkBqE,EAAkB,UAAU3C,aAAaC,IAAI,iBAE3I,GAAmB,sBAAf2C,GAAqD,yBAAfA,EAA8C,OAAA7D,EAElF,MAAA2C,EAAWpD,EAAkBqE,EAAkB,QAC/CD,EAAajB,EAAkCC,GACjD,GAAAgB,IAAehB,EAAiB,OAAA3C,EAEpC,MAAM8D,EAAiB9D,EAAWF,QAC9B,8BACA,CAACiE,EAAWC,IAAU,QAAQA,IAAQL,IAAaK,KAEvD,OAAOjE,EAAgBA,EAAgB+D,EAAgB,OAAQhC,GAAO,SAAUE,MAIxFX,EAAUA,EAAQe,MAAMT,GAAYU,KAAK,MAGtChB,CAAA,CACH,MACG,OAAAF,CACX"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.processGuidelinesMarkdown=
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.processGuidelinesMarkdown=({guidelinesData:e,targetHighlights:t=[],labelColor:a="#FEF08A"})=>{let r="";if(e?.learnings_data&&Object.keys(e.learnings_data).length>0){const t=Object.keys(e.learnings_data)[0],a=e.learnings_data[t];a?.instruction_prompt&&(r=a.instruction_prompt)}else{(e?.data?.artifactData?.userStorySnapshot||[]).forEach(e=>{e.title&&(r+=`### ${e.title}\n\n`),e.value&&(r+=`${e.value}\n\n`),e.sub_features?.forEach(e=>{e.title&&(r+=`#### ${e.title}\n\n`),e.value&&(r+=`${e.value}\n\n`)})})}return t.forEach((e,t)=>{const n=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),l=new RegExp(`(${n})`,"g");r=r.replace(l,`<mark id="guideline-target-${t}" style="background-color: ${a}; border-radius: 3px; padding: 2px;">$1</mark>`)}),r};
|
|
2
2
|
//# sourceMappingURL=processGuidelinesMarkdown.js.map
|
package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processGuidelinesMarkdown.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"processGuidelinesMarkdown.js","sources":["../../../../../../src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.ts"],"sourcesContent":["export const processGuidelinesMarkdown = ({\n guidelinesData,\n targetHighlights = [],\n labelColor = \"#FEF08A\",\n}: {\n guidelinesData: any;\n targetHighlights?: string[];\n labelColor?: string;\n}) => {\n let combinedMarkdown = \"\";\n\n // ── NEW STRUCTURE: Check for learnings_data and use instruction_prompt from the first entry ──\n if (guidelinesData?.learnings_data && Object.keys(guidelinesData.learnings_data).length > 0) {\n const firstLearningKey = Object.keys(guidelinesData.learnings_data)[0];\n const firstLearning = guidelinesData.learnings_data[firstLearningKey];\n \n if (firstLearning?.instruction_prompt) {\n combinedMarkdown = firstLearning.instruction_prompt;\n }\n } \n // ── OLD STRUCTURE FALLBACK (Prevents breaking existing functionality) ──\n else {\n const snapshots = guidelinesData?.data?.artifactData?.userStorySnapshot || [];\n snapshots.forEach((story: any) => {\n if (story.title) combinedMarkdown += `### ${story.title}\\n\\n`;\n if (story.value) combinedMarkdown += `${story.value}\\n\\n`;\n\n story.sub_features?.forEach((sub: any) => {\n if (sub.title) combinedMarkdown += `#### ${sub.title}\\n\\n`;\n if (sub.value) combinedMarkdown += `${sub.value}\\n\\n`;\n });\n });\n }\n\n targetHighlights.forEach((targetText, index) => {\n const escapedText = targetText.replace(\n /[-\\/\\\\^$*+?.()|[\\]{}]/g,\n \"\\\\$&\"\n );\n\n const regex = new RegExp(`(${escapedText})`, \"g\");\n\n combinedMarkdown = combinedMarkdown.replace(\n regex,\n `<mark id=\"guideline-target-${index}\" style=\"background-color: ${labelColor}; border-radius: 3px; padding: 2px;\">$1</mark>`\n );\n });\n\n return combinedMarkdown;\n};"],"names":["guidelinesData","targetHighlights","labelColor","combinedMarkdown","learnings_data","Object","keys","length","firstLearningKey","firstLearning","instruction_prompt","data","artifactData","userStorySnapshot","forEach","story","title","value","sub_features","sub","targetText","index","escapedText","replace","regex","RegExp"],"mappings":"sGAAyC,EACvCA,iBACAC,mBAAmB,GACnBC,aAAa,cAMb,IAAIC,EAAmB,GAGnB,GAAAH,GAAgBI,gBAAkBC,OAAOC,KAAKN,EAAeI,gBAAgBG,OAAS,EAAG,CAC3F,MAAMC,EAAmBH,OAAOC,KAAKN,EAAeI,gBAAgB,GAC9DK,EAAgBT,EAAeI,eAAeI,GAEhDC,GAAeC,qBACjBP,EAAmBM,EAAcC,mBACnC,KAGG,EACeV,GAAgBW,MAAMC,cAAcC,mBAAqB,IACjEC,QAASC,IACbA,EAAMC,QAA2Bb,GAAA,OAAOY,EAAMC,aAC9CD,EAAME,QAA2Bd,GAAA,GAAGY,EAAME,aAExCF,EAAAG,cAAcJ,QAASK,IACvBA,EAAIH,QAA2Bb,GAAA,QAAQgB,EAAIH,aAC3CG,EAAIF,QAA2Bd,GAAA,GAAGgB,EAAIF,gBAGhD,CAgBO,OAdUhB,EAAAa,QAAQ,CAACM,EAAYC,KACpC,MAAMC,EAAcF,EAAWG,QAC7B,yBACA,QAGIC,EAAQ,IAAIC,OAAO,IAAIH,KAAgB,KAE7CnB,EAAmBA,EAAiBoB,QAClCC,EACA,8BAA8BH,+BAAmCnB,qDAI9DC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),a=require("@mui/material");exports.default=()=>e.jsxs(a.Box,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center","@keyframes bounce":{"0%":{transform:"translateY(0) scale(1)",opacity:.6},"100%":{transform:"translateY(-12px) scale(1.15)",opacity:1}},"@keyframes glowPulse":{"0%, 100%":{textShadow:"0 0 6px rgba(89,40,237,0.2)"},"50%":{textShadow:"0 0 14px rgba(89,40,237,0.45)"}}},children:[e.jsx(a.Typography,{sx:{mb:2,fontSize:"20px",fontWeight:600,fontFamily:"sans-serif",color:"#5928ED",letterSpacing:"0.8px",animation:"glowPulse 2s ease-in-out infinite"},children:"Switching views..."}),e.jsx(a.Box,{sx:{display:"flex",gap:"8px"},children:[0,1,2].map(t=>e.jsx(a.Box,{sx:{width:"12px",height:"12px",borderRadius:"50%",background:"linear-gradient(145deg, #7c5cff, #5928ED)",boxShadow:"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)",animation:"bounce 0.6s infinite alternate",animationDelay:.15*t+"s"}},t))})]});
|
|
2
2
|
//# sourceMappingURL=LoaderComponent.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoaderComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"LoaderComponent.js","sources":["../../../../src/features/CognitiveCompare/LoaderComponent.tsx"],"sourcesContent":["import { Box, Typography } from \"@mui/material\";\nimport React from \"react\";\n\nconst BouncingDotsLoader = () => {\n return (\n <Box\n sx={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n\n \"@keyframes bounce\": {\n \"0%\": { transform: \"translateY(0) scale(1)\", opacity: 0.6 },\n \"100%\": { transform: \"translateY(-12px) scale(1.15)\", opacity: 1 },\n },\n\n \"@keyframes glowPulse\": {\n \"0%, 100%\": {\n textShadow: \"0 0 6px rgba(89,40,237,0.2)\",\n },\n \"50%\": {\n textShadow: \"0 0 14px rgba(89,40,237,0.45)\",\n },\n },\n }}\n >\n <Typography\n sx={{\n mb: 2,\n fontSize: \"20px\",\n fontWeight: 600,\n fontFamily: \"sans-serif\",\n\n color: \"#5928ED\",\n letterSpacing: \"0.8px\",\n\n animation: \"glowPulse 2s ease-in-out infinite\",\n }}\n >\n Switching views...\n </Typography>\n\n <Box sx={{ display: \"flex\", gap: \"8px\" }}>\n {[0, 1, 2].map((i) => (\n <Box\n key={i}\n sx={{\n width: \"12px\",\n height: \"12px\",\n borderRadius: \"50%\",\n\n background: \"linear-gradient(145deg, #7c5cff, #5928ED)\",\n\n boxShadow:\n \"0 4px 12px rgba(89,40,237,0.5), 0 0 8px rgba(89,40,237,0.3)\",\n\n animation: \"bounce 0.6s infinite alternate\",\n animationDelay: `${i * 0.15}s`,\n }}\n />\n ))}\n </Box>\n </Box>\n );\n};\n\nexport default BouncingDotsLoader;"],"names":["jsxs","Box","sx","display","flexDirection","justifyContent","alignItems","transform","opacity","textShadow","children","jsx","Typography","mb","fontSize","fontWeight","fontFamily","color","letterSpacing","animation","gap","map","i","width","height","borderRadius","background","boxShadow","animationDelay"],"mappings":"kJAG2B,IAEvBA,EAAAA,KAACC,EAAAA,IAAA,CACCC,GAAI,CACFC,QAAS,OACTC,cAAe,SACfC,eAAgB,SAChBC,WAAY,SAEZ,oBAAqB,CACnB,KAAM,CAAEC,UAAW,yBAA0BC,QAAS,IACtD,OAAQ,CAAED,UAAW,gCAAiCC,QAAS,IAGjE,uBAAwB,CACtB,WAAY,CACVC,WAAY,+BAEd,MAAO,CACLA,WAAY,mCAKlBC,SAAA,CAAAC,EAAAA,IAACC,EAAAA,WAAA,CACCV,GAAI,CACFW,GAAI,EACJC,SAAU,OACVC,WAAY,IACZC,WAAY,aAEZC,MAAO,UACPC,cAAe,QAEfC,UAAW,qCAEdT,SAAA,6BAIAT,EAAIA,IAAA,CAAAC,GAAI,CAAEC,QAAS,OAAQiB,IAAK,OAC9BV,SAAA,CAAC,EAAG,EAAG,GAAGW,IAAKC,GACdX,EAAAA,IAACV,EAAAA,IAAA,CAECC,GAAI,CACFqB,MAAO,OACPC,OAAQ,OACRC,aAAc,MAEdC,WAAY,4CAEZC,UACE,8DAEFR,UAAW,iCACXS,eAAuB,IAAJN,EAAH,MAZbA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),i=require("@mui/material"),n=require("../../assests/svg/ButtonCognitiveIcon.js");const t=()=>e.jsx("svg",{width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M2 6.5L5 9.5L11 3.5",stroke:"#15803D",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})}),o=[{key:"connect",title:"Connect",icon:e.jsx("svg",{width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M14.8237 3.89331C14.547 5.57188 13.0559 6.77501 11.3572 6.69242C9.65857 6.60983 8.2925 5.26384 8.18312 3.56742C4.75678 3.67456 3.54027 4.4759 3.73893 6.10536C3.81259 6.71474 4.18089 7.04063 4.85723 7.19911C5.26794 7.2951 5.7233 7.30849 6.13625 7.27054C6.17419 7.26608 6.21437 7.26385 6.25232 7.25938C6.50455 7.19911 6.76125 7.14777 7.01794 7.1076C7.77911 6.9826 8.55366 6.9201 9.29027 6.96027C11.3617 7.07188 12.7724 7.98483 12.8438 9.92233C12.913 11.7996 11.6229 13.1299 9.5425 14.0205C8.87509 14.3063 8.1675 14.5272 7.45991 14.6946C7.14071 14.7705 6.87286 14.8219 6.67419 14.8554C6.49786 16.5496 5.07821 17.842 3.37509 17.8554C1.67196 17.8688 0.229997 16.6031 0.0246403 14.9112C-0.180717 13.2192 0.917498 11.6455 2.57375 11.2527C4.23 10.8598 5.91973 11.7728 6.49562 13.3755C6.70544 13.3375 6.91303 13.2951 7.12062 13.246C7.75009 13.0987 8.37955 12.9022 8.95991 12.6522C10.538 11.9781 11.3996 11.0875 11.3595 9.9759C11.3237 8.98036 10.6095 8.52054 9.21214 8.44465C8.5983 8.41117 7.92643 8.46474 7.26348 8.57411C7.07821 8.60536 6.90857 8.63661 6.75902 8.6701C6.67196 8.68795 6.61169 8.70358 6.58491 8.71027L6.51571 8.72367C6.4666 8.73036 6.38402 8.74152 6.27687 8.75268C5.71884 8.80402 5.11393 8.78617 4.52464 8.65001C3.2925 8.36206 2.42866 7.59643 2.26794 6.2884C1.9175 3.47143 4.02241 2.16563 8.42866 2.07188C9.07821 0.500452 10.8037 -0.336602 12.4376 0.129916C14.0737 0.596434 15.1005 2.21474 14.8237 3.89331V3.89331ZM3.34161 12.6478C3.09741 12.6478 2.85562 12.6959 2.63002 12.7894C2.40442 12.8828 2.19944 13.0198 2.02678 13.1925C1.85412 13.3652 1.71717 13.5702 1.62373 13.7958C1.5303 14.0214 1.48222 14.2632 1.48223 14.5074C1.48224 14.7516 1.53036 14.9934 1.62382 15.219C1.71728 15.4446 1.85426 15.6495 2.02694 15.8222C2.19962 15.9949 2.40462 16.1318 2.63022 16.2252C2.85583 16.3187 3.09764 16.3668 3.34183 16.3667C3.83499 16.3667 4.30795 16.1708 4.65665 15.822C5.00535 15.4733 5.20123 15.0003 5.2012 14.5071C5.20117 14.014 5.00524 13.541 4.65649 13.1923C4.30775 12.8436 3.83477 12.6477 3.34161 12.6478ZM11.5224 1.49152C11.2782 1.49154 11.0364 1.53965 10.8108 1.63311C10.5852 1.72657 10.3802 1.86355 10.2076 2.03623C10.0349 2.20891 9.89797 2.41391 9.80454 2.63952C9.7111 2.86513 9.66302 3.10693 9.66303 3.35112C9.66305 3.59531 9.71116 3.83711 9.80462 4.06271C9.89808 4.28831 10.0351 4.49329 10.2077 4.66594C10.3804 4.8386 10.5854 4.97556 10.811 5.06899C11.0366 5.16243 11.2784 5.21051 11.5226 5.2105C12.0158 5.21047 12.4888 5.01453 12.8375 4.66579C13.1862 4.31704 13.382 3.84406 13.382 3.3509C13.382 2.85773 13.186 2.38478 12.8373 2.03608C12.4886 1.68738 12.0156 1.49149 11.5224 1.49152V1.49152Z",fill:"#1D2939",fillOpacity:"0.85"})})},{key:"side-by-side",title:"Side by Side",icon:e.jsx("svg",{width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M3.19922 8.19922H13.1992M3.19922 8.19922L4.86589 10.6992M3.19922 8.19922L4.86589 5.69922M13.1992 8.19922L11.5326 10.6992M13.1992 8.19922L11.5326 5.69922M15.6992 0.699219V15.6992M0.699219 0.699219V15.6992",stroke:"#3F4957",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})})},{key:"cognitive-decisioning",title:"Cognitive Decisioning",icon:e.jsx(n.ButtonCognitiveIcon,{})}];exports.default=({open:n,anchorEl:s,sectionTitle:r,referenceSectionTitle:l,onClose:c,onOpenCognitiveCompare:d,onOpenSideBySide:C,onConnect:a,isConnected:x=!1,isOrphan:h=!1,maintainRelativeOrder:p,isGuidelineMode:g,hasGuidelineMatches:u=!0})=>{const y=g?!u:h,f=g?"No highlights found in guidelines.":"No counterpart exists to connect to.";return e.jsx(i.Menu,{open:n,anchorEl:s,onClose:c,disableScrollLock:!0,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{sx:{ml:.75,minWidth:190,maxWidth:220,borderRadius:"12px",border:"1px solid #E4E7EC",boxShadow:"0px 12px 28px rgba(16, 24, 40, 0.12)",overflow:"hidden"}},MenuListProps:{sx:{p:.5,bgcolor:"#FFFFFF"}},children:o.filter(e=>p||"side-by-side"!==e.key).map(n=>{const o="connect"===n.key,s=o&&x,r=("connect"===n.key||"side-by-side"===n.key)&&y,l=e.jsxs(e.Fragment,{children:[e.jsx(i.Box,{sx:{width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"},...r&&{opacity:.15},...s&&{"& svg path":{fill:"#15803D",fillOpacity:1}}},children:n.icon}),e.jsxs(i.Box,{sx:{minWidth:0,display:"flex",flexDirection:"column",flex:1},children:[e.jsx(i.Typography,{sx:{fontSize:"12px",fontWeight:500,color:r?"#98A2B3":s?"#15803D":"#101828",lineHeight:1.2,whiteSpace:"nowrap"},children:o?x?"Disconnect":"Connect":n.title}),r&&e.jsx(i.Typography,{sx:{mt:.35,fontSize:"10px",lineHeight:1.3,color:"#98A2B3",whiteSpace:"normal"},children:f})]}),s&&!r&&e.jsx(i.Box,{sx:{display:"flex",alignItems:"center",justifyContent:"center",ml:"auto"},children:e.jsx(t,{})})]});return r?e.jsx(i.Box,{"aria-disabled":"true",sx:{px:1.25,py:1,minHeight:22,borderRadius:"10px",display:"flex",alignItems:"flex-start",gap:1,cursor:"not-allowed",userSelect:"none"},children:l},n.key):e.jsx(i.MenuItem,{onClick:()=>{var e;("connect"===(e=n.key)||"side-by-side"===e)&&y||("connect"!==e?"side-by-side"!==e?d():C():a())},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,bgcolor:s?"#F0FDF4":"transparent","&:hover":{bgcolor:s?"#DCFCE7":"#F9FAFB"}},children:l},n.key)})})};
|
|
2
2
|
//# sourceMappingURL=MoreFunctionsPopup.js.map
|