@e-llm-studio/citation 0.0.249 → 0.0.250
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +36 -183
- package/dist/BPACitationRenderer.js +2 -0
- package/dist/BPACitationRenderer.js.map +1 -0
- package/dist/BookCitation.js +2 -0
- package/dist/BookCitation.js.map +1 -0
- package/dist/Bookemon.js +2 -0
- package/dist/Bookemon.js.map +1 -0
- package/dist/ChatCitation.js +2 -0
- package/dist/ChatCitation.js.map +1 -0
- package/dist/ChatDrawer.js +2 -0
- package/dist/ChatDrawer.js.map +1 -0
- package/dist/CitationRenderer.js +2 -0
- package/dist/CitationRenderer.js.map +1 -0
- package/dist/CodeCitation.js +2 -0
- package/dist/CodeCitation.js.map +1 -0
- package/dist/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/CognitiveInternalgptReasoning.js +2 -0
- package/dist/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/GptWebCitation.js +2 -0
- package/dist/GptWebCitation.js.map +1 -0
- package/dist/IngestionStatusComponent.js +2 -0
- package/dist/IngestionStatusComponent.js.map +1 -0
- package/dist/PdfViewer.js +2 -0
- package/dist/PdfViewer.js.map +1 -0
- package/dist/ProjectAccordion.js +2 -0
- package/dist/ProjectAccordion.js.map +1 -0
- package/dist/SplitterCitationsComponent.js +2 -0
- package/dist/SplitterCitationsComponent.js.map +1 -0
- package/dist/TextualGuideLinesComponent.js +2 -0
- package/dist/TextualGuideLinesComponent.js.map +1 -0
- package/dist/assests/icons/CitationsIcon.js +1 -1
- package/dist/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/assests/icons/InfoAlert.js +1 -1
- package/dist/assests/icons/InfoAlert.js.map +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/assests/svg/SparkleIcon.js +1 -1
- package/dist/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/BPACitationRenderer.js +2 -0
- package/dist/cjs/BPACitationRenderer.js.map +1 -0
- package/dist/cjs/BookCitation.js +2 -0
- package/dist/cjs/BookCitation.js.map +1 -0
- package/dist/cjs/Bookemon.js +2 -0
- package/dist/cjs/Bookemon.js.map +1 -0
- package/dist/cjs/ChatCitation.js +2 -0
- package/dist/cjs/ChatCitation.js.map +1 -0
- package/dist/cjs/ChatDrawer.js +2 -0
- package/dist/cjs/ChatDrawer.js.map +1 -0
- package/dist/cjs/CitationRenderer.js +2 -0
- package/dist/cjs/CitationRenderer.js.map +1 -0
- package/dist/cjs/CodeCitation.js +2 -0
- package/dist/cjs/CodeCitation.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js +2 -0
- package/dist/cjs/CognitiveInternalgptCoreComponent.js.map +1 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js +2 -0
- package/dist/cjs/CognitiveInternalgptReasoning.js.map +1 -0
- package/dist/cjs/GptWebCitation.js +2 -0
- package/dist/cjs/GptWebCitation.js.map +1 -0
- package/dist/cjs/IngestionStatusComponent.js +2 -0
- package/dist/cjs/IngestionStatusComponent.js.map +1 -0
- package/dist/cjs/PdfViewer.js +2 -0
- package/dist/cjs/PdfViewer.js.map +1 -0
- package/dist/cjs/ProjectAccordion.js +2 -0
- package/dist/cjs/ProjectAccordion.js.map +1 -0
- package/dist/cjs/SplitterCitationsComponent.js +2 -0
- package/dist/cjs/SplitterCitationsComponent.js.map +1 -0
- package/dist/cjs/TextualGuideLinesComponent.js +2 -0
- package/dist/cjs/TextualGuideLinesComponent.js.map +1 -0
- package/dist/cjs/assests/icons/CitationsIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsIcon.js.map +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js +1 -1
- package/dist/cjs/assests/icons/CitationsSparkleIcon.js.map +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js +1 -1
- package/dist/cjs/assests/icons/InfoAlert.js.map +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js +1 -1
- package/dist/cjs/assests/svg/ButtonCognitiveIcon.js.map +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js +1 -1
- package/dist/cjs/assests/svg/NeuralNetworkIcon.js.map +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js +1 -1
- package/dist/cjs/assests/svg/PdfViewerIcons.js.map +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js +1 -1
- package/dist/cjs/assests/svg/SparkleIcon.js.map +1 -1
- package/dist/cjs/assests/svg/chevronDownArrow.svg.js.map +1 -1
- package/dist/cjs/assests/svg/chevronUp.svg.js.map +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/cjs/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/cjs/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/cjs/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/cjs/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js +1 -1
- package/dist/cjs/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/cjs/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/cjs/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js +1 -1
- package/dist/cjs/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js +1 -1
- package/dist/cjs/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/cjs/features/Bookemon/BookemonStyles.js +2 -0
- package/dist/cjs/features/Bookemon/BookemonStyles.js.map +1 -0
- package/dist/cjs/features/Bookemon/utils/highlight.js +1 -1
- package/dist/cjs/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/cjs/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js +1 -1
- package/dist/cjs/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/cjs/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/cjs/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/cjs/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/cjs/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/cjs/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/cjs/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/cjs/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/cjs/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/cjs/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/cjs/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/cjs/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/cjs/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/cjs/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/cjs/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/cjs/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/cjs/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/cjs/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/cjs/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/cjs/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/cjs/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/cjs/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/cjs/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/cjs/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/cjs/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/cjs/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/cjs/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/cjs/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/cjs/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/cjs/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/cjs/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/cjs/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/cjs/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/cjs/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/cjs/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/types.js +1 -1
- package/dist/cjs/features/GptWebCitation/types.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/cjs/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/cjs/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/cjs/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/cjs/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/cjs/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/cjs/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/cjs/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/cjs/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/cjs/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/cjs/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/cjs/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/cjs/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js +1 -1
- package/dist/cjs/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/cjs/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/cjs/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/cjs/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/cjs/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/cjs/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/cjs/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/cjs/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/cjs/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/cjs/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/cjs/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/cjs/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/cjs/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/cjs/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/cjs/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/cjs/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/cjs/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/cjs/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/cjs/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/cjs/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/cjs/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/lib/ui/icons.js +2 -0
- package/dist/cjs/lib/ui/icons.js.map +1 -0
- package/dist/cjs/lib/ui/materialCompat.js +2 -0
- package/dist/cjs/lib/ui/materialCompat.js.map +1 -0
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/cjs/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/cjs/service/apicache.service.js +1 -1
- package/dist/cjs/service/apicache.service.js.map +1 -1
- package/dist/cjs/service/onDemandApi.js +1 -1
- package/dist/cjs/service/onDemandApi.js.map +1 -1
- package/dist/cjs/types/onDemandApi.types.js +1 -1
- package/dist/cjs/types/onDemandApi.types.js.map +1 -1
- package/dist/cjs/utils/codeCitations.utils.js +1 -1
- package/dist/cjs/utils/codeCitations.utils.js.map +1 -1
- package/dist/cjs/utils/sanitizeHtml.js +1 -1
- package/dist/cjs/utils/sanitizeHtml.js.map +1 -1
- package/dist/cjs/utils/themeManager.js +1 -1
- package/dist/cjs/utils/themeManager.js.map +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js +1 -1
- package/dist/constants/diagnosticStylesBySeverity.js.map +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js +1 -1
- package/dist/features/BPACitationRenderer/BPACitationRenderer.js.map +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js +1 -1
- package/dist/features/BPACitationRenderer/citationTypes.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.js +1 -1
- package/dist/features/BookCitation/BookCitation.js.map +1 -1
- package/dist/features/BookCitation/BookCitation.module.css.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js +1 -1
- package/dist/features/BookCitation/text-cleaner.js.map +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js +1 -1
- package/dist/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.js.map +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js +2 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js +1 -1
- package/dist/features/Bookemon/BookDetailsCard/BookDetailsCard.js.map +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js +2 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js +1 -1
- package/dist/features/Bookemon/BookElementsCard/BookElementsCard.js.map +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js +2 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js +1 -1
- package/dist/features/Bookemon/BookOverviewCard/BookOverviewCard.js.map +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js +2 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.css.js.map +1 -0
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js +1 -1
- package/dist/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.js.map +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js +2 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.css.js.map +1 -0
- package/dist/features/Bookemon/BookPreview/BookPreview.js +1 -1
- package/dist/features/Bookemon/BookPreview/BookPreview.js.map +1 -1
- package/dist/features/Bookemon/Bookemon.js +1 -1
- package/dist/features/Bookemon/Bookemon.js.map +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js +1 -1
- package/dist/features/Bookemon/BookemonCitationLayer.js.map +1 -1
- package/dist/features/Bookemon/BookemonContent.js +1 -1
- package/dist/features/Bookemon/BookemonContent.js.map +1 -1
- package/dist/features/Bookemon/BookemonStyles.js +2 -0
- package/dist/features/Bookemon/BookemonStyles.js.map +1 -0
- package/dist/features/Bookemon/utils/highlight.js +1 -1
- package/dist/features/Bookemon/utils/highlight.js.map +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js +1 -1
- package/dist/features/ChatCitation/BigQueryTable.js.map +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/ChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js +1 -1
- package/dist/features/ChatCitation/InternalChatCitationRenderer.js.map +1 -1
- package/dist/features/ChatCitation/assets/cw_chat.svg.js.map +1 -1
- package/dist/features/ChatCitation/assets/message-chat-square.svg.js.map +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js +1 -1
- package/dist/features/ChatCitation/components/AssistantChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js +1 -1
- package/dist/features/ChatCitation/components/ChatCitation.js.map +1 -1
- package/dist/features/ChatCitation/components/Chip.js +1 -1
- package/dist/features/ChatCitation/components/Chip.js.map +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js +1 -1
- package/dist/features/ChatCitation/components/DetailedView.js.map +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js +1 -1
- package/dist/features/ChatCitation/components/IconContainer.js.map +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js +1 -1
- package/dist/features/ChatCitation/components/InViewNavigation.js.map +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js +1 -1
- package/dist/features/ChatCitation/components/MarkdownRenderer.js.map +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js +1 -1
- package/dist/features/ChatCitation/components/RuleBook.js.map +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js +1 -1
- package/dist/features/ChatCitation/components/SummarizedView.js.map +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js +1 -1
- package/dist/features/ChatCitation/components/UserChatItem.js.map +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js +1 -1
- package/dist/features/ChatCitation/components/UserInitialsAsAvatar.js.map +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js +1 -1
- package/dist/features/ChatCitation/components/wrappers/Modal.js.map +1 -1
- package/dist/features/ChatCitation/constants/renderer.js +1 -1
- package/dist/features/ChatCitation/constants/renderer.js.map +1 -1
- package/dist/features/ChatCitation/styles/common.css.js +2 -0
- package/dist/features/ChatCitation/styles/common.css.js.map +1 -0
- package/dist/features/ChatCitation/utils/helpers.js +1 -1
- package/dist/features/ChatCitation/utils/helpers.js.map +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/ChatDrawer.js.map +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js +1 -1
- package/dist/features/ChatDrawer/constants/ChatDrawer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.module.css.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.js.map +1 -1
- package/dist/features/CitationRenderer/MarkdownRenderer.module.css.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js +1 -1
- package/dist/features/CitationViewer/CitationsViewer.js.map +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js +1 -1
- package/dist/features/CitationViewer/components/AudioWaveform.js.map +1 -1
- package/dist/features/CitationViewer/components/Header.js +1 -1
- package/dist/features/CitationViewer/components/Header.js.map +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js +1 -1
- package/dist/features/CitationViewer/components/KeyTakeaways.js.map +1 -1
- package/dist/features/CitationViewer/components/StormeeChatCitation.module.css.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js +1 -1
- package/dist/features/CitationViewer/components/Transcript.js.map +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js +1 -1
- package/dist/features/CitationViewer/config/apiConfig.js.map +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/getSignedUrl.js.map +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js +1 -1
- package/dist/features/CitationViewer/hooks/useResolvedAudioUrl.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.js +1 -1
- package/dist/features/CodeCitation/CodeCitation.js.map +1 -1
- package/dist/features/CodeCitation/CodeCitation.module.css.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js +1 -1
- package/dist/features/CodeCitation/_components/Accordian.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationPopup.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js +1 -1
- package/dist/features/CodeCitation/_components/CodeCitationsStats.js.map +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js +1 -1
- package/dist/features/CodeCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js +1 -1
- package/dist/features/CodeCitation/_components/DescriptionWithToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js +1 -1
- package/dist/features/CodeCitation/_components/HighlightedCodeDetails.js.map +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js +1 -1
- package/dist/features/CodeCitation/_components/RepoAndBranchTag.js.map +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js +1 -1
- package/dist/features/CodeCitation/_components/Spinner.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/DbStatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js +1 -1
- package/dist/features/CodeCitation/_components/StatsComponents/StatsComponent.js.map +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js +1 -1
- package/dist/features/CodeCitation/_components/ThemeToggle.js.map +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js +1 -1
- package/dist/features/CodeCitation/_components/TooltipComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js +1 -1
- package/dist/features/CognitiveCompare/CitationRenderer.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompare.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConstants.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js.map +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js.map +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js +1 -1
- package/dist/features/CognitiveCompare/CompareContext.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/GuidelinePanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/components/WebGptPanel.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/helper.js.map +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js +1 -1
- package/dist/features/CognitiveCompare/LoaderComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js +1 -1
- package/dist/features/CognitiveCompare/OverlayComponent.js.map +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js +1 -1
- package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js +1 -1
- package/dist/features/CognitiveCompare/components/CognitiveSummaryPopup.js.map +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js +1 -1
- package/dist/features/CognitiveCompare/components/CompareHeader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/LHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js +1 -1
- package/dist/features/CognitiveCompare/components/RHSSectionRow.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js +1 -1
- package/dist/features/CognitiveCompare/components/ScrollLockToggle.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js +1 -1
- package/dist/features/CognitiveCompare/components/SubSectionAccordion.js.map +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js +1 -1
- package/dist/features/CognitiveCompare/components/SvgConnectors.js.map +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js +1 -1
- package/dist/features/CognitiveCompare/components/ThreeDotsLoader.js.map +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js +1 -1
- package/dist/features/CognitiveCompare/components/connectedLines.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js +1 -1
- package/dist/features/CognitiveCompare/hooks/memoizedMarkdown.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useAccordionState.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useCompareData.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useComparePopups.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useDeviationNavigation.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useLinesCalculator.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useResizeHandler.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSectionRefs.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useSideBySide.js.map +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js +1 -1
- package/dist/features/CognitiveCompare/hooks/useStyles.js.map +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js +1 -1
- package/dist/features/CognitiveCompare/utils/buildComparisonRows.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.js.map +1 -1
- package/dist/features/CognitiveDecisioning/CognitiveDecisioningWrapper.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.js.map +1 -1
- package/dist/features/CognitiveDecisioning/FaqCitation/FaqCitation.module.css.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js +1 -1
- package/dist/features/CognitiveDecisioning/shared/Audacy/GapIcon.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js.map +1 -1
- package/dist/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.module.css.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationApiComponent.js.map +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js +1 -1
- package/dist/features/DualCitation/RuleBookCitationComponent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.js.map +1 -1
- package/dist/features/DualCitation/SourceBQDataCompnent.module.css.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js +1 -1
- package/dist/features/ExcelCitation/ExcelCitations.js.map +1 -1
- package/dist/features/ExcelCitation/css/excel-citation.css.js +2 -0
- package/dist/features/ExcelCitation/css/excel-citation.css.js.map +1 -0
- package/dist/features/ExcelCitation/utils/helper.js +1 -1
- package/dist/features/ExcelCitation/utils/helper.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitation.module.css.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageCitation.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationImageFullScreenView.js.map +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js +1 -1
- package/dist/features/GptWebCitation/GptWebCitationSkeleton.js.map +1 -1
- package/dist/features/GptWebCitation/types.js +1 -1
- package/dist/features/GptWebCitation/types.js.map +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/citationData.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/fixedHeight.utils.js.map +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js +1 -1
- package/dist/features/GptWebCitation/utils/styleOverrides.utils.js.map +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js +1 -1
- package/dist/features/IngestionStatus/IngestionStatusComponent.js.map +1 -1
- package/dist/features/IngestionStatus/ingestion.module.css.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js +1 -1
- package/dist/features/IngestionStatus/useIngestionStatus.js.map +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js +1 -1
- package/dist/features/InstantLearningCitation/CongnitiveDecisioningComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js +1 -1
- package/dist/features/InstantLearningCitation/HistorySkeleton.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitation.js.map +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js +1 -1
- package/dist/features/InstantLearningCitation/InstantLearningCitationComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js +1 -1
- package/dist/features/InstantLearningCitation/OverrideTimeline.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js +1 -1
- package/dist/features/InstantLearningCitation/RuleConditionBlock.js.map +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js +1 -1
- package/dist/features/InstantLearningCitation/RuleContentComponent.js.map +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js +1 -1
- package/dist/features/InstantLearningCitation/SlashLoader.js.map +1 -1
- package/dist/features/InstantLearningCitation/css/CongnitiveDecisioning.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/Override.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/RuleAccordian.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/css/common.module.css.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js +1 -1
- package/dist/features/InstantLearningCitation/types/Types.js.map +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js +1 -1
- package/dist/features/ManageRemainders/AssigneeCalendarView.js.map +1 -1
- package/dist/features/ManageRemainders/ManageRemainder.module.css.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js +1 -1
- package/dist/features/ManageRemainders/ManageReminders.js.map +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js +1 -1
- package/dist/features/ManageRemainders/ReminderFrequencyAutocomplete.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.js.map +1 -1
- package/dist/features/MarkdownWithImageCitation/MarkdownWithImageCitation.module.css.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js +1 -1
- package/dist/features/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/features/PaginatedTable/paginatedTable.module.css.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.js.map +1 -1
- package/dist/features/PdfEditorCitation/PdfEditorCitation.module.css.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/features/PdfViewer/PdfContainer.js.map +1 -1
- package/dist/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/features/PdfViewer/PdfStyle.js.map +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js.map +1 -1
- package/dist/features/PdfViewer/PdfViewer.css.js +2 -0
- package/dist/features/PdfViewer/PdfViewer.css.js.map +1 -0
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js.map +1 -1
- package/dist/features/PdfViewer/rotationManager.js +1 -1
- package/dist/features/PdfViewer/rotationManager.js.map +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js +1 -1
- package/dist/features/PdfViewer/usePdfHighlight.js.map +1 -1
- package/dist/features/PdfViewer/zoomStateManager.js +2 -0
- package/dist/features/PdfViewer/zoomStateManager.js.map +1 -0
- package/dist/features/ProjectAccordion/ProjectAccordion.js +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.js.map +1 -1
- package/dist/features/ProjectAccordion/ProjectAccordion.module.css.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js +1 -1
- package/dist/features/ProjectAccordion/_components/Markdown.js.map +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js +1 -1
- package/dist/features/PromptCitation/CitationDependencyGraph.js.map +1 -1
- package/dist/features/PromptCitation/PromptCitation.js +1 -1
- package/dist/features/PromptCitation/PromptCitation.js.map +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js +1 -1
- package/dist/features/PromptCitation/_components/CodeEditor.js.map +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js +1 -1
- package/dist/features/PromptCitation/_components/Markdownrenderer.js.map +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js +1 -1
- package/dist/features/PromptemonBlockViewer/PromptemonBlockViewer.js.map +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js +1 -1
- package/dist/features/PromptemonViewer/PromptemonViewer.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/FileCitation/FileCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/ImageCitation/ImageCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/VideoCitation/VideoCitationContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.js.map +1 -1
- package/dist/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.module.css.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.js.map +1 -1
- package/dist/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.module.css.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.css.js +2 -0
- package/dist/features/ReviewPanel/ReviewPanel.css.js.map +1 -0
- package/dist/features/ReviewPanel/ReviewPanel.js +1 -1
- package/dist/features/ReviewPanel/ReviewPanel.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationApi.js.map +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js +1 -1
- package/dist/features/RulebookCitations/RuleBookCitationWrapper.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Cognitivereasoningpanel.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js +1 -1
- package/dist/features/SPBAnalysisPanel/DependencyGraph.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js +1 -1
- package/dist/features/SPBAnalysisPanel/Internaleditor.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js +1 -1
- package/dist/features/SPBAnalysisPanel/Markdownrenderer.js.map +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js +1 -1
- package/dist/features/SPBAnalysisPanel/Spbanalysispanel.js.map +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js +1 -1
- package/dist/features/SegmentReviewComponents/BoundaryCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/CardWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js +1 -1
- package/dist/features/SegmentReviewComponents/ChartBreakoutCircle.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIcon.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveIntegrity.js.map +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js +1 -1
- package/dist/features/SegmentReviewComponents/CognitiveScoreBadge.js.map +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/LabelCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js +1 -1
- package/dist/features/SegmentReviewComponents/PageTypeChoiceCheck.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSuccessCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js +1 -1
- package/dist/features/SegmentReviewComponents/RevertSummaryNotice.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedBoundaryActions.js.map +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js +1 -1
- package/dist/features/SegmentReviewComponents/ReviewedCard.js.map +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js +1 -1
- package/dist/features/SegmentReviewComponents/SegmentReviewPdfWrapper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/helper.js +1 -1
- package/dist/features/SegmentReviewComponents/helper.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewScore.js.map +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js +1 -1
- package/dist/features/SegmentReviewComponents/reviewStepAdapters.js.map +1 -1
- package/dist/features/SplitterCitations/Splitter.module.css.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js +1 -1
- package/dist/features/SplitterCitations/SplitterCitationsComponent.js.map +1 -1
- package/dist/features/SplitterCitations/icons/icons.js +1 -1
- package/dist/features/SplitterCitations/icons/icons.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.js +1 -1
- package/dist/features/TableCitation/TableCitationContent.js.map +1 -1
- package/dist/features/TableCitation/TableCitationContent.module.css.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js +1 -1
- package/dist/features/TextualGuidelines/TextualGuideLinesComponent.js.map +1 -1
- package/dist/features/TextualGuidelines/TextualGuidelines.module.css.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js +1 -1
- package/dist/hooks/useOnDemandCitationFetch.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/ui/icons.js +2 -0
- package/dist/lib/ui/icons.js.map +1 -0
- package/dist/lib/ui/materialCompat.js +2 -0
- package/dist/lib/ui/materialCompat.js.map +1 -0
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js +2 -0
- package/dist/node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js.map +1 -0
- package/dist/service/apicache.service.js +1 -1
- package/dist/service/apicache.service.js.map +1 -1
- package/dist/service/onDemandApi.js +1 -1
- package/dist/service/onDemandApi.js.map +1 -1
- package/dist/types/AutopilotStyle.d.ts +2 -0
- package/dist/types/AutopilotStyle.d.ts.map +1 -0
- package/dist/types/BPACitationRenderer.d.ts +3 -0
- package/dist/types/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/BookCitation.d.ts +3 -0
- package/dist/types/BookCitation.d.ts.map +1 -0
- package/dist/types/Bookemon.d.ts +3 -0
- package/dist/types/Bookemon.d.ts.map +1 -0
- package/dist/types/ChatCitation.d.ts +3 -0
- package/dist/types/ChatCitation.d.ts.map +1 -0
- package/dist/types/ChatDrawer.d.ts +3 -0
- package/dist/types/ChatDrawer.d.ts.map +1 -0
- package/dist/types/CitationRenderer.d.ts +3 -0
- package/dist/types/CitationRenderer.d.ts.map +1 -0
- package/dist/types/CodeCitation.d.ts +3 -0
- package/dist/types/CodeCitation.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts +3 -0
- package/dist/types/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts +3 -0
- package/dist/types/CognitiveInternalgptReasoning.d.ts.map +1 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts +5 -0
- package/dist/types/CommonConstants/CommonConstants.d.ts.map +1 -0
- package/dist/types/GptWebCitation.d.ts +3 -0
- package/dist/types/GptWebCitation.d.ts.map +1 -0
- package/dist/types/IngestionStatusComponent.d.ts +2 -0
- package/dist/types/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/PdfViewer.d.ts +3 -0
- package/dist/types/PdfViewer.d.ts.map +1 -0
- package/dist/types/ProjectAccordion.d.ts +3 -0
- package/dist/types/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/SplitterCitationsComponent.d.ts +3 -0
- package/dist/types/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/TextualGuideLinesComponent.d.ts +3 -0
- package/dist/types/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts +2 -0
- package/dist/types/assests/icons/CitationsIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts +9 -0
- package/dist/types/assests/icons/CitationsSparkleIcon.d.ts.map +1 -0
- package/dist/types/assests/icons/InfoAlert.d.ts +3 -0
- package/dist/types/assests/icons/InfoAlert.d.ts.map +1 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts +2 -0
- package/dist/types/assests/svg/ButtonCognitiveIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts +10 -0
- package/dist/types/assests/svg/NeuralNetworkIcon.d.ts.map +1 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts +6 -0
- package/dist/types/assests/svg/PdfViewerIcons.d.ts.map +1 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts +3 -0
- package/dist/types/assests/svg/SparkleIcon.d.ts.map +1 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts +3 -0
- package/dist/types/constants/diagnosticStylesBySeverity.d.ts.map +1 -0
- package/dist/types/context/DataSelectedContext.d.ts +73 -0
- package/dist/types/context/DataSelectedContext.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts +5 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +230 -0
- package/dist/types/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +1 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts +15 -0
- package/dist/types/features/BPACitationRenderer/citationTypes.d.ts.map +1 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts +42 -0
- package/dist/types/features/BookCitation/BookCitation.d.ts.map +1 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts +2 -0
- package/dist/types/features/BookCitation/text-cleaner.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +22 -0
- package/dist/types/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +14 -0
- package/dist/types/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +53 -0
- package/dist/types/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +21 -0
- package/dist/types/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +36 -0
- package/dist/types/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts +51 -0
- package/dist/types/features/Bookemon/BookPreview/BookPreview.d.ts.map +1 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts +9 -0
- package/dist/types/features/Bookemon/Bookemon.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts +8 -0
- package/dist/types/features/Bookemon/BookemonCitationLayer.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts +3 -0
- package/dist/types/features/Bookemon/BookemonContent.d.ts.map +1 -0
- package/dist/types/features/Bookemon/BookemonStyles.d.ts +6 -0
- package/dist/types/features/Bookemon/BookemonStyles.d.ts.map +1 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts +65 -0
- package/dist/types/features/Bookemon/types/citation.types.d.ts.map +1 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts +7 -0
- package/dist/types/features/Bookemon/utils/highlight.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts +8 -0
- package/dist/types/features/ChatCitation/BigQueryTable.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts +25 -0
- package/dist/types/features/ChatCitation/ChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts +13 -0
- package/dist/types/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts +4 -0
- package/dist/types/features/ChatCitation/assets/collapse.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/AssistantChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts +16 -0
- package/dist/types/features/ChatCitation/components/ChatCitation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/Chip.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/DetailedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts +8 -0
- package/dist/types/features/ChatCitation/components/IconContainer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts +12 -0
- package/dist/types/features/ChatCitation/components/InViewNavigation.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts +9 -0
- package/dist/types/features/ChatCitation/components/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/RuleBook.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts +19 -0
- package/dist/types/features/ChatCitation/components/SummarizedView.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts +7 -0
- package/dist/types/features/ChatCitation/components/UserChatItem.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +11 -0
- package/dist/types/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts +10 -0
- package/dist/types/features/ChatCitation/components/wrappers/Modal.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts +9 -0
- package/dist/types/features/ChatCitation/constants/icons.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts +7 -0
- package/dist/types/features/ChatCitation/constants/renderer.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts +113 -0
- package/dist/types/features/ChatCitation/types/citations.types.d.ts.map +1 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts +16 -0
- package/dist/types/features/ChatCitation/utils/helpers.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts +5 -0
- package/dist/types/features/ChatDrawer/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts +17 -0
- package/dist/types/features/ChatDrawer/constants/ChatDrawer.d.ts.map +1 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts +51 -0
- package/dist/types/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts +21 -0
- package/dist/types/features/CitationRenderer/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts +25 -0
- package/dist/types/features/CitationRenderer/MarkdownRenderer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts +4 -0
- package/dist/types/features/CitationViewer/CitationsViewer.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts +17 -0
- package/dist/types/features/CitationViewer/components/AudioWaveform.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts +12 -0
- package/dist/types/features/CitationViewer/components/Header.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts +8 -0
- package/dist/types/features/CitationViewer/components/KeyTakeaways.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts +10 -0
- package/dist/types/features/CitationViewer/components/Transcript.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts +3 -0
- package/dist/types/features/CitationViewer/config/apiConfig.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/getSignedUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +2 -0
- package/dist/types/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +1 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts +58 -0
- package/dist/types/features/CitationViewer/types/artifact.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts +51 -0
- package/dist/types/features/CodeCitation/CodeCitation.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/Accordian.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts +34 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/CodeCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts +7 -0
- package/dist/types/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +16 -0
- package/dist/types/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts +9 -0
- package/dist/types/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts +4 -0
- package/dist/types/features/CodeCitation/_components/Spinner.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +10 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +13 -0
- package/dist/types/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/CodeCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts +8 -0
- package/dist/types/features/CodeCitation/_components/TooltipComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts +30 -0
- package/dist/types/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/CitationRenderer.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts +64 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts +321 -0
- package/dist/types/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts +83 -0
- package/dist/types/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts +7 -0
- package/dist/types/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts +72 -0
- package/dist/types/features/CognitiveCompare/CompareContext.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +6 -0
- package/dist/types/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts +4 -0
- package/dist/types/features/CognitiveCompare/LoaderComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/OverlayComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +3 -0
- package/dist/types/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/components/CompareHeader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts +17 -0
- package/dist/types/features/CognitiveCompare/components/SectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts +14 -0
- package/dist/types/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts +36 -0
- package/dist/types/features/CognitiveCompare/components/SvgConnectors.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +8 -0
- package/dist/types/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts +9 -0
- package/dist/types/features/CognitiveCompare/components/connectedLines.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +13 -0
- package/dist/types/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts +20 -0
- package/dist/types/features/CognitiveCompare/hooks/useCompareData.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts +22 -0
- package/dist/types/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +32 -0
- package/dist/types/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +26 -0
- package/dist/types/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts +5 -0
- package/dist/types/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts +19 -0
- package/dist/types/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts +34 -0
- package/dist/types/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts +16 -0
- package/dist/types/features/CognitiveCompare/hooks/useStyles.d.ts.map +1 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts +11 -0
- package/dist/types/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +47 -0
- package/dist/types/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +8 -0
- package/dist/types/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +1 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +7 -0
- package/dist/types/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +19 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +26 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +162 -0
- package/dist/types/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +1 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts +18 -0
- package/dist/types/features/DataSelector/DataSelector.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +3 -0
- package/dist/types/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +4 -0
- package/dist/types/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts +13 -0
- package/dist/types/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts +3 -0
- package/dist/types/features/DataSelector/components/SelectedDataList.d.ts.map +1 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +10 -0
- package/dist/types/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts +20 -0
- package/dist/types/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts +31 -0
- package/dist/types/features/DualCitation/RuleBookCitationComponent.d.ts.map +1 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts +36 -0
- package/dist/types/features/DualCitation/SourceBQDataCompnent.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts +15 -0
- package/dist/types/features/ExcelCitation/ExcelCitations.d.ts.map +1 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts +2 -0
- package/dist/types/features/ExcelCitation/utils/helper.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts +15 -0
- package/dist/types/features/GptWebCitation/GptWebCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts +16 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +10 -0
- package/dist/types/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts +14 -0
- package/dist/types/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/types.d.ts +405 -0
- package/dist/types/features/GptWebCitation/types.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/citationData.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts +10 -0
- package/dist/types/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +1 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts +6 -0
- package/dist/types/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts +28 -0
- package/dist/types/features/IngestionStatus/IngestionStatusComponent.d.ts.map +1 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts +40 -0
- package/dist/types/features/IngestionStatus/useIngestionStatus.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts +10 -0
- package/dist/types/features/InstantLearningCitation/HistorySkeleton.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts +2 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +23 -0
- package/dist/types/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/OverrideTimeline.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts +13 -0
- package/dist/types/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts +5 -0
- package/dist/types/features/InstantLearningCitation/RuleContentComponent.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts +12 -0
- package/dist/types/features/InstantLearningCitation/SlashLoader.d.ts.map +1 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts +356 -0
- package/dist/types/features/InstantLearningCitation/types/Types.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts +19 -0
- package/dist/types/features/ManageRemainders/AssigneeCalendarView.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts +48 -0
- package/dist/types/features/ManageRemainders/ManageReminders.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +17 -0
- package/dist/types/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +1 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts +78 -0
- package/dist/types/features/ManageRemainders/types/type.d.ts.map +1 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +37 -0
- package/dist/types/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +1 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts +27 -0
- package/dist/types/features/PaginatedTable/PaginatedTable.d.ts.map +1 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts +19 -0
- package/dist/types/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts +16 -0
- package/dist/types/features/PdfViewer/PdfContainer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts +33 -0
- package/dist/types/features/PdfViewer/PdfStyle.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts +34 -0
- package/dist/types/features/PdfViewer/PdfToolbar.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts +94 -0
- package/dist/types/features/PdfViewer/PdfViewer.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts +23 -0
- package/dist/types/features/PdfViewer/rotationManager.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts +25 -0
- package/dist/types/features/PdfViewer/usePdfHighlight.d.ts.map +1 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts +21 -0
- package/dist/types/features/PdfViewer/zoomStateManager.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts +24 -0
- package/dist/types/features/ProjectAccordion/ProjectAccordion.d.ts.map +1 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts +5 -0
- package/dist/types/features/ProjectAccordion/_components/Markdown.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts +56 -0
- package/dist/types/features/PromptCitation/CitationDependencyGraph.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts +326 -0
- package/dist/types/features/PromptCitation/PromptCitation.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts +30 -0
- package/dist/types/features/PromptCitation/_components/CodeEditor.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts +23 -0
- package/dist/types/features/PromptCitation/_components/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts +12 -0
- package/dist/types/features/PromptCitation/_components/ThemeToggle.d.ts.map +1 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +23 -0
- package/dist/types/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +1 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts +43 -0
- package/dist/types/features/PromptemonViewer/PromptemonViewer.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +125 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +26 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +123 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +92 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +12 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +7 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +6 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +3 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +207 -0
- package/dist/types/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +31 -0
- package/dist/types/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +33 -0
- package/dist/types/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +45 -0
- package/dist/types/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +47 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +16 -0
- package/dist/types/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +1 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +4 -0
- package/dist/types/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +1 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts +52 -0
- package/dist/types/features/ReviewPanel/ReviewPanel.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts +40 -0
- package/dist/types/features/RulebookCitations/RuleBookCitation.types.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts +18 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationApi.d.ts.map +1 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts +26 -0
- package/dist/types/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +52 -0
- package/dist/types/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts +71 -0
- package/dist/types/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts +11 -0
- package/dist/types/features/SPBAnalysisPanel/Internaleditor.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts +16 -0
- package/dist/types/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +134 -0
- package/dist/types/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +1 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts +10 -0
- package/dist/types/features/SPBAnalysisPanel/index.d.ts.map +1 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts +56 -0
- package/dist/types/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts +85 -0
- package/dist/types/features/SegmentReviewComponents/BoundaryCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts +26 -0
- package/dist/types/features/SegmentReviewComponents/CardWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +2 -0
- package/dist/types/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts +3 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts +87 -0
- package/dist/types/features/SegmentReviewComponents/LabelCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts +57 -0
- package/dist/types/features/SegmentReviewComponents/PageCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +28 -0
- package/dist/types/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts +37 -0
- package/dist/types/features/SegmentReviewComponents/RevertCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts +9 -0
- package/dist/types/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +7 -0
- package/dist/types/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +17 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts +33 -0
- package/dist/types/features/SegmentReviewComponents/ReviewedCard.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +124 -0
- package/dist/types/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts +51 -0
- package/dist/types/features/SegmentReviewComponents/helper.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts +23 -0
- package/dist/types/features/SegmentReviewComponents/index.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts +4 -0
- package/dist/types/features/SegmentReviewComponents/reviewScore.d.ts.map +1 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts +243 -0
- package/dist/types/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts +5 -0
- package/dist/types/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts +17 -0
- package/dist/types/features/SplitterCitations/icons/icons.d.ts.map +1 -0
- package/dist/types/features/SplitterCitations/types.d.ts +77 -0
- package/dist/types/features/SplitterCitations/types.d.ts.map +1 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts +14 -0
- package/dist/types/features/TableCitation/TableCitationContent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +25 -0
- package/dist/types/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +1 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts +81 -0
- package/dist/types/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +14 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +13 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +1107 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +57 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +643 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +24 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +283 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +58 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +1 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +20 -0
- package/dist/types/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +1 -0
- package/dist/types/features/UploadData/main.d.ts +9 -0
- package/dist/types/features/UploadData/main.d.ts.map +1 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts +11 -0
- package/dist/types/hooks/useOnDemandCitationFetch.d.ts.map +1 -0
- package/dist/types/index.d.ts +63 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/lib/ui/icons.d.ts +46 -0
- package/dist/types/lib/ui/icons.d.ts.map +1 -0
- package/dist/types/lib/ui/materialCompat.d.ts +117 -0
- package/dist/types/lib/ui/materialCompat.d.ts.map +1 -0
- package/dist/types/methodsToExpose.d.ts +18 -0
- package/dist/types/methodsToExpose.d.ts.map +1 -0
- package/dist/types/onDemandApi.types.js +1 -1
- package/dist/types/onDemandApi.types.js.map +1 -1
- package/dist/types/service/API.d.ts +6 -0
- package/dist/types/service/API.d.ts.map +1 -0
- package/dist/types/service/DataService.d.ts +73 -0
- package/dist/types/service/DataService.d.ts.map +1 -0
- package/dist/types/service/ModelService.d.ts +68 -0
- package/dist/types/service/ModelService.d.ts.map +1 -0
- package/dist/types/service/ProjectService.d.ts +16 -0
- package/dist/types/service/ProjectService.d.ts.map +1 -0
- package/dist/types/service/SavedDataSetService.d.ts +27 -0
- package/dist/types/service/SavedDataSetService.d.ts.map +1 -0
- package/dist/types/service/apicache.service.d.ts +43 -0
- package/dist/types/service/apicache.service.d.ts.map +1 -0
- package/dist/types/service/constants.d.ts +3 -0
- package/dist/types/service/constants.d.ts.map +1 -0
- package/dist/types/service/envHelperService.d.ts +5 -0
- package/dist/types/service/envHelperService.d.ts.map +1 -0
- package/dist/types/service/onDemandApi.d.ts +27 -0
- package/dist/types/service/onDemandApi.d.ts.map +1 -0
- package/dist/types/service/variableHelperService.d.ts +6 -0
- package/dist/types/service/variableHelperService.d.ts.map +1 -0
- package/dist/types/theme.d.ts +4 -0
- package/dist/types/theme.d.ts.map +1 -0
- package/dist/types/types/CodeCitationTypes.d.ts +46 -0
- package/dist/types/types/CodeCitationTypes.d.ts.map +1 -0
- package/dist/types/types/onDemandApi.types.d.ts +63 -0
- package/dist/types/types/onDemandApi.types.d.ts.map +1 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts +70 -0
- package/dist/types/types/useOnDemandCitationFetch.types.d.ts.map +1 -0
- package/dist/types/userProvidedConfig.d.ts +8 -0
- package/dist/types/userProvidedConfig.d.ts.map +1 -0
- package/dist/types/utils/api.d.ts +2 -0
- package/dist/types/utils/api.d.ts.map +1 -0
- package/dist/types/utils/codeCitations.utils.d.ts +9 -0
- package/dist/types/utils/codeCitations.utils.d.ts.map +1 -0
- package/dist/types/utils/sanitizeHtml.d.ts +5 -0
- package/dist/types/utils/sanitizeHtml.d.ts.map +1 -0
- package/dist/types/utils/themeManager.d.ts +13 -0
- package/dist/types/utils/themeManager.d.ts.map +1 -0
- package/dist/utils/codeCitations.utils.js +1 -1
- package/dist/utils/codeCitations.utils.js.map +1 -1
- package/dist/utils/sanitizeHtml.js +1 -1
- package/dist/utils/sanitizeHtml.js.map +1 -1
- package/dist/utils/themeManager.js +1 -1
- package/dist/utils/themeManager.js.map +1 -1
- package/package.json +135 -278
- package/dist/types/src/AccordianHeadTest.d.ts +0 -2
- package/dist/types/src/AccordianHeadTest.d.ts.map +0 -1
- package/dist/types/src/App.d.ts +0 -3
- package/dist/types/src/App.d.ts.map +0 -1
- package/dist/types/src/AutopilotStyle.d.ts +0 -2
- package/dist/types/src/AutopilotStyle.d.ts.map +0 -1
- package/dist/types/src/BookCitationTest.d.ts +0 -3
- package/dist/types/src/BookCitationTest.d.ts.map +0 -1
- package/dist/types/src/BookemonTest.d.ts +0 -83
- package/dist/types/src/BookemonTest.d.ts.map +0 -1
- package/dist/types/src/ChatCitationTest.d.ts +0 -7
- package/dist/types/src/ChatCitationTest.d.ts.map +0 -1
- package/dist/types/src/ChatDrawerTest.d.ts +0 -17
- package/dist/types/src/ChatDrawerTest.d.ts.map +0 -1
- package/dist/types/src/CitationDependencyGraphTest.d.ts +0 -4
- package/dist/types/src/CitationDependencyGraphTest.d.ts.map +0 -1
- package/dist/types/src/CodeCitationTest.d.ts +0 -3
- package/dist/types/src/CodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/CognitiveCompareTest.d.ts +0 -3
- package/dist/types/src/CognitiveCompareTest.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts +0 -9
- package/dist/types/src/CommonComponents/AccordianHead/AccordianHead.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts +0 -4
- package/dist/types/src/CommonComponents/CustomDropdown.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/HelloWorld.d.ts +0 -2
- package/dist/types/src/CommonComponents/HelloWorld.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/NoTableData.d.ts +0 -6
- package/dist/types/src/CommonComponents/NoTableData.d.ts.map +0 -1
- package/dist/types/src/CommonComponents/Spinner.d.ts +0 -4
- package/dist/types/src/CommonComponents/Spinner.d.ts.map +0 -1
- package/dist/types/src/CommonConstants/CommonConstants.d.ts +0 -5
- package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +0 -1
- package/dist/types/src/CustomStylesProvider.d.ts +0 -6
- package/dist/types/src/CustomStylesProvider.d.ts.map +0 -1
- package/dist/types/src/CustomThemeProvider.d.ts +0 -7
- package/dist/types/src/CustomThemeProvider.d.ts.map +0 -1
- package/dist/types/src/DatagestMonTest.d.ts +0 -3
- package/dist/types/src/DatagestMonTest.d.ts.map +0 -1
- package/dist/types/src/DbCodeCitationTest.d.ts +0 -3
- package/dist/types/src/DbCodeCitationTest.d.ts.map +0 -1
- package/dist/types/src/EmailCitationTest.d.ts +0 -3
- package/dist/types/src/EmailCitationTest.d.ts.map +0 -1
- package/dist/types/src/ExcelCitationTest.d.ts +0 -2
- package/dist/types/src/ExcelCitationTest.d.ts.map +0 -1
- package/dist/types/src/GoogleFilePickerDemo.d.ts +0 -2
- package/dist/types/src/GoogleFilePickerDemo.d.ts.map +0 -1
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts +0 -3
- package/dist/types/src/MarkdownWithImageCitationTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts +0 -3
- package/dist/types/src/PaginatedTableTest/PaginatedTableTest.d.ts.map +0 -1
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts +0 -15
- package/dist/types/src/PaginatedTableTest/useFetchData.d.ts.map +0 -1
- package/dist/types/src/PdfViewerTest.d.ts +0 -5
- package/dist/types/src/PdfViewerTest.d.ts.map +0 -1
- package/dist/types/src/ProjectAccordianTest.d.ts +0 -3
- package/dist/types/src/ProjectAccordianTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonBlockViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonBlockViewerTest.d.ts.map +0 -1
- package/dist/types/src/PromptemonViewerTest.d.ts +0 -3
- package/dist/types/src/PromptemonViewerTest.d.ts.map +0 -1
- package/dist/types/src/RequirementAICitationTest.d.ts +0 -3
- package/dist/types/src/RequirementAICitationTest.d.ts.map +0 -1
- package/dist/types/src/ScannedDocCitationTest.d.ts +0 -2
- package/dist/types/src/ScannedDocCitationTest.d.ts.map +0 -1
- package/dist/types/src/Spbanalysispaneltest.d.ts +0 -3
- package/dist/types/src/Spbanalysispaneltest.d.ts.map +0 -1
- package/dist/types/src/TableCitationTest.d.ts +0 -3
- package/dist/types/src/TableCitationTest.d.ts.map +0 -1
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts +0 -3
- package/dist/types/src/assests/icons/ChartSplitIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/CitationsIcon.d.ts +0 -2
- package/dist/types/src/assests/icons/CitationsIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts +0 -10
- package/dist/types/src/assests/icons/CitationsSparkleIcon.d.ts.map +0 -1
- package/dist/types/src/assests/icons/InfoAlert.d.ts +0 -3
- package/dist/types/src/assests/icons/InfoAlert.d.ts.map +0 -1
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts +0 -2
- package/dist/types/src/assests/svg/ButtonCognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts +0 -9
- package/dist/types/src/assests/svg/NeuralNetworkIcon.d.ts.map +0 -1
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts +0 -6
- package/dist/types/src/assests/svg/PdfViewerIcons.d.ts.map +0 -1
- package/dist/types/src/assests/svg/SparkleIcon.d.ts +0 -3
- package/dist/types/src/assests/svg/SparkleIcon.d.ts.map +0 -1
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts +0 -3
- package/dist/types/src/constants/diagnosticStylesBySeverity.d.ts.map +0 -1
- package/dist/types/src/context/DataSelectedContext.d.ts +0 -73
- package/dist/types/src/context/DataSelectedContext.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts +0 -5
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts +0 -230
- package/dist/types/src/features/BPACitationRenderer/BPACitationRenderer.types.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts +0 -6
- package/dist/types/src/features/BPACitationRenderer/BPACitationRendererTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookBqCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/DualRuleBookGptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts +0 -4
- package/dist/types/src/features/BPACitationRenderer/ILRuleBookCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts +0 -15
- package/dist/types/src/features/BPACitationRenderer/citationTypes.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/BookCitation.d.ts +0 -42
- package/dist/types/src/features/BookCitation/BookCitation.d.ts.map +0 -1
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts +0 -2
- package/dist/types/src/features/BookCitation/text-cleaner.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts +0 -21
- package/dist/types/src/features/Bookemon/BookCopyrightsCard/BookCopyrightsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts +0 -13
- package/dist/types/src/features/Bookemon/BookDetailsCard/BookDetailsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts +0 -52
- package/dist/types/src/features/Bookemon/BookElementsCard/BookElementsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts +0 -20
- package/dist/types/src/features/Bookemon/BookOverviewCard/BookOverviewCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts +0 -35
- package/dist/types/src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts +0 -51
- package/dist/types/src/features/Bookemon/BookPreview/BookPreview.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/Bookemon.d.ts +0 -9
- package/dist/types/src/features/Bookemon/Bookemon.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts +0 -7
- package/dist/types/src/features/Bookemon/BookemonCitationLayer.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts +0 -3
- package/dist/types/src/features/Bookemon/BookemonContent.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts +0 -65
- package/dist/types/src/features/Bookemon/types/citation.types.d.ts.map +0 -1
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts +0 -7
- package/dist/types/src/features/Bookemon/utils/highlight.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/BigQueryTable.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts +0 -26
- package/dist/types/src/features/ChatCitation/ChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts +0 -13
- package/dist/types/src/features/ChatCitation/InternalChatCitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts +0 -3
- package/dist/types/src/features/ChatCitation/assets/collapse.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/AssistantChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/components/ChatCitation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/Chip.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/DetailedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/IconContainer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/InViewNavigation.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/components/RuleBook.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts +0 -19
- package/dist/types/src/features/ChatCitation/components/SummarizedView.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts +0 -8
- package/dist/types/src/features/ChatCitation/components/UserChatItem.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts +0 -11
- package/dist/types/src/features/ChatCitation/components/UserInitialsAsAvatar.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts +0 -10
- package/dist/types/src/features/ChatCitation/components/wrappers/Modal.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts +0 -9
- package/dist/types/src/features/ChatCitation/constants/icons.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts +0 -7
- package/dist/types/src/features/ChatCitation/constants/renderer.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts +0 -114
- package/dist/types/src/features/ChatCitation/types/citations.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts +0 -16
- package/dist/types/src/features/ChatCitation/utils/helpers.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts +0 -33
- package/dist/types/src/features/ChatDrawer/UploadedFilesList.types.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts +0 -5
- package/dist/types/src/features/ChatDrawer/Uploadedfileslist.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts +0 -17
- package/dist/types/src/features/ChatDrawer/constants/ChatDrawer.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts +0 -8
- package/dist/types/src/features/ChatDrawer/context/ChatDrawerContext.d.ts.map +0 -1
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts +0 -51
- package/dist/types/src/features/ChatDrawer/types/ChatDrawer.types.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +0 -21
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts +0 -25
- package/dist/types/src/features/CitationRenderer/MarkdownRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts +0 -5
- package/dist/types/src/features/CitationViewer/CitationsViewer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/AudioPlayer.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts +0 -17
- package/dist/types/src/features/CitationViewer/components/AudioWaveform.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/ChatHistory.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Header.d.ts +0 -12
- package/dist/types/src/features/CitationViewer/components/Header.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts +0 -8
- package/dist/types/src/features/CitationViewer/components/KeyTakeaways.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts +0 -10
- package/dist/types/src/features/CitationViewer/components/Transcript.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts +0 -3
- package/dist/types/src/features/CitationViewer/config/apiConfig.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/getSignedUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts +0 -2
- package/dist/types/src/features/CitationViewer/hooks/useResolvedAudioUrl.d.ts.map +0 -1
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts +0 -59
- package/dist/types/src/features/CitationViewer/types/artifact.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts +0 -51
- package/dist/types/src/features/CodeCitation/CodeCitation.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/Accordian.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts +0 -34
- package/dist/types/src/features/CodeCitation/_components/CodeCitationPopup.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/CodeCitationsStats.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/CodeCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts +0 -6
- package/dist/types/src/features/CodeCitation/_components/DescriptionWithToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/CodeCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/RepoAndBranchTag.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts +0 -4
- package/dist/types/src/features/CodeCitation/_components/Spinner.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/CodebaseStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts +0 -10
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/DbStatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts +0 -13
- package/dist/types/src/features/CodeCitation/_components/StatsComponents/StatsComponent.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/CodeCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/CodeCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +0 -30
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/CitationRenderer.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +0 -64
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConstants.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +0 -322
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +0 -83
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +0 -7
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts +0 -72
- package/dist/types/src/features/CognitiveCompare/CompareContext.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/GuidelinePanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/Guidelines/components/WebGptPanel.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts +0 -2524
- package/dist/types/src/features/CognitiveCompare/Guidelines/constants/guidelines.mockData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts +0 -6
- package/dist/types/src/features/CognitiveCompare/Guidelines/utils/processGuidelinesMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/LoaderComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/OverlayComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts +0 -3
- package/dist/types/src/features/CognitiveCompare/components/CognitiveSummaryPopup.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts +0 -12
- package/dist/types/src/features/CognitiveCompare/components/CompareHeader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/LHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/RHSSectionRow.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/components/ScrollLockToggle.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts +0 -17
- package/dist/types/src/features/CognitiveCompare/components/SectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts +0 -14
- package/dist/types/src/features/CognitiveCompare/components/SubSectionAccordion.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts +0 -37
- package/dist/types/src/features/CognitiveCompare/components/SvgConnectors.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts +0 -8
- package/dist/types/src/features/CognitiveCompare/components/ThreeDotsLoader.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts +0 -9
- package/dist/types/src/features/CognitiveCompare/components/connectedLines.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts +0 -13
- package/dist/types/src/features/CognitiveCompare/hooks/memoizedMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useAccordionState.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts +0 -20
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareData.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts +0 -24
- package/dist/types/src/features/CognitiveCompare/hooks/useCompareLayout.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts +0 -22
- package/dist/types/src/features/CognitiveCompare/hooks/useComparePopups.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts +0 -32
- package/dist/types/src/features/CognitiveCompare/hooks/useDeviationNavigation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts +0 -27
- package/dist/types/src/features/CognitiveCompare/hooks/useLinesCalculator.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts +0 -5
- package/dist/types/src/features/CognitiveCompare/hooks/useResizeHandler.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts +0 -19
- package/dist/types/src/features/CognitiveCompare/hooks/useSectionRefs.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts +0 -35
- package/dist/types/src/features/CognitiveCompare/hooks/useSideBySide.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts +0 -16
- package/dist/types/src/features/CognitiveCompare/hooks/useStyles.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts +0 -11
- package/dist/types/src/features/CognitiveCompare/utils/buildComparisonRows.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts +0 -47
- package/dist/types/src/features/CognitiveDecisioning/CognitiveDecisioningWrapper.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts +0 -8
- package/dist/types/src/features/CognitiveDecisioning/FaqCitation/FaqCitation.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/DecisioningIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts +0 -7
- package/dist/types/src/features/CognitiveDecisioning/shared/Audacy/GapIcon.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts +0 -20
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptCoreComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts +0 -27
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts +0 -5
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +0 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts +0 -162
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveNonWebSearchReasoning.types.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/DataSelector.d.ts +0 -18
- package/dist/types/src/features/DataSelector/DataSelector.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/DataSelectionOptionsScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataPointsListInSelectedDataSetCollection.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RLEFDataSetCollectionsList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefDataTabsComponent.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/RlefHistoricalCopilotData.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts +0 -13
- package/dist/types/src/features/DataSelector/components/SavedDataSetListScreen.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts +0 -3
- package/dist/types/src/features/DataSelector/components/SelectedDataList.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts +0 -11
- package/dist/types/src/features/DataSelector/components/subcomponents/DataSetElement/DataSetElement.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts +0 -7
- package/dist/types/src/features/DataSelector/components/subcomponents/Pagination/Pagination.d.ts.map +0 -1
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts +0 -4
- package/dist/types/src/features/DataSelector/tables/ShowSelectedDataTable.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts +0 -21
- package/dist/types/src/features/DatagestMon/DatagestMon.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts +0 -19
- package/dist/types/src/features/DatagestMon/DynamicDataPreviiewer/DynamicDataPreviewer.d.ts.map +0 -1
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts +0 -7
- package/dist/types/src/features/DatagestMon/EpubPreviewer/EpubPreview.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts +0 -20
- package/dist/types/src/features/DualCitation/RuleBookCitationApiComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts +0 -31
- package/dist/types/src/features/DualCitation/RuleBookCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts +0 -36
- package/dist/types/src/features/DualCitation/SourceBQDataCompnent.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts +0 -43
- package/dist/types/src/features/EmailCitation/EmailCitation.d.ts.map +0 -1
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts +0 -10
- package/dist/types/src/features/EmailCitation/components/EmailMetaDropdown.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts +0 -15
- package/dist/types/src/features/ExcelCitation/ExcelCitations.d.ts.map +0 -1
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts +0 -2
- package/dist/types/src/features/ExcelCitation/utils/helper.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts +0 -15
- package/dist/types/src/features/GptWebCitation/GptWebCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts +0 -16
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/GptWebCitationImageFullScreenView.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts +0 -9
- package/dist/types/src/features/GptWebCitation/GptWebCitationMarkdown.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts +0 -14
- package/dist/types/src/features/GptWebCitation/GptWebCitationSkeleton.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/GptWebCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts +0 -4
- package/dist/types/src/features/GptWebCitation/WebCitationSampleResponse.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/types.d.ts +0 -405
- package/dist/types/src/features/GptWebCitation/types.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/citationData.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts +0 -10
- package/dist/types/src/features/GptWebCitation/utils/fixedHeight.utils.d.ts.map +0 -1
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts +0 -6
- package/dist/types/src/features/GptWebCitation/utils/styleOverrides.utils.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts +0 -28
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponent.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts +0 -7
- package/dist/types/src/features/IngestionStatus/IngestionStatusComponentTest.d.ts.map +0 -1
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts +0 -40
- package/dist/types/src/features/IngestionStatus/useIngestionStatus.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/CongnitiveDecisioningComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts +0 -10
- package/dist/types/src/features/InstantLearningCitation/HistorySkeleton.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts +0 -2
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitation.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts +0 -23
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts +0 -6
- package/dist/types/src/features/InstantLearningCitation/InstantLearningCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/OverrideTimeline.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts +0 -13
- package/dist/types/src/features/InstantLearningCitation/RuleConditionBlock.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts +0 -5
- package/dist/types/src/features/InstantLearningCitation/RuleContentComponent.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts +0 -12
- package/dist/types/src/features/InstantLearningCitation/SlashLoader.d.ts.map +0 -1
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts +0 -356
- package/dist/types/src/features/InstantLearningCitation/types/Types.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts +0 -19
- package/dist/types/src/features/ManageRemainders/AssigneeCalendarView.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts +0 -2
- package/dist/types/src/features/ManageRemainders/ManageRemainderUsage.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts +0 -49
- package/dist/types/src/features/ManageRemainders/ManageReminders.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts +0 -17
- package/dist/types/src/features/ManageRemainders/ReminderFrequencyAutocomplete.d.ts.map +0 -1
- package/dist/types/src/features/ManageRemainders/types/type.d.ts +0 -79
- package/dist/types/src/features/ManageRemainders/types/type.d.ts.map +0 -1
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts +0 -37
- package/dist/types/src/features/MarkdownWithImageCitation/MarkdownWithImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts +0 -27
- package/dist/types/src/features/PaginatedTable/PaginatedTable.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts +0 -19
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitation.d.ts.map +0 -1
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts +0 -2
- package/dist/types/src/features/PdfEditorCitation/PdfEditorCitationTest/PdfEditorCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +0 -16
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts +0 -33
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +0 -34
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +0 -94
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts +0 -41
- package/dist/types/src/features/PdfViewer/coordinateTransformer.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts +0 -23
- package/dist/types/src/features/PdfViewer/rotationManager.d.ts.map +0 -1
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts +0 -27
- package/dist/types/src/features/PdfViewer/usePdfHighlight.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts +0 -24
- package/dist/types/src/features/ProjectAccordion/ProjectAccordion.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts +0 -5
- package/dist/types/src/features/ProjectAccordion/_components/Markdown.d.ts.map +0 -1
- package/dist/types/src/features/ProjectAccordion/index.d.ts +0 -2
- package/dist/types/src/features/ProjectAccordion/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts +0 -56
- package/dist/types/src/features/PromptCitation/CitationDependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts +0 -326
- package/dist/types/src/features/PromptCitation/PromptCitation.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts +0 -4
- package/dist/types/src/features/PromptCitation/PromptCitationTest.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts +0 -30
- package/dist/types/src/features/PromptCitation/_components/CodeEditor.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts +0 -16
- package/dist/types/src/features/PromptCitation/_components/HighlightedCodeDetails.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts +0 -23
- package/dist/types/src/features/PromptCitation/_components/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts +0 -12
- package/dist/types/src/features/PromptCitation/_components/ThemeToggle.d.ts.map +0 -1
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts +0 -8
- package/dist/types/src/features/PromptCitation/_components/TooltipComponent.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts +0 -24
- package/dist/types/src/features/PromptemonBlockViewer/PromptemonBlockViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonBlockViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts +0 -43
- package/dist/types/src/features/PromptemonViewer/PromptemonViewer.d.ts.map +0 -1
- package/dist/types/src/features/PromptemonViewer/index.d.ts +0 -3
- package/dist/types/src/features/PromptemonViewer/index.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +0 -125
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonAccordion.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +0 -26
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts +0 -123
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts +0 -92
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasoningCitationPreview.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/ChatCitationTestForAiReasoning.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/FileCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/ImageCitation.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts +0 -12
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/citationRenderers/WebCitationWithImage.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiGapIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/AiReasoningIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/CloseIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/FullScreenIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ImageCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts +0 -7
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/ReasoningBulbIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +0 -6
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts +0 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/WebCitationIcon.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +0 -207
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts +0 -32
- package/dist/types/src/features/RequirementAiCitations/FileCitation/FileCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts +0 -33
- package/dist/types/src/features/RequirementAiCitations/ImageCitation/ImageCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts +0 -45
- package/dist/types/src/features/RequirementAiCitations/VideoCitation/VideoCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts +0 -48
- package/dist/types/src/features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts +0 -17
- package/dist/types/src/features/RequirementAiCitations/WebCitation/components/ImagePreviewDialog.d.ts.map +0 -1
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts +0 -4
- package/dist/types/src/features/RequirementAiCitations/components/CitationAIConfidenceDisplay.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts +0 -52
- package/dist/types/src/features/ReviewPanel/ReviewPanel.d.ts.map +0 -1
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts +0 -4
- package/dist/types/src/features/ReviewPanel/ReviewPanelTest/ReviewPanelTest.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts +0 -40
- package/dist/types/src/features/RulebookCitations/RuleBookCitation.types.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts +0 -18
- package/dist/types/src/features/RulebookCitations/RuleBookCitationApi.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts +0 -26
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapper.d.ts.map +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts +0 -1
- package/dist/types/src/features/RulebookCitations/RuleBookCitationWrapperTest.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts +0 -52
- package/dist/types/src/features/SPBAnalysisPanel/Cognitivereasoningpanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts +0 -71
- package/dist/types/src/features/SPBAnalysisPanel/DependencyGraph.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts +0 -11
- package/dist/types/src/features/SPBAnalysisPanel/Internaleditor.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts +0 -16
- package/dist/types/src/features/SPBAnalysisPanel/Markdownrenderer.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts +0 -124
- package/dist/types/src/features/SPBAnalysisPanel/Spbanalysispanel.d.ts.map +0 -1
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts +0 -10
- package/dist/types/src/features/SPBAnalysisPanel/index.d.ts.map +0 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +0 -57
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts +0 -85
- package/dist/types/src/features/SegmentReviewComponents/BoundaryCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts +0 -26
- package/dist/types/src/features/SegmentReviewComponents/CardWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/ChartBreakoutCircle.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts +0 -3
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIcon.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/CognitiveIntegrity.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/CognitiveScoreBadge.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts +0 -87
- package/dist/types/src/features/SegmentReviewComponents/LabelCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts +0 -57
- package/dist/types/src/features/SegmentReviewComponents/PageCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts +0 -28
- package/dist/types/src/features/SegmentReviewComponents/PageTypeChoiceCheck.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts +0 -37
- package/dist/types/src/features/SegmentReviewComponents/RevertCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts +0 -9
- package/dist/types/src/features/SegmentReviewComponents/RevertSuccessCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts +0 -7
- package/dist/types/src/features/SegmentReviewComponents/RevertSummaryNotice.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts +0 -17
- package/dist/types/src/features/SegmentReviewComponents/ReviewedBoundaryActions.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts +0 -33
- package/dist/types/src/features/SegmentReviewComponents/ReviewedCard.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts +0 -124
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewPdfWrapper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts +0 -13
- package/dist/types/src/features/SegmentReviewComponents/SegmentReviewRedirectionTest.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts +0 -51
- package/dist/types/src/features/SegmentReviewComponents/helper.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts +0 -23
- package/dist/types/src/features/SegmentReviewComponents/index.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts +0 -4
- package/dist/types/src/features/SegmentReviewComponents/reviewScore.d.ts.map +0 -1
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts +0 -243
- package/dist/types/src/features/SegmentReviewComponents/reviewStepAdapters.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts +0 -5
- package/dist/types/src/features/SplitterCitations/SplitterCitationsComponent.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts +0 -4
- package/dist/types/src/features/SplitterCitations/SplitterCitationsTest.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts +0 -17
- package/dist/types/src/features/SplitterCitations/icons/icons.d.ts.map +0 -1
- package/dist/types/src/features/SplitterCitations/types.d.ts +0 -78
- package/dist/types/src/features/SplitterCitations/types.d.ts.map +0 -1
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts +0 -14
- package/dist/types/src/features/TableCitation/TableCitationContent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts +0 -5
- package/dist/types/src/features/TextualGuidelines/TextualGudelinesTest.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts +0 -25
- package/dist/types/src/features/TextualGuidelines/TextualGuideLinesComponent.d.ts.map +0 -1
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts +0 -81
- package/dist/types/src/features/TextualGuidelines/TextualGuidelines.types.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDrive.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromGoogleDrive/SelectDataFromGoogleDriveButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystem.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromLocalSystem/SelectDataFromLocalSystemButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts +0 -14
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Dataset-collection.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/DatasetCollectionInfo.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts +0 -13
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/ProjectTaskSelect.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/Tooltip.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts +0 -21
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/ConfidenceScoreColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts +0 -33
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/FilterHandlerUtility.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts +0 -19
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/LabelColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts +0 -8
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TableColumnResetFilterButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts +0 -17
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dataset-collectionFilterColumnMenuComponents/TagColumnMenu.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts +0 -26
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/dropdown-with-radio.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts +0 -11
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/Components/input-label-with-info.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/RELFInterfaces.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEF.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/SelectDataFromRLEFButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts +0 -1108
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/collections.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts +0 -57
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/common.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts +0 -643
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/data.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts +0 -24
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/modelGroup.type.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts +0 -283
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/models.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts +0 -58
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/projects.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts +0 -20
- package/dist/types/src/features/UploadData/Components/SelectDataFromRLEF/interfaces/tags.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSet.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts +0 -3
- package/dist/types/src/features/UploadData/Components/SelectDataFromSavedDataSet/SelectDataFromSavedDataSetButton.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/NotFound.d.ts +0 -4
- package/dist/types/src/features/UploadData/NotFound.d.ts.map +0 -1
- package/dist/types/src/features/UploadData/main.d.ts +0 -10
- package/dist/types/src/features/UploadData/main.d.ts.map +0 -1
- package/dist/types/src/hooks/useDebounce.d.ts +0 -2
- package/dist/types/src/hooks/useDebounce.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts +0 -11
- package/dist/types/src/hooks/useOnDemandCitationFetch.d.ts.map +0 -1
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts +0 -4
- package/dist/types/src/hooks/useOnDemandCitationFetchTest.d.ts.map +0 -1
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts +0 -6
- package/dist/types/src/hooks/useTableHeadCellsCount.d.ts.map +0 -1
- package/dist/types/src/hooks/useURLQuery.d.ts +0 -10
- package/dist/types/src/hooks/useURLQuery.d.ts.map +0 -1
- package/dist/types/src/index.d.ts +0 -63
- package/dist/types/src/index.d.ts.map +0 -1
- package/dist/types/src/lib/styles/viewerLayout.d.ts +0 -6
- package/dist/types/src/lib/styles/viewerLayout.d.ts.map +0 -1
- package/dist/types/src/methodsToExpose.d.ts +0 -13
- package/dist/types/src/methodsToExpose.d.ts.map +0 -1
- package/dist/types/src/routes/ErrorBoundary.d.ts +0 -20
- package/dist/types/src/routes/ErrorBoundary.d.ts.map +0 -1
- package/dist/types/src/routes/Routes.d.ts +0 -2
- package/dist/types/src/routes/Routes.d.ts.map +0 -1
- package/dist/types/src/service/API.d.ts +0 -6
- package/dist/types/src/service/API.d.ts.map +0 -1
- package/dist/types/src/service/DataService.d.ts +0 -73
- package/dist/types/src/service/DataService.d.ts.map +0 -1
- package/dist/types/src/service/GoogleFilePickerService.d.ts +0 -61
- package/dist/types/src/service/GoogleFilePickerService.d.ts.map +0 -1
- package/dist/types/src/service/JavascriptFileService.d.ts +0 -4
- package/dist/types/src/service/JavascriptFileService.d.ts.map +0 -1
- package/dist/types/src/service/ModelService.d.ts +0 -68
- package/dist/types/src/service/ModelService.d.ts.map +0 -1
- package/dist/types/src/service/ProjectService.d.ts +0 -16
- package/dist/types/src/service/ProjectService.d.ts.map +0 -1
- package/dist/types/src/service/SavedDataSetService.d.ts +0 -22
- package/dist/types/src/service/SavedDataSetService.d.ts.map +0 -1
- package/dist/types/src/service/apicache.service.d.ts +0 -43
- package/dist/types/src/service/apicache.service.d.ts.map +0 -1
- package/dist/types/src/service/constants.d.ts +0 -3
- package/dist/types/src/service/constants.d.ts.map +0 -1
- package/dist/types/src/service/envHelperService.d.ts +0 -5
- package/dist/types/src/service/envHelperService.d.ts.map +0 -1
- package/dist/types/src/service/onDemandApi.d.ts +0 -27
- package/dist/types/src/service/onDemandApi.d.ts.map +0 -1
- package/dist/types/src/service/variableHelperService.d.ts +0 -6
- package/dist/types/src/service/variableHelperService.d.ts.map +0 -1
- package/dist/types/src/theme.d.ts +0 -4
- package/dist/types/src/theme.d.ts.map +0 -1
- package/dist/types/src/types/CodeCitationTypes.d.ts +0 -46
- package/dist/types/src/types/CodeCitationTypes.d.ts.map +0 -1
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts +0 -23
- package/dist/types/src/types/GoogleFilePicker/GoogleFilePickerCallbackFunctionType.d.ts.map +0 -1
- package/dist/types/src/types/epubItems.d.ts +0 -23
- package/dist/types/src/types/epubItems.d.ts.map +0 -1
- package/dist/types/src/types/onDemandApi.types.d.ts +0 -63
- package/dist/types/src/types/onDemandApi.types.d.ts.map +0 -1
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts +0 -70
- package/dist/types/src/types/useOnDemandCitationFetch.types.d.ts.map +0 -1
- package/dist/types/src/userProvidedConfig.d.ts +0 -8
- package/dist/types/src/userProvidedConfig.d.ts.map +0 -1
- package/dist/types/src/utils/CustomSkeleton.d.ts +0 -2
- package/dist/types/src/utils/CustomSkeleton.d.ts.map +0 -1
- package/dist/types/src/utils/SkeletonLoader.d.ts +0 -3
- package/dist/types/src/utils/SkeletonLoader.d.ts.map +0 -1
- package/dist/types/src/utils/api.d.ts +0 -2
- package/dist/types/src/utils/api.d.ts.map +0 -1
- package/dist/types/src/utils/codeCitations.utils.d.ts +0 -9
- package/dist/types/src/utils/codeCitations.utils.d.ts.map +0 -1
- package/dist/types/src/utils/colors.d.ts +0 -5
- package/dist/types/src/utils/colors.d.ts.map +0 -1
- package/dist/types/src/utils/date.d.ts +0 -1
- package/dist/types/src/utils/date.d.ts.map +0 -1
- package/dist/types/src/utils/helperFunctions.d.ts +0 -6
- package/dist/types/src/utils/helperFunctions.d.ts.map +0 -1
- package/dist/types/src/utils/regexHelperService.d.ts +0 -9
- package/dist/types/src/utils/regexHelperService.d.ts.map +0 -1
- package/dist/types/src/utils/sanitizeHtml.d.ts +0 -5
- package/dist/types/src/utils/sanitizeHtml.d.ts.map +0 -1
- package/dist/types/src/utils/themeManager.d.ts +0 -13
- package/dist/types/src/utils/themeManager.d.ts.map +0 -1
- package/dist/types/src/utils/urlQueryParamService.d.ts +0 -2
- package/dist/types/src/utils/urlQueryParamService.d.ts.map +0 -1
- package/dist/types/src/utils/variableHelperService.d.ts +0 -7
- package/dist/types/src/utils/variableHelperService.d.ts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useState as i,useRef as n,useMemo as o,useEffect as r}from"react";import{highlightTermsFunc as l}from"../utils/highlight.js";import{sanitizeHtml as s}from"../../../utils/sanitizeHtml.js";import"./BookDetailsCard.css.js";const a={container:{width:"100%"},sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},detailsContainer:{marginBottom:"24px",fontSize:"14px",fontWeight:400,color:"#64748B",display:"flex",flexDirection:"column",gap:"4px",paddingLeft:"12px"},detailsContainerItem:{margin:"4px 0"},boldText:{fontWeight:"bold"},categoriesContainer:{marginBottom:"24px"},categoriesList:{display:"flex",flexWrap:"wrap",gap:"12px",marginBottom:"8px",paddingLeft:"12px"},category:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:400,fontSize:"12px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},reviewsList:{paddingLeft:"12px"},reviewCard:{border:"1px solid #CBD5E1",borderRadius:"6px",padding:"16px",marginBottom:"12px",backgroundColor:"#F8FAFC"},reviewText:{fontSize:"14px",fontStyle:"italic",fontWeight:400,color:"#475569",marginBottom:"8px"},reviewSource:{fontSize:"10px",color:"#475569",fontWeight:600}},d=({data:d,highlightTerms:c,onHighlightMatch:g,highlightEnabled:p,citationType:h,citationSubTitle:m})=>{const[u,b]=i(!1),[x,y]=i(!1),C=n(null),f=c?.map(e=>e.split(",")).flat()??[],T=o(()=>u?d.subjectCategories||[]:(d.subjectCategories||[]).slice(0,10),[u,d.subjectCategories]);return r(()=>{if(!c?.length||!p)return;const e="genre_details"==m?f.map(e=>e.toLowerCase()):c.map(e=>e.toLowerCase()),t=t=>t&&e.some(e=>t.toLowerCase().includes(e)),i=[d.isbn,d.isbn10,d.imprint,d.publisher,d.publishingDate,d.age].some(t),n=(d.subjectCategories??[]).some(t);console.log("categoriesMatch",n);const o=(d.reviews??[]).some(e=>t(e.replace(/<[^>]+>/g,""))),r=i||n||o;g?.(r),r&&(n&&!u&&b(!0),o&&!x&&y(!0))},[c,d]),e("div",{ref:C,style:a.container,className:"book-details-container",children:[t("p",{style:a.sectionTitle,className:"book-details-section-title",children:"Product Details"}),e("div",{style:a.detailsContainer,className:"book-details-details-container",children:[e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"ISBN:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.isbn??"NA",c))}}):d.isbn??"NA"]}),e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"ISBN 10:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.isbn10??"NA",c))}}):d.isbn10??"NA"]}),e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"Imprint:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.imprint??"NA",c))}}):d.imprint??"NA"]}),e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"Publisher:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.publisher??"NA",c))}}):d.publisher??"NA"]}),e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"Publishing Date:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.publishingDate??"NA",c))}}):d.publishingDate??"NA"]}),e("p",{style:a.detailsContainerItem,children:[t("span",{style:a.boldText,children:"Age:"})," ",c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(d.age??"NA",c))}}):d.age??"NA"]})]}),e("div",{style:a.categoriesContainer,children:[t("p",{style:a.sectionTitle,className:"book-details-section-title",children:"Subject Categories"}),e("div",{style:a.categoriesList,className:"book-details-categories-list",children:[T.map((e,i)=>t("span",{style:a.category,className:"book-details-category",children:c&&c.length>0&&p?t("span",{dangerouslySetInnerHTML:{__html:s(l(e,f))}}):e},i)),d.subjectCategories&&d.subjectCategories.length>10&&t("button",{style:a.button,onClick:()=>b(!u),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:u?"View less":"View more"})]})]}),e("div",{style:a.reviewsContainer,children:[t("p",{style:a.sectionTitle,className:"book-details-section-title",children:"Book Marketing Collateral"}),e("div",{style:a.reviewsList,className:"book-details-reviews-list",children:[d.reviews&&d.reviews.length>0?(()=>{const e=d.reviews.filter(e=>e.replace(/<[^>]+>/g,"").trim().replace(/&[#A-Za-z0-9]+;/g,"").trim().length>0);return(x?e:e.slice(0,3)).map((e,i)=>t("div",{style:a.reviewCard,className:"book-details-review-card",children:t("div",{style:a.reviewText,dangerouslySetInnerHTML:{__html:c&&c.length>0&&p?s(l(e,c)):e}})},i))})():t("p",{style:a.reviewText,children:"No Book Marketing Collateral available for this book."}),d.reviews&&d.reviews.length>3&&t("button",{style:a.button,onClick:()=>y(e=>!e),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:x?"View less":"View more"})]})]})]})};export{d as default};
|
|
2
2
|
//# sourceMappingURL=BookDetailsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookDetailsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookDetailsCard.js","sources":["../../../../src/features/Bookemon/BookDetailsCard/BookDetailsCard.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useMemo, useRef, useState } from \"react\";\nimport { highlightTermsFunc } from \"../utils/highlight\";\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\nimport { BookemonProps, IBookDetails } from \"../types/citation.types\";\nimport \"./BookDetailsCard.css\";\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n container : {\n width: \"100%\",\n },\n sectionTitle: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"12px\",\n },\n detailsContainer: {\n marginBottom: \"24px\",\n fontSize: \"14px\",\n fontWeight: 400,\n color: \"#64748B\",\n display: \"flex\",\n flexDirection: \"column\",\n gap: \"4px\",\n paddingLeft : \"12px\"\n },\n detailsContainerItem : {\n margin : \"4px 0\",\n },\n boldText: {\n fontWeight: \"bold\",\n },\n categoriesContainer: {\n marginBottom: \"24px\",\n },\n categoriesList: {\n display: \"flex\",\n flexWrap: \"wrap\",\n gap: \"12px\",\n marginBottom: \"8px\",\n paddingLeft : \"12px\"\n },\n category: {\n backgroundColor: \"#ECEEF1\",\n padding: \"8px 12px\",\n fontWeight: 400,\n fontSize: \"12px\",\n borderRadius: \"4px\",\n color: \"#64748B\",\n maxWidth: \"100%\",\n wordBreak: \"break-word\",\n },\n button: {\n color: \"#5928ED\",\n fontSize: \"14px\",\n fontWeight: 600,\n background: \"none\",\n border: \"none\",\n cursor: \"pointer\",\n padding: 0,\n textDecoration: \"none\",\n paddingLeft : \"12px\",\n },\n\n reviewsList : {\n paddingLeft : \"12px\",\n },\n reviewCard: {\n border: \"1px solid #CBD5E1\",\n borderRadius: \"6px\",\n padding: \"16px\",\n marginBottom: \"12px\",\n backgroundColor: \"#F8FAFC\",\n },\n reviewText: {\n fontSize: \"14px\",\n fontStyle: \"italic\",\n fontWeight: 400,\n color: \"#475569\",\n marginBottom: \"8px\",\n },\n reviewSource: {\n fontSize: \"10px\",\n color: \"#475569\",\n fontWeight: 600,\n },\n};\ntype BookDetailsCardProps = {\n data: IBookDetails;\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n highlightEnabled: boolean\n citationType?: BookemonProps['citationType'];\n citationSubTitle?: BookemonProps['citationSubTitle'];\n};\nconst BookDetailsCard = ({ data, highlightTerms, onHighlightMatch, highlightEnabled, citationType, citationSubTitle }: BookDetailsCardProps) => {\n const [showAllCategories, setShowAllCategories] = useState(false);\n const [showAllReviews, setShowAllReviews] = useState(false);\n const containerRef = useRef<HTMLDivElement>(null);\n const highlightGenreArray = highlightTerms?.map(ele=>ele.split(',')).flat() ?? []\n\n const visibleCategories = useMemo(() => {\n return showAllCategories\n ? data.subjectCategories || []\n : (data.subjectCategories || []).slice(0, 10); \n}, [showAllCategories, data.subjectCategories]);\n\n useEffect(() => {\n if (!highlightTerms?.length || !highlightEnabled) return;\n \n const lowerTerms = citationSubTitle==\"genre_details\" ? highlightGenreArray.map(t => t.toLowerCase()) : highlightTerms.map(t => t.toLowerCase());\n \n const contains = (text?: string) =>\n text && lowerTerms.some(term => text.toLowerCase().includes(term));\n \n // ----- BASIC FIELDS -----\n const basicMatch = [\n data.isbn,\n data.isbn10,\n data.imprint,\n data.publisher,\n data.publishingDate,\n data.age,\n ].some(contains);\n \n // ----- SUBJECT CATEGORIES -----\n const categoriesMatch = (data.subjectCategories ?? []).some(contains);\n console.log('categoriesMatch', categoriesMatch)\n \n // ----- REVIEWS -----\n const reviewsMatch = (data.reviews ?? []).some((review: string) =>\n contains(review.replace(/<[^>]+>/g, \"\"))\n );\n \n const matched = basicMatch || categoriesMatch || reviewsMatch;\n \n onHighlightMatch?.(matched);\n \n if (!matched) return;\n \n // 🔓 Auto open hidden sections\n if (categoriesMatch && !showAllCategories) {\n setShowAllCategories(true);\n }\n \n if (reviewsMatch && !showAllReviews) {\n setShowAllReviews(true);\n }\n \n }, [highlightTerms, data]);\n \n \n\n return (\n <div ref={containerRef} style={defaultStyles.container} className=\"book-details-container\">\n {/* Product Details */}\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Product Details</p>\n <div style={defaultStyles.detailsContainer} className=\"book-details-details-container\">\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>ISBN:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.isbn ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.isbn ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>ISBN 10:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.isbn10 ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.isbn10 ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Imprint:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.imprint ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.imprint ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Publisher:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.publisher ?? \"NA\", highlightTerms)) }} />\n ) : (\n data.publisher ?? \"NA\"\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Publishing Date:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.publishingDate ?? 'NA', highlightTerms)) }} />\n ) : (\n data.publishingDate ?? 'NA'\n )}\n </p>\n <p style={defaultStyles.detailsContainerItem}>\n <span style={defaultStyles.boldText}>Age:</span>{\" \"}\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data.age ?? 'NA', highlightTerms)) }} />\n ) : (\n data.age ?? 'NA'\n )}\n </p>\n </div>\n {/* Subject Categories */}\n <div style={defaultStyles.categoriesContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Subject Categories</p>\n <div style={defaultStyles.categoriesList} className=\"book-details-categories-list\">\n {visibleCategories.map((category:any, index:any) => (\n <span key={index} style={defaultStyles.category} className=\"book-details-category\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(category, highlightGenreArray)) }} />\n ) : (\n category\n )}\n </span>\n ))}\n\n {data.subjectCategories && data.subjectCategories.length > 10 && (\n <button\n style={defaultStyles.button}\n onClick={() => setShowAllCategories(!showAllCategories)}\n onMouseOver={(event) =>\n (event.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(event) =>\n (event.currentTarget.style.textDecoration = \"none\")\n }\n >\n {showAllCategories ? \"View less\" : \"View more\"}\n </button>\n )}\n </div>\n </div>\n {/* Reviews */}\n <div style={defaultStyles.reviewsContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-details-section-title\">Book Marketing Collateral</p>\n <div style={defaultStyles.reviewsList} className=\"book-details-reviews-list\">\n {data.reviews && data.reviews.length > 0 ? (\n (() => {\n // STEP 1: Filter out empty reviews\n const validReviews = data.reviews.filter((review:any) => {\n const text = review.replace(/<[^>]+>/g, \"\").trim();\n const decoded = text.replace(/&[#A-Za-z0-9]+;/g, \"\").trim();\n return decoded.length > 0;\n });\n\n // STEP 2: Slice AFTER filtering\n const reviewsToShow = showAllReviews\n ? validReviews\n : validReviews.slice(0, 3);\n\n return reviewsToShow.map((review:any, index:any) => (\n <div key={index} style={defaultStyles.reviewCard} className=\"book-details-review-card\">\n <div\n style={defaultStyles.reviewText}\n dangerouslySetInnerHTML={{\n __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled\n ? sanitizeHtml(highlightTermsFunc(review, highlightTerms))\n : review\n }}\n />\n </div>\n ));\n })()\n ) : (\n <p style={defaultStyles.reviewText}>\n No Book Marketing Collateral available for this book.\n </p>\n )}\n \n {data.reviews && data.reviews.length > 3 && (\n <button\n style={defaultStyles.button}\n onClick={() => setShowAllReviews((prev) => !prev)}\n onMouseOver={(event) =>\n (event.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(event) => (event.currentTarget.style.textDecoration = \"none\")}\n >\n {showAllReviews ? \"View less\" : \"View more\"}\n </button>\n )}\n </div>\n </div>\n </div>\n );\n};\n\nexport default BookDetailsCard;\n"],"names":["defaultStyles","container","width","sectionTitle","fontSize","fontWeight","color","marginBottom","detailsContainer","display","flexDirection","gap","paddingLeft","detailsContainerItem","margin","boldText","categoriesContainer","categoriesList","flexWrap","category","backgroundColor","padding","borderRadius","maxWidth","wordBreak","button","background","border","cursor","textDecoration","reviewsList","reviewCard","reviewText","fontStyle","reviewSource","BookDetailsCard","data","highlightTerms","onHighlightMatch","highlightEnabled","citationType","citationSubTitle","showAllCategories","setShowAllCategories","useState","showAllReviews","setShowAllReviews","containerRef","useRef","highlightGenreArray","map","ele","split","flat","visibleCategories","useMemo","subjectCategories","slice","useEffect","length","lowerTerms","t","toLowerCase","contains","text","some","term","includes","basicMatch","isbn","isbn10","imprint","publisher","publishingDate","age","categoriesMatch","console","log","reviewsMatch","reviews","review","replace","matched","jsxs","ref","style","className","children","jsx","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc","index","onClick","onMouseOver","event","currentTarget","onMouseOut","reviewsContainer","validReviews","filter","trim","prev"],"mappings":"qRAMA,MAAMA,EAAkD,CACtDC,UAAY,CACVC,MAAO,QAETC,aAAc,CACZC,SAAU,OACVC,WAAY,IACZC,MAAO,UACPC,aAAc,QAEhBC,iBAAkB,CAChBD,aAAc,OACdH,SAAU,OACVC,WAAY,IACZC,MAAO,UACPG,QAAS,OACTC,cAAe,SACfC,IAAK,MACLC,YAAc,QAEhBC,qBAAuB,CACrBC,OAAS,SAEXC,SAAU,CACRV,WAAY,QAEdW,oBAAqB,CACnBT,aAAc,QAEhBU,eAAgB,CACdR,QAAS,OACTS,SAAU,OACVP,IAAK,OACLJ,aAAc,MACdK,YAAc,QAEhBO,SAAU,CACRC,gBAAiB,UACjBC,QAAS,WACThB,WAAY,IACZD,SAAU,OACVkB,aAAc,MACdhB,MAAO,UACPiB,SAAU,OACVC,UAAW,cAEbC,OAAQ,CACNnB,MAAO,UACPF,SAAU,OACVC,WAAY,IACZqB,WAAY,OACZC,OAAQ,OACRC,OAAQ,UACRP,QAAS,EACTQ,eAAgB,OAChBjB,YAAc,QAGhBkB,YAAc,CACZlB,YAAc,QAEhBmB,WAAY,CACVJ,OAAQ,oBACRL,aAAc,MACdD,QAAS,OACTd,aAAc,OACda,gBAAiB,WAEnBY,WAAY,CACV5B,SAAU,OACV6B,UAAW,SACX5B,WAAY,IACZC,MAAO,UACPC,aAAc,OAEhB2B,aAAc,CACZ9B,SAAU,OACVE,MAAO,UACPD,WAAY,MAWV8B,EAAkB,EAAGC,OAAMC,iBAAgBC,mBAAkBC,mBAAkBC,eAAcC,uBACjG,MAAOC,EAAmBC,GAAwBC,GAAS,IACpD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C,SAAW3C,EAAK2C,QAAQpB,OAAS,QAGnC,MAAMyC,EAAehE,EAAK2C,QAAQsB,OAAQrB,GAC3BA,EAAOC,QAAQ,WAAY,IAAIqB,OACvBrB,QAAQ,mBAAoB,IAAIqB,OACtC3C,OAAS,GAQnB,OAJed,EAClBuD,EACAA,EAAa3C,MAAM,EAAG,IAELP,IAAI,CAAC8B,EAAYa,IACnCL,EAAA,MAAA,CAAgBH,MAAOrF,EAAc+B,WAAYuD,UAAU,2BAC1DC,SAAAC,EAAC,MAAA,CACCH,MAAOrF,EAAcgC,WACrByD,wBAAyB,CACvBC,OAAQrD,GAAkBA,EAAesB,OAAS,GAAKpB,EACnDoD,EAAaC,EAAmBZ,EAAQ3C,IACxC2C,MANAa,QAadL,EAAC,KAAEH,MAAOrF,EAAcgC,WAAYuD,SAEpC,0DAGFnD,EAAK2C,SAAW3C,EAAK2C,QAAQpB,OAAS,GACtC6B,EAAC,SAAA,CACCH,MAAOrF,EAAcyB,OACrBqE,QAAS,IAAMhD,EAAmByD,IAAUA,GAC5CR,YAAcC,GACXA,EAAMC,cAAcZ,MAAMxD,eAAiB,YAE9CqE,WAAaF,GAAWA,EAAMC,cAAcZ,MAAMxD,eAAiB,OAElE0D,WAAiB,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";e(".BookElementsCard_book-elements-container__bsopV{box-sizing:border-box;width:100%}.BookElementsCard_book-elements-characters-grid__0Em1u{width:100%}.BookElementsCard_book-elements-geo-wrapper__JJyAl{display:flex;flex-wrap:wrap;row-gap:8px}@media (max-width:1024px){.BookElementsCard_book-elements-characters-grid__0Em1u{gap:12px!important}}@media (max-width:768px){.BookElementsCard_book-elements-quote-card__klTo8{padding:14px!important}.BookElementsCard_book-elements-quote-text__Fo63S,.BookElementsCard_book-elements-section-title__hPnIK{font-size:13px!important}.BookElementsCard_book-elements-character-card__fm9lL{padding:14px!important}.BookElementsCard_book-elements-char-name__1Thhg{font-size:15px!important}.BookElementsCard_book-elements-char-desc__Z-pOa{font-size:13px!important}.BookElementsCard_book-elements-characters-grid__0Em1u{grid-template-columns:1fr 1fr!important}}@media (max-width:480px){.BookElementsCard_book-elements-characters-grid__0Em1u{grid-template-columns:1fr!important}.BookElementsCard_book-elements-character-card__fm9lL,.BookElementsCard_book-elements-quote-card__klTo8{padding:12px!important}.BookElementsCard_book-elements-quote-text__Fo63S,.BookElementsCard_book-elements-section-title__hPnIK{font-size:12px!important}.BookElementsCard_book-elements-quote-meta__tlHOL{font-size:11px!important}.BookElementsCard_book-elements-geo-text__wbGIQ{font-size:13px!important}.BookElementsCard_book-elements-char-name__1Thhg{font-size:14px!important}.BookElementsCard_book-elements-char-desc__Z-pOa{font-size:12px!important}.BookElementsCard_book-elements-pagination__RjOfN{justify-content:center!important}}");
|
|
2
|
+
//# sourceMappingURL=BookElementsCard.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookElementsCard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e,__awaiter as t,__generator as n,__rest as o}from"tslib";import{jsxs as a,jsx as r,Fragment as i}from"react/jsx-runtime";import l from"@mui/material/Pagination";import s from"@mui/material/Skeleton";import{useRef as c,useEffect as d,useState as u}from"react";import p from"react-markdown";import h from"rehype-raw";import g from"remark-breaks";import{highlightTermsFunc as x}from"../utils/highlight.js";import{sanitizeHtml as f}from"../../../utils/sanitizeHtml.js";var m={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},quotesPadding:{paddingLeft:"12px"},quoteCard:{border:"1px solid #CBD5E1",borderRadius:"8px",padding:"16px",backgroundColor:"#F8FAFC",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",marginBottom:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},quoteText:{fontStyle:"italic",color:"#475569",fontSize:"14px",fontWeight:400,marginBottom:"12px"},quoteMeta:{color:"#475569",fontSize:"12px",fontWeight:400},quoteAuthor:{fontSize:"10px",fontWeight:600,color:"#475569",marginTop:"8px",marginBottom:"18px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},geoLocationsContainer:{marginTop:"24px",marginBottom:"24px"},geoText:{fontSize:"14px",fontWeight:500,cursor:"pointer",color:"#532BED"},geoDivider:{margin:"0 8px",color:"#475abb",backgroundColor:"#475abb",width:"1px",height:"18px",display:"inline-block"},geoLocationFlex:{display:"inline-flex",alignItems:"center",gap:"8px",marginBottom:"8px"},charactersContainer:{marginTop:"16px"},charactersGrid:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px",marginBottom:"16px",paddingLeft:"12px"},characterCard:{border:"1px solid #E5E7EB",borderRadius:"8px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",display:"flex",alignItems:"flex-start",gap:"12px",padding:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},avatar:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",fontSize:"14px",fontWeight:600,flexShrink:0},charName:{fontStyle:"normal",fontWeight:600,color:"#101827",fontSize:"16px"},charDesc:{fontStyle:"normal",fontWeight:400,fontSize:"14px",color:"#6B7280"},retryButton:{backgroundColor:"#5928EC",color:"#fff",padding:"6px 10px",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"500"}},y=function(y){var v,b,k;y.data;var C=y.updateQuotesToHighLight,T=y.handleFetchManuscriptElements,w=y.BookIsbn,S=y.title,L=y.highlightTerms,q=y.onHighlightMatch,N=y.defaultPages;y.citationType;var B=y.citationSubTitle,D=y.highlightEnabled,M=c(!0);d(function(){return function(){M.current=!1}},[]);var E=u([]),_=E[0],P=E[1],F=u(null!==(v=null==N?void 0:N.quotes)&&void 0!==v?v:1),H=F[0],I=F[1],W=u(!1),z=W[0],R=W[1],j=u(!0),G=j[0],K=j[1],Y=u(0),A=Y[0],Q=Y[1],O=u([]),J=O[0],U=O[1],V=u(null!==(b=null==N?void 0:N.characters)&&void 0!==b?b:1),X=V[0],Z=V[1],$=u(!1),ee=$[0],te=$[1],ne=u(!0),oe=ne[0],ae=ne[1],re=u(0),ie=re[0],le=re[1],se=u([]),ce=se[0],de=se[1],ue=u(null!==(k=null==N?void 0:N.locations)&&void 0!==k?k:1),pe=ue[0],he=ue[1],ge=u(!1),xe=ge[0],fe=ge[1],me=u(!0),ye=me[0],ve=me[1],be=u(0),ke=be[0],Ce=be[1],Te=u({list:"",index:-1,page:1}),we=Te[0],Se=Te[1],Le=c(!1),qe=c(null);d(function(){if((null==L?void 0:L.length)&&D){var e=L.map(function(e){return e.toLowerCase()}),t=function(t){return t&&e.some(function(e){return t.toLowerCase().includes(e)})},n=!1;"notable_quotes"==B&&_.forEach(function(e,o){!n&&t(e.text)&&(null==q||q(!0),n=!0)}),"location_details"==B&&ce.forEach(function(e,o){!n&&t(e.name)&&(null==q||q(!0),n=!0)}),"notable_characters"==B&&J.forEach(function(t,o){var a;!n&&((a=t.name)&&e[0]===a.toLowerCase())&&(null==q||q(!0),n=!0)})}},[L,_,ce,J,H,pe,X]),d(function(){N&&(N.quotes&&I(N.quotes),N.locations&&he(N.locations),N.characters&&Z(N.characters))},[N]),d(function(){Le.current=!1},[L]);var Ne=function(e){var o=e.endpoint,a=e.page,r=e.isbn,i=e.setData,l=e.setLoading,s=e.setHasMore,c=e.setTotalPage,d=e.title;return t(void 0,void 0,void 0,function(){var e,t,u,p;return n(this,function(n){switch(n.label){case 0:l(!0),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,T({endpoint:o,page:a,pageSize:10,isbn:r,title:d})];case 2:return e=n.sent(),M.current?(i((null==e?void 0:e.data)||[]),c((null===(t=null==e?void 0:e.pagination)||void 0===t?void 0:t.totalPages)||0),s(!(null===(u=null==e?void 0:e.pagination)||void 0===u?void 0:u.hasNext)&&!(null===(p=null==e?void 0:e.pagination)||void 0===p?void 0:p.hasPrevious)),[3,4]):[2];case 3:return M.current&&l(!1),[7];case 4:return[2]}})})};return d(function(){Ne({endpoint:"notable-quotes",page:H,isbn:w,setData:P,setLoading:R,setHasMore:K,setTotalPage:Q,title:S})},[H]),d(function(){Ne({endpoint:"notable-characters",page:X,isbn:w,setData:U,setLoading:te,setHasMore:ae,setTotalPage:le,title:S})},[X]),d(function(){Ne({endpoint:"geo-locations",page:pe,isbn:w,setData:de,setLoading:fe,setHasMore:ve,setTotalPage:Ce,title:S})},[pe]),a("div",e({ref:qe,className:"book-elements-container"},{children:[a("div",e({style:{marginBottom:"24px"}},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Notable Quotes"})),a("div",e({style:m.quotesPadding},{children:[z?r("div",e({style:{display:"flex",flexDirection:"column",rowGap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(t){return a("div",e({className:"book-elements-quote-card",style:m.quoteCard},{children:[r(s,{variant:"text",width:"60%",height:28}),r(s,{variant:"text",width:"40%",height:20}),r(s,{variant:"text",width:"25%",height:20}),r(s,{variant:"text",width:"30%",height:20})]}),t)})})):0===_.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic"}},{children:["No notable quotes found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"notable-quotes",page:H,isbn:w,setData:P,setLoading:R,setHasMore:K,setTotalPage:Q,title:S})}},{children:"Retry"}))]})):r(i,{children:_.map(function(o,i){var l="notable"===we.list&&we.page===H&&we.index===i;return a("div",e({className:"book-elements-quote-card",style:e(e({},m.quoteCard),{borderColor:l?"rgb(83, 43, 237)":"#CBD5E1"}),onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),Se({list:"notable",page:H,index:i}),(null===(t=null==o?void 0:o.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(o.text,"Notable Quotes",o.chunkIds,0)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[3,4];case 3:return e=n.sent(),console.error("Failed to highlight quote:",e),[3,4];case 4:return[2]}})})},"data-selected":"notable"===we.list&&we.page===H&&we.index===i?"true":void 0},{children:[L&&L.length>0&&"notable_quotes"==B&&D?r("p",{style:m.quoteText,className:"book-elements-quote-text",dangerouslySetInnerHTML:{__html:f(x(null==o?void 0:o.text,L))}}):r("p",e({style:m.quoteText,className:"book-elements-quote-text"},{children:null==o?void 0:o.text})),a("p",e({style:m.quoteMeta,className:"book-elements-quote-meta"},{children:[o.chapter,r("br",{}),o.page]})),a("p",e({style:m.quoteAuthor},{children:["— ",null==o?void 0:o.author]}))]}),i)})}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!G&&r(l,{disabled:z,count:A,page:H,onChange:function(e,t){return I(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),a("div",e({style:m.geoLocationsContainer},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Key Geo Locations"})),a("div",e({className:"book-elements-geo-wrapper",style:e(e({},m.quotesPadding),{marginBottom:"8px"})},{children:[xe?r("div",e({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(e){return r(s,{variant:"rectangular",width:100,height:20,style:{borderRadius:"8px"}},e)})})):0===ce.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key geo locations found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"geo-locations",page:pe,isbn:w,setData:de,setLoading:fe,setHasMore:ve,setTotalPage:Ce,title:S})}},{children:"Retry"}))]})):r(i,{children:ce.map(function(o,i){var l="geo_location"===we.list&&we.page===pe&&we.index===i;return a("span",e({"data-selected":"geo_location"===we.list&&we.page===pe&&we.index===i?"true":void 0,style:m.geoLocationFlex},{children:[r("span",e({className:"book-elements-geo-text",style:e(e({},m.geoText),{fontWeight:l?"700":"",textDecoration:l?"underline":""}),onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:return n.trys.push([0,3,,4]),Se({list:"geo_location",page:pe,index:i}),(null===(t=null==o?void 0:o.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(o.name,"Key Geo Locations",o.chunkIds,0)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[3,4];case 3:return e=n.sent(),console.error("Failed to highlight location:",e),[3,4];case 4:return[2]}})})},onMouseOver:function(e){return e.currentTarget.style.textDecoration="underline"},onMouseOut:function(e){return e.currentTarget.style.textDecoration="none"}},{children:L&&L.length>0&&"location_details"==B&&D?r("span",{dangerouslySetInnerHTML:{__html:f(x(null==o?void 0:o.name,L))}}):null==o?void 0:o.name})),i<ce.length-1&&r("span",{style:m.geoDivider})]}),i)})}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!ye&&r(l,{disabled:xe,count:ke,page:pe,onChange:function(e,t){return he(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]})),a("div",e({style:m.charactersContainer},{children:[r("p",e({style:m.sectionTitle,className:"book-elements-section-title"},{children:"Key Characters"})),ee?r("div",e({style:{display:"flex",flexWrap:"wrap",gap:"8px"}},{children:[1,2,3,4,5,6,7,8,9,10].map(function(t){return a("div",e({style:e(e({},m.characterCard),{flexBasis:"40%"})},{children:[r(s,{variant:"circular",style:e(e({},m.avatar),{flexShrink:0})}),a("div",e({style:{display:"flex",flexDirection:"column",flex:1}},{children:[r(s,{variant:"text",style:{flex:"1",flexShrink:0}}),r(s,{variant:"text",style:{flex:"1"}}),r(s,{variant:"text",style:{flex:"1"}}),r(s,{variant:"text",style:{flex:"1"}})]}))]}),t)})})):0===J.length?a("p",e({style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"}},{children:["No key characters found. ",r("button",e({style:m.retryButton,onClick:function(){return Ne({endpoint:"notable-characters",page:X,isbn:w,setData:U,setLoading:te,setHasMore:ae,setTotalPage:le,title:S})}},{children:"Retry"}))]})):r(i,{children:r("div",e({className:"book-elements-characters-grid",style:m.charactersGrid},{children:J.map(function(i,l){var s=e(e({},m.avatar),{backgroundColor:i.bg,color:i.color}),c="key_character"===we.list&&we.page===X&&we.index===l;return a("div",e({onMouseEnter:function(e){e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:function(e){e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},className:"book-elements-character-card",style:e(e({},m.characterCard),{borderColor:c?"rgb(83, 43, 237)":"#E5E7EB"}),onClick:function(){return t(void 0,void 0,void 0,function(){var e,t;return n(this,function(n){switch(n.label){case 0:Se({list:"key_character",page:X,index:l}),n.label=1;case 1:return n.trys.push([1,4,,5]),(null===(t=null==i?void 0:i.chunkIds)||void 0===t?void 0:t.length)>0?[4,C(i.name,"Key Characters",i.chunkIds,0)]:[3,3];case 2:n.sent(),n.label=3;case 3:return[3,5];case 4:return e=n.sent(),console.error("Failed to highlight character:",e),[3,5];case 5:return[2]}})})},"data-selected":"key_character"===we.list&&we.page===X&&we.index===l?"true":void 0},{children:[r("div",e({style:s},{children:i.initials})),a("div",e({style:{display:"flex",flexDirection:"column"}},{children:[r("p",e({className:"book-elements-char-name",style:e(e({},m.charName),{margin:0})},{children:L&&L.length>0&&"notable_characters"==B&&i.name.toLowerCase()===L[0].toLowerCase()&&D?r("span",{dangerouslySetInnerHTML:{__html:f(x(i.name,L))}}):i.name})),r("p",e({className:"book-elements-char-desc",style:e(e({},m.charDesc),{margin:0,marginTop:"4px"})},{children:r(p,e({remarkPlugins:[g],rehypePlugins:[h],components:{p:function(t){t.node;var n=o(t,["node"]);return r("p",e({style:{marginTop:0}},n))}}},{children:null==i?void 0:i.description}))}))]}))]}),l)})}))}),r("div",e({className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"}},{children:!oe&&r(l,{count:ie,disabled:ee,page:X,onChange:function(e,t){return Z(t)},shape:"rounded",style:{marginTop:"8px"}})}))]}))]}))};export{y as default};
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as a}from"react/jsx-runtime";import o from"@mui/material/Pagination";import n from"@mui/material/Skeleton";import{useRef as r,useEffect as i,useState as l}from"react";import s from"react-markdown";import c from"rehype-raw";import d from"remark-breaks";import{highlightTermsFunc as p}from"../utils/highlight.js";import{sanitizeHtml as g}from"../../../utils/sanitizeHtml.js";import"./BookElementsCard.css.js";const h={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},quotesPadding:{paddingLeft:"12px"},quoteCard:{border:"1px solid #CBD5E1",borderRadius:"8px",padding:"16px",backgroundColor:"#F8FAFC",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",marginBottom:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},quoteText:{fontStyle:"italic",color:"#475569",fontSize:"14px",fontWeight:400,marginBottom:"12px"},quoteMeta:{color:"#475569",fontSize:"12px",fontWeight:400},quoteAuthor:{fontSize:"10px",fontWeight:600,color:"#475569",marginTop:"8px",marginBottom:"18px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none",paddingLeft:"12px"},geoLocationsContainer:{marginTop:"24px",marginBottom:"24px"},geoText:{fontSize:"14px",fontWeight:500,cursor:"pointer",color:"#532BED"},geoDivider:{margin:"0 8px",color:"#475abb",backgroundColor:"#475abb",width:"1px",height:"18px",display:"inline-block"},geoLocationFlex:{display:"inline-flex",alignItems:"center",gap:"8px",marginBottom:"8px"},charactersContainer:{marginTop:"16px"},charactersGrid:{display:"grid",gridTemplateColumns:"repeat(2, 1fr)",gap:"16px",marginBottom:"16px",paddingLeft:"12px"},characterCard:{border:"1px solid #E5E7EB",borderRadius:"8px",backgroundColor:"#FFFFFF",boxShadow:"0 1px 2px rgba(0,0,0,0.05)",display:"flex",alignItems:"flex-start",gap:"12px",padding:"16px",cursor:"pointer",transition:"transform 0.2s ease, box-shadow 0.2s ease"},avatar:{width:"32px",height:"32px",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"9999px",fontSize:"14px",fontWeight:600,flexShrink:0},charName:{fontStyle:"normal",fontWeight:600,color:"#101827",fontSize:"16px"},charDesc:{fontStyle:"normal",fontWeight:400,fontSize:"14px",color:"#6B7280"},retryButton:{backgroundColor:"#5928EC",color:"#fff",padding:"6px 10px",border:"none",borderRadius:"6px",cursor:"pointer",fontSize:"12px",fontWeight:"500"}},x=({data:x,updateQuotesToHighLight:m,handleFetchManuscriptElements:u,BookIsbn:y,title:f,highlightTerms:b,onHighlightMatch:k,defaultPages:v,citationType:C,citationSubTitle:T,highlightEnabled:w})=>{const S=r(!0);i(()=>()=>{S.current=!1},[]);const[L,q]=l([]),[N,B]=l(v?.quotes??1),[D,M]=l(!1),[E,_]=l(!0),[P,F]=l(0),[H,I]=l([]),[W,z]=l(v?.characters??1),[j,R]=l(!1),[G,K]=l(!0),[Y,A]=l(0),[Q,O]=l([]),[J,U]=l(v?.locations??1),[V,X]=l(!1),[Z,$]=l(!0),[ee,te]=l(0),[ae,oe]=l({list:"",index:-1,page:1}),ne=r(!1),re=r(null);i(()=>{if(!b?.length||!w)return;const e=b.map(e=>e.toLowerCase()),t=t=>t&&e.some(e=>t.toLowerCase().includes(e));let a=!1;"notable_quotes"==T&&L.forEach((e,o)=>{!a&&t(e.text)&&(k?.(!0),a=!0)}),"location_details"==T&&Q.forEach((e,o)=>{!a&&t(e.name)&&(k?.(!0),a=!0)}),"notable_characters"==T&&H.forEach((t,o)=>{var n;!a&&((n=t.name)&&e[0]===n.toLowerCase())&&(k?.(!0),a=!0)})},[b,L,Q,H,N,J,W]),i(()=>{v&&(v.quotes&&B(v.quotes),v.locations&&U(v.locations),v.characters&&z(v.characters))},[v]),i(()=>{ne.current=!1},[b]);const ie=async({endpoint:e,page:t,isbn:a,setData:o,setLoading:n,setHasMore:r,setTotalPage:i,title:l})=>{n(!0);try{const n=await u({endpoint:e,page:t,pageSize:10,isbn:a,title:l});if(!S.current)return;o(n?.data||[]),i(n?.pagination?.totalPages||0),r(!n?.pagination?.hasNext&&!n?.pagination?.hasPrevious)}finally{S.current&&n(!1)}};return i(()=>{ie({endpoint:"notable-quotes",page:N,isbn:y,setData:q,setLoading:M,setHasMore:_,setTotalPage:F,title:f})},[N]),i(()=>{ie({endpoint:"notable-characters",page:W,isbn:y,setData:I,setLoading:R,setHasMore:K,setTotalPage:A,title:f})},[W]),i(()=>{ie({endpoint:"geo-locations",page:J,isbn:y,setData:O,setLoading:X,setHasMore:$,setTotalPage:te,title:f})},[J]),e("div",{ref:re,className:"book-elements-container",children:[e("div",{style:{marginBottom:"24px"},children:[t("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Notable Quotes"}),e("div",{style:h.quotesPadding,children:[D?t("div",{style:{display:"flex",flexDirection:"column",rowGap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(a=>e("div",{className:"book-elements-quote-card",style:h.quoteCard,children:[t(n,{variant:"text",width:"60%",height:28}),t(n,{variant:"text",width:"40%",height:20}),t(n,{variant:"text",width:"25%",height:20}),t(n,{variant:"text",width:"30%",height:20})]},a))}):0===L.length?e("p",{style:{color:"#6B7280",fontStyle:"italic"},children:["No notable quotes found. ",t("button",{style:h.retryButton,onClick:()=>ie({endpoint:"notable-quotes",page:N,isbn:y,setData:q,setLoading:M,setHasMore:_,setTotalPage:F,title:f}),children:"Retry"})]}):t(a,{children:L.map((a,o)=>{const n="notable"===ae.list&&ae.page===N&&ae.index===o;return e("div",{className:"book-elements-quote-card",style:{...h.quoteCard,borderColor:n?"rgb(83, 43, 237)":"#CBD5E1"},onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},onClick:async()=>{try{oe({list:"notable",page:N,index:o}),a?.chunkIds?.length>0&&await m(a.text,"Notable Quotes",a.chunkIds,0)}catch(e){console.error("Failed to highlight quote:",e)}},"data-selected":"notable"===ae.list&&ae.page===N&&ae.index===o?"true":void 0,children:[b&&b.length>0&&"notable_quotes"==T&&w?t("p",{style:h.quoteText,className:"book-elements-quote-text",dangerouslySetInnerHTML:{__html:g(p(a?.text,b))}}):t("p",{style:h.quoteText,className:"book-elements-quote-text",children:a?.text}),e("p",{style:h.quoteMeta,className:"book-elements-quote-meta",children:[a.chapter,t("br",{}),a.page]}),e("p",{style:h.quoteAuthor,children:["— ",a?.author]})]},o)})}),t("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!E&&t(o,{disabled:D,count:P,page:N,onChange:(e,t)=>B(t),shape:"rounded",style:{marginTop:"8px"}})})]})]}),e("div",{style:h.geoLocationsContainer,children:[t("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Key Geo Locations"}),e("div",{className:"book-elements-geo-wrapper",style:{...h.quotesPadding,marginBottom:"8px"},children:[V?t("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(e=>t(n,{variant:"rectangular",width:100,height:20,style:{borderRadius:"8px"}},e))}):0===Q.length?e("p",{style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"},children:["No key geo locations found. ",t("button",{style:h.retryButton,onClick:()=>ie({endpoint:"geo-locations",page:J,isbn:y,setData:O,setLoading:X,setHasMore:$,setTotalPage:te,title:f}),children:"Retry"})]}):t(a,{children:Q.map((a,o)=>{const n="geo_location"===ae.list&&ae.page===J&&ae.index===o;return e("span",{"data-selected":"geo_location"===ae.list&&ae.page===J&&ae.index===o?"true":void 0,style:h.geoLocationFlex,children:[t("span",{className:"book-elements-geo-text",style:{...h.geoText,fontWeight:n?"700":"",textDecoration:n?"underline":""},onClick:async()=>{try{oe({list:"geo_location",page:J,index:o}),a?.chunkIds?.length>0&&await m(a.name,"Key Geo Locations",a.chunkIds,0)}catch(e){console.error("Failed to highlight location:",e)}},onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:b&&b.length>0&&"location_details"==T&&w?t("span",{dangerouslySetInnerHTML:{__html:g(p(a?.name,b))}}):a?.name}),o<Q.length-1&&t("span",{style:h.geoDivider})]},o)})}),t("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!Z&&t(o,{disabled:V,count:ee,page:J,onChange:(e,t)=>U(t),shape:"rounded",style:{marginTop:"8px"}})})]})]}),e("div",{style:h.charactersContainer,children:[t("p",{style:h.sectionTitle,className:"book-elements-section-title",children:"Key Characters"}),j?t("div",{style:{display:"flex",flexWrap:"wrap",gap:"8px"},children:[1,2,3,4,5,6,7,8,9,10].map(a=>e("div",{style:{...h.characterCard,flexBasis:"40%"},children:[t(n,{variant:"circular",style:{...h.avatar,flexShrink:0}}),e("div",{style:{display:"flex",flexDirection:"column",flex:1},children:[t(n,{variant:"text",style:{flex:"1",flexShrink:0}}),t(n,{variant:"text",style:{flex:"1"}}),t(n,{variant:"text",style:{flex:"1"}}),t(n,{variant:"text",style:{flex:"1"}})]})]},a))}):0===H.length?e("p",{style:{color:"#6B7280",fontStyle:"italic",paddingLeft:"12px"},children:["No key characters found. ",t("button",{style:h.retryButton,onClick:()=>ie({endpoint:"notable-characters",page:W,isbn:y,setData:I,setLoading:R,setHasMore:K,setTotalPage:A,title:f}),children:"Retry"})]}):t(a,{children:t("div",{className:"book-elements-characters-grid",style:h.charactersGrid,children:H.map((a,o)=>{const n={...h.avatar,backgroundColor:a.bg,color:a.color},r="key_character"===ae.list&&ae.page===W&&ae.index===o;return e("div",{onMouseEnter:e=>{e.currentTarget.style.transform="translateY(-4px)",e.currentTarget.style.boxShadow="0 4px 12px rgba(0, 0, 0, 0.15)"},onMouseLeave:e=>{e.currentTarget.style.transform="translateY(0)",e.currentTarget.style.boxShadow="0 1px 4px rgba(0, 0, 0, 0.1)"},className:"book-elements-character-card",style:{...h.characterCard,borderColor:r?"rgb(83, 43, 237)":"#E5E7EB"},onClick:async()=>{oe({list:"key_character",page:W,index:o});try{a?.chunkIds?.length>0&&await m(a.name,"Key Characters",a.chunkIds,0)}catch(e){console.error("Failed to highlight character:",e)}},"data-selected":"key_character"===ae.list&&ae.page===W&&ae.index===o?"true":void 0,children:[t("div",{style:n,children:a.initials}),e("div",{style:{display:"flex",flexDirection:"column"},children:[t("p",{className:"book-elements-char-name",style:{...h.charName,margin:0},children:b&&b.length>0&&"notable_characters"==T&&a.name.toLowerCase()===b[0].toLowerCase()&&w?t("span",{dangerouslySetInnerHTML:{__html:g(p(a.name,b))}}):a.name}),t("p",{className:"book-elements-char-desc",style:{...h.charDesc,margin:0,marginTop:"4px"},children:t(s,{remarkPlugins:[d],rehypePlugins:[c],components:{p:({node:e,...a})=>t("p",{style:{marginTop:0},...a})},children:a?.description})})]})]},o)})})}),t("div",{className:"book-elements-pagination",style:{display:"flex",justifyContent:"flex-end",width:"100%"},children:!G&&t(o,{count:Y,disabled:j,page:W,onChange:(e,t)=>z(t),shape:"rounded",style:{marginTop:"8px"}})})]})]})};export{x as default};
|
|
2
2
|
//# sourceMappingURL=BookElementsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookElementsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookElementsCard.js","sources":["../../../../src/features/Bookemon/BookElementsCard/BookElementsCard.tsx"],"sourcesContent":["// import { Pagination, Skeleton, } from \"@mui/lab\";\nimport Pagination from '@mui/material/Pagination';\nimport Skeleton from '@mui/material/Skeleton';\nimport React, { CSSProperties, useEffect, useMemo, useRef, useState } from \"react\";\nimport ReactMarkdown from \"react-markdown\";\nimport rehypeRaw from \"rehype-raw\";\nimport remarkBreaks from 'remark-breaks'\nimport { highlightTermsFunc } from '../utils/highlight';\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\nimport \"./BookElementsCard.css\";\nimport { BookemonProps } from '../types/citation.types';\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n sectionTitle: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"12px\",\n },\n quotesPadding: {\n paddingLeft : \"12px\",\n },\n quoteCard: {\n border: \"1px solid #CBD5E1\",\n borderRadius: \"8px\",\n padding: \"16px\",\n backgroundColor: \"#F8FAFC\",\n boxShadow: \"0 1px 2px rgba(0,0,0,0.05)\",\n marginBottom: \"16px\",\n cursor: \"pointer\",\n transition: \"transform 0.2s ease, box-shadow 0.2s ease\",\n },\n quoteText: {\n fontStyle: \"italic\",\n color: \"#475569\",\n fontSize: \"14px\",\n fontWeight: 400,\n marginBottom: \"12px\",\n },\n quoteMeta: {\n color: \"#475569\",\n fontSize: \"12px\",\n fontWeight: 400,\n },\n quoteAuthor: {\n fontSize: \"10px\",\n fontWeight: 600,\n color: \"#475569\",\n marginTop: \"8px\",\n marginBottom: '18px'\n // textAlign: \"right\",\n },\n button: {\n color: \"#5928ED\",\n fontSize: \"14px\",\n fontWeight: 600,\n background: \"none\",\n border: \"none\",\n cursor: \"pointer\",\n padding: 0,\n textDecoration: \"none\",\n paddingLeft : \"12px\",\n },\n geoLocationsContainer: {\n marginTop: \"24px\",\n marginBottom: \"24px\",\n },\ngeoText: {\n fontSize: \"14px\",\n fontWeight: 500,\n cursor: \"pointer\",\n color: \"#532BED\",\n // backgroundImage: \"linear-gradient(115deg, #2546F0 -23.58%, #5928ED 74.92%)\",\n // backgroundClip: \"text\",\n // WebkitBackgroundClip: \"text\",\n // WebkitTextFillColor: \"transparent\",\n // background: \"var(--Gradient-Primary-100, linear-gradient(115deg, #2546F0 -23.58%, #5928ED 74.92%))\",\n},\n geoDivider: {\n margin: \"0 8px\",\n color: \"#475abb\",\n backgroundColor: \"#475abb\",\n width : \"1px\",\n height : \"18px\",\n display: \"inline-block\",\n },\n geoLocationFlex: {\n display: \"inline-flex\",\n alignItems: \"center\",\n gap: \"8px\",\n marginBottom: \"8px\",\n },\n charactersContainer: {\n marginTop: \"16px\",\n },\n charactersGrid: {\n display: \"grid\",\n gridTemplateColumns: \"repeat(2, 1fr)\",\n gap: \"16px\",\n marginBottom: \"16px\",\n paddingLeft : \"12px\",\n },\n characterCard: {\n border: \"1px solid #E5E7EB\",\n borderRadius: \"8px\",\n backgroundColor: \"#FFFFFF\",\n boxShadow: \"0 1px 2px rgba(0,0,0,0.05)\",\n display: \"flex\",\n alignItems: \"flex-start\",\n gap: \"12px\",\n padding: \"16px\",\n cursor: \"pointer\",\n transition: \"transform 0.2s ease, box-shadow 0.2s ease\",\n },\n avatar: {\n width: \"32px\",\n height: \"32px\",\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n borderRadius: \"9999px\",\n fontSize: \"14px\",\n fontWeight: 600,\n flexShrink: 0,\n },\n charName: {\n fontStyle: \"normal\",\n fontWeight: 600,\n color: \"#101827\",\n fontSize: \"16px\",\n },\n charDesc: {\n fontStyle: \"normal\",\n fontWeight: 400,\n fontSize: \"14px\",\n color: \"#6B7280\",\n },\n retryButton: {\n backgroundColor: '#5928EC',\n color: '#fff',\n padding: '6px 10px',\n border: 'none',\n borderRadius: '6px',\n cursor: 'pointer',\n fontSize: '12px',\n fontWeight: '500',\n }\n};\nexport interface IQuote {\n text: string;\n chapter: string;\n page: string;\n author: string;\n chunkIds : string[],\n}\n\nexport interface ICharacter {\n name: string;\n description: string;\n bg: string;\n color: string;\n initials?: string;\n chunkIds : string[],\n}\n\nexport interface geoLocationData {\n chunkIds : string[],\n name : string\n}\n\nexport interface IBookElementsData {\n notableQuotes: IQuote[];\n geoLocations: geoLocationData[];\n characters: ICharacter[];\n}\n\ninterface BookElementsCardProps {\n data: IBookElementsData;\n updateQuotesToHighLight: (textToHighLight: string,content:string, chunkIds:string[], currentIndex : number) => void;\n handleFetchManuscriptElements: ({\n endpoint,\n page,\n pageSize,\n isbn,\n title\n }: {\n endpoint: any;\n page: any;\n pageSize: number; // optional, default to 10\n isbn: any;\n title : string\n }) => Promise<any>;\n BookIsbn : string;\n title : string\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n defaultPages?: {\n quotes?: number;\n locations?: number;\n characters?: number;\n };\n citationType: BookemonProps['citationType'];\n citationSubTitle: BookemonProps['citationSubTitle'];\n highlightEnabled: boolean\n}\n\nconst BookElementsCard = ({\n data,\n updateQuotesToHighLight,\n handleFetchManuscriptElements,\n BookIsbn,\n title,\n highlightTerms,\n onHighlightMatch,\n defaultPages,\n citationType,\n citationSubTitle,\n highlightEnabled\n}: BookElementsCardProps) => {\n\n const isAliveRef = useRef(true);\n\n useEffect(() => {\n return () => {\n isAliveRef.current = false;\n };\n }, []);\n\n const pageSize = 10; // 10 items per page\n\n // const { notableQuotes = [], geoLocations = [], characters = [] } = data;\n const [quotes, setQuotes] = useState<any[]>([]);\n const [quotesPage, setQuotesPage] = useState(defaultPages?.quotes ?? 1);\n const [quotesLoading, setQuotesLoading] = useState(false);\n const [quotesHasMore, setQuotesHasMore] = useState(true);\n const [quotesTotalPages, setQuotesTotalPages] = useState(0);\n\n const [characters, setCharacters] = useState<any[]>([]);\n const [charactersPage, setCharactersPage] = useState(defaultPages?.characters ?? 1);\n const [charactersLoading, setCharactersLoading] = useState(false);\n const [charactersHasMore, setCharactersHasMore] = useState(true);\n const [charactersTotalPages, setCharactersTotalPages] = useState(0);\n\n\n const [locations, setLocations] = useState<any[]>([]);\n const [locationsPage, setLocationsPage] = useState(defaultPages?.locations ?? 1);\n const [locationsLoading, setLocationsLoading] = useState(false);\n const [locationsHasMore, setLocationsHasMore] = useState(true);\n const [locationsTotalPages, setLocationsTotalPages] = useState(0);\n\n const [selectedCard, setSelectedCard] = useState({ list: \"\", index: -1 , page: 1});\n\n const didCheckRef = useRef(false);\n const containerRef = useRef<HTMLDivElement>(null);\n\n useEffect(() => {\n if (!highlightTerms?.length || !highlightEnabled) return;\n \n const lowerTerms = highlightTerms.map(t => t.toLowerCase());\n \n const contains = (text?: string) =>\n text && lowerTerms.some(term => text.toLowerCase().includes(term));\n\n\n const charExactMatch = (text?: string) =>\n !!text && lowerTerms[0] === text.toLowerCase();\n \n let found = false;\n \n // 🔎 Check Quotes\n if(citationSubTitle == 'notable_quotes'){\n quotes.forEach((quote, index) => {\n if (!found && contains(quote.text)) {\n \n onHighlightMatch?.(true);\n found = true;\n }\n });\n }\n \n // 🔎 Check Locations\n if(citationSubTitle == 'location_details'){\n locations.forEach((loc, index) => {\n if (!found && contains(loc.name)) {\n \n onHighlightMatch?.(true);\n found = true;\n }\n });\n }\n \n // 🔎 Check Characters\n if(citationSubTitle == \"notable_characters\"){\n characters.forEach((char, index) => {\n if (\n !found &&\n (charExactMatch(char.name))\n ) {\n \n onHighlightMatch?.(true);\n found = true;\n }\n });\n }\n \n }, [\n highlightTerms,\n quotes,\n locations,\n characters,\n quotesPage,\n locationsPage,\n charactersPage\n ]);\n\n \n\n useEffect(() => {\n if (!defaultPages) return;\n \n if (defaultPages.quotes) {\n setQuotesPage(defaultPages.quotes);\n }\n \n if (defaultPages.locations) {\n setLocationsPage(defaultPages.locations);\n }\n \n if (defaultPages.characters) {\n setCharactersPage(defaultPages.characters);\n }\n \n }, [defaultPages]);\n \n\n useEffect(() => {\n didCheckRef.current = false;\n }, [highlightTerms]);\n\n const getManuscriptElementsData = async ({endpoint, page,isbn,setData,setLoading, setHasMore,setTotalPage,title} : {endpoint : any, page : any,isbn : any, setData : any, setLoading : any, setHasMore : any, setTotalPage : any, title : string}) => {\n setLoading(true);\n\n try {\n const newData = await handleFetchManuscriptElements({\n endpoint,\n page,\n pageSize,\n isbn,\n title\n });\n\n if (!isAliveRef.current) return;\n\n setData(newData?.data || []);\n setTotalPage(newData?.pagination?.totalPages || 0);\n setHasMore(\n !newData?.pagination?.hasNext &&\n !newData?.pagination?.hasPrevious\n );\n } finally {\n if (isAliveRef.current) {\n setLoading(false);\n }\n }\n};\n\n\n // fetch quotes for pagination\n useEffect(() => {\n // getManuscriptElementsData(\"notable-quotes\", quotesPage, setQuotes, setQuotesLoading, setQuotesHasMore);\n getManuscriptElementsData({\n endpoint: \"notable-quotes\",\n page: quotesPage,\n isbn: BookIsbn,\n setData: setQuotes,\n setLoading: setQuotesLoading,\n setHasMore: setQuotesHasMore,\n setTotalPage: setQuotesTotalPages,\n title : title,\n });\n }, [quotesPage]);\n\n // fetch character for pagination\n useEffect(() => {\n getManuscriptElementsData({\n endpoint: \"notable-characters\",\n page: charactersPage,\n isbn: BookIsbn,\n setData: setCharacters,\n setLoading: setCharactersLoading,\n setHasMore: setCharactersHasMore,\n setTotalPage: setCharactersTotalPages,\n title : title,\n })\n }, [charactersPage]);\n\n // fetch geo-location for pagination\n useEffect(() => {\n getManuscriptElementsData({\n endpoint: \"geo-locations\",\n page: locationsPage,\n isbn: BookIsbn,\n setData: setLocations,\n setLoading: setLocationsLoading,\n setHasMore: setLocationsHasMore,\n setTotalPage: setLocationsTotalPages,\n title : title,\n })\n }, [locationsPage]);\n\n\n\n return (\n <div ref={containerRef} className=\"book-elements-container\">\n {/* Notable Quotes */}\n <div style={{ marginBottom: \"24px\" }}>\n <p style={defaultStyles.sectionTitle} className=\"book-elements-section-title\">Notable Quotes</p>\n <div style={defaultStyles.quotesPadding}>\n {\n quotesLoading ? (\n <div style={{ display: \"flex\", flexDirection: \"column\", rowGap: \"8px\" }}>\n {[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map((item) => (\n <div className=\"book-elements-quote-card\" key={item} style={defaultStyles.quoteCard}>\n {/* Quote line */}\n <Skeleton variant=\"text\" width=\"60%\" height={28} />\n\n {/* Chapter and page info */}\n <Skeleton variant=\"text\" width=\"40%\" height={20} />\n <Skeleton variant=\"text\" width=\"25%\" height={20} />\n\n {/* Author */}\n <Skeleton variant=\"text\" width=\"30%\" height={20} />\n </div>\n ))}\n </div>\n ) : quotes.length === 0 ? (\n <p style={{ color: \"#6B7280\", fontStyle: \"italic\" }}>\n No notable quotes found. <button style={defaultStyles.retryButton} onClick={() => getManuscriptElementsData({\n endpoint: \"notable-quotes\",\n page: quotesPage,\n isbn: BookIsbn,\n setData: setQuotes,\n setLoading: setQuotesLoading,\n setHasMore: setQuotesHasMore,\n setTotalPage: setQuotesTotalPages,\n title : title,\n })}>Retry</button>\n </p>\n ) : <>\n {quotes.map((quote, index) => {\n const isSelected = selectedCard.list === \"notable\" && selectedCard.page === quotesPage && selectedCard.index === index;\n\n return (\n <div\n key={index}\n className=\"book-elements-quote-card\"\n style={{\n ...defaultStyles.quoteCard,\n borderColor : isSelected ? 'rgb(83, 43, 237)' : '#CBD5E1',\n }}\n onMouseEnter={(e) => {\n e.currentTarget.style.transform = \"translateY(-4px)\";\n e.currentTarget.style.boxShadow = \"0 4px 12px rgba(0, 0, 0, 0.15)\";\n }}\n onMouseLeave={(e) => {\n e.currentTarget.style.transform = \"translateY(0)\";\n e.currentTarget.style.boxShadow = \"0 1px 4px rgba(0, 0, 0, 0.1)\";\n }}\n onClick={async () => {\n try {\n setSelectedCard({ list: \"notable\", page : quotesPage, index })\n if ( quote?.chunkIds?.length > 0) {\n await updateQuotesToHighLight(quote.text, \"Notable Quotes\", quote.chunkIds, 0);\n }\n } catch (error) {\n console.error(\"Failed to highlight quote:\", error);\n }\n }}\n data-selected={\n selectedCard.list === \"notable\" &&\n selectedCard.page === quotesPage &&\n selectedCard.index === index\n ? \"true\"\n : undefined\n }\n >\n {highlightTerms && highlightTerms.length > 0 && citationSubTitle==\"notable_quotes\" && highlightEnabled ? (\n <p style={defaultStyles.quoteText} className=\"book-elements-quote-text\" dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(quote?.text, highlightTerms)) }} />\n ) : (\n <p style={defaultStyles.quoteText} className=\"book-elements-quote-text\">{quote?.text}</p>\n )}\n {/* <p style={defaultStyles.quoteMeta} className=\"book-elements-quote-meta\">\n {processTextWithHighlight(\n quote.chapter,\n highlightTerms\n )} <br /> {processTextWithHighlight(\n quote.page,\n highlightTerms\n )}\n </p> */}\n <p style={defaultStyles.quoteMeta} className=\"book-elements-quote-meta\">\n {quote.chapter} \n <br /> \n {quote.page}\n </p>\n <p style={defaultStyles.quoteAuthor}>— {quote?.author}</p>\n {/* <p style={defaultStyles.quoteAuthor}>— {processTextWithHighlight(\n quote?.author,\n highlightTerms\n )}</p> */}\n </div>\n )\n })}\n </>\n }\n <div className=\"book-elements-pagination\" style={{display : 'flex', justifyContent:'flex-end', width : '100%'}}>\n {!quotesHasMore && <Pagination\n disabled={quotesLoading}\n count={quotesTotalPages}\n page={quotesPage}\n onChange={(_, value) => setQuotesPage(value)}\n shape=\"rounded\"\n style={{marginTop: \"8px\",}}\n />}\n </div>\n \n </div>\n </div>\n {/* Key Geo Locations */}\n <div style={defaultStyles.geoLocationsContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-elements-section-title\">Key Geo Locations</p>\n <div className=\"book-elements-geo-wrapper\" style={{ ...defaultStyles.quotesPadding, marginBottom: \"8px\" }}>\n {\n locationsLoading ? (\n <div style={{ display: \"flex\", flexWrap: \"wrap\", gap: \"8px\" }}>\n {[1, 2, 3, 4, 5, 6,7,8,9,10].map((item) => (\n <Skeleton\n key={item}\n variant=\"rectangular\"\n width={100}\n height={20}\n style={{ borderRadius: \"8px\" }}\n />\n ))}\n </div>\n ) : locations.length === 0 ? (\n <p style={{ color: \"#6B7280\", fontStyle: \"italic\", paddingLeft: \"12px\" }}>\n No key geo locations found. <button style={defaultStyles.retryButton} onClick={() => getManuscriptElementsData({\n endpoint: \"geo-locations\",\n page: locationsPage,\n isbn: BookIsbn,\n setData: setLocations,\n setLoading: setLocationsLoading,\n setHasMore: setLocationsHasMore,\n setTotalPage: setLocationsTotalPages,\n title : title,\n })}>Retry</button>\n </p> \n ) : <>\n {locations.map((location, index) => {\n const isSelected = selectedCard.list === \"geo_location\" && selectedCard.page === locationsPage && selectedCard.index === index;\n return (\n <span data-selected={\n selectedCard.list === \"geo_location\" &&\n selectedCard.page === locationsPage &&\n selectedCard.index === index\n ? \"true\"\n : undefined\n } key={index} style={defaultStyles.geoLocationFlex}>\n <span\n className=\"book-elements-geo-text\"\n style={{\n ...defaultStyles.geoText,\n fontWeight: isSelected ? \"700\" : \"\",\n textDecoration : isSelected ? 'underline' : ''\n }}\n onClick={async () => {\n try {\n setSelectedCard({ list: \"geo_location\",page : locationsPage, index })\n if (location?.chunkIds?.length > 0) {\n await updateQuotesToHighLight(location.name, \"Key Geo Locations\", location.chunkIds, 0);\n }\n \n } catch (error) {\n console.error(\"Failed to highlight location:\", error);\n }\n }}\n onMouseOver={(e) =>\n (e.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(e) =>\n (e.currentTarget.style.textDecoration = \"none\")\n }\n >\n {highlightTerms && highlightTerms.length > 0 && citationSubTitle==\"location_details\" && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(location?.name, highlightTerms)) }} />\n ) : (\n location?.name\n )}\n </span>\n {index < locations.length - 1 && (\n <span style={defaultStyles.geoDivider}></span>\n )}\n </span>\n )\n })}\n </>\n }\n <div className=\"book-elements-pagination\" style={{display : 'flex', justifyContent:'flex-end', width : '100%'}}>\n {!locationsHasMore && <Pagination\n disabled={locationsLoading}\n count={locationsTotalPages}\n page={locationsPage}\n onChange={(_, value) => setLocationsPage(value)}\n shape=\"rounded\"\n style={{marginTop: \"8px\",}}\n />}\n </div>\n </div>\n </div>\n {/* Key Characters */}\n <div style={defaultStyles.charactersContainer}>\n <p style={defaultStyles.sectionTitle} className=\"book-elements-section-title\">Key Characters</p>\n {\n charactersLoading ? (\n <div style={{ display: \"flex\", flexWrap: \"wrap\", gap: \"8px\" }}>\n {[1, 2, 3, 4, 5, 6,7,8,9,10].map((item) => (\n <div style={{...defaultStyles.characterCard, flexBasis: '40%'}} key={item}>\n {/* Avatar Skeleton */}\n <Skeleton\n variant=\"circular\"\n style={{ ...defaultStyles.avatar, flexShrink: 0 }}\n\n />\n\n {/* Content Skeleton */}\n <div style={{ display: \"flex\", flexDirection: \"column\", flex: 1, }}>\n {/* Name Skeleton */}\n <Skeleton\n variant=\"text\"\n style={{ flex : '1',flexShrink: 0 }}\n />\n\n {/* Description Skeleton - Multiple lines */}\n <Skeleton variant=\"text\" style={{ flex : '1' }} />\n <Skeleton variant=\"text\" style={{ flex : '1' }} />\n <Skeleton variant=\"text\" style={{ flex : '1' }} />\n </div>\n </div>\n ))}\n </div>\n ) : characters.length === 0 ? (\n <p style={{ color: \"#6B7280\", fontStyle: \"italic\", paddingLeft: \"12px\" }}>\n No key characters found. <button style={defaultStyles.retryButton} onClick={() => getManuscriptElementsData({\n endpoint: \"notable-characters\",\n page: charactersPage,\n isbn: BookIsbn,\n setData: setCharacters,\n setLoading: setCharactersLoading,\n setHasMore: setCharactersHasMore,\n setTotalPage: setCharactersTotalPages,\n title : title,\n })}>Retry</button>\n </p> \n ) : <>\n <div className=\"book-elements-characters-grid\" style={defaultStyles.charactersGrid}>\n {characters.map((character, index) => {\n const avatarStyle = {\n ...defaultStyles.avatar,\n backgroundColor: character.bg,\n color: character.color,\n };\n const isSelected = selectedCard.list === \"key_character\" && selectedCard.page === charactersPage && selectedCard.index === index;\n\n return (\n <div\n key={index}\n onMouseEnter={(e) => {\n e.currentTarget.style.transform = \"translateY(-4px)\";\n e.currentTarget.style.boxShadow = \"0 4px 12px rgba(0, 0, 0, 0.15)\";}}\n onMouseLeave={(e) => {\n e.currentTarget.style.transform = \"translateY(0)\";\n e.currentTarget.style.boxShadow = \"0 1px 4px rgba(0, 0, 0, 0.1)\";}}\n className=\"book-elements-character-card\"\n style={{\n ...defaultStyles.characterCard,\n borderColor : isSelected ? 'rgb(83, 43, 237)' : '#E5E7EB'\n }}\n onClick={async () => {\n setSelectedCard({ list: \"key_character\",page : charactersPage, index })\n try {\n if (character?.chunkIds?.length > 0) {\n await updateQuotesToHighLight(character.name, \"Key Characters\", character.chunkIds, 0);\n }\n } catch (error) {\n console.error(\"Failed to highlight character:\", error);\n }\n }}\n data-selected={\n selectedCard.list === \"key_character\" &&\n selectedCard.page === charactersPage &&\n selectedCard.index === index\n ? \"true\"\n : undefined\n }\n >\n <div style={avatarStyle}>{character.initials}</div>\n\n <div style={{ display: \"flex\", flexDirection: \"column\" }}>\n <p className=\"book-elements-char-name\" style={{ ...defaultStyles.charName, margin: 0 }}>\n {highlightTerms && highlightTerms.length > 0 \n && citationSubTitle==\"notable_characters\" \n && character.name.toLowerCase() === highlightTerms[0].toLowerCase() && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(character.name, highlightTerms)) }} />\n ) : (\n character.name\n )}\n </p>\n <p\n className=\"book-elements-char-desc\"\n style={{\n ...defaultStyles.charDesc,\n margin: 0,\n marginTop: \"4px\",\n }}\n >\n {\n <ReactMarkdown\n remarkPlugins={[remarkBreaks]}\n rehypePlugins={[rehypeRaw as any]}\n components={{\n p: ({ node, ...props }) => (\n <p style={{ marginTop: 0 }} {...props} />\n )\n }}\n >\n {/* {processTextWithHighlight(\n character?.description,\n highlightTerms\n )} */}\n {character?.description}\n </ReactMarkdown>\n \n }\n </p>\n </div>\n </div>\n );\n })}\n </div>\n </>\n }\n <div className=\"book-elements-pagination\" style={{display : 'flex', justifyContent:'flex-end', width : '100%'}}>\n {!charactersHasMore && <Pagination\n count={charactersTotalPages}\n disabled={charactersLoading}\n page={charactersPage}\n onChange={(_, value) => setCharactersPage(value)}\n shape=\"rounded\"\n style={{marginTop: \"8px\",}}\n />}\n </div>\n {/* {characters.length > 6 && (\n <button\n style={defaultStyles.button}\n onClick={() => setShowAllCharacters(!showAllCharacters)}\n onMouseOver={(event) =>\n (event.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(event) =>\n (event.currentTarget.style.textDecoration = \"none\")\n }\n >\n {showAllCharacters ? \"View less\" : \"View more\"}\n </button>\n )} */}\n </div>\n </div>\n );\n};\n\nexport default BookElementsCard;\n"],"names":["defaultStyles","sectionTitle","fontSize","fontWeight","color","marginBottom","quotesPadding","paddingLeft","quoteCard","border","borderRadius","padding","backgroundColor","boxShadow","cursor","transition","quoteText","fontStyle","quoteMeta","quoteAuthor","marginTop","button","background","textDecoration","geoLocationsContainer","geoText","geoDivider","margin","width","height","display","geoLocationFlex","alignItems","gap","charactersContainer","charactersGrid","gridTemplateColumns","characterCard","avatar","justifyContent","flexShrink","charName","charDesc","retryButton","BookElementsCard","data","updateQuotesToHighLight","handleFetchManuscriptElements","BookIsbn","title","highlightTerms","onHighlightMatch","defaultPages","citationType","citationSubTitle","highlightEnabled","isAliveRef","useRef","useEffect","current","quotes","setQuotes","useState","quotesPage","setQuotesPage","quotesLoading","setQuotesLoading","quotesHasMore","setQuotesHasMore","quotesTotalPages","setQuotesTotalPages","characters","setCharacters","charactersPage","setCharactersPage","charactersLoading","setCharactersLoading","charactersHasMore","setCharactersHasMore","charactersTotalPages","setCharactersTotalPages","locations","setLocations","locationsPage","setLocationsPage","locationsLoading","setLocationsLoading","locationsHasMore","setLocationsHasMore","locationsTotalPages","setLocationsTotalPages","selectedCard","setSelectedCard","list","index","page","didCheckRef","containerRef","length","lowerTerms","map","t","toLowerCase","contains","text","some","term","includes","found","forEach","quote","loc","name","char","getManuscriptElementsData","async","endpoint","isbn","setData","setLoading","setHasMore","setTotalPage","newData","pageSize","pagination","totalPages","hasNext","hasPrevious","jsxs","ref","className","children","style","jsx","flexDirection","rowGap","item","Skeleton","variant","onClick","Fragment","isSelected","borderColor","onMouseEnter","e","currentTarget","transform","onMouseLeave","chunkIds","error","console","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc","chapter","author","Pagination","disabled","count","onChange","_","value","shape","flexWrap","location","onMouseOver","onMouseOut","flexBasis","flex","character","avatarStyle","bg","initials","ReactMarkdown","remarkPlugins","remarkBreaks","rehypePlugins","rehypeRaw","components","p","node","props","description"],"mappings":"0bAYA,MAAMA,EAAkD,CACtDC,aAAc,CACZC,SAAU,OACVC,WAAY,IACZC,MAAO,UACPC,aAAc,QAEhBC,cAAe,CACbC,YAAc,QAEhBC,UAAW,CACTC,OAAQ,oBACRC,aAAc,MACdC,QAAS,OACTC,gBAAiB,UACjBC,UAAW,6BACXR,aAAc,OACdS,OAAQ,UACRC,WAAY,6CAEdC,UAAW,CACTC,UAAW,SACXb,MAAO,UACPF,SAAU,OACVC,WAAY,IACZE,aAAc,QAEhBa,UAAW,CACTd,MAAO,UACPF,SAAU,OACVC,WAAY,KAEdgB,YAAa,CACXjB,SAAU,OACVC,WAAY,IACZC,MAAO,UACPgB,UAAW,MACXf,aAAc,QAGhBgB,OAAQ,CACNjB,MAAO,UACPF,SAAU,OACVC,WAAY,IACZmB,WAAY,OACZb,OAAQ,OACRK,OAAQ,UACRH,QAAS,EACTY,eAAgB,OAChBhB,YAAc,QAEhBiB,sBAAuB,CACrBJ,UAAW,OACXf,aAAc,QAElBoB,QAAS,CACPvB,SAAU,OACVC,WAAY,IACZW,OAAQ,UACRV,MAAO,WAOPsB,WAAY,CACVC,OAAQ,QACRvB,MAAO,UACPQ,gBAAiB,UACjBgB,MAAQ,MACRC,OAAS,OACTC,QAAS,gBAEXC,gBAAiB,CACfD,QAAS,cACTE,WAAY,SACZC,IAAK,MACL5B,aAAc,OAEhB6B,oBAAqB,CACnBd,UAAW,QAEbe,eAAgB,CACdL,QAAS,OACTM,oBAAqB,iBACrBH,IAAK,OACL5B,aAAc,OACdE,YAAc,QAEhB8B,cAAe,CAC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CAAEC,OAAQC,EAAaC,EAAmBgB,EAAU1D,KAAM9D,OAEzFwH,EAAU1D,OAGdqB,EAAC,IAAA,CACCH,UAAU,0BACVE,MAAO,IACFpI,EAAc0C,SACjBf,OAAQ,EACRP,UAAW,OAIX+G,SAAAE,EAACyC,EAAA,CACDC,cAAe,CAACC,GAChBC,cAAe,CAACC,GAChBC,WAAY,CACVC,EAAG,EAAGC,UAASC,KACZjD,EAAA,IAAA,CAAED,MAAO,CAAEhH,UAAW,MAASkK,KAQnCnD,SAAWuC,GAAAa,qBAhEbzF,SA4EZuC,EAAA,MAAA,CAAIH,UAAU,2BAA2BE,MAAO,CAACtG,QAAU,OAAQS,eAAe,WAAYX,MAAQ,QACtGuG,UAACtD,GAAqBwD,EAACwB,EAAA,CACpBE,MAAOhF,EACP+E,SAAUnF,EACVoB,KAAMtB,EACNuF,SAAU,CAACC,EAAGC,IAAUxF,EAAkBwF,GAC1CC,MAAM,UACL/B,MAAO,CAAChH,UAAW"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";o(".BookOverviewCard_book-card-container__jtb31{box-sizing:border-box;width:100%}.BookOverviewCard_book-card-grid__SfFgR{width:100%}.BookOverviewCard_book-card-value__ABLu8{max-width:120px}@media (max-width:1024px){.BookOverviewCard_book-card-grid__SfFgR{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}}@media (max-width:768px){.BookOverviewCard_book-card-container__jtb31{padding:16px!important}.BookOverviewCard_book-card-grid__SfFgR{gap:16px!important;grid-template-columns:repeat(2,1fr)!important}.BookOverviewCard_book-card-value__ABLu8{max-width:100%!important}.BookOverviewCard_book-card-section-text__WwaKT{font-size:14px!important}.BookOverviewCard_book-card-part-title__ts1Vp,.BookOverviewCard_book-card-title__G9Id6{font-size:15px!important}.BookOverviewCard_book-card-chapter-link__Hu-Kk{font-size:14px!important}}@media (max-width:480px){.BookOverviewCard_book-card-grid__SfFgR{grid-template-columns:1fr!important}.BookOverviewCard_book-card-container__jtb31{padding:14px!important}.BookOverviewCard_book-card-section__2haSZ{padding:10px!important}.BookOverviewCard_book-card-part-title__ts1Vp,.BookOverviewCard_book-card-title__G9Id6{font-size:14px!important}.BookOverviewCard_book-card-section-text__WwaKT{font-size:13px!important;line-height:1.5!important}.BookOverviewCard_book-card-chapter-link__Hu-Kk{font-size:13px!important}}");
|
|
2
|
+
//# sourceMappingURL=BookOverviewCard.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookOverviewCard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as o}from"react/jsx-runtime";import{useState as n,useRef as l,useLayoutEffect as r,useEffect as i}from"react";import a from"react-markdown";import s from"remark-breaks";import c from"rehype-raw";import{highlightTermsFunc as d,processTextWithHighlight as p}from"../utils/highlight.js";import{sanitizeHtml as m}from"../../../utils/sanitizeHtml.js";import"./BookOverviewCard.css.js";const h={card:{border:"2px solid #E5E7EB",backgroundColor:"#FFFFFF",borderRadius:"12px",padding:"24px"},title:{fontSize:"16px",fontWeight:"bold",marginBottom:"24px"},grid:{display:"grid",gridTemplateColumns:"repeat(auto-fit, minmax(110px, 1fr))",gap:"24px",marginBottom:"24px"},gridItem:{backgroundColor:"#F8FAFC",border:"1px solid #DFE5EC",borderRadius:"8px",padding:"12px 8px",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",gap:"12px"},gridItemHeight:{height:"50px"},label:{fontSize:"14px",fontWeight:400,color:"#64748B",margin:0},value:{fontWeight:"bold",fontSize:"14px",color:"#434C55",margin:0,whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"120px"},section:{marginBottom:"12px",padding:"8px 12px",borderRadius:"8px",border:"1px solid #DEE4EB"},sectionLabel:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"8px",whiteSpace:"pre-line"},summaryText:{marginTop:"0px"},sectionText:{fontSize:"16px",fontWeight:400,lineHeight:"1.625",color:"#64748B",marginBottom:"8px"},button:{color:"#5928ED",fontSize:"14px",fontWeight:600,background:"none",border:"none",cursor:"pointer",padding:0,textDecoration:"none"},lineClamp:{display:"-webkit-box",WebkitLineClamp:3,WebkitBoxOrient:"vertical",overflow:"hidden"},container:{fontFamily:"Inter, sans-serif",color:"#434C54",marginBottom:"8px"},partContainer:{marginBottom:"8px"},partTitle:{fontSize:"16px",fontWeight:"600",marginBottom:"10px"},chapterList:{listStyle:"none",paddingLeft:"20px",margin:0},chapterItem:{marginBottom:"6px"},chapterLink:{textDecoration:"none",color:"#63748A",fontSize:"16px",lineHeight:"1.5"},chapterLinkHover:{textDecoration:"underline"},singleChapter:{marginBottom:"4px",fontSize:"16px"},chapterNumber:{color:"#63748A"}},g=({data:g,highlightTerms:u,onHighlightMatch:y,highlightEnabled:b})=>{const[x,f]=n(!1),[k,v]=n(!1),[T,C]=n(!1),[S,N]=n(!1),L=l(null),B=l(null),w=g?.tableOfContent&&g.tableOfContent.every(e=>!e.title||""===e.title.trim()),I=g?.bookDescription?.replace(/display:\s*-webkit-box;?/g,"")?.replace(/-webkit-line-clamp:\s*\d+;?/g,"")?.replace(/-webkit-box-orient:\s*vertical;?/g,"")?.replace(/overflow:\s*hidden;?/g,""),D=e=>null!=e?String(e):"";return r(()=>{if(L.current){const e=L.current.scrollHeight>L.current.clientHeight;N(e)}},[g?.bookDescription,k]),i(()=>{if(!u?.length||!b)return;const e=u.map(e=>e.toLowerCase()),t=t=>t&&e.some(e=>t.toLowerCase().includes(e)),o=t(g.title),n=t(g.author),l=t(g.bookDescription),r=t(g.summary),i=t(D(g?.totalSectionCount)),a=t(D(g?.totalPages)),s=t(g.readingTime),c=g?.tableOfContent?.some(e=>t(e?.title)||e?.children?.some(e=>t(e?.title))),d=o||n||l||r||i||a||s||c;y?.(d),d&&(l&&v(!0),r&&f(!0),c&&C(!0))},[u,g]),e("div",{ref:B,style:h.card,className:"book-card-container",children:[e("div",{style:h.grid,className:"book-card-grid",children:[e("div",{style:h.gridItem,children:[t("p",{style:h.label,children:"Book Title"}),u&&u.length>0&&b?t("p",{style:h.value,className:"book-card-value",title:g?.title,dangerouslySetInnerHTML:{__html:m(d(g?.title??"NA",u))}}):t("p",{style:h.value,className:"book-card-value",title:g?.title,children:g?.title??"NA"})]}),e("div",{style:h.gridItem,children:[t("p",{style:h.label,children:"Book Author"}),u&&u.length>0&&b?t("p",{style:h.value,className:"book-card-value",title:g?.author,dangerouslySetInnerHTML:{__html:m(d(g?.author??"NA",u))}}):t("p",{style:h.value,className:"book-card-value",title:g?.author,children:g?.author??"NA"})]}),e("div",{style:h.gridItem,children:[t("p",{style:h.label,children:"Total Sections"}),u&&u.length>0&&b?t("p",{style:h.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:m(d(String(g?.totalSectionCount)??"NA",u))}}):t("p",{style:h.value,className:"book-card-value",children:g?.totalSectionCount??"NA"})]}),e("div",{style:h.gridItem,children:[t("p",{style:h.label,children:"Total Pages"}),u&&u.length>0&&b?t("p",{style:h.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:m(d(String(g?.totalPages??"NA"),u))}}):t("p",{style:h.value,className:"book-card-value",children:g?.totalPages??"NA"})]}),e("div",{style:h.gridItem,children:[t("p",{style:h.label,children:"Reading Time"}),u&&u.length>0&&b?t("p",{style:h.value,className:"book-card-value",dangerouslySetInnerHTML:{__html:m(d(String(g?.readingTime??"NA"),u))}}):t("p",{style:h.value,className:"book-card-value",children:g?.readingTime??"NA"})]})]}),g?.bookDescription&&g?.bookDescription.length>0&&e("div",{style:h.section,className:"book-card-section",children:[t("p",{style:h.sectionLabel,children:"Book Description"}),t("div",{ref:L,className:"book-card-section-text",style:{...h.sectionText,...h.summaryText,...k?{}:h.lineClamp},children:t("div",{dangerouslySetInnerHTML:{__html:u&&u.length>0&&b?m(d(I||"",u)):I}})}),(S||k)&&t("button",{style:{...h.button,marginBottom:"10px"},onClick:()=>v(e=>!e),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:k?"View Less":"View More"})]}),e("div",{style:h.section,className:"book-card-section",children:[t("p",{style:h.sectionLabel,children:"AI Book Summary"}),t("p",{className:"book-card-section-text",style:{...h.sectionText,...x?{}:h.lineClamp},children:t(a,{remarkPlugins:[s],rehypePlugins:[c],components:{p:({node:e,...o})=>t("p",{style:{marginTop:"0"},...o})},children:p(g?.summary,u)})}),g?.summary&&g?.summary.length>0&&t("button",{style:{...h.button,marginBottom:"10px"},onClick:()=>f(e=>!e),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:x?"View Less":"View More"})]}),e("div",{style:{...h.section,marginTop:"10px"},children:[t("p",{style:{...h.sectionLabel,marginBottom:"18px"},children:"Table Of Content"}),t("div",{style:{...h.container,...T?{}:h.lineClamp},children:g?.tableOfContent&&!w?g?.tableOfContent?.map((n,l)=>t("div",{style:h.partContainer,children:n.children?e(o,{children:[t("p",{style:h.partTitle,className:"book-card-part-title",dangerouslySetInnerHTML:{__html:u&&u.length>0&&b?m(d(n.title,u)):n.title}}),t("ul",{style:h.chapterList,children:n.children.map((e,o)=>t("li",{style:h.chapterItem,children:t("span",{style:h.chapterLink,className:"book-card-chapter-link",dangerouslySetInnerHTML:{__html:u&&u.length>0&&b?m(d(e.title,u)):e.title}})},o))})]}):t("div",{style:h.singleChapter,children:t("span",{style:h.chapterLink,className:"book-card-chapter-link",dangerouslySetInnerHTML:{__html:u&&u.length>0&&b?m(d(n.title,u)):n.title}})})},l)):t("p",{style:{fontStyle:"italic",fontSize:"16px",color:"#6B7280",margin:"8px 0"},children:"Table of Contents not found for this book."})}),g?.tableOfContent&&!w&&g?.tableOfContent.length>0&&t("button",{style:{...h.button,marginBottom:"10px"},onClick:()=>C(e=>!e),onMouseOver:e=>e.currentTarget.style.textDecoration="underline",onMouseOut:e=>e.currentTarget.style.textDecoration="none",children:T?"View Less":"View More"})]})]})};export{g as default};
|
|
2
2
|
//# sourceMappingURL=BookOverviewCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookOverviewCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookOverviewCard.js","sources":["../../../../src/features/Bookemon/BookOverviewCard/BookOverviewCard.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useLayoutEffect, useRef, useState } from \"react\";\nimport ReactMarkdown from \"react-markdown\";\nimport remarkBreaks from 'remark-breaks'\nimport rehypeRaw from \"rehype-raw\";\nimport { highlightTermsFunc, processTextWithHighlight } from '../utils/highlight';\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\nimport \"./BookOverviewCard.css\";\nimport { BookemonProps } from \"../types/citation.types\";\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n card: {\n border: \"2px solid #E5E7EB\", // Tailwind border-2 default gray\n backgroundColor: \"#FFFFFF\",\n borderRadius: \"12px\",\n padding: \"24px\",\n // marginBottom: \"24px\",\n },\n title: {\n fontSize: \"16px\",\n fontWeight: \"bold\",\n marginBottom: \"24px\",\n },\n grid: {\n display: \"grid\",\n gridTemplateColumns: \"repeat(auto-fit, minmax(110px, 1fr))\", \n gap: \"24px\",\n marginBottom: \"24px\",\n },\n gridItem: {\n backgroundColor: \"#F8FAFC\",\n border: \"1px solid #DFE5EC\",\n borderRadius: \"8px\",\n padding: \"12px 8px\",\n // height: \"50px\",\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n gap: \"12px\",\n },\n\n gridItemHeight : {\n height: \"50px\",\n },\n label: {\n fontSize: \"14px\",\n fontWeight: 400,\n color: \"#64748B\",\n margin: 0,\n // marginBottom: \"4px\",\n },\n value: {\n fontWeight: \"bold\",\n fontSize: \"14px\",\n color: \"#434C55\",\n margin: 0,\n\n whiteSpace: \"nowrap\",\n overflow: \"hidden\",\n textOverflow: \"ellipsis\",\n maxWidth: \"120px\",\n },\n section: {\n marginBottom: \"12px\",\n // boxShadow : \"0px 8px 12px rgba(0, 0, 0, 0.05)\",\n // boxShadow: \"rgba(0, 0, 0, 0.16) 0px 1px 4px\",\n padding: \"8px 12px\",\n borderRadius: \"8px\",\n border : \"1px solid #DEE4EB\"\n },\n sectionLabel: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"8px\",\n whiteSpace: \"pre-line\",\n },\n summaryText: {\n marginTop: \"0px\",\n },\n sectionText: {\n fontSize: \"16px\",\n fontWeight: 400,\n lineHeight: \"1.625\", // leading-relaxed\n color: \"#64748B\",\n marginBottom: \"8px\",\n },\n button: {\n color: \"#5928ED\",\n fontSize: \"14px\",\n fontWeight: 600,\n background: \"none\",\n border: \"none\",\n cursor: \"pointer\",\n padding: 0,\n textDecoration: \"none\",\n },\n lineClamp: {\n display: \"-webkit-box\",\n WebkitLineClamp: 3,\n WebkitBoxOrient: \"vertical\",\n overflow: \"hidden\",\n },\n container: {\n // padding: \"16px\",\n fontFamily: \"Inter, sans-serif\",\n color: \"#434C54\",\n marginBottom: \"8px\",\n },\n partContainer: {\n marginBottom: \"8px\",\n },\n partTitle: {\n fontSize: \"16px\",\n fontWeight: \"600\",\n marginBottom: \"10px\",\n },\n chapterList: {\n listStyle: \"none\",\n paddingLeft: \"20px\",\n margin: 0,\n },\n chapterItem: {\n marginBottom: \"6px\",\n },\n chapterLink: {\n textDecoration: \"none\",\n color: \"#63748A\",\n fontSize: \"16px\",\n lineHeight: \"1.5\",\n },\n chapterLinkHover: {\n textDecoration: \"underline\",\n },\n singleChapter: {\n marginBottom: \"4px\",\n fontSize: \"16px\",\n },\n chapterNumber : {\n color: \"#63748A\",\n }\n};\n// Type for book overview object\nexport interface IBookOverview {\n title: string;\n totalPages: number;\n readingTime: string;\n summary: string;\n author : string;\n totalSectionCount : number;\n bookDescription : string,\n tableOfContent : any[]\n}\n\ninterface BookOverviewCardProps {\n data: IBookOverview;\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n highlightEnabled?: boolean\n}\n\nconst BookOverviewCard = ({ data, highlightTerms, onHighlightMatch, highlightEnabled }: BookOverviewCardProps) => {\n const [expanded, setExpanded] = useState(false);\n const [showFullSummary, setShowFullSummary] = useState(false);\n const [tableOfContentExpanded, setTableOfContentExpanded] = useState(false);\n const [isOverflowing, setIsOverflowing] = useState(false);\n const textRef = useRef<HTMLDivElement | null>(null);\n const containerRef = useRef<HTMLDivElement>(null);\n const isTableOfContentEmpty = data?.tableOfContent && data.tableOfContent.every((item: any) => !item.title || item.title.trim() === \"\");\n const extractSummary = (summary: string) => {\n if (!summary) return \"\";\n const idx = summary.indexOf(\"Book Title:\");\n if (idx === 0) {\n return summary.slice(\"Book Title:\".length).trim();\n }\n return summary;\n };\n\n const cleanedDescription = data?.bookDescription\n ?.replace(/display:\\s*-webkit-box;?/g, \"\")\n ?.replace(/-webkit-line-clamp:\\s*\\d+;?/g, \"\")\n ?.replace(/-webkit-box-orient:\\s*vertical;?/g, \"\")\n ?.replace(/overflow:\\s*hidden;?/g, \"\");\n\n const safeString = (value: any) =>\n value !== null && value !== undefined ? String(value) : \"\";\n\n useLayoutEffect(() => {\n if (textRef.current) {\n const isTextOverflowing =\n textRef.current.scrollHeight > textRef.current.clientHeight;\n setIsOverflowing(isTextOverflowing);\n }\n}, [data?.bookDescription, showFullSummary]);\n\nuseEffect(() => {\n if (!highlightTerms?.length || !highlightEnabled) return;\n\n\n const lowerTerms = highlightTerms.map(t => t.toLowerCase());\n\n const contains = (text?: string) =>\n text && lowerTerms.some(term => text.toLowerCase().includes(term));\n\n const titleMatch = contains(data.title);\n const authorMatch = contains(data.author);\n const descriptionMatch = contains(data.bookDescription);\n const summaryMatch = contains(data.summary);\n const totalSectionCountMatch = contains(safeString(data?.totalSectionCount));\n const totalPagesMatch = contains(safeString(data?.totalPages));\n const readingTimeMatch = contains(data.readingTime);\n\n const tocMatch = data?.tableOfContent?.some((item: any) =>\n contains(item?.title) ||\n item?.children?.some((child: any) =>\n contains(child?.title)\n )\n );\n\n const matched =\n titleMatch ||\n authorMatch ||\n descriptionMatch ||\n summaryMatch ||\n totalSectionCountMatch ||\n totalPagesMatch ||\n readingTimeMatch ||\n tocMatch;\n\n onHighlightMatch?.(matched);\n\n if (!matched) return;\n\n if (descriptionMatch) {\n setShowFullSummary(true);\n }\n\n if (summaryMatch) {\n setExpanded(true);\n }\n\n if (tocMatch) {\n setTableOfContentExpanded(true);\n }\n\n}, [highlightTerms, data]);\n\n\n return (\n <div ref={containerRef} style={defaultStyles.card} className=\"book-card-container\">\n {/* <h2 style={defaultStyles.title}>Book Overview</h2> */}\n <div style={defaultStyles.grid} className=\"book-card-grid\">\n <div style={defaultStyles.gridItem}>\n <p style={defaultStyles.label} >Book Title</p>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <p style={defaultStyles.value} className=\"book-card-value\" title={data?.title} dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data?.title ?? \"NA\", highlightTerms)) }} />\n ) : (\n <p style={defaultStyles.value} className=\"book-card-value\" title={data?.title}>{data?.title ?? \"NA\"}</p>\n )}\n </div>\n <div style={defaultStyles.gridItem}>\n <p style={defaultStyles.label} >Book Author</p>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <p style={defaultStyles.value} className=\"book-card-value\" title={data?.author} dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(data?.author ?? \"NA\", highlightTerms)) }} />\n ) : (\n <p style={defaultStyles.value} className=\"book-card-value\" title={data?.author}>{data?.author ?? \"NA\"}</p>\n )}\n </div>\n <div style={defaultStyles.gridItem}>\n <p style={defaultStyles.label}>Total Sections</p>\n {\n highlightTerms && highlightTerms.length > 0 && highlightEnabled ?\n <p style={defaultStyles.value} className=\"book-card-value\" dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(String(data?.totalSectionCount) ?? \"NA\", highlightTerms)) }} /> : \n <p style={defaultStyles.value} className=\"book-card-value\">{data?.totalSectionCount ?? \"NA\"}</p>\n }\n </div>\n <div style={defaultStyles.gridItem}>\n <p style={defaultStyles.label}>Total Pages</p>\n {\n highlightTerms && highlightTerms.length > 0 && highlightEnabled ? \n <p style={defaultStyles.value} className=\"book-card-value\" dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(String(data?.totalPages ?? \"NA\"), highlightTerms)) }} /> : \n <p style={defaultStyles.value} className=\"book-card-value\">{data?.totalPages ?? \"NA\"}</p>\n }\n </div>\n <div style={defaultStyles.gridItem}>\n <p style={defaultStyles.label}>Reading Time</p>\n {\n highlightTerms && highlightTerms.length > 0 && highlightEnabled ? \n <p style={defaultStyles.value} className=\"book-card-value\" dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(String(data?.readingTime ?? \"NA\"), highlightTerms)) }} /> : \n <p style={defaultStyles.value} className=\"book-card-value\">{data?.readingTime ?? \"NA\"}</p>\n }\n </div>\n </div>\n {data?.bookDescription && data?.bookDescription.length > 0 && <div style={defaultStyles.section} className=\"book-card-section\">\n <p style={defaultStyles.sectionLabel}>Book Description</p>\n <div\n ref={textRef}\n className=\"book-card-section-text\"\n style={{ ...defaultStyles.sectionText, ...defaultStyles.summaryText, ...(!showFullSummary ? defaultStyles.lineClamp : {}) }} >\n <div\n dangerouslySetInnerHTML={{ __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled ? sanitizeHtml(highlightTermsFunc(cleanedDescription || \"\", highlightTerms)) : cleanedDescription }}\n />\n </div>\n {(isOverflowing || showFullSummary) && <button\n style={{ ...defaultStyles.button, marginBottom: \"10px\" }}\n onClick={() => setShowFullSummary((prev) => !prev)}\n onMouseOver={(e) =>\n (e.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(e) => (e.currentTarget.style.textDecoration = \"none\")}\n >\n {showFullSummary ? \"View Less\" : \"View More\"}\n </button>}\n </div>}\n <div style={defaultStyles.section} className=\"book-card-section\">\n <p style={defaultStyles.sectionLabel}>AI Book Summary</p>\n <p className=\"book-card-section-text\" style={{...defaultStyles.sectionText, ...(!expanded ? defaultStyles.lineClamp : {})}}>\n {/* {extractSummary(data.summary)} */}\n {\n <ReactMarkdown \n remarkPlugins={[remarkBreaks]}\n rehypePlugins={[rehypeRaw as any]}\n components={{\n p: ({ node, ...props }) => (\n <p\n style={{\n marginTop: \"0\",\n }}\n {...props}\n />\n ),\n }}>{processTextWithHighlight(\n data?.summary,\n highlightTerms\n )}</ReactMarkdown>\n }\n </p>\n {data?.summary && data?.summary.length > 0 && <button\n style={{...defaultStyles.button, marginBottom: \"10px\"}}\n onClick={() => setExpanded((prev) => !prev)}\n onMouseOver={(e) =>\n (e.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(e) => (e.currentTarget.style.textDecoration = \"none\")}\n >\n {expanded ? \"View Less\" : \"View More\"}\n </button>}\n </div>\n <div style={{...defaultStyles.section, marginTop: \"10px\" }}>\n <p style={{...defaultStyles.sectionLabel, marginBottom : \"18px\"}}>Table Of Content</p>\n <div style={{ ...defaultStyles.container, ...(!tableOfContentExpanded ? defaultStyles.lineClamp : {}) }}>\n {(data?.tableOfContent && !isTableOfContentEmpty) ? data?.tableOfContent?.map((item, index) => (\n <div key={index} style={defaultStyles.partContainer}>\n {/* If the item has subchapters */}\n {item.children ? (\n <>\n <p style={defaultStyles.partTitle} className=\"book-card-part-title\"\n dangerouslySetInnerHTML={{\n __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled ? sanitizeHtml(highlightTermsFunc(item.title, highlightTerms)) : item.title,\n }}\n />\n <ul style={defaultStyles.chapterList}>\n {item.children.map((child: any, i: any) => {\n return (\n <li key={i} style={defaultStyles.chapterItem}>\n <span\n style={defaultStyles.chapterLink}\n className=\"book-card-chapter-link\"\n dangerouslySetInnerHTML={{\n __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled ? sanitizeHtml(highlightTermsFunc(child.title, highlightTerms)) : child.title,\n }}\n />\n </li>\n );\n })}\n </ul>\n </>\n ) : (\n // Standalone chapters (like Introduction, Conclusion, etc.)\n (<div style={defaultStyles.singleChapter}>\n <span\n style={defaultStyles.chapterLink}\n className=\"book-card-chapter-link\"\n dangerouslySetInnerHTML={{ __html: highlightTerms && highlightTerms.length > 0 && highlightEnabled ? sanitizeHtml(highlightTermsFunc(item.title, highlightTerms)) : item.title }}\n />\n </div>)\n )}\n </div>\n )) : <p style={{ fontStyle: \"italic\", fontSize: '16px', color: \"#6B7280\", margin: \"8px 0\" }}>\n Table of Contents not found for this book.\n </p>\n }\n\n </div>\n {data?.tableOfContent && !isTableOfContentEmpty && data?.tableOfContent.length > 0 && <button\n style={{...defaultStyles.button, marginBottom: \"10px\"}}\n onClick={() => setTableOfContentExpanded((prev) => !prev)}\n onMouseOver={(e) =>\n (e.currentTarget.style.textDecoration = \"underline\")\n }\n onMouseOut={(e) => (e.currentTarget.style.textDecoration = \"none\")}\n >\n {tableOfContentExpanded ? \"View Less\" : \"View More\"}\n </button>}\n </div>\n </div>\n );\n};\n\nexport default BookOverviewCard;\n"],"names":["defaultStyles","card","border","backgroundColor","borderRadius","padding","title","fontSize","fontWeight","marginBottom","grid","display","gridTemplateColumns","gap","gridItem","flexDirection","justifyContent","alignItems","gridItemHeight","height","label","color","margin","value","whiteSpace","overflow","textOverflow","maxWidth","section","sectionLabel","summaryText","marginTop","sectionText","lineHeight","button","background","cursor","textDecoration","lineClamp","WebkitLineClamp","WebkitBoxOrient","container","fontFamily","partContainer","partTitle","chapterList","listStyle","paddingLeft","chapterItem","chapterLink","chapterLinkHover","singleChapter","chapterNumber","BookOverviewCard","data","highlightTerms","onHighlightMatch","highlightEnabled","expanded","setExpanded","useState","showFullSummary","setShowFullSummary","tableOfContentExpanded","setTableOfContentExpanded","isOverflowing","setIsOverflowing","textRef","useRef","containerRef","isTableOfContentEmpty","tableOfContent","every","item","trim","cleanedDescription","bookDescription","replace","safeString","String","useLayoutEffect","current","isTextOverflowing","scrollHeight","clientHeight","useEffect","length","lowerTerms","map","t","toLowerCase","contains","text","some","term","includes","titleMatch","authorMatch","author","descriptionMatch","summaryMatch","summary","totalSectionCountMatch","totalSectionCount","totalPagesMatch","totalPages","readingTimeMatch","readingTime","tocMatch","children","child","matched","jsxs","ref","style","className","jsx","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc","onClick","prev","onMouseOver","e","currentTarget","onMouseOut","ReactMarkdown","remarkPlugins","remarkBreaks","rehypePlugins","rehypeRaw","components","p","node","props","processTextWithHighlight","index","Fragment","i","fontStyle"],"mappings":"+ZASA,MAAMA,EAAkD,CACtDC,KAAM,CACJC,OAAQ,oBACRC,gBAAiB,UACjBC,aAAc,OACdC,QAAS,QAGXC,MAAO,CACLC,SAAU,OACVC,WAAY,OACZC,aAAc,QAEhBC,KAAM,CACJC,QAAS,OACTC,oBAAqB,uCACrBC,IAAK,OACLJ,aAAc,QAEhBK,SAAU,CACRX,gBAAiB,UACjBD,OAAQ,oBACRE,aAAc,MACdC,QAAS,WAETM,QAAS,OACTI,cAAe,SACfC,eAAgB,SAChBC,WAAY,SACZJ,IAAK,QAGPK,eAAiB,CACfC,OAAQ,QAEVC,MAAO,CACLb,SAAU,OACVC,WAAY,IACZa,MAAO,UACPC,OAAQ,GAGVC,MAAO,CACLf,WAAY,OACZD,SAAU,OACVc,MAAO,UACPC,OAAQ,EAERE,WAAY,SACZC,SAAU,SACVC,aAAc,WACdC,SAAU,SAEZC,QAAS,CACPnB,aAAc,OAGdJ,QAAS,WACTD,aAAc,MACdF,OAAS,qBAEX2B,aAAc,CACZtB,SAAU,OACVC,WAAY,IACZa,MAAO,UACPZ,aAAc,MACde,WAAY,YAEbM,YAAa,CACZC,UAAW,OAEbC,YAAa,CACXzB,SAAU,OACVC,WAAY,IACZyB,WAAY,QACZZ,MAAO,UACPZ,aAAc,OAEhByB,OAAQ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AAKA,SAASrB,IAAI,CAACsB,EAAY6B,IAE3BvB,EAAA,KAAA,CAAWF,MAAOlH,EAAcgD,YAC/B6D,SAAAO,EAAC,OAAA,CACCF,MAAOlH,EAAciD,YACrBkE,UAAU,yBACVE,wBAAyB,CACvBC,OAAQ/D,GAAkBA,EAAe+B,OAAS,GAAK7B,EAAmB8D,EAAaC,EAAmBV,EAAMxG,MAAOiD,IAAmBuD,EAAMxG,UAL7IqI,SAefvB,EAAA,MAAA,CAAIF,MAAOlH,EAAcmD,cACzB0D,SAAAO,EAAC,OAAA,CACCF,MAAOlH,EAAciD,YACrBkE,UAAU,yBACVE,wBAAyB,CAAEC,OAAQ/D,GAAkBA,EAAe+B,OAAS,GAAK7B,EAAmB8D,EAAaC,EAAmB/C,EAAKnE,MAAOiD,IAAmBkB,EAAKnE,YA/BvKmI,IAoCNrB,EAAA,IAAA,CAAEF,MAAO,CAAE0B,UAAW,SAAUrI,SAAU,OAAQc,MAAO,UAAWC,OAAQ,SAAWuF,0DAM9FvD,GAAMiB,iBAAmBD,GAAyBhB,GAAMiB,eAAee,OAAS,GAAK8B,EAAC,SAAA,CACrFF,MAAO,IAAIlH,EAAckC,OAAQzB,aAAc,QAC/CgH,QAAS,IAAMzD,EAA2B0D,IAAUA,GACpDC,YAAcC,GACXA,EAAEC,cAAcX,MAAM7E,eAAiB,YAE1CyF,WAAaF,GAAOA,EAAEC,cAAcX,MAAM7E,eAAiB,OAE1DwE,WAAyB,YAAc"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";o(".BookPeopleAwardsCard_book-people-container__EL5Yq{box-sizing:border-box;width:100%}@media (max-width:768px){.BookPeopleAwardsCard_book-people-list-wrapper__ogyRr{gap:20px!important}.BookPeopleAwardsCard_book-people-award-wrapper__Z5uim{gap:12px!important}.BookPeopleAwardsCard_book-people-card__VqYio{padding:6px 10px!important}}@media (max-width:480px){.BookPeopleAwardsCard_book-people-list-wrapper__ogyRr{gap:16px!important}.BookPeopleAwardsCard_book-people-award-wrapper__Z5uim{gap:10px!important}.BookPeopleAwardsCard_book-people-section-title__tW-JH{font-size:13px!important}.BookPeopleAwardsCard_book-people-avatar__r39Yf{height:30px!important;width:30px!important}.BookPeopleAwardsCard_book-people-name__IMWOY{font-size:13px!important}.BookPeopleAwardsCard_book-people-role__7icV6{font-size:11px!important}}");
|
|
2
|
+
//# sourceMappingURL=BookPeopleAwardsCard.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookPeopleAwardsCard.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{jsxs as e,jsx as t,Fragment as a}from"react/jsx-runtime";import{useRef as o,useEffect as r}from"react";import{highlightTermsFunc as l}from"../utils/highlight.js";import{sanitizeHtml as n}from"../../../utils/sanitizeHtml.js";import"./BookPeopleAwardsCard.css.js";const i={sectionTitle:{fontSize:"14px",fontWeight:600,color:"#667085",marginBottom:"12px"},card:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:500,fontSize:"14px",borderRadius:"4px",color:"#64748B",maxWidth:"100%",wordBreak:"break-word",marginBottom:"24px",width:"fit-content"},tag:{padding:"4px 12px",fontSize:"14px",fontWeight:500,color:"#3B82F6",backgroundColor:"#F3F8FF",borderRadius:"6px"},avatar:{display:"flex",alignItems:"center",justifyContent:"center",height:"35px",width:"35px",borderRadius:"50%",backgroundColor:"#E5E7EB",color:"#4B5563",fontWeight:600,flexShrink:0,fontSize:"12px"},contributorName:{fontWeight:600,color:"#111827",marginTop:"8px",fontSize:"14px"},contributorRole:{fontSize:"12px",color:"#6B7280"},grid:{display:"grid",gridTemplateColumns:"repeat(4, minmax(0, 1fr))",gap:"24px",marginBottom:"24px",padding:"0 12px"},awardMeta:{fontSize:"14px",color:"#4B5563"},awardDesc:{fontSize:"14px",color:"#4B5563"},awardContainer:{display:"flex",gap:"8px"},awardInfo:{backgroundColor:"#ECEEF1",padding:"8px 12px",fontWeight:600,fontSize:"12px",borderRadius:"4px",color:"#434C54",maxWidth:"100%",wordBreak:"break-word",width:"fit-content"},listContainerWrapper:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"30px",marginBottom:"24px"},awardContainerWrapper:{display:"flex",flexDirection:"row",flexWrap:"wrap",gap:"16px"}},s=({data:s,highlightTerms:p,onHighlightMatch:d,highlightEnabled:c})=>{const{publisher:m,contributors:h,awards:g=[]}=s,x=o(null),f=e=>{const t=e.trim().split(/\s+/).map(e=>e[0]?.toUpperCase()).join("");return t.length>3?`${t.slice(0,3)}`:t};return r(()=>{if(!p||0===p.length||!c)return;const e=[s.publisher?.name??"",...s.publisher?.tags??[],...s.contributors?.primary?.flatMap(e=>[e.name,e.role,...e.tags??[]])??[],...s.contributors?.additional?.flatMap(e=>[e.name,e.role,...e.tags??[]])??[],...s.awards?.flatMap(e=>[e.title,e.org,String(e.year),e.country])??[]].some(e=>!!e&&p.some(t=>e.toLowerCase().includes(t.toLowerCase())));d?.(e)},[p,s]),e("div",{ref:x,className:"book-people-container",children:[t("p",{style:i.sectionTitle,className:"book-people-section-title",children:"Publishers"}),e("div",{style:i.card,className:"book-people-card",children:[t("span",{style:{color:"rgb(67, 76, 85)"},children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(m.name,p))}}):m.name}),m?.tags&&m?.tags.length>0&&t("div",{style:{display:"flex",gap:"8px",marginTop:"18px"},children:m?.tags?.map((e,a)=>t("span",{style:i.tag,children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(e,p))}}):e},a))})]}),t("p",{style:i.sectionTitle,className:"book-people-section-title",children:"Contributors"}),t("div",{style:i.listContainerWrapper,className:"book-people-list-wrapper",children:h?.primary?.map((a,o)=>e("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[t("div",{style:i.avatar,className:"book-people-avatar",children:f(a?.name)}),t("span",{style:i.contributorName,className:"book-people-name",children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(a?.name,p))}}):a?.name}),t("span",{style:i.contributorRole,className:"book-people-role",children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(a?.role,p))}}):a?.role}),t("div",{style:{display:"flex",gap:"8px",marginTop:"8px"},children:a?.tags?.map((e,a)=>t("span",{style:i.tag,children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(e,p))}}):e},a))})]},o))}),h.additional&&h.additional.length>0&&e(a,{children:[t("p",{style:i.sectionTitle,className:"book-people-section-title",children:"Additional Contributors"}),t("div",{style:i.listContainerWrapper,className:"book-people-list-wrapper",children:h?.additional?.map((a,o)=>e("div",{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center"},children:[t("div",{style:i.avatar,className:"book-people-avatar",children:f(a?.name)}),t("span",{style:i.contributorName,className:"book-people-name",children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(a?.name,p))}}):a?.name}),t("span",{style:i.contributorRole,className:"book-people-role",children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(a?.role,p))}}):a?.role})]},o))})]}),g.length>0&&e(a,{children:[t("p",{style:i.sectionTitle,className:"book-people-section-title",children:"Awards"}),t("div",{style:i.awardContainerWrapper,className:"book-people-award-wrapper",children:g?.map((e,a)=>t("div",{style:i.awardInfo,children:t("span",{children:p&&p.length>0&&c?t("span",{dangerouslySetInnerHTML:{__html:n(l(e?.title,p))}}):e?.title})},a))})]})]})};export{s as default};
|
|
2
2
|
//# sourceMappingURL=BookPeopleAwardsCard.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BookPeopleAwardsCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"BookPeopleAwardsCard.js","sources":["../../../../src/features/Bookemon/BookPeopleAwardsCard/BookPeopleAwardsCard.tsx"],"sourcesContent":["import React, { CSSProperties, useEffect, useRef } from \"react\";\nimport { highlightTermsFunc } from '../utils/highlight';\nimport { sanitizeHtml } from \"../../../utils/sanitizeHtml\";\nimport './BookPeopleAwardsCard.css'\n// import {\n// Accordion,\n// AccordionDetails,\n// AccordionSummary,\n// Typography,\n// } from \"@mui/material\";\n// import ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\n\nconst defaultStyles: { [key: string]: CSSProperties } = {\n sectionTitle: {\n fontSize: \"14px\",\n fontWeight: 600,\n color: \"#667085\",\n marginBottom: \"12px\",\n },\n card: {\n backgroundColor: \"#ECEEF1\",\n padding: \"8px 12px\",\n fontWeight: 500,\n fontSize: \"14px\",\n borderRadius: \"4px\",\n color: \"#64748B\",\n maxWidth: \"100%\",\n wordBreak: \"break-word\",\n marginBottom: \"24px\",\n width : \"fit-content\"\n },\n tag: {\n padding: \"4px 12px\",\n fontSize: \"14px\",\n fontWeight: 500,\n color: \"#3B82F6\",\n backgroundColor: \"#F3F8FF\",\n borderRadius: \"6px\",\n },\n avatar: {\n display: \"flex\",\n alignItems: \"center\",\n justifyContent: \"center\",\n height: \"35px\",\n width: \"35px\",\n borderRadius: \"50%\",\n backgroundColor: \"#E5E7EB\",\n color: \"#4B5563\",\n fontWeight: 600,\n flexShrink: 0,\n fontSize : '12px'\n },\n contributorName: {\n fontWeight: 600,\n color: \"#111827\",\n marginTop: \"8px\",\n fontSize : \"14px\",\n },\n contributorRole: {\n fontSize: \"12px\",\n color: \"#6B7280\",\n },\n grid: {\n display: \"grid\",\n gridTemplateColumns: \"repeat(4, minmax(0, 1fr))\",\n gap: \"24px\",\n marginBottom: \"24px\",\n padding: \"0 12px\",\n },\n awardMeta: {\n fontSize: \"14px\",\n color: \"#4B5563\",\n },\n awardDesc: {\n fontSize: \"14px\",\n color: \"#4B5563\",\n },\n\n awardContainer : {\n display : 'flex',\n gap : \"8px\"\n },\n awardInfo : {\n backgroundColor: \"#ECEEF1\",\n padding: \"8px 12px\",\n fontWeight: 600,\n fontSize: \"12px\",\n borderRadius: \"4px\",\n color: \"#434C54\",\n maxWidth: \"100%\",\n wordBreak: \"break-word\",\n // marginBottom: \"24px\",\n width : \"fit-content\", \n },\n listContainerWrapper: {\n display:\"flex\",\n flexDirection: \"row\",\n flexWrap: \"wrap\",\n gap: \"30px\",\n marginBottom: \"24px\",\n },\n awardContainerWrapper:{\n display: \"flex\",\n flexDirection: \"row\", // horizontal layout\n flexWrap: \"wrap\", // allow wrapping\n gap: \"16px\"}\n};\nexport interface IPublisher {\n name: string;\n shortName?: string;\n tags?: string[];\n}\n\nexport interface IContributor {\n name: string;\n role: string;\n tags?: string[];\n}\n\nexport interface IAward {\n title: string;\n org: string;\n year: number;\n description: string;\n country : string\n}\n\nexport interface IBookPeopleAwardsData {\n publisher: IPublisher;\n contributors: {\n primary: IContributor[];\n additional?: IContributor[];\n };\n awards?: IAward[];\n}\n\ninterface BookPeopleAwardsCardProps {\n data: IBookPeopleAwardsData;\n highlightTerms?: string[];\n onHighlightMatch?: (matched: boolean) => void;\n highlightEnabled: boolean\n}\n\nconst BookPeopleAwardsCard = ({ data, highlightTerms, onHighlightMatch, highlightEnabled }: BookPeopleAwardsCardProps) => {\n const { publisher, contributors, awards = [] } = data;\n const containerRef = useRef<HTMLDivElement>(null);\n\n const getInitials = (name: string) => {\n const initials = name\n .trim()\n .split(/\\s+/)\n .map(n => n[0]?.toUpperCase())\n .join(\"\");\n\n return initials.length > 3\n ? `${initials.slice(0, 3)}`\n : initials;\n };\n\n useEffect(() => {\n if (!highlightTerms || highlightTerms.length === 0 || !highlightEnabled) return;\n\n const fieldsToCheck: string[] = [\n data.publisher?.name ?? \"\",\n ...(data.publisher?.tags ?? []),\n\n ...(data.contributors?.primary?.flatMap(c => [\n c.name,\n c.role,\n ...(c.tags ?? []),\n ]) ?? []),\n\n ...(data.contributors?.additional?.flatMap(c => [\n c.name,\n c.role,\n ...(c.tags ?? []),\n ]) ?? []),\n\n ...(data.awards?.flatMap(a => [\n a.title,\n a.org,\n String(a.year),\n a.country,\n ]) ?? []),\n ];\n\n const matched = fieldsToCheck.some((field) => {\n if (!field) return false;\n return highlightTerms.some((term) =>\n field.toLowerCase().includes(term.toLowerCase())\n );\n });\n\n onHighlightMatch?.(matched);\n }, [highlightTerms, data]);\n\n return (\n <div ref={containerRef} className=\"book-people-container\">\n {/* Publisher */}\n <p style={defaultStyles.sectionTitle} className=\"book-people-section-title\">Publishers</p>\n <div style={defaultStyles.card} className=\"book-people-card\">\n <span style={{ color: \"rgb(67, 76, 85)\" }}>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(publisher.name, highlightTerms)) }} />\n ) : (\n publisher.name\n )}\n </span>\n {publisher?.tags && publisher?.tags.length > 0 && <div style={{ display: \"flex\", gap: \"8px\", marginTop: \"18px\" }}>\n {publisher?.tags?.map((tag, index) => (\n <span key={index} style={defaultStyles.tag}>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(tag, highlightTerms)) }} />\n ) : (\n tag\n )}\n </span>\n ))}\n </div>}\n </div>\n\n {/* Primary Contributor */}\n <p style={defaultStyles.sectionTitle} className=\"book-people-section-title\">Contributors</p>\n <div style={defaultStyles.listContainerWrapper} className=\"book-people-list-wrapper\">\n {contributors?.primary?.map((contributor, index) => (\n <div\n key={index}\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n }}\n >\n <div style={defaultStyles.avatar} className=\"book-people-avatar\">\n {getInitials(contributor?.name)}\n </div>\n <span style={defaultStyles.contributorName} className=\"book-people-name\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(contributor?.name, highlightTerms)) }} />\n ) : (\n contributor?.name\n )}\n </span>\n <span style={defaultStyles.contributorRole} className=\"book-people-role\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(contributor?.role, highlightTerms)) }} />\n ) : (\n contributor?.role\n )}\n </span>\n <div style={{ display: \"flex\", gap: \"8px\", marginTop: \"8px\" }}>\n {contributor?.tags?.map((tag, index) => (\n <span key={index} style={defaultStyles.tag}>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(tag, highlightTerms)) }} />\n ) : (\n tag\n )}\n </span>\n ))}\n </div>\n </div>\n ))}\n </div>\n\n\n {/* Additional Contributors */}\n {contributors.additional && contributors.additional.length > 0 && (\n <>\n\n <p style={defaultStyles.sectionTitle} className=\"book-people-section-title\">Additional Contributors</p>\n\n <div style={defaultStyles.listContainerWrapper} className=\"book-people-list-wrapper\">\n {contributors?.additional?.map((person, index) => (\n <div\n key={index}\n style={{\n display: \"flex\",\n flexDirection: \"column\",\n justifyContent: \"center\",\n alignItems: \"center\",\n }}\n >\n <div style={defaultStyles.avatar} className=\"book-people-avatar\">\n {getInitials(person?.name)}\n </div>\n <span style={defaultStyles.contributorName} className=\"book-people-name\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(person?.name, highlightTerms)) }} />\n ) : (\n person?.name\n )}\n </span>\n <span style={defaultStyles.contributorRole} className=\"book-people-role\">\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(person?.role, highlightTerms)) }} />\n ) : (\n person?.role\n )}\n </span>\n </div>\n ))}\n </div>\n </>\n )}\n\n {/* Awards */}\n {awards.length > 0 && (\n <>\n <p style={defaultStyles.sectionTitle} className=\"book-people-section-title\">Awards</p>\n <div\n style={defaultStyles.awardContainerWrapper} className=\"book-people-award-wrapper\">\n {awards?.map((award, index) => (\n <div key={index} style={defaultStyles.awardInfo}>\n <span>\n {highlightTerms && highlightTerms.length > 0 && highlightEnabled ? (\n <span dangerouslySetInnerHTML={{ __html: sanitizeHtml(highlightTermsFunc(award?.title, highlightTerms)) }} />\n ) : (\n award?.title\n )}\n </span>\n </div>\n ))}\n</div>\n </>\n )}\n\n </div>\n );\n};\n\nexport default BookPeopleAwardsCard;\n"],"names":["defaultStyles","sectionTitle","fontSize","fontWeight","color","marginBottom","card","backgroundColor","padding","borderRadius","maxWidth","wordBreak","width","tag","avatar","display","alignItems","justifyContent","height","flexShrink","contributorName","marginTop","contributorRole","grid","gridTemplateColumns","gap","awardMeta","awardDesc","awardContainer","awardInfo","listContainerWrapper","flexDirection","flexWrap","awardContainerWrapper","BookPeopleAwardsCard","data","highlightTerms","onHighlightMatch","highlightEnabled","publisher","contributors","awards","containerRef","useRef","getInitials","name","initials","trim","split","map","n","toUpperCase","join","length","slice","useEffect","matched","tags","primary","flatMap","c","role","additional","a","title","org","String","year","country","some","field","term","toLowerCase","includes","jsxs","ref","className","children","jsx","style","dangerouslySetInnerHTML","__html","sanitizeHtml","highlightTermsFunc","index","contributor","Fragment","person","award"],"mappings":"6QAYA,MAAMA,EAAkD,CACtDC,aAAc,CACZC,SAAU,OACVC,WAAY,IACZC,MAAO,UACPC,aAAc,QAEhBC,KAAM,CACLC,gBAAiB,UAChBC,QAAS,WACTL,WAAY,IACZD,SAAU,OACVO,aAAc,MACdL,MAAO,UACPM,SAAU,OACVC,UAAW,aACXN,aAAc,OACdO,MAAQ,eAEVC,IAAK,CACHL,QAAS,WACTN,SAAU,OACVC,WAAY,IACZC,MAAO,UACPG,gBAAiB,UACjBE,aAAc,OAEhBK,OAAQ,CACNC,QAAS,OACTC,WAAY,SACZC,eAAgB,SAChBC,OAAQ,OACRN,MAAO,OACPH,aAAc,MACdF,gBAAiB,UACjBH,MAAO,U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AAA,MAAA,CAAIC,MAAO/E,EAAcc,OAAQ8D,UAAU,qBACzCC,SAAAjC,EAAY2C,GAAQ1C,QAEvBiC,EAAC,OAAK,CAAAC,MAAO/E,EAAcoB,gBAAiBwD,UAAU,mBACnDC,SAAkBzC,GAAAA,EAAeiB,OAAS,GAAKf,EAC9CwC,EAAC,OAAK,CAAAE,wBAAyB,CAAEC,OAAQC,EAAaC,EAAmBI,GAAQ1C,KAAMT,OAEvFmD,GAAQ1C,OAGZiC,EAAC,OAAK,CAAAC,MAAO/E,EAAcsB,gBAAiBsD,UAAU,mBACnDC,SAAkBzC,GAAAA,EAAeiB,OAAS,GAAKf,EAC9CwC,EAAC,OAAK,CAAAE,wBAAyB,CAAEC,OAAQC,EAAaC,EAAmBI,GAAQ1B,KAAMzB,OAEvFmD,GAAQ1B,SAtBPuB,SAgCd3C,EAAOY,OAAS,GAEbqB,EAAAY,EAAA,CAAAT,SAAA,CAAAC,EAAC,KAAEC,MAAO/E,EAAcC,aAAc2E,UAAU,4BAA4BC,SAAM,WAClFC,EAAC,MAAA,CACEC,MAAO/E,EAAciC,sBAAuB2C,UAAU,4BACxDC,SAAQpC,GAAAQ,IAAI,CAACuC,EAAOJ,IACrBN,EAAA,MAAA,CAAgBC,MAAO/E,EAAc6B,UACtCgD,SAACC,EAAA,OAAA,CACED,SAAkBzC,GAAAA,EAAeiB,OAAS,GAAKf,EAC7CwC,EAAA,OAAA,CAAKE,wBAAyB,CAAEC,OAAQC,EAAaC,EAAmBK,GAAOxB,MAAO5B,OAEvFoD,GAAOxB,SALDoB"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import e from"../../../node_modules/.pnpm/style-inject@0.3.0/node_modules/style-inject/dist/style-inject.es.js";e(".BookPreview_book-cover-placeholder__LFlSO{align-items:center;background:linear-gradient(180deg,#22c55e,#14532d);border-radius:4px;color:#fff;display:flex;font-size:10px;height:calc(100% - 8px);justify-content:center;padding:4px;width:100%}.BookPreview_book-cover-inner__iaD7L{align-items:center;border:1px solid #fff;display:flex;flex-direction:column;height:calc(100% - 26px);justify-content:space-around;padding:4px;text-align:center;width:calc(100% - 26px)}.BookPreview_book-title__4Z-8H{font-size:1.5rem;font-weight:800;letter-spacing:.5px;line-height:1.2;padding:0 8px;text-transform:uppercase}.BookPreview_book-author__txI8W,.BookPreview_book-title__4Z-8H{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.BookPreview_book-author__txI8W{font-size:1rem;font-weight:500;margin-top:8px;opacity:.9}");
|
|
2
|
+
//# sourceMappingURL=BookPreview.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BookPreview.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|