@e-llm-studio/requirement-ai 0.0.11 → 0.0.13
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/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/types.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/appmod-citation/types.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +2 -0
- package/dist/cjs/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
- package/dist/cjs/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/ExpandableOl.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +2 -0
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -0
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +2 -0
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +1 -0
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppModCitationContent.module.css.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.module.css.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/types.js +2 -0
- package/dist/features/RequirementAI/components/citations/appmod-citation/types.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js +2 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js +2 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationContent.module.css.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js +2 -0
- package/dist/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js +2 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js +2 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.module.css.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js +2 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js +2 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js +2 -0
- package/dist/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.js.map +1 -0
- package/dist/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitation.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.js +1 -1
- package/dist/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/features/RequirementAI/shared/ExpandableOl.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js +2 -0
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.js.map +1 -0
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js +2 -0
- package/dist/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.module.css.js.map +1 -0
- package/dist/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.js +1 -1
- package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts +2 -2
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts +14 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts +5 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts +14 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts +4 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts +121 -0
- package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts +2 -2
- package/dist/types/src/features/RequirementAI/components/citations/file-citation/FileCitationContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts +13 -0
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts +5 -0
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts +60 -0
- package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts +15 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts +5 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts +8 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts +8 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts +68 -0
- package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts +1 -0
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts +3 -2
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +5 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +8 -2
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts +3 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts +5 -1
- package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/interfaces/citation.interface.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/shared/ExpandableOl.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +13 -0
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/citation.type.d.ts +12 -4
- package/dist/types/src/features/RequirementAI/types/citation.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts +78 -0
- package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts +1 -0
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AIConfidenceDisplay.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts +1 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/AiReasonMarkdownWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts +1 -0
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/components/icons/RelevanceScoreIcon.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts +12 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/types/interface.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +8 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppmodCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA0B,MAAM,OAAO,CAAC;AAK/C,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,OAAO,EACL,wBAAwB,EACxB,cAAc,EAEf,MAAM,SAAS,CAAC;AAIjB,UAAU,0BAA0B;IAClC,QAAQ,EAAE,YAAY,CAAC;IACvB,YAAY,CAAC,EAAE,wBAAwB,CAAC;IACxC,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AA8SD,QAAA,MAAM,qBAAqB,EAAE,KAAK,CAAC,EAAE,CAAC,0BAA0B,CA4K/D,CAAC;AAEF,eAAe,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppmodCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,2BAA2B,EAAE,MAAM,SAAS,CAAC;AAEtD,QAAA,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,2BAA2B,CA0DjE,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { CodeLinkConfig, HighlightTheme } from "../types";
|
|
3
|
+
interface CodeLinkHandlerProps {
|
|
4
|
+
href: string;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
codeLinkConfig?: CodeLinkConfig;
|
|
7
|
+
isHighlighted?: boolean;
|
|
8
|
+
highlightTheme?: HighlightTheme;
|
|
9
|
+
customLinkStyles?: React.CSSProperties;
|
|
10
|
+
customIcon?: React.ReactNode;
|
|
11
|
+
}
|
|
12
|
+
declare const CodeLinkHandler: React.FC<CodeLinkHandlerProps>;
|
|
13
|
+
export default CodeLinkHandler;
|
|
14
|
+
//# sourceMappingURL=CodeLinkHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CodeLinkHandler.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/components/CodeLinkHandler.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EACL,cAAc,EACd,cAAc,EAEf,MAAM,UAAU,CAAC;AAElB,UAAU,oBAAoB;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvC,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B;AAyCD,QAAA,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAmKnD,CAAC;AAEF,eAAe,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppmodIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/AppmodIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgC1C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChatBubbleIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/ChatBubbleIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAc9C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChevronDown.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronDown.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAa/C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChevronUpIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/ChevronUpIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAa7C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLinkIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/ExternalLinkIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAgBhD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MessageCircleIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/MessageCircleIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAiBjD,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotebookIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/NotebookIcon.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;AAE1C,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAe5C,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SparkleIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/icons/SparkleIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,SAAS;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAY3C,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import { TextCitation } from "../../../types/citation.type";
|
|
3
|
+
import { UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
4
|
+
export interface CodeLinkConfig {
|
|
5
|
+
/**
|
|
6
|
+
* Environment mode:
|
|
7
|
+
* - 'web': Uses CodeCitation component with API calls
|
|
8
|
+
* - 'vscode': Uses callback to open files in VS Code
|
|
9
|
+
*/
|
|
10
|
+
mode: "web" | "vscode";
|
|
11
|
+
/**
|
|
12
|
+
* For 'web' mode: Base URL for code retrieval API
|
|
13
|
+
*/
|
|
14
|
+
baseUrlForCodeRetrieval?: string;
|
|
15
|
+
/**
|
|
16
|
+
* For 'web' mode: Required metadata for CodeCitation component
|
|
17
|
+
*/
|
|
18
|
+
webConfig?: {
|
|
19
|
+
assistantName: string;
|
|
20
|
+
organizationName: string;
|
|
21
|
+
userId: string;
|
|
22
|
+
taskId: string;
|
|
23
|
+
repoUrl: string;
|
|
24
|
+
isDarkModeEnabled?: boolean;
|
|
25
|
+
chevronUpComponent?: ReactNode;
|
|
26
|
+
chevronDownComponent?: ReactNode;
|
|
27
|
+
datasource?: "db" | "codebase";
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* For 'vscode' mode: Callback when a code link is clicked
|
|
31
|
+
*/
|
|
32
|
+
onCodeLinkClick?: (params: {
|
|
33
|
+
filePath: string;
|
|
34
|
+
startLine?: string | null;
|
|
35
|
+
endLine?: string | null;
|
|
36
|
+
validation?: string | null;
|
|
37
|
+
}) => void;
|
|
38
|
+
}
|
|
39
|
+
export interface HighlightTheme {
|
|
40
|
+
background?: string;
|
|
41
|
+
text?: string;
|
|
42
|
+
border?: string;
|
|
43
|
+
linkBackground?: string;
|
|
44
|
+
linkText?: string;
|
|
45
|
+
linkBorder?: string;
|
|
46
|
+
linkIconColor?: string;
|
|
47
|
+
codeBackground?: string;
|
|
48
|
+
codeText?: string;
|
|
49
|
+
codeBorder?: string;
|
|
50
|
+
}
|
|
51
|
+
export interface MarkdownStyles {
|
|
52
|
+
heading1?: CSSProperties;
|
|
53
|
+
heading2?: CSSProperties;
|
|
54
|
+
heading3?: CSSProperties;
|
|
55
|
+
heading4?: CSSProperties;
|
|
56
|
+
heading5?: CSSProperties;
|
|
57
|
+
heading6?: CSSProperties;
|
|
58
|
+
paragraph?: CSSProperties;
|
|
59
|
+
list?: CSSProperties;
|
|
60
|
+
listItem?: CSSProperties;
|
|
61
|
+
code?: CSSProperties;
|
|
62
|
+
codeBlock?: CSSProperties;
|
|
63
|
+
link?: CSSProperties;
|
|
64
|
+
linkText?: CSSProperties;
|
|
65
|
+
linkIcon?: CSSProperties;
|
|
66
|
+
blockquote?: CSSProperties;
|
|
67
|
+
table?: CSSProperties;
|
|
68
|
+
tableHeader?: CSSProperties;
|
|
69
|
+
tableCell?: CSSProperties;
|
|
70
|
+
strong?: CSSProperties;
|
|
71
|
+
emphasis?: CSSProperties;
|
|
72
|
+
}
|
|
73
|
+
export interface ConfidenceDisplayStyles {
|
|
74
|
+
container?: CSSProperties;
|
|
75
|
+
icon?: CSSProperties;
|
|
76
|
+
label?: CSSProperties;
|
|
77
|
+
}
|
|
78
|
+
export declare const DEFAULT_HIGHLIGHT_THEME: HighlightTheme;
|
|
79
|
+
export interface AppModCitationStyleGroup {
|
|
80
|
+
pill?: CSSProperties;
|
|
81
|
+
container?: CSSProperties;
|
|
82
|
+
header?: CSSProperties;
|
|
83
|
+
headerLeft?: CSSProperties;
|
|
84
|
+
headerIcon?: CSSProperties;
|
|
85
|
+
headerIconText?: CSSProperties;
|
|
86
|
+
headerTitle?: CSSProperties;
|
|
87
|
+
confidenceDisplay?: ConfidenceDisplayStyles;
|
|
88
|
+
questionContainer?: CSSProperties;
|
|
89
|
+
questionLabel?: CSSProperties;
|
|
90
|
+
questionText?: CSSProperties;
|
|
91
|
+
answerIconRow?: CSSProperties;
|
|
92
|
+
answerContainer?: CSSProperties;
|
|
93
|
+
assistantName?: CSSProperties;
|
|
94
|
+
assistantNameInner?: CSSProperties;
|
|
95
|
+
markdown?: MarkdownStyles;
|
|
96
|
+
highlight?: HighlightTheme;
|
|
97
|
+
loading?: {
|
|
98
|
+
container?: CSSProperties;
|
|
99
|
+
text?: CSSProperties;
|
|
100
|
+
};
|
|
101
|
+
error?: {
|
|
102
|
+
text?: CSSProperties;
|
|
103
|
+
};
|
|
104
|
+
}
|
|
105
|
+
export interface AppModCitationIcons {
|
|
106
|
+
citationIcon?: ReactNode;
|
|
107
|
+
chevronUp?: ReactNode;
|
|
108
|
+
chevronDown?: ReactNode;
|
|
109
|
+
appModIcon?: ReactNode;
|
|
110
|
+
confidenceIcon?: ReactNode;
|
|
111
|
+
externalLinkIcon?: ReactNode;
|
|
112
|
+
}
|
|
113
|
+
export interface AppModCitationRendererProps {
|
|
114
|
+
title: string;
|
|
115
|
+
citation: TextCitation;
|
|
116
|
+
customStyles?: AppModCitationStyleGroup;
|
|
117
|
+
customIcons?: UserStoryIcons;
|
|
118
|
+
codeLinkConfig?: CodeLinkConfig;
|
|
119
|
+
isLoading?: boolean;
|
|
120
|
+
}
|
|
121
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/src/features/RequirementAI/components/citations/appmod-citation/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/appmod-citation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,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from "../../../types/aiReasoning.type";
|
|
2
2
|
interface IProps {
|
|
3
3
|
coverImageUrl?: string;
|
|
4
4
|
title: string;
|
|
5
5
|
gsUtilPath: string;
|
|
6
|
-
fileType: "app_mod_rag_question" | "image_citation" | "audio_transcript" | "book_citation_doc" | "book_citation_pdf" | "rca_citation" | "web_citation" | "code_generated";
|
|
6
|
+
fileType: "app_mod_rag_question" | "image_citation" | "audio_transcript" | "book_citation_doc" | "book_citation_pdf" | "rca_citation" | "web_citation" | "code_generated" | "readfile_citation";
|
|
7
7
|
relevanceScore?: number;
|
|
8
8
|
customStyles?: FileCitationStyles;
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FileCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/file-citation/FileCitationContent.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"FileCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/file-citation/FileCitationContent.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,UAAU,MAAM;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EACJ,sBAAsB,GACtB,gBAAgB,GAChB,kBAAkB,GAClB,mBAAmB,GACnB,mBAAmB,GACnB,cAAc,GACd,cAAc,GACd,gBAAgB,GAChB,mBAAmB,CAAC;IACxB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC;AAMD,QAAA,MAAM,mBAAmB,UAAW,MAAM,4CAwGzC,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
3
|
+
import { RcaCitation } from "../../../types/citation.type";
|
|
4
|
+
import { RCACitationStyleGroup } from "./types";
|
|
5
|
+
interface RCACitationContentProps {
|
|
6
|
+
citation: RcaCitation;
|
|
7
|
+
customStyles?: RCACitationStyleGroup;
|
|
8
|
+
customIcons?: UserStoryIcons;
|
|
9
|
+
isLoading?: boolean;
|
|
10
|
+
}
|
|
11
|
+
declare const RCACitationContent: React.FC<RCACitationContentProps>;
|
|
12
|
+
export default RCACitationContent;
|
|
13
|
+
//# sourceMappingURL=RCACitationContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RCACitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/rca-citation/RCACitationContent.tsx"],"names":[],"mappings":"AACA,OAAO,KAAiB,MAAM,OAAO,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,qBAAqB,EAA0B,MAAM,SAAS,CAAC;AAIxE,UAAU,uBAAuB;IAC/B,QAAQ,EAAE,WAAW,CAAC;IACtB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAsFD,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAwHzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RCACitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAEnD,QAAA,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CAAC,wBAAwB,CAyD3D,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CSSProperties, ReactNode } from "react";
|
|
2
|
+
import { CodeLinkConfig, ConfidenceDisplayStyles, HighlightTheme } from "../appmod-citation/types";
|
|
3
|
+
import { RcaCitation } from "../../../types/citation.type";
|
|
4
|
+
import { UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
5
|
+
export interface RequirementPlanExtract {
|
|
6
|
+
subheading: string;
|
|
7
|
+
content: string;
|
|
8
|
+
highlighted_content: string;
|
|
9
|
+
}
|
|
10
|
+
export interface RCACitationStyleGroup {
|
|
11
|
+
pill?: CSSProperties;
|
|
12
|
+
container?: CSSProperties;
|
|
13
|
+
header?: CSSProperties;
|
|
14
|
+
headerLeft?: CSSProperties;
|
|
15
|
+
headerIcon?: CSSProperties;
|
|
16
|
+
headerTitle?: CSSProperties;
|
|
17
|
+
confidenceDisplay?: ConfidenceDisplayStyles;
|
|
18
|
+
rcaContainer?: CSSProperties;
|
|
19
|
+
conversationPanel?: CSSProperties;
|
|
20
|
+
conversationPanelHeader?: CSSProperties;
|
|
21
|
+
conversationPanelHeaderIcon?: CSSProperties;
|
|
22
|
+
conversationPanelHeaderTitle?: CSSProperties;
|
|
23
|
+
questionRow?: CSSProperties;
|
|
24
|
+
questionIcon?: CSSProperties;
|
|
25
|
+
questionText?: CSSProperties;
|
|
26
|
+
answerLabel?: CSSProperties;
|
|
27
|
+
answerBox?: CSSProperties;
|
|
28
|
+
extractPanel?: CSSProperties;
|
|
29
|
+
extractPanelHeader?: CSSProperties;
|
|
30
|
+
extractPanelHeaderIcon?: CSSProperties;
|
|
31
|
+
extractPanelHeaderTitle?: CSSProperties;
|
|
32
|
+
extractList?: CSSProperties;
|
|
33
|
+
extractItem?: CSSProperties;
|
|
34
|
+
extractSubheading?: CSSProperties;
|
|
35
|
+
extractContent?: CSSProperties;
|
|
36
|
+
highlight?: HighlightTheme;
|
|
37
|
+
loading?: {
|
|
38
|
+
container?: CSSProperties;
|
|
39
|
+
text?: CSSProperties;
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
export interface RCACitationIcons {
|
|
43
|
+
citationIcon?: ReactNode;
|
|
44
|
+
chevronUp?: ReactNode;
|
|
45
|
+
chevronDown?: ReactNode;
|
|
46
|
+
notebookIcon?: ReactNode;
|
|
47
|
+
messageIcon?: ReactNode;
|
|
48
|
+
questionIcon?: ReactNode;
|
|
49
|
+
confidenceIcon?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
export interface RCACitationRendererProps {
|
|
52
|
+
title: string;
|
|
53
|
+
citation: RcaCitation;
|
|
54
|
+
customStyles?: RCACitationStyleGroup;
|
|
55
|
+
customIcons?: UserStoryIcons;
|
|
56
|
+
codeLinkConfig?: CodeLinkConfig;
|
|
57
|
+
isLoading?: boolean;
|
|
58
|
+
}
|
|
59
|
+
export { CodeLinkConfig };
|
|
60
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/src/features/RequirementAI/components/citations/rca-citation/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/rca-citation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,cAAc,EACf,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,qBAAqB;IAEpC,IAAI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YAAY,CAAC,EAAE,SAAS,CAAC;IAGzB,WAAW,CAAC,EAAE,SAAS,CAAC;IAGxB,YAAY,CAAC,EAAE,SAAS,CAAC;IAGzB,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,MAAM,WAAW,wBAAwB;IAEvC,KAAK,EAAE,MAAM,CAAC;IAGd,QAAQ,EAAE,WAAW,CAAC;IAGtB,YAAY,CAAC,EAAE,qBAAqB,CAAC;IAGrC,WAAW,CAAC,EAAE,cAAc,CAAC;IAG7B,cAAc,CAAC,EAAE,cAAc,CAAC;IAGhC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,OAAO,EAAE,cAAc,EAAE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ReadFileCitationColors, ReadFileCitationEditorConfig, ReadFileCitationStyleGroup, ReadFileCitationFileCallback } from "./types";
|
|
3
|
+
import { ReadFileCitation } from "../../../types/citation.type";
|
|
4
|
+
import { UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
5
|
+
interface ReadFileCitationContentProps {
|
|
6
|
+
citation: ReadFileCitation;
|
|
7
|
+
customStyles?: ReadFileCitationStyleGroup;
|
|
8
|
+
customColors?: ReadFileCitationColors;
|
|
9
|
+
customIcons?: UserStoryIcons;
|
|
10
|
+
editorConfig?: ReadFileCitationEditorConfig;
|
|
11
|
+
fileCallback?: ReadFileCitationFileCallback;
|
|
12
|
+
}
|
|
13
|
+
declare const ReadFileCitationContent: React.FC<ReadFileCitationContentProps>;
|
|
14
|
+
export default ReadFileCitationContent;
|
|
15
|
+
//# sourceMappingURL=ReadFileCitationContent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadFileCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkD,MAAM,OAAO,CAAC;AAIvE,OAAO,EACL,sBAAsB,EACtB,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC7B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAKjE,UAAU,4BAA4B;IACpC,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C,YAAY,CAAC,EAAE,4BAA4B,CAAC;CAC7C;AAkED,QAAA,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,4BAA4B,CAqYnE,CAAC;AAEF,eAAe,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ReadFileCitationRendererProps } from "./types";
|
|
3
|
+
declare const ReadFileCitationRenderer: React.FC<ReadFileCitationRendererProps>;
|
|
4
|
+
export default ReadFileCitationRenderer;
|
|
5
|
+
//# sourceMappingURL=ReadFileCitationRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadFileCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAE,6BAA6B,EAAE,MAAM,SAAS,CAAC;AAExD,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CA4DrE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExternalLinkIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/readfile-citation/icons/ExternalLinkIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,SAAS;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAkBzC,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileCodeIcon.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/citations/readfile-citation/icons/FileCodeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,UAAU,SAAS;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CAmBrC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
2
|
+
import { UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
3
|
+
import { ReadFileCitation } from "../../../types/citation.type";
|
|
4
|
+
export interface ReadFileCitationColors {
|
|
5
|
+
border?: string;
|
|
6
|
+
headerBg?: string;
|
|
7
|
+
inactiveText?: string;
|
|
8
|
+
background?: string;
|
|
9
|
+
foreground?: string;
|
|
10
|
+
highlightBg?: string;
|
|
11
|
+
highlightGutter?: string;
|
|
12
|
+
hoverBg?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface ReadFileCitationEditorConfig {
|
|
15
|
+
theme?: string;
|
|
16
|
+
fontSize?: number;
|
|
17
|
+
fontFamily?: string;
|
|
18
|
+
maxHeight?: number;
|
|
19
|
+
minHeight?: number;
|
|
20
|
+
}
|
|
21
|
+
export interface ReadFileCitationStyleGroup {
|
|
22
|
+
pill?: CSSProperties;
|
|
23
|
+
container?: CSSProperties;
|
|
24
|
+
blockContainer?: CSSProperties;
|
|
25
|
+
header?: CSSProperties;
|
|
26
|
+
headerHighlighted?: CSSProperties;
|
|
27
|
+
fileName?: CSSProperties;
|
|
28
|
+
lineRanges?: CSSProperties;
|
|
29
|
+
editorWrapper?: CSSProperties;
|
|
30
|
+
emptyState?: CSSProperties;
|
|
31
|
+
openFileButton?: CSSProperties;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Callback for VS Code-specific file operations.
|
|
35
|
+
* Only used in VS Code mode. Web mode does not use this.
|
|
36
|
+
*/
|
|
37
|
+
export interface ReadFileCitationFileCallback {
|
|
38
|
+
/**
|
|
39
|
+
* Called when user clicks "Open in editor" button.
|
|
40
|
+
* Only available in VS Code mode.
|
|
41
|
+
*
|
|
42
|
+
* In VS Code: open codemon mode on left webview + open file in editor + highlight lines
|
|
43
|
+
*/
|
|
44
|
+
onOpenFile?: (params: {
|
|
45
|
+
filePath: string;
|
|
46
|
+
ranges: Array<[number, number]> | null;
|
|
47
|
+
}) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Whether to auto-trigger onOpenFile for the first highlighted file on mount.
|
|
50
|
+
* Default: false
|
|
51
|
+
*/
|
|
52
|
+
autoOpenFirstHighlighted?: boolean;
|
|
53
|
+
}
|
|
54
|
+
export interface ReadFileCitationRendererProps {
|
|
55
|
+
title: string;
|
|
56
|
+
citation: ReadFileCitation;
|
|
57
|
+
customStyles?: ReadFileCitationStyleGroup;
|
|
58
|
+
customColors?: ReadFileCitationColors;
|
|
59
|
+
customIcons?: UserStoryIcons;
|
|
60
|
+
editorConfig?: ReadFileCitationEditorConfig;
|
|
61
|
+
/**
|
|
62
|
+
* Optional. Only provide this in VS Code mode.
|
|
63
|
+
* When provided, shows "Open in editor" button on each code block.
|
|
64
|
+
* When NOT provided (web mode), only inline Monaco highlighting is shown.
|
|
65
|
+
*/
|
|
66
|
+
fileCallback?: ReadFileCitationFileCallback;
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/types/src/features/RequirementAI/components/citations/readfile-citation/types.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/readfile-citation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAa,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,gBAAgB,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,4BAA4B;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,cAAc,CAAC,EAAE,aAAa,CAAC;IAC/B,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB,iBAAiB,CAAC,EAAE,aAAa,CAAC;IAClC,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,UAAU,CAAC,EAAE,aAAa,CAAC;IAC3B,cAAc,CAAC,EAAE,aAAa,CAAC;CAChC;AAED;;;GAGG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;;;;OAKG;IACH,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE;QACpB,QAAQ,EAAE,MAAM,CAAC;QACjB,MAAM,EAAE,KAAK,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,GAAG,IAAI,CAAC;KACxC,KAAK,IAAI,CAAC;IAEX;;;OAGG;IACH,wBAAwB,CAAC,EAAE,OAAO,CAAC;CACpC;AAED,MAAM,WAAW,6BAA6B;IAC5C,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,YAAY,CAAC,EAAE,0BAA0B,CAAC;IAC1C,YAAY,CAAC,EAAE,sBAAsB,CAAC;IACtC,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C;;;;OAIG;IACH,YAAY,CAAC,EAAE,4BAA4B,CAAC;CAC7C"}
|
|
@@ -10,6 +10,7 @@ interface IProps {
|
|
|
10
10
|
title?: React.CSSProperties;
|
|
11
11
|
image?: React.CSSProperties;
|
|
12
12
|
closeIconWrapper?: React.CSSProperties;
|
|
13
|
+
closeIcon?: React.CSSProperties;
|
|
13
14
|
};
|
|
14
15
|
}
|
|
15
16
|
declare const ImagePreviewDialog: ({ open, handleClose, CloseIcon, src, styles, }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImagePreviewDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.tsx"],"names":[],"mappings":";AAGA,UAAU,MAAM;IACd,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"ImagePreviewDialog.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/ImagePreviewDialog.tsx"],"names":[],"mappings":";AAGA,UAAU,MAAM;IACd,IAAI,EAAE,OAAO,CAAC;IACd,WAAW,EAAE,MAAM,IAAI,CAAC;IACxB,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,CAAC,EAAE;QACP,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAChC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KACjC,CAAC;CACH;AAED,QAAA,MAAM,kBAAkB,mDAMrB,MAAM,4CAyBR,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { CitationStyleGroup } from "../../../types/aiReasoning.type";
|
|
1
|
+
import { CitationStyleGroup, UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
2
2
|
interface IProps {
|
|
3
3
|
label: string;
|
|
4
4
|
url: string;
|
|
5
5
|
customStyles?: CitationStyleGroup;
|
|
6
|
+
customIcons?: UserStoryIcons;
|
|
6
7
|
}
|
|
7
|
-
declare const WebCitation: ({ label, url, customStyles }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
declare const WebCitation: ({ label, url, customStyles, customIcons }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export default WebCitation;
|
|
9
10
|
//# sourceMappingURL=WebCitation.d.ts.map
|
package/dist/types/src/features/RequirementAI/components/citations/web-citation/WebCitation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebCitation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"WebCitation.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitation.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAIrF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAED,QAAA,MAAM,WAAW,8CAA+C,MAAM,4CAcrE,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { CitationStyleGroup } from "../../../types/aiReasoning.type";
|
|
2
|
+
import { CitationStyleGroup, UserStoryIcons } from "../../../types/aiReasoning.type";
|
|
3
3
|
interface IProps {
|
|
4
4
|
gsUtilPath: string;
|
|
5
5
|
relevanceScore?: number;
|
|
@@ -16,6 +16,7 @@ interface IProps {
|
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
18
|
customStyles?: CitationStyleGroup;
|
|
19
|
+
customIcons?: UserStoryIcons;
|
|
19
20
|
}
|
|
20
21
|
declare const WebCitationWithImageContent: (props: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
22
|
export default WebCitationWithImageContent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebCitationWithImageContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;
|
|
1
|
+
{"version":3,"file":"WebCitationWithImageContent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageContent.tsx"],"names":[],"mappings":";AAOA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAErF,UAAU,MAAM;IACd,UAAU,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,sBAAsB,EAAE,KAAK,CAAC,WAAW,CAAC;IAC1C,MAAM,CAAC,EAAE;QACP,mBAAmB,CAAC,EAAE;YACpB,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAChC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;YAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;SACxC,CAAC;KACH,CAAC;IACF,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAED,QAAA,MAAM,2BAA2B,UAAW,MAAM,4CAqHjD,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WebCitationWithImageRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAMrF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;CAE7B;AAED,QAAA,MAAM,4BAA4B,mDAAoD,MAAM,
|
|
1
|
+
{"version":3,"file":"WebCitationWithImageRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAExD,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAMrF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;CAE7B;AAED,QAAA,MAAM,4BAA4B,mDAAoD,MAAM,4CA8D3F,CAAC;AAEF,eAAe,4BAA4B,CAAC"}
|
package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { UserStoryIcons } from '../../types/aiReasoning.type';
|
|
2
3
|
import { AIReasoningType } from './GapFilterBlock';
|
|
4
|
+
import { GapFilterStyles } from '../../types/gapFilterStyles.type';
|
|
3
5
|
export type RefType = 'CHAT_REF' | 'UI_REF';
|
|
4
6
|
export interface StatusUIConfig {
|
|
5
7
|
labelColor: string;
|
|
@@ -26,6 +28,8 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
|
|
|
26
28
|
onHandleSend?: (userMessage: string) => void;
|
|
27
29
|
gapType?: string;
|
|
28
30
|
isGenerating?: boolean;
|
|
31
|
+
customStyles?: GapFilterStyles;
|
|
32
|
+
customIcons?: UserStoryIcons;
|
|
29
33
|
/**
|
|
30
34
|
* Library consumers provide this instead of the internal microFrontendApi.
|
|
31
35
|
* Called when the redirect icon (SquareArrowOutUpRight) is clicked.
|
|
@@ -43,6 +47,6 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
|
|
|
43
47
|
};
|
|
44
48
|
}) => void;
|
|
45
49
|
}
|
|
46
|
-
export declare function CustomChatCrRedirection({ mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
|
|
50
|
+
export declare function CustomChatCrRedirection({ mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, customStyles, customIcons }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
|
|
47
51
|
export {};
|
|
48
52
|
//# sourceMappingURL=CustomChatCrRedirection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.tsx"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI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