@e-llm-studio/requirement-ai 0.0.10 → 0.0.12

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.
Files changed (35) hide show
  1. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  6. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js +1 -1
  7. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  8. package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  9. package/dist/cjs/features/RequirementAI/shared/Accordian.module.css.js +1 -1
  10. package/dist/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.js +1 -1
  11. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  12. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.module.css.js +1 -1
  13. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  14. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.js +1 -1
  15. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.module.css.js +1 -1
  16. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  17. package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
  18. package/dist/features/RequirementAI/shared/Accordian.module.css.js +1 -1
  19. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  20. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +1 -0
  21. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  22. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +6 -1
  23. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
  24. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +10 -4
  25. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
  26. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts +4 -1
  27. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.d.ts.map +1 -1
  28. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts +6 -1
  29. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts.map +1 -1
  30. package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
  31. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts +73 -0
  32. package/dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts.map +1 -0
  33. package/dist/types/src/index.d.ts +2 -1
  34. package/dist/types/src/index.d.ts.map +1 -1
  35. package/package.json +6 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("react"),n=require("react-markdown"),l=require("rehype-raw"),a=require("lucide-react"),o=require("@mui/material"),s=require("./AiReasonMarkdownWrapper.module.css.js"),r=require("../../shared/ExpandableOl.js"),d=require("../citations/web-citation/WebCitationWithImageRenderer.js"),c=require("../citations/web-citation/WebCitationRenderer.js"),u=require("../citations/image-citation/ImageCitationRenderer.js"),_=require("../citations/file-citation/FileCitationRender.js"),m=require("../RequirementAIWrapper/RequirementAIWrapper.js"),v=require("../citations/stormee-citation/StormeeCitationRenderer.js"),f=require("../citations/audio-citation/WaveformCitationRenderer.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(n),j=h(l);exports.AiReasonMarkdownWrapper=function(n){var l=n.message,h=n.isExpandableOrderedListEnabled,g=n.customStyles,x=n.citationStyles,b=n.customIcons,y=n.onSelectProceed,q=n.isDisableProceedButton,w=t.useRef(null),I=m.useRequirementAI().citations,S=t.useMemo(function(){return{h1:function(t){t.node;var n=e.__rest(t,["node"]);return i.jsx("h1",e.__assign({className:s.default.h1,style:null==g?void 0:g.h1},{children:null==n?void 0:n.children}))},h2:function(t){t.node;var n=e.__rest(t,["node"]);return i.jsx("h2",e.__assign({className:s.default.h2,style:null==g?void 0:g.h2},{children:null==n?void 0:n.children}))},h3:function(t){t.node;var n=e.__rest(t,["node"]);return i.jsx("h2",e.__assign({className:s.default.h3,style:null==g?void 0:g.h3},{children:null==n?void 0:n.children}))},b:function(t){return t.node,e.__rest(t,["node"]),i.jsx("b",{className:s.default.bold,style:null==g?void 0:g.b})},p:function(t){t.node;var n=e.__rest(t,["node"]);return i.jsx("p",e.__assign({},n,{className:s.default.paragraph,style:null==g?void 0:g.p},{children:null==n?void 0:n.children}))},ol:function(t){t.node;var n=e.__rest(t,["node"]);return h?i.jsx(r.default,e.__assign({customStyles:null==g?void 0:g.expandOlStyle,onProceed:y,isProceedDisabled:q},{children:null==n?void 0:n.children})):i.jsx("ol",e.__assign({className:s.default.orderedList,style:null==g?void 0:g.ol},{children:null==n?void 0:n.children}))},ul:function(t){t.node;var n=e.__rest(t,["node"]);return i.jsx("ul",e.__assign({className:s.default.unorderedList},{children:null==n?void 0:n.children}))},a:function(n){var l,a,o,s,r,m,h;n.inline;var p=n.children;n.node;var j=e.__rest(n,["inline","children","node"]);null==j||j.table;var g="".concat(null==j?void 0:j.href),y=null===(l=g.split("$"))||void 0===l?void 0:l[0],q=null===(a=g.split("$"))||void 0===a?void 0:a[1],w=("appmode_citation"===y?(null==I?void 0:I.appmod_citations)||[]:"image_citation"===y?(null==I?void 0:I.image_citations)||[]:"audio_citation"===y?(null==I?void 0:I.audio_citations)||[]:"document_citation"===y?(null==I?void 0:I.file_citations)||[]:"rca_citation"===y?(null==I?void 0:I.rca_citations)||[]:"web_citation"===y?(null==I?void 0:I.web_citations)||[]:"code_generated"===y&&(null==I?void 0:I.code_generated)||[]).find(function(e){return e.citation_number===q});return"image_citation"!==y||w?"web_citation"===(null===(o=null==w?void 0:w.customMetadata)||void 0===o?void 0:o.type)?(null===(s=w.customMetadata)||void 0===s?void 0:s.screenshot_url)?i.jsx(d.default,{title:p,citation:w,customStyles:null==x?void 0:x.webCitation,customIcons:b}):i.jsx(c.default,{label:p,url:null===(r=w.customMetadata)||void 0===r?void 0:r.link,customStyles:null==x?void 0:x.webCitation,customIcons:b}):"audio_transcript"===(null===(m=null==w?void 0:w.customMetadata)||void 0===m?void 0:m.type)?"stormee"===(null==w?void 0:w.customMetadata.audio_citation_mode)?i.jsx(t.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(v.default,{title:"".concat(p),citation:w,customStyles:null==x?void 0:x.stormeeCitation,customIcons:b})})):i.jsx(t.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(f.default,{title:"".concat(p),citation:w,customStyles:null==x?void 0:x.waveformCitation,customIcons:b})})):"image_citation"===(null==w?void 0:w.customMetadata.type)?i.jsx(t.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(u.default,{title:"".concat(p),citation:w,customIcons:b})})):"book_citation_doc"===(null===(h=null==w?void 0:w.customMetadata)||void 0===h?void 0:h.type)||"book_citation_pdf"===(null==w?void 0:w.customMetadata.type)?i.jsx(t.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(_.default,{title:"".concat(p),citation:w,customIcons:b})})):null:null},code:function(t){t.inline;var n=t.children,l=t.className;return t.node,e.__rest(t,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?i.jsx("div",{children:i.jsx("code",e.__assign({className:s.default.blockCode},{children:n}))}):i.jsx("code",e.__assign({className:s.default.inlineCode,style:null==g?void 0:g.code},{children:n}))},learned:function(t){var n=t.children;return i.jsx(i.Fragment,{children:i.jsx(o.Tooltip,e.__assign({title:n,placement:"top"},{children:i.jsx(a.Info,{size:16,className:s.default.learnedIcon})}))})}}},[I,h]);return i.jsx("div",e.__assign({ref:w,className:"w-full"},{children:i.jsx(p.default,e.__assign({components:S,rehypePlugins:[j.default]},{children:l}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("react-markdown"),l=require("rehype-raw"),a=require("lucide-react"),o=require("@mui/material"),s=require("./AiReasonMarkdownWrapper.module.css.js"),r=require("../../shared/ExpandableOl.js"),d=require("../citations/web-citation/WebCitationWithImageRenderer.js"),c=require("../citations/web-citation/WebCitationRenderer.js"),u=require("../citations/image-citation/ImageCitationRenderer.js"),_=require("../citations/file-citation/FileCitationRender.js"),m=require("../RequirementAIWrapper/RequirementAIWrapper.js"),v=require("../citations/stormee-citation/StormeeCitationRenderer.js"),f=require("../citations/audio-citation/WaveformCitationRenderer.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=h(t),j=h(l);exports.AiReasonMarkdownWrapper=function(t){var l=t.message,h=t.isExpandableOrderedListEnabled,g=t.customStyles,x=t.citationStyles,b=t.customIcons,y=t.onSelectProceed,q=t.isDisableProceedButton,I=n.useRef(null),w=m.useRequirementAI().citations,S=n.useMemo(function(){return{h1:function(n){n.node;var t=e.__rest(n,["node"]);return i.jsx("h1",e.__assign({className:s.default.h1,style:null==g?void 0:g.h1},{children:null==t?void 0:t.children}))},h2:function(n){n.node;var t=e.__rest(n,["node"]);return i.jsx("h2",e.__assign({className:s.default.h2,style:null==g?void 0:g.h2},{children:null==t?void 0:t.children}))},h3:function(n){n.node;var t=e.__rest(n,["node"]);return i.jsx("h2",e.__assign({className:s.default.h3,style:null==g?void 0:g.h3},{children:null==t?void 0:t.children}))},b:function(n){return n.node,e.__rest(n,["node"]),i.jsx("b",{className:s.default.bold,style:null==g?void 0:g.b})},p:function(n){n.node;var t=e.__rest(n,["node"]);return i.jsx("p",e.__assign({},t,{className:s.default.paragraph,style:null==g?void 0:g.p},{children:null==t?void 0:t.children}))},ol:function(n){n.node;var t=e.__rest(n,["node"]);return h?i.jsx(r.default,e.__assign({customStyles:null==g?void 0:g.expandOlStyle,onProceed:y,isProceedDisabled:q},{children:null==t?void 0:t.children})):i.jsx("ol",e.__assign({className:s.default.orderedList,style:null==g?void 0:g.ol},{children:null==t?void 0:t.children}))},ul:function(n){n.node;var t=e.__rest(n,["node"]);return i.jsx("ul",e.__assign({className:s.default.unorderedList},{children:null==t?void 0:t.children}))},a:function(t){var l,a,o,s,r,m,h;t.inline;var p=t.children;t.node;var j=e.__rest(t,["inline","children","node"]);null==j||j.table;var g="".concat(null==j?void 0:j.href),y=null===(l=g.split("$"))||void 0===l?void 0:l[0],q=null===(a=g.split("$"))||void 0===a?void 0:a[1],I=("appmode_citation"===y?(null==w?void 0:w.appmod_citations)||[]:"image_citation"===y?(null==w?void 0:w.image_citations)||[]:"audio_citation"===y?(null==w?void 0:w.audio_citations)||[]:"document_citation"===y?(null==w?void 0:w.file_citations)||[]:"rca_citation"===y?(null==w?void 0:w.rca_citations)||[]:"web_citation"===y?(null==w?void 0:w.web_citations)||[]:"code_generated"===y&&(null==w?void 0:w.code_generated)||[]).find(function(e){return e.citation_number===decodeURIComponent(q)});return"image_citation"!==y||I?"web_citation"===(null===(o=null==I?void 0:I.customMetadata)||void 0===o?void 0:o.type)?(null===(s=I.customMetadata)||void 0===s?void 0:s.screenshot_url)?i.jsx(d.default,{title:p,citation:I,customStyles:null==x?void 0:x.webCitation,customIcons:b}):i.jsx(c.default,{label:p,url:null===(r=I.customMetadata)||void 0===r?void 0:r.link,customStyles:null==x?void 0:x.webCitation,customIcons:b}):"audio_transcript"===(null===(m=null==I?void 0:I.customMetadata)||void 0===m?void 0:m.type)?"stormee"===(null==I?void 0:I.customMetadata.audio_citation_mode)?i.jsx(n.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(v.default,{title:"".concat(p),citation:I,customStyles:null==x?void 0:x.stormeeCitation,customIcons:b})})):i.jsx(n.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(f.default,{title:"".concat(p),citation:I,customStyles:null==x?void 0:x.waveformCitation,customIcons:b})})):"image_citation"===(null==I?void 0:I.customMetadata.type)?i.jsx(n.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(u.default,{title:"".concat(p),citation:I,customIcons:b})})):"book_citation_doc"===(null===(h=null==I?void 0:I.customMetadata)||void 0===h?void 0:h.type)||"book_citation_pdf"===(null==I?void 0:I.customMetadata.type)?i.jsx(n.Suspense,e.__assign({fallback:i.jsx(i.Fragment,{})},{children:i.jsx(_.default,{title:"".concat(p),citation:I,customIcons:b})})):null:null},code:function(n){n.inline;var t=n.children,l=n.className;return n.node,e.__rest(n,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?i.jsx("div",{children:i.jsx("code",e.__assign({className:s.default.blockCode},{children:t}))}):i.jsx("code",e.__assign({className:s.default.inlineCode,style:null==g?void 0:g.code},{children:t}))},learned:function(n){var t=n.children;return i.jsx(i.Fragment,{children:i.jsx(o.Tooltip,e.__assign({title:t,placement:"top"},{children:i.jsx(a.Info,{size:16,className:s.default.learnedIcon})}))})}}},[w,h]);return i.jsx("div",e.__assign({ref:I,className:"w-full"},{children:i.jsx(p.default,e.__assign({components:S,rehypePlugins:[j.default]},{children:l}))}))};
2
2
  //# sourceMappingURL=AiReasonMarkdownWrapper.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),i=require("lucide-react"),o=require("./CustomChatCrRedirection.module.css.js"),r=require("../ai-reasoning/AiReasoningCitationContent.js"),s=require("../../icons/CognitiveDecision.js"),a=require("../RequirementAIWrapper/RequirementAIWrapper.js");exports.CustomChatCrRedirection=function(c){var u=c.msg,d=c.type,l=c.id,g=c.aiReason,f=c.text,m=c.headerText,p=c.decisionStrength;c.statusUi,c.panelRef;var h=c.onHandleSend,x=c.onRedirectClick,j=c.gapType,v=c.isGenerating,_=void 0!==v&&v,w=t.useState(!1),C=w[0],R=w[1];console.log("testing::reasoning",g);var S=function(){null==h||h("Deep Dive into ".concat(j," ").concat(m,": ").concat(f))};return console.log("testing::aiReasoning",g),n.jsxs("div",e.__assign({className:[o.default.outerWrapper,_?o.default.outerWrapperDisabled:""].join(" ")},{children:[n.jsxs("div",e.__assign({className:[o.default.card,_?o.default.cardDisabled:o.default.cardInteractive].join(" ")},{children:[n.jsxs("div",e.__assign({className:o.default.leftSide},{children:[n.jsxs("span",e.__assign({className:o.default.textBlock},{children:[m&&n.jsxs("span",e.__assign({className:o.default.headerText},{children:[m,f?" ":""]})),f]})),n.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),_||R(!C)},className:[o.default.reasoningToggle,_?o.default.reasoningToggleDisabled:o.default.reasoningToggleActive].join(" ")},{children:[n.jsx(s.default,{}),C?n.jsx(i.ChevronUp,{className:o.default.chevronIcon}):n.jsx(i.ChevronDown,{className:o.default.chevronIcon})]}))]})),n.jsxs("div",e.__assign({className:o.default.rightSide},{children:[n.jsx("button",e.__assign({disabled:_,className:[o.default.fixButton,_?o.default.fixButtonDisabled:""].join(" "),onClick:function(e){e.stopPropagation(),_||S()}},{children:"Fix"})),n.jsx(i.SquareArrowOutUpRight,{onClick:_?void 0:function(){_||null==x||x({type:d,id:l,aiReason:g,msg:u,meta:{headerText:m,decisionStrength:p,text:f}})},size:18,className:[_?o.default.redirectIconDisabled:o.default.redirectIcon].join(" ")})]}))]})),C&&n.jsx(a.default,e.__assign({searchQueryList:[""],searchQueryReasoningIdList:[],userStory:[],aiReasoning:[],citations:{},apiCachingConfig:{queryClient:void 0,useGetSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")},useGetSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksQuery:function(e,n){throw new Error("Function not implemented.")},useGetVideoSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useGetVideoSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")}},customIcons:void 0,setUserStory:function(e){throw new Error("Function not implemented.")},setAiReasoning:function(e){throw new Error("Function not implemented.")},setCitations:function(e){throw new Error("Function not implemented.")}},{children:n.jsx(r.default,{aiReason:{id:"1",reason:g.Reasoning||"",gap:g.Gap||"",relevance_score:Number(g.Confidence_score),explanation:g.explanation||""},onSelectProceed:S})}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),a=require("./CustomChatCrRedirection.module.css.js"),t=require("../ai-reasoning/AiReasoningCitationContent.js"),l=require("../../icons/CognitiveDecision.js");exports.CustomChatCrRedirection=function(o){var r=o.mode,d=o.msg,c=o.type,u=o.id,g=o.aiReason,v=o.text,_=o.headerText,f=o.decisionStrength;o.statusUi,o.panelRef;var x=o.onHandleSend,p=o.onRedirectClick,h=o.gapType,j=o.isGenerating,m=void 0!==j&&j,y=o.customStyles,C=o.customIcons,b=n.useState(!1),D=b[0],S=b[1];console.log("testing::reasoning",g);var N=(null==C?void 0:C.highConfidence)||i.jsx(l.default,{}),R=function(){"cra"===r?null==x||x("Discuss ambiguities on ".concat(v)):null==x||x("Deep Dive into ".concat(h," ").concat(_,": ").concat(v))};return console.log("testing::aiReasoning",g),i.jsxs("div",e.__assign({className:[a.default.outerWrapper,m?a.default.outerWrapperDisabled:""].join(" "),style:e.__assign(e.__assign({},null==y?void 0:y.redirectionOuterWrapper),m?null==y?void 0:y.redirectionOuterWrapperDisabled:{})},{children:[i.jsxs("div",e.__assign({className:[a.default.card,m?a.default.cardDisabled:a.default.cardInteractive].join(" "),style:e.__assign(e.__assign({},null==y?void 0:y.redirectionCard),m?null==y?void 0:y.redirectionCardDisabled:null==y?void 0:y.redirectionCardInteractive)},{children:[i.jsxs("div",e.__assign({className:a.default.leftSide,style:null==y?void 0:y.redirectionLeftSide},{children:[i.jsxs("span",e.__assign({className:a.default.textBlock,style:null==y?void 0:y.redirectionTextBlock},{children:[_&&i.jsxs("span",e.__assign({className:a.default.headerText,style:null==y?void 0:y.redirectionHeaderText},{children:[_,v?" ":""]})),v]})),i.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),m||S(!D)},className:[a.default.reasoningToggle,m?a.default.reasoningToggleDisabled:a.default.reasoningToggleActive].join(" "),style:e.__assign(e.__assign({},null==y?void 0:y.reasoningToggle),m?null==y?void 0:y.reasoningToggleDisabled:null==y?void 0:y.reasoningToggleActive)},{children:[N,D?i.jsx(s.ChevronUp,{className:a.default.chevronIcon,style:null==y?void 0:y.chevronIcon}):i.jsx(s.ChevronDown,{className:a.default.chevronIcon,style:null==y?void 0:y.chevronIcon})]}))]})),"risk-gap"===r&&i.jsxs("div",e.__assign({className:a.default.rightSide,style:null==y?void 0:y.redirectionRightSide},{children:[i.jsx("button",e.__assign({disabled:m,className:[a.default.fixButton,m?a.default.fixButtonDisabled:""].join(" "),style:e.__assign(e.__assign({},null==y?void 0:y.redirectionFixButton),m?null==y?void 0:y.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),m||R()}},{children:"Fix"})),i.jsx(s.SquareArrowOutUpRight,{onClick:m?void 0:function(){m||null==p||p({type:c,id:u,aiReason:g,msg:d,meta:{headerText:_,decisionStrength:f,text:v}})},size:18,className:[m?a.default.redirectIconDisabled:a.default.redirectIcon].join(" "),style:e.__assign({},m?null==y?void 0:y.redirectIconDisabled:null==y?void 0:y.redirectIcon)})]})),"cra"===r&&i.jsx("div",e.__assign({className:a.default.rightSide,style:null==y?void 0:y.redirectionRightSide},{children:i.jsx("button",e.__assign({disabled:m,className:[a.default.clarifyButton,m?a.default.fixButtonDisabled:""].join(" "),style:e.__assign(e.__assign({},null==y?void 0:y.redirectionClarifyButton),m?null==y?void 0:y.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),m||R()}},{children:"Clarify"}))}))]})),D&&i.jsx(t.default,{aiReason:{id:"1",reason:g.Reasoning||"",gap:g.Gap||"",relevance_score:Number(g.Confidence_score),explanation:g.explanation||""},onSelectProceed:R,customStyles:null==y?void 0:y.aiReasoningStyles})]}))};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".CustomChatCrRedirection-module_outerWrapper__-8Du6{display:flex;flex-direction:column;gap:8px;width:100%}.CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH{cursor:not-allowed}.CustomChatCrRedirection-module_card__S2b3w{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;display:inline-flex;padding:8px 16px;width:100%}.CustomChatCrRedirection-module_cardInteractive__u-azG{cursor:pointer}.CustomChatCrRedirection-module_cardInteractive__u-azG:hover{background-color:#f9fafb}.CustomChatCrRedirection-module_cardDisabled__mc0Mk{cursor:default;opacity:.75}.CustomChatCrRedirection-module_leftSide__tYQAv{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;min-width:0}.CustomChatCrRedirection-module_textBlock__eUNwE{color:#1f2937;display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CustomChatCrRedirection-module_headerText__kswTw{color:#000;font-weight:700}.CustomChatCrRedirection-module_reasoningToggle__wm3EY{align-items:baseline;display:flex;flex-direction:row}.CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX{cursor:pointer}.CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_chevronIcon__tVy1m{height:16px;width:16px}.CustomChatCrRedirection-module_rightSide__JEdzU{align-items:center;display:flex;flex-shrink:0;gap:12px;margin-left:16px}.CustomChatCrRedirection-module_fixButton__Sr1BF{background-color:#5925dc;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:4px 12px;transition:transform .1s ease}.CustomChatCrRedirection-module_fixButton__Sr1BF:active:not(:disabled){transform:scale(.95)}.CustomChatCrRedirection-module_fixButtonDisabled__0RGvi{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_redirectIcon__ed7yQ{color:#4f46e5;cursor:pointer}.CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q{color:#d1d5db}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={outerWrapper:"CustomChatCrRedirection-module_outerWrapper__-8Du6",outerWrapperDisabled:"CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH",card:"CustomChatCrRedirection-module_card__S2b3w",cardInteractive:"CustomChatCrRedirection-module_cardInteractive__u-azG",cardDisabled:"CustomChatCrRedirection-module_cardDisabled__mc0Mk",leftSide:"CustomChatCrRedirection-module_leftSide__tYQAv",textBlock:"CustomChatCrRedirection-module_textBlock__eUNwE",headerText:"CustomChatCrRedirection-module_headerText__kswTw",reasoningToggle:"CustomChatCrRedirection-module_reasoningToggle__wm3EY",reasoningToggleActive:"CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX",reasoningToggleDisabled:"CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5",chevronIcon:"CustomChatCrRedirection-module_chevronIcon__tVy1m",rightSide:"CustomChatCrRedirection-module_rightSide__JEdzU",fixButton:"CustomChatCrRedirection-module_fixButton__Sr1BF",fixButtonDisabled:"CustomChatCrRedirection-module_fixButtonDisabled__0RGvi",redirectIcon:"CustomChatCrRedirection-module_redirectIcon__ed7yQ",redirectIconDisabled:"CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".CustomChatCrRedirection-module_outerWrapper__-8Du6{display:flex;flex-direction:column;gap:8px;width:100%}.CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH{cursor:not-allowed}.CustomChatCrRedirection-module_card__S2b3w{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;display:inline-flex;padding:8px 16px;width:100%}.CustomChatCrRedirection-module_cardInteractive__u-azG{cursor:pointer}.CustomChatCrRedirection-module_cardInteractive__u-azG:hover{background-color:#f9fafb}.CustomChatCrRedirection-module_cardDisabled__mc0Mk{cursor:default;opacity:.75}.CustomChatCrRedirection-module_leftSide__tYQAv{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;min-width:0}.CustomChatCrRedirection-module_textBlock__eUNwE{color:#1f2937;display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CustomChatCrRedirection-module_headerText__kswTw{color:#000;font-weight:700}.CustomChatCrRedirection-module_reasoningToggle__wm3EY{align-items:baseline;display:flex;flex-direction:row}.CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX{cursor:pointer}.CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_chevronIcon__tVy1m{height:16px;width:16px}.CustomChatCrRedirection-module_rightSide__JEdzU{align-items:center;display:flex;flex-shrink:0;gap:12px;margin-left:16px}.CustomChatCrRedirection-module_fixButton__Sr1BF{background-color:#5925dc;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:4px 12px;transition:transform .1s ease}.CustomChatCrRedirection-module_clarifyButton__WZMnl{background-color:initial;border:none;color:#5925dc;cursor:pointer;font-size:14px;font-weight:400}.CustomChatCrRedirection-module_fixButton__Sr1BF:active:not(:disabled){transform:scale(.95)}.CustomChatCrRedirection-module_fixButtonDisabled__0RGvi{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_redirectIcon__ed7yQ{color:#4f46e5;cursor:pointer}.CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q{color:#d1d5db}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={outerWrapper:"CustomChatCrRedirection-module_outerWrapper__-8Du6",outerWrapperDisabled:"CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH",card:"CustomChatCrRedirection-module_card__S2b3w",cardInteractive:"CustomChatCrRedirection-module_cardInteractive__u-azG",cardDisabled:"CustomChatCrRedirection-module_cardDisabled__mc0Mk",leftSide:"CustomChatCrRedirection-module_leftSide__tYQAv",textBlock:"CustomChatCrRedirection-module_textBlock__eUNwE",headerText:"CustomChatCrRedirection-module_headerText__kswTw",reasoningToggle:"CustomChatCrRedirection-module_reasoningToggle__wm3EY",reasoningToggleActive:"CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX",reasoningToggleDisabled:"CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5",chevronIcon:"CustomChatCrRedirection-module_chevronIcon__tVy1m",rightSide:"CustomChatCrRedirection-module_rightSide__JEdzU",fixButton:"CustomChatCrRedirection-module_fixButton__Sr1BF",clarifyButton:"CustomChatCrRedirection-module_clarifyButton__WZMnl",fixButtonDisabled:"CustomChatCrRedirection-module_fixButtonDisabled__0RGvi",redirectIcon:"CustomChatCrRedirection-module_redirectIcon__ed7yQ",redirectIconDisabled:"CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q"};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.module.css.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),r=require("lodash"),o=require("./GapFilterContentWrapper.js"),a=require("./GapFilterItem.js"),i=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw");var d=["critical","recommendation","warning"];function s(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function u(t){return n.Children.toArray(t).filter(function(e){return n.isValidElement(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(t){var n,r,o=t.props,a=o.children,i=e.__rest(o,["children"]),l={};Object.keys(i).forEach(function(e){e.startsWith("data-")||(l[e]=i[e])});var c,d,s=(c=i,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),u=i["decision-strength"];return{text:a,headerText:i.headertext,tags:i.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:i.score,pendingCount:i.pendingcount,question:i.question,components:i.components,showFix:null!==(n=i.showfix)&&void 0!==n&&n,showRedirect:null!==(r=i.showredirect)&&void 0!==r&&r}})}var g={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(l.SirenIcon,{}),label:"Critical",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(l.WarningIcon,{}),label:"Warning",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(l.SupportIcon,{}),label:"Just a Suggestion",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(l.SupportIcon,{}),label:"",decisionStrength:""}},p={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};function f(){return t.jsx("div",e.__assign({className:c.default.skeletonWrapper},{children:t.jsx("div",e.__assign({className:c.default.skeletonInner},{children:t.jsx("div",e.__assign({className:c.default.skeletonCard},{children:t.jsxs("div",e.__assign({className:c.default.skeletonRow},{children:[t.jsxs("div",e.__assign({className:c.default.skeletonTextGroup},{children:[t.jsx("div",{className:"".concat(c.default.skeletonLine," ").concat(c.default.skeletonLineLong)}),t.jsx("div",{className:"".concat(c.default.skeletonLine," ").concat(c.default.skeletonLineMedium)})]})),t.jsxs("div",e.__assign({className:c.default.skeletonButtonGroup},{children:[t.jsx("div",{className:c.default.skeletonButton}),t.jsx("div",{className:c.default.skeletonIcon})]}))]}))}))}))}))}exports.GapFilterBlock=function(l){l.node;var m=l.children,x=l.type,v=l.supportedmodes,h=void 0===v?"":v,b=l["decision-strength"],C=void 0===b?"":b,y=l.pendingdata,_=void 0===y?"":y,j=l.isGeneratingGap,k=void 0!==j&&j,S=l.selectedGapItemId,F=void 0===S?"":S,I=l.onItemSelect,N=l.onHandleSend,B=l.onModeAction,R=l.msg,T=l.panelRef,G=l.getAccordionState,w=l.setAccordionState,A=l.registerGapFilterBlockCount,q=l.getShowGapReviewButtonType,E=x,W=s(C),D=n.useState(function(){var e;return null!==(e=null==G?void 0:G(E))&&void 0!==e?e:""}),L=D[0],z=D[1],M=function(e){z(e),null==w||w(E,e)},U=u(m),H=n.useMemo(function(){return U.reduce(function(e,t){var n,r,o,a=null!==(n=t.tags)&&void 0!==n?n:"Uncategorized",i=null!==(o=null===(r=t.dataAttrs)||void 0===r?void 0:r.categoryid)&&void 0!==o?o:"1",l=e.find(function(e){return e.categoryName===a});return l||(l={categoryName:a,categoryId:i,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[])},[U]),O=n.useMemo(function(){return e=E,d.includes(e)?{labelColor:g[E].labelColor,badgeBackgroundColor:g[E].badgeBackgroundColor,badgeTextColor:g[E].badgeTextColor,label:g[E].label,decisionStrength:W||g[E].decisionStrength}:{labelColor:g.default.labelColor,badgeBackgroundColor:g.default.badgeBackgroundColor,badgeTextColor:g.default.badgeTextColor,label:r.capitalize(E),decisionStrength:W||""};var e},[E,W]);n.useEffect(function(){null==A||A(E,U.length)},[E,U.length,A]);var J=function(t,n,r){if(void 0===r&&(r={}),!k){var o="".concat(H[t].categoryId,"-").concat(n);null==I||I(o);var a=e.__assign(e.__assign({},H[t].items[n].dataAttrs),r);null==B||B(h,a)}},P=!!q&&q()===E;return t.jsxs(o.GapFilterContentWrapper,e.__assign({type:E,config:O,count:U.length,handleReviewClick:function(){U.length>0&&M(E)},openAccordion:L,onAccordionChange:function(e){M(L===e?"":e)},shouldShowReviewButton:P,pendingData:_},{children:[H.map(function(n,r){return t.jsxs("div",e.__assign({className:c.default.categoryGroup},{children:["gapfilteritem"===n.type&&"Uncategorized"!==n.categoryName&&t.jsx("p",e.__assign({className:c.default.categoryLabel},{children:n.categoryName})),n.items.map(function(o,l){var d,s,u,g,f=o.attrs||{},m=null===(d=o.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],x=f.id||(null===(s=o.dataAttrs)||void 0===s?void 0:s.id)||"",v="I"===x[0]?"UI_REF":"CHAT_REF",h=null===(u=null==R?void 0:R.contextAwareAgentReasoning)||void 0===u?void 0:u[m];return"gapfilteritem"===o.type?t.jsx("div",e.__assign({className:[c.default.gapFilterItemWrapper,"Uncategorized"!==n.categoryName?c.default.gapFilterItemWrapperIndented:""].join(" ")},{children:t.jsx(a.GapFilterItem,{index:l,isSelected:F==="".concat(n.categoryId,"-").concat(l),onClick:function(){return J(r,l)},onFixClick:function(){return J(r,l,{triggerFrom:"fix"})},onRedirect:function(){return J(r,l,{triggerFrom:"redirect"})},item:o,isGenerating:k,aiReason:h,panelRef:null!=T?T:{current:null},id:m})}),l):(console.log("testing::reasoningId",o.type),t.jsx("div",e.__assign({className:c.default.crRedirectionGroup},{children:t.jsx("div",e.__assign({className:c.default.crRedirectionInner},{children:t.jsx(i.CustomChatCrRedirection,{msg:R,type:v,text:o.text,headerText:o.headerText,decisionStrength:o.decisionStrength,id:x,gapType:E,onHandleSend:N,isGenerating:k,aiReason:h,statusUi:null!==(g=p[E])&&void 0!==g?g:p.recommendation,panelRef:null!=T?T:{current:null}})}))}),l))})]}),"".concat(n.categoryName,"-").concat(r))}),k&&t.jsx(f,{})]}))},exports.normalizeDecisionStrength=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),o=require("lodash"),r=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),l=require("./CustomChatCrRedirection.js"),a=require("./gapFilterSvgs.js"),s=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");var d=["critical","recommendation","warning"];function c(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function u(t){return n.Children.toArray(t).filter(function(e){return n.isValidElement(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(t){var n,o,r=t.props,i=r.children,l=e.__rest(r,["children"]),a={};Object.keys(l).forEach(function(e){e.startsWith("data-")||(a[e]=l[e])});var s,d,c=(s=l,d={},Object.keys(s).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=s[e])}),d),u=l["decision-strength"];return{text:i,headerText:l.headertext,tags:l.tags,dataAttrs:c,decisionStrength:u,attrs:a,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:l.score,pendingCount:l.pendingcount,question:l.question,components:l.components,showFix:null!==(n=l.showfix)&&void 0!==n&&n,showRedirect:null!==(o=l.showredirect)&&void 0!==o&&o}})}var g={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};function p(n){var o=n.customStyles;return t.jsx("div",e.__assign({className:s.default.skeletonWrapper,style:null==o?void 0:o.skeletonWrapper},{children:t.jsx("div",e.__assign({className:s.default.skeletonInner,style:null==o?void 0:o.skeletonInner},{children:t.jsx("div",e.__assign({className:s.default.skeletonCard,style:null==o?void 0:o.skeletonCard},{children:t.jsxs("div",e.__assign({className:s.default.skeletonRow,style:null==o?void 0:o.skeletonRow},{children:[t.jsxs("div",e.__assign({className:s.default.skeletonTextGroup,style:null==o?void 0:o.skeletonGroup},{children:[t.jsx("div",{className:"".concat(s.default.skeletonLine," ").concat(s.default.skeletonLineLong),style:null==o?void 0:o.skeletonLineLong}),t.jsx("div",{className:"".concat(s.default.skeletonLine," ").concat(s.default.skeletonLineMedium),style:null==o?void 0:o.skeletonLineMedium})]})),t.jsxs("div",e.__assign({className:s.default.skeletonButtonGroup,style:null==o?void 0:o.skeletonButtonGroup},{children:[t.jsx("div",{className:s.default.skeletonButton,style:null==o?void 0:o.skeletonButton}),t.jsx("div",{className:s.default.skeletonIcon,style:null==o?void 0:o.skeletonIcon})]}))]}))}))}))}))}exports.GapFilterBlock=function(m){var f=m.mode;m.node;var v=m.children,y=m.type,x=m.supportedmodes,h=void 0===x?"":x,C=m["decision-strength"],b=void 0===C?"":C,k=m.pendingdata,j=void 0===k?"":k,_=m.isGeneratingGap,S=void 0!==_&&_,I=m.selectedGapItemId,R=void 0===I?"":I,B=m.onItemSelect,N=m.onHandleSend,F=m.onModeAction,G=m.msg,A=m.panelRef,T=m.getAccordionState,w=m.setAccordionState,q=m.registerGapFilterBlockCount,W=m.getShowGapReviewButtonType,E=m.customStyles,L=m.customIcons,D=y,M=c(b),z=n.useState(function(){var e;return null!==(e=null==T?void 0:T(D))&&void 0!==e?e:""}),U=z[0],H=z[1],O=function(e){H(e),null==w||w(D,e)},J=u(v),P=n.useMemo(function(){return J.reduce(function(e,t){var n,o,r,i=null!==(n=t.tags)&&void 0!==n?n:"Uncategorized",l=null!==(r=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==r?r:"1",a=e.find(function(e){return e.categoryName===i});return a||(a={categoryName:i,categoryId:l,type:t.type,items:[]},e.push(a)),a.items.push(t),e},[])},[J]),V={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(a.SirenIcon,{}),label:"risk-gap"===f?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(a.WarningIcon,{}),label:"risk-gap"===f?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(a.SupportIcon,{}),label:"risk-gap"===f?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(a.SupportIcon,{}),label:"",decisionStrength:""}},$=n.useMemo(function(){return e=D,d.includes(e)?{labelColor:V[D].labelColor,badgeBackgroundColor:V[D].badgeBackgroundColor,badgeTextColor:V[D].badgeTextColor,label:V[D].label,decisionStrength:M||V[D].decisionStrength}:{labelColor:V.default.labelColor,badgeBackgroundColor:V.default.badgeBackgroundColor,badgeTextColor:V.default.badgeTextColor,label:o.capitalize(D),decisionStrength:M||""};var e},[D,M]);n.useEffect(function(){null==q||q(D,J.length)},[D,J.length,q]);var K=function(t,n,o){if(void 0===o&&(o={}),!S){var r="".concat(P[t].categoryId,"-").concat(n);null==B||B(r);var i=e.__assign(e.__assign({},P[t].items[n].dataAttrs),o);null==F||F(h,i)}};return W&&W(),t.jsxs(r.GapFilterContentWrapper,e.__assign({mode:f,type:D,config:$,count:J.length,handleReviewClick:function(){J.length>0&&O(D)},openAccordion:U,onAccordionChange:function(e){O(U===e?"":e)},shouldShowReviewButton:!1,pendingData:j,customStyles:E},{children:[P.map(function(n,o){return t.jsxs("div",e.__assign({className:s.default.categoryGroup,style:null==E?void 0:E.categoryGroup},{children:["gapfilteritem"===n.type&&"Uncategorized"!==n.categoryName&&t.jsx("p",e.__assign({className:s.default.categoryLabel,style:null==E?void 0:E.categoryLabel},{children:n.categoryName})),n.items.map(function(r,a){var d,c,u,p,m=r.attrs||{},v=null===(d=r.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],y=m.id||(null===(c=r.dataAttrs)||void 0===c?void 0:c.id)||"",x="I"===y[0]?"UI_REF":"CHAT_REF",h=null===(u=null==G?void 0:G.contextAwareAgentReasoning)||void 0===u?void 0:u[v];return"gapfilteritem"===r.type?t.jsx("div",e.__assign({className:[s.default.gapFilterItemWrapper,"Uncategorized"!==n.categoryName?s.default.gapFilterItemWrapperIndented:""].join(" "),style:null==E?void 0:E.blockContainer},{children:t.jsx(i.GapFilterItem,{mode:f,index:a,isSelected:R==="".concat(n.categoryId,"-").concat(a),onClick:function(){return K(o,a)},onFixClick:function(){return K(o,a,{triggerFrom:"fix"})},onRedirect:function(){return K(o,a,{triggerFrom:"redirect"})},item:r,isGenerating:S,aiReason:h,panelRef:null!=A?A:{current:null},id:v,customStyles:E,customIcons:L})}),a):(console.log("testing::reasoningId",r.type),t.jsx("div",e.__assign({className:s.default.crRedirectionGroup,style:null==E?void 0:E.crRedirectionGroup},{children:t.jsx("div",e.__assign({className:s.default.crRedirectionInner,style:null==E?void 0:E.crRedirectionInner},{children:t.jsx(l.CustomChatCrRedirection,{mode:f,msg:G,type:x,text:r.text,headerText:r.headerText,decisionStrength:r.decisionStrength,id:y,gapType:D,onHandleSend:N,isGenerating:S,aiReason:h,statusUi:null!==(p=g[D])&&void 0!==p?p:g.recommendation,panelRef:null!=A?A:{current:null},customStyles:E,customIcons:L})}))}),a))})]}),"".concat(n.categoryName,"-").concat(o))}),S&&t.jsx(p,{customStyles:E})]}))},exports.normalizeDecisionStrength=c;
2
2
  //# sourceMappingURL=GapFilterBlock.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),n=require("../../shared/Accordian.js"),a=require("lucide-react"),r=require("./GapFilterContentWrapper.module.css.js");exports.GapFilterContentWrapper=function(i){var l=i.type,c=i.config,o=i.count,t=i.openAccordion,d=i.children,g=i.shouldShowReviewButton,u=void 0!==g&&g,h=i.onAccordionChange;i.handleReviewClick;var _=i.pendingData;return s.jsx(n.Accordion,e.__assign({type:"single",collapsible:!0,className:r.default.accordion,value:t,onValueChange:function(e){return h(e)}},{children:s.jsxs(n.AccordionItem,e.__assign({value:l,className:r.default.accordionItem},{children:[s.jsx(n.AccordionTrigger,e.__assign({chevronPosition:"end",className:r.default.accordionTrigger,hideChevron:u},{children:s.jsxs("div",e.__assign({className:r.default.triggerInner},{children:[s.jsxs("div",e.__assign({className:r.default.triggerLeft},{children:[s.jsxs("p",e.__assign({className:r.default.triggerLabel,style:{color:c.labelColor}},{children:[c.label,s.jsxs("span",e.__assign({className:r.default.triggerLabelCount},{children:["(",o,")"]}))]})),_.length>0&&s.jsxs("span",e.__assign({className:r.default.triggerPending},{children:["(",_,")"]}))]})),s.jsx("div",e.__assign({className:r.default.triggerRight},{children:s.jsxs("p",e.__assign({className:r.default.decisionStrengthBadge,style:{backgroundColor:c.badgeBackgroundColor,color:c.badgeTextColor}},{children:[s.jsx(a.Sparkles,{className:r.default.decisionStrengthIcon}),c.decisionStrength]}))}))]}))})),s.jsx(n.AccordionContent,e.__assign({className:r.default.accordionContent},{children:s.jsx("div",e.__assign({className:r.default.accordionContentInner},{children:d}))}))]}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("../../shared/Accordian.js"),s=require("lucide-react"),r=require("./GapFilterContentWrapper.module.css.js");exports.GapFilterContentWrapper=function(l){var a=l.mode,o=l.type,t=l.config,c=l.count,d=l.openAccordion,g=l.children,u=l.shouldShowReviewButton,_=void 0!==u&&u,h=l.onAccordionChange;l.handleReviewClick;var v=l.pendingData,m=l.customStyles;return n.jsx(i.Accordion,e.__assign({type:"single",collapsible:!0,className:r.default.accordion,value:d,onValueChange:function(e){return h(e)},style:null==m?void 0:m.accordion},{children:n.jsxs(i.AccordionItem,e.__assign({value:o,className:r.default.accordionItem,style:null==m?void 0:m.accordionItem},{children:[n.jsx(i.AccordionTrigger,e.__assign({chevronPosition:"end",className:r.default.accordionTrigger,hideChevron:_,style:null==m?void 0:m.accordionTrigger},{children:n.jsxs("div",e.__assign({className:r.default.triggerInner,style:null==m?void 0:m.triggerInner},{children:[n.jsxs("div",e.__assign({className:r.default.triggerLeft,style:null==m?void 0:m.triggerLeft},{children:[n.jsxs("p",e.__assign({className:r.default.triggerLabel,style:e.__assign(e.__assign({},null==m?void 0:m.triggerLabel),{color:t.labelColor})},{children:[t.label,n.jsxs("span",e.__assign({className:r.default.triggerLabelCount,style:null==m?void 0:m.triggerLabelCount},{children:["(",c,")"]}))]})),v.length>0&&n.jsxs("span",e.__assign({className:r.default.triggerPending,style:null==m?void 0:m.triggerPending},{children:["(",v,")"]}))]})),"risk-gap"===a&&n.jsx("div",e.__assign({className:r.default.triggerRight,style:null==m?void 0:m.triggerRight},{children:n.jsxs("p",e.__assign({className:r.default.decisionStrengthBadge,style:e.__assign({backgroundColor:t.badgeBackgroundColor,color:t.badgeTextColor},null==m?void 0:m.decisionStrengthBadge)},{children:[n.jsx(s.Sparkles,{className:r.default.decisionStrengthIcon,style:null==m?void 0:m.decisionStrengthIcon}),t.decisionStrength]}))}))]}))})),n.jsx(i.AccordionContent,e.__assign({className:r.default.accordionContent,style:null==m?void 0:m.accordionContent},{children:n.jsx("div",e.__assign({className:r.default.accordionContentInner,style:null==m?void 0:m.accordionContentInner},{children:g}))}))]}))}))};
2
2
  //# sourceMappingURL=GapFilterContentWrapper.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".GapFilterContentWrapper-module_accordion__DFUj9{margin-bottom:6px;width:100%}.GapFilterContentWrapper-module_accordionItem__TIYFH{background-color:#fff;border:1px solid #e6e8f0;border-radius:12px;padding:12px 16px}.GapFilterContentWrapper-module_accordionTrigger__8RlAi{padding-bottom:0;padding-top:0}.GapFilterContentWrapper-module_accordionTrigger__8RlAi:hover{text-decoration:none}.GapFilterContentWrapper-module_triggerInner__modQ8{align-items:center;display:flex;font-size:12px;gap:8px;justify-content:space-between;width:100%}.GapFilterContentWrapper-module_triggerLeft__MWJeo{align-items:center;display:flex;gap:4px}.GapFilterContentWrapper-module_triggerLabel__6nQvH{font-size:14px;font-weight:600}.GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx{font-weight:500;margin-left:4px}.GapFilterContentWrapper-module_triggerPending__UU9s-{color:#6b7280;font-size:12px;font-weight:500}.GapFilterContentWrapper-module_triggerRight__8ho06{align-items:center;display:flex;gap:8px}.GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN{align-items:center;border-radius:9999px;display:flex;font-size:12px;font-weight:600;gap:6px;padding:4px 10px}.GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW{height:12px;width:12px}.GapFilterContentWrapper-module_reviewButton__X2ckY{align-items:center;background-color:#4f46e5;border:none;border-radius:4px;color:#eef2ff;cursor:pointer;display:flex;flex-direction:row-reverse;font-size:12px;gap:4px;padding:2px 6px;width:fit-content}.GapFilterContentWrapper-module_reviewButton__X2ckY:hover{background-color:#4338ca}.GapFilterContentWrapper-module_reviewButtonIcon__5-aF6{font-size:12px;height:12px;line-height:1;transform:translateY(1px);width:12px}.GapFilterContentWrapper-module_accordionContent__LiMgy{padding-bottom:0}.GapFilterContentWrapper-module_accordionContentInner__7NZmS{display:flex;flex-direction:column;gap:4px}:root{--gap-critical-color:#d92d20;--gap-critical-badge-bg:#fee4e2;--gap-critical-badge-text:#b42318;--gap-warning-color:#dc6803;--gap-warning-badge-bg:#fef0c7;--gap-warning-badge-text:#b54708;--gap-recommendation-color:#039855;--gap-recommendation-badge-bg:#d1fadf;--gap-recommendation-badge-text:#027a48;--gap-default-color:#4b5563;--gap-default-badge-bg:#f3f4f6;--gap-default-badge-text:#4b5563}"));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(e)}(),exports.default={accordion:"GapFilterContentWrapper-module_accordion__DFUj9",accordionItem:"GapFilterContentWrapper-module_accordionItem__TIYFH",accordionTrigger:"GapFilterContentWrapper-module_accordionTrigger__8RlAi",triggerInner:"GapFilterContentWrapper-module_triggerInner__modQ8",triggerLeft:"GapFilterContentWrapper-module_triggerLeft__MWJeo",triggerLabel:"GapFilterContentWrapper-module_triggerLabel__6nQvH",triggerLabelCount:"GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx",triggerPending:"GapFilterContentWrapper-module_triggerPending__UU9s-",triggerRight:"GapFilterContentWrapper-module_triggerRight__8ho06",decisionStrengthBadge:"GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN",decisionStrengthIcon:"GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW",reviewButton:"GapFilterContentWrapper-module_reviewButton__X2ckY",reviewButtonIcon:"GapFilterContentWrapper-module_reviewButtonIcon__5-aF6",accordionContent:"GapFilterContentWrapper-module_accordionContent__LiMgy",accordionContentInner:"GapFilterContentWrapper-module_accordionContentInner__7NZmS"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".GapFilterContentWrapper-module_accordion__DFUj9{margin-bottom:6px;width:100%}.GapFilterContentWrapper-module_accordionItem__TIYFH{background-color:#fff;border:1px solid #e6e8f0;border-radius:12px;padding:12px 16px}.GapFilterContentWrapper-module_accordionTrigger__8RlAi{padding-bottom:0;padding-top:0}.GapFilterContentWrapper-module_accordionTrigger__8RlAi:hover{text-decoration:none}.GapFilterContentWrapper-module_triggerInner__modQ8{align-items:center;display:flex;font-size:12px;gap:8px;justify-content:space-between;width:100%}.GapFilterContentWrapper-module_triggerLeft__MWJeo{align-items:center;display:flex;gap:4px}.GapFilterContentWrapper-module_triggerLabel__6nQvH{font-size:14px;font-weight:600;margin:0}.GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx{font-weight:500;margin-left:4px}.GapFilterContentWrapper-module_triggerPending__UU9s-{color:#6b7280;font-size:12px;font-weight:500}.GapFilterContentWrapper-module_triggerRight__8ho06{align-items:center;display:flex;gap:8px}.GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN{align-items:center;border-radius:9999px;display:flex;font-size:12px;font-weight:600;gap:6px;padding:4px 10px}.GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW{height:12px;width:12px}.GapFilterContentWrapper-module_reviewButton__X2ckY{align-items:center;background-color:#4f46e5;border:none;border-radius:4px;color:#eef2ff;cursor:pointer;display:flex;flex-direction:row-reverse;font-size:12px;gap:4px;padding:2px 6px;width:fit-content}.GapFilterContentWrapper-module_reviewButton__X2ckY:hover{background-color:#4338ca}.GapFilterContentWrapper-module_reviewButtonIcon__5-aF6{font-size:12px;height:12px;line-height:1;transform:translateY(1px);width:12px}.GapFilterContentWrapper-module_accordionContent__LiMgy{padding-bottom:0}.GapFilterContentWrapper-module_accordionContentInner__7NZmS{display:flex;flex-direction:column;gap:4px}:root{--gap-critical-color:#d92d20;--gap-critical-badge-bg:#fee4e2;--gap-critical-badge-text:#b42318;--gap-warning-color:#dc6803;--gap-warning-badge-bg:#fef0c7;--gap-warning-badge-text:#b54708;--gap-recommendation-color:#039855;--gap-recommendation-badge-bg:#d1fadf;--gap-recommendation-badge-text:#027a48;--gap-default-color:#4b5563;--gap-default-badge-bg:#f3f4f6;--gap-default-badge-text:#4b5563}"));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(e)}(),exports.default={accordion:"GapFilterContentWrapper-module_accordion__DFUj9",accordionItem:"GapFilterContentWrapper-module_accordionItem__TIYFH",accordionTrigger:"GapFilterContentWrapper-module_accordionTrigger__8RlAi",triggerInner:"GapFilterContentWrapper-module_triggerInner__modQ8",triggerLeft:"GapFilterContentWrapper-module_triggerLeft__MWJeo",triggerLabel:"GapFilterContentWrapper-module_triggerLabel__6nQvH",triggerLabelCount:"GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx",triggerPending:"GapFilterContentWrapper-module_triggerPending__UU9s-",triggerRight:"GapFilterContentWrapper-module_triggerRight__8ho06",decisionStrengthBadge:"GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN",decisionStrengthIcon:"GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW",reviewButton:"GapFilterContentWrapper-module_reviewButton__X2ckY",reviewButtonIcon:"GapFilterContentWrapper-module_reviewButtonIcon__5-aF6",accordionContent:"GapFilterContentWrapper-module_accordionContent__LiMgy",accordionContentInner:"GapFilterContentWrapper-module_accordionContentInner__7NZmS"};
2
2
  //# sourceMappingURL=GapFilterContentWrapper.module.css.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),o=require("lucide-react"),t=require("react"),s=require("@mui/material"),i=require("./GapFilterItem.module.css.js"),a=require("../ai-reasoning/AiReasoningCitationContent.js"),r=require("../../icons/CognitiveDecision.js"),c=require("../RequirementAIWrapper/RequirementAIWrapper.js"),l=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:i.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:i.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:i.default.scoreBadgeLow}};exports.GapFilterItem=function(u){var d=u.index,f=u.isSelected,m=u.onClick,g=u.item,p=u.onFixClick,x=u.onRedirect,h=u.aiReason;u.panelRef;var _=u.id,j=u.isGenerating,w=void 0!==j&&j,v=t.useState(!1),C=v[0],N=v[1];t.useMemo(function(){return g.components?g.components.split("||"):[]},[g.components]);var q=t.useMemo(function(){return g.score&&isNaN(parseInt(g.score))?0:g.score?parseInt(g.score):0},[g.score]),R=l(q);return console.log("testing::reasoning\n",h),n.jsxs("div",e.__assign({className:i.default.outerWrapper,onClick:m},{children:["Arghya",n.jsxs("div",e.__assign({className:i.default.innerCard},{children:[n.jsxs("div",e.__assign({className:i.default.contentBlock},{children:[n.jsxs("div",e.__assign({className:i.default.topRow},{children:[n.jsx("div",e.__assign({className:[i.default.questionText,f?i.default.questionTextSelected:i.default.questionTextDefault].join(" ")},{children:n.jsx(s.Tooltip,e.__assign({title:g.question||"",placement:"top"},{children:n.jsx("span",{className:i.default.questionSpan})}))})),n.jsxs("div",e.__assign({className:i.default.actionsRow},{children:[q>0&&n.jsx("div",e.__assign({className:[i.default.scoreBadge,R.className].join(" ")},{children:"".concat(q,"%")})),g.showFix&&n.jsx("button",e.__assign({className:i.default.fixButton,onClick:function(e){e.stopPropagation(),p()}},{children:"Fix"})),g.showRedirect&&n.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:i.default.redirectIcon,onClick:function(e){e.stopPropagation(),x()}})]}))]})),n.jsxs("div",e.__assign({className:[i.default.bottomRow,f?i.default.bottomRowSelected:i.default.bottomRowDefault].join(" ")},{children:[n.jsxs("span",e.__assign({className:i.default.gapTextSpan},{children:[(null==g?void 0:g.headerText)?n.jsx("span",e.__assign({className:i.default.gapHeaderText},{children:g.headerText})):n.jsxs("span",e.__assign({className:i.default.gapHeaderText},{children:["Gap ",d+1,"."]}))," ",g.text]})),_&&n.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),w||N(!C)},className:[i.default.reasoningToggle,w?i.default.reasoningToggleDisabled:i.default.reasoningToggleActive].join(" ")},{children:[n.jsx(r.default,{}),C?n.jsx(o.ChevronUp,{className:i.default.chevronIcon}):n.jsx(o.ChevronDown,{className:i.default.chevronIcon})]}))]}))]})),C&&n.jsx(c.default,e.__assign({searchQueryList:[""],searchQueryReasoningIdList:[],userStory:[],aiReasoning:[],citations:{},apiCachingConfig:{queryClient:void 0,useGetSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")},useGetSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksQuery:function(e,n){throw new Error("Function not implemented.")},useGetVideoSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useGetVideoSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")}},customIcons:void 0,setUserStory:function(e){throw new Error("Function not implemented.")},setAiReasoning:function(e){throw new Error("Function not implemented.")},setCitations:function(e){throw new Error("Function not implemented.")}},{children:n.jsx(a.default,{aiReason:{id:"1",reason:h.Reasoning||"",gap:h.Gap||"",relevance_score:Number(h.Confidence_score),explanation:h.explanation||""},onSelectProceed:p})}))]}))]}))},exports.getScoreColorStyles=l;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),o=require("lucide-react"),t=require("react"),n=require("@mui/material"),i=require("./GapFilterItem.module.css.js"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),a=require("../../icons/CognitiveDecision.js"),r=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:i.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:i.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:i.default.scoreBadgeLow}};exports.GapFilterItem=function(d){d.mode;var c=d.index,u=d.isSelected,g=d.onClick,m=d.item,f=d.onFixClick,_=d.onRedirect,v=d.aiReason;d.panelRef;var p=d.id,x=d.isGenerating,h=void 0!==x&&x,j=d.customStyles,N=d.customIcons,y=t.useState(!1),C=y[0],R=y[1],S=(null==N?void 0:N.highConfidence)||s.jsx(a.default,{});t.useMemo(function(){return m.components?m.components.split("||"):[]},[m.components]);var T=t.useMemo(function(){return m.score&&isNaN(parseInt(m.score))?0:m.score?parseInt(m.score):0},[m.score]),b=r(T);return console.log("testing::reasoning\n",v),s.jsx("div",e.__assign({className:i.default.outerWrapper,onClick:g,style:null==j?void 0:j.itemOuterWrapper},{children:s.jsxs("div",e.__assign({className:i.default.innerCard,style:null==j?void 0:j.itemInnerCard},{children:[s.jsxs("div",e.__assign({className:i.default.contentBlock,style:null==j?void 0:j.contentBlock},{children:[s.jsxs("div",e.__assign({className:i.default.topRow,style:null==j?void 0:j.itemTopRow},{children:[s.jsx("div",e.__assign({className:[i.default.questionText,u?i.default.questionTextSelected:i.default.questionTextDefault].join(" "),style:e.__assign(e.__assign({},null==j?void 0:j.itemQuestionText),u?null==j?void 0:j.itemQuestionTextSelected:null==j?void 0:j.itemQuestionTextDefault)},{children:s.jsx(n.Tooltip,e.__assign({title:m.question||"",placement:"top"},{children:s.jsx("span",{className:i.default.questionSpan,style:null==j?void 0:j.itemQuestionSpan})}))})),s.jsxs("div",e.__assign({className:i.default.actionsRow,style:null==j?void 0:j.itemActionsRow},{children:[T>0&&s.jsx("div",e.__assign({className:[i.default.scoreBadge,b.className].join(" "),style:e.__assign(e.__assign(e.__assign(e.__assign({},null==j?void 0:j.itemScoreBadge),T>90?null==j?void 0:j.itemScoreBadgeHigh:{}),T>=70&&T<=90?null==j?void 0:j.itemScoreBadgeMedium:{}),T<70?null==j?void 0:j.itemScoreBadgeLow:{})},{children:"".concat(T,"%")})),m.showFix&&s.jsx("button",e.__assign({className:i.default.fixButton,onClick:function(e){e.stopPropagation(),f()},style:null==j?void 0:j.itemFixButton},{children:"Fix"})),m.showRedirect&&s.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:i.default.redirectIcon,onClick:function(e){e.stopPropagation(),_()},style:null==j?void 0:j.itemRedirectIcon})]}))]})),s.jsxs("div",e.__assign({className:[i.default.bottomRow,u?i.default.bottomRowSelected:i.default.bottomRowDefault].join(" "),style:u?e.__assign(e.__assign({},null==j?void 0:j.itemBottomRow),null==j?void 0:j.bottomRowSelected):e.__assign(e.__assign({},null==j?void 0:j.itemBottomRow),null==j?void 0:j.bottomRowDefault)},{children:[s.jsxs("span",e.__assign({className:i.default.gapTextSpan,style:null==j?void 0:j.itemGapText},{children:[(null==m?void 0:m.headerText)?s.jsx("span",e.__assign({className:i.default.gapHeaderText,style:null==j?void 0:j.itemGapHeaderText},{children:m.headerText})):s.jsxs("span",e.__assign({className:i.default.gapHeaderText,style:null==j?void 0:j.itemGapHeaderText},{children:["Gap ",c+1,"."]}))," ",m.text]})),p&&s.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),h||R(!C)},className:[i.default.reasoningToggle,h?i.default.reasoningToggleDisabled:i.default.reasoningToggleActive].join(" "),style:null==j?void 0:j.itemReasoningToggle},{children:[S,C?s.jsx(o.ChevronUp,{className:i.default.chevronIcon,style:null==j?void 0:j.chevronIcon}):s.jsx(o.ChevronDown,{className:i.default.chevronIcon,style:null==j?void 0:j.chevronIcon})]}))]}))]})),C&&s.jsx(l.default,{aiReason:{id:"1",reason:v.Reasoning||"",gap:v.Gap||"",relevance_score:Number(v.Confidence_score),explanation:v.explanation||""},onSelectProceed:f,customStyles:null==j?void 0:j.aiReasoningStyles})]}))}))},exports.getScoreColorStyles=r;
2
2
  //# sourceMappingURL=GapFilterItem.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),r=require("react-markdown"),t=require("rehype-raw"),a=require("./UserStoryWithCitation.module.css.js"),o=require("../../shared/useMarkdownSearch.js"),l=require("lucide-react"),s=require("@mui/material"),d=require("../../shared/UpdatedAnimationContent.js"),u=require("../../shared/GeneratedCodeCitation.js"),c=require("../../shared/CitationLoadingIndicator.js"),g=require("../RequirementAIWrapper/RequirementAIWrapper.js"),v=require("../ai-reasoning/AiReasoningCitation.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=f(r),_=f(t),p=i.createContext(!1),m=i.createContext({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),x=i.createContext({rowId:""}),y=function(r){var t,o,l=r.children,s=r.node,d=i.useRef(Math.random().toString(36).slice(2)).current,u=i.useContext(m).expandedInfo,c=(null==u?void 0:u.rowId)===d,g=Array.isArray(null==s?void 0:s.children)?s.children.filter(function(e){return"element"===e.type}).length:1,v=null!==(o=null===(t=null==s?void 0:s.properties)||void 0===t?void 0:t.style)&&void 0!==o?o:void 0;return n.jsxs(x.Provider,e.__assign({value:{rowId:d}},{children:[n.jsx("tr",e.__assign({style:v?{cssText:v}:void 0},{children:l})),c&&(null==u?void 0:u.aiReason)&&n.jsx("tr",e.__assign({style:{width:"100%"}},{children:n.jsx("td",e.__assign({colSpan:g||1,className:a.default.tableExpandedCell},{children:n.jsx("div",e.__assign({className:a.default.tableExpandedCellInner},{children:n.jsx("div",{className:a.default.tableExpandedCellContent})}))}))}))]}))};exports.default=function(r){var t=r.message,f=r.scenario,x=r.showUserStoryDiff,j=void 0!==x&&x,C=r.aiReasoningsForBlock,R=r.isCitationLoadingDisplay,S=void 0!==R&&R,w=r.className;r.highConfidenceIcon,r.lowConfidenceIcon;var I=r.customStyles,b=r.customIcons,N=r.aiReasoningDiffView,q=r.userStoryCitations,A=i.useRef(null),T=g.useRequirementAI(),L=T.userStory,M=T.setUserStory,U=T.aiReasoning,E=T.setAiReasoning,P=T.customIcons,k=T.searchQueryList,$=T.searchQueryReasoningIdList,D=null!=b?b:null==P?void 0:P.userStoryIcons,W=null==I?void 0:I.searchHighlight,F=o.useMarkdownSearch(A,W),H=F.search,G=F.clear,O=i.useState("1"),Q=O[0],z=O[1],B=i.useState(null),V=B[0],J=B[1],K=i.useRef(new Map),X=i.useCallback(function(e,n){J(e&&n?{rowId:e,aiReason:n}:null)},[]),Y=i.useState([]),Z=Y[0],ee=Y[1],ne=function(e){var n=new RegExp("<(/?(".concat(["updated","deleted","changed"].join("|"),"))>"),"g"),i=e.replace(n,"\n\n<$1>\n\n");return i=(i=i.replace(/<deleted>([\s\S]*?)<\/deleted>/gi,function(e,n){var i=n.replace(/ai_reasoning\$(\d+)/g,function(e,n){return"ai_reasoning$".concat(n,"-legacy")});return"<deleted>".concat(i,"</deleted>")})).replace(/<generatedCode([^>]*)>([\s\S]*?)<\/generatedCode>/gi,function(e,n,i){var r=btoa(encodeURIComponent(i.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(r,'"></generatedCode>\n\n')})};i.useMemo(function(){return t?ne(t):t},[t]),i.useEffect(function(){ee(C||U)},[C,U]);var ie=i.useMemo(function(){return{h1:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h1",e.__assign({className:a.default.heading1,style:null==I?void 0:I.heading1},{children:r.children}))},h2:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h2",e.__assign({className:a.default.heading2,style:null==I?void 0:I.heading2},{children:r.children}))},h3:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h3",e.__assign({className:a.default.heading3,style:null==I?void 0:I.heading3},{children:r.children}))},b:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("b",e.__assign({className:a.default.bold,style:null==I?void 0:I.bold},{children:null==r?void 0:r.children}))},p:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("p",e.__assign({},r,{className:a.default.paragraph,style:null==I?void 0:I.paragraph},{children:r.children}))},updated:function(i){var r=i.node,t=e.__rest(i,["node"]);return n.jsx(d.default,e.__assign({showUserStoryDiff:j,currentUpdatedTagId:Q,setCurrentUpdatedTagId:z,userStory:L,setUserStory:M,setAiReasoning:E,node:r,customStyle:null==I?void 0:I.updatedContent},t))},ol:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ol",e.__assign({className:a.default.orderedList,style:null==I?void 0:I.olist},{children:null==r?void 0:r.children}))},ul:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ul",e.__assign({className:a.default.unorderedList,style:null==I?void 0:I.ulist},{children:null==r?void 0:r.children}))},table:function(i){var r=i.children;return n.jsx("div",e.__assign({className:a.default.tableWrapper},{children:n.jsx("table",e.__assign({className:a.default.table,style:null==I?void 0:I.table},{children:r}))}))},tr:y,td:function(i){var r,t=i.node,a=i.children,o=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},l=o.style,s=e.__rest(o,["style"]);return n.jsx(p.Provider,e.__assign({value:!0},{children:n.jsx("td",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:a}))}))},th:function(i){var r,t=i.node,a=i.children,o=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},l=o.style,s=e.__rest(o,["style"]);return n.jsx(p.Provider,e.__assign({value:!0},{children:n.jsx("th",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:a}))}))},a:function(r){var t,a,o;r.inline,r.children,r.node;var l=e.__rest(r,["inline","children","node"]),s=i.useContext(p)||"true"==(null==l?void 0:l.table),d="".concat(null==l?void 0:l.href),u=null===(t=d.split("$"))||void 0===t?void 0:t[0],c=null===(a=d.split("$"))||void 0===a?void 0:a[1];if(console.log("testing::ai-reasoning::render",d),"ai_reasoning"===u){var g=null!==(o=j?N:U)&&void 0!==o?o:[];console.log("testing::ai-reasoning::render",g);var f=g.find(function(e){return e.id.toString()===c});if(f&&f.reason.length>0&&f.gap.length>0)return n.jsx(v.default,{title:"Source",aiReason:f,isSourceHasHighlight:!1,isTable:s,customIcons:D,customStyles:{aiReasoningContent:null==I?void 0:I.aiReasoningContent,aiReasoningAccordion:null==I?void 0:I.aiReasoningAccordion,aiReasoningMarkdown:null==I?void 0:I.aiReasoningMarkdown,aiReasoningPill:null==I?void 0:I.aiReasoningPill}})}return null},code:function(i){i.inline;var r=i.children,t=i.className;return i.node,e.__rest(i,["inline","children","className","node"]),/language-(\w+)/.exec(t||"")||(null==t?void 0:t.includes("language-"))?n.jsx("div",{children:n.jsx("code",e.__assign({className:a.default.blockCode,style:null==I?void 0:I.code},{children:r}))}):n.jsx("code",e.__assign({className:a.default.inlineCode,style:null==I?void 0:I.code},{children:r}))},learned:function(i){var r=i.children;return n.jsx(s.Tooltip,e.__assign({title:r,placement:"top"},{children:n.jsx(l.Info,{size:16,className:a.default.learned})}))},generatedcode:function(i){i.node;var r=e.__rest(i,["node"]),t=(null==r?void 0:r.language)||"python",a=function(e){var n="";try{if(e["data-raw"])n=decodeURIComponent(atob(e["data-raw"]));else{var i=function(e){var n;return"string"==typeof e?e:Array.isArray(e)?e.map(i).join(""):(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n.children)?i(e.props.children):""};n=i(e.children)}}catch(i){console.error("Error decoding generated code:",i),n=String(e.children)}return n}(r);return n.jsx(u.default,{title:"Generated Code",code:a,language:t,customStyles:{pill:null==I?void 0:I.generatedCodePill,content:null==I?void 0:I.generatedCodeContent}})}}},[Z,U,q,Q,j,t,b]);return i.useEffect(function(){if(A.current){if(null==k?void 0:k.length){var e;if(0===(null==$?void 0:$.length))requestAnimationFrame(function(){H(k.map(function(e){return e.replace(/\*/g,"")}))});else{var n=A.current,i=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){i.disconnect(),requestAnimationFrame(function(){H(k.map(function(e){return e.replace(/\*/g,"")}))})},50)});i.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}G()}},[k,$]),n.jsx(m.Provider,e.__assign({value:{expandedInfo:V,setExpanded:X,reasonToRow:K}},{children:n.jsxs("div",e.__assign({ref:A,className:"".concat(a.default.container," ").concat("approving"!==f?a.default.wrapper:""," ").concat(w||""),style:null==I?void 0:I.container},{children:[n.jsx(h.default,e.__assign({components:ie,rehypePlugins:[_.default]},{children:ne(t)})),S&&n.jsx("div",e.__assign({className:a.default.citationLoader,style:null==I?void 0:I.citationLoaderContainer},{children:n.jsx(c.default,{customStyles:{container:null==I?void 0:I.citationLoadingContainer,icon:null==I?void 0:I.citationLoadingIcon,text:null==I?void 0:I.citationLoadingText}})}))]}))}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),r=require("react-markdown"),t=require("rehype-raw"),a=require("./UserStoryWithCitation.module.css.js"),o=require("../../shared/useMarkdownSearch.js"),l=require("lucide-react"),s=require("@mui/material"),d=require("../../shared/UpdatedAnimationContent.js"),u=require("../../shared/GeneratedCodeCitation.js"),c=require("../../shared/CitationLoadingIndicator.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),g=require("../ai-reasoning/AiReasoningCitation.js");function f(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=f(r),_=f(t),p=i.createContext(!1),m=i.createContext({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),x=i.createContext({rowId:""}),y=function(r){var t,o,l=r.children,s=r.node,d=i.useRef(Math.random().toString(36).slice(2)).current,u=i.useContext(m).expandedInfo,c=(null==u?void 0:u.rowId)===d,v=Array.isArray(null==s?void 0:s.children)?s.children.filter(function(e){return"element"===e.type}).length:1,g=null!==(o=null===(t=null==s?void 0:s.properties)||void 0===t?void 0:t.style)&&void 0!==o?o:void 0;return n.jsxs(x.Provider,e.__assign({value:{rowId:d}},{children:[n.jsx("tr",e.__assign({style:g?{cssText:g}:void 0},{children:l})),c&&(null==u?void 0:u.aiReason)&&n.jsx("tr",e.__assign({style:{width:"100%"}},{children:n.jsx("td",e.__assign({colSpan:v||1,className:a.default.tableExpandedCell},{children:n.jsx("div",e.__assign({className:a.default.tableExpandedCellInner},{children:n.jsx("div",{className:a.default.tableExpandedCellContent})}))}))}))]}))};exports.default=function(r){var t=r.message,f=r.scenario,x=r.showUserStoryDiff,j=void 0!==x&&x,C=r.aiReasoningsForBlock,R=r.isCitationLoadingDisplay,S=void 0!==R&&R,w=r.className;r.highConfidenceIcon,r.lowConfidenceIcon;var I=r.customStyles,b=r.customIcons,N=r.aiReasoningDiffView,q=r.userStoryCitations,A=i.useRef(null),T=v.useRequirementAI(),L=T.userStory,M=T.setUserStory,U=T.aiReasoning,E=T.setAiReasoning,P=T.customIcons,k=T.searchQueryList,$=T.searchQueryReasoningIdList,D=null!=b?b:null==P?void 0:P.userStoryIcons,W=null==I?void 0:I.searchHighlight,F=o.useMarkdownSearch(A,W),H=F.search,G=F.clear,O=i.useState("1"),Q=O[0],z=O[1],B=i.useState(null),V=B[0],J=B[1],K=i.useRef(new Map),X=i.useCallback(function(e,n){J(e&&n?{rowId:e,aiReason:n}:null)},[]),Y=i.useState([]),Z=Y[0],ee=Y[1],ne=function(e){var n=new RegExp("<(/?(".concat(["updated","deleted","changed"].join("|"),"))>"),"g"),i=e.replace(n,"\n\n<$1>\n\n");return i=(i=i.replace(/<deleted>([\s\S]*?)<\/deleted>/gi,function(e,n){var i=n.replace(/ai_reasoning\$(\d+)/g,function(e,n){return"ai_reasoning$".concat(n,"-legacy")});return"<deleted>".concat(i,"</deleted>")})).replace(/<generatedCode([^>]*)>([\s\S]*?)<\/generatedCode>/gi,function(e,n,i){var r=btoa(encodeURIComponent(i.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(r,'"></generatedCode>\n\n')})};i.useMemo(function(){return t?ne(t):t},[t]),i.useEffect(function(){ee(C||U)},[C,U]);var ie=i.useMemo(function(){return{h1:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h1",e.__assign({className:a.default.heading1,style:null==I?void 0:I.heading1},{children:r.children}))},h2:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h2",e.__assign({className:a.default.heading2,style:null==I?void 0:I.heading2},{children:r.children}))},h3:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("h3",e.__assign({className:a.default.heading3,style:null==I?void 0:I.heading3},{children:r.children}))},b:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("b",e.__assign({className:a.default.bold,style:null==I?void 0:I.bold},{children:null==r?void 0:r.children}))},p:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("p",e.__assign({},r,{className:a.default.paragraph,style:null==I?void 0:I.paragraph},{children:r.children}))},updated:function(i){var r=i.node,t=e.__rest(i,["node"]);return n.jsx(d.default,e.__assign({showUserStoryDiff:j,currentUpdatedTagId:Q,setCurrentUpdatedTagId:z,userStory:L,setUserStory:M,setAiReasoning:E,node:r,customStyle:null==I?void 0:I.updatedContent},t))},ol:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ol",e.__assign({className:a.default.orderedList,style:null==I?void 0:I.olist},{children:null==r?void 0:r.children}))},ul:function(i){i.node;var r=e.__rest(i,["node"]);return n.jsx("ul",e.__assign({className:a.default.unorderedList,style:null==I?void 0:I.ulist},{children:null==r?void 0:r.children}))},table:function(i){var r=i.children;return n.jsx("div",e.__assign({className:a.default.tableWrapper},{children:n.jsx("table",e.__assign({className:a.default.table,style:null==I?void 0:I.table},{children:r}))}))},tr:y,td:function(i){var r,t=i.node,a=i.children,o=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},l=o.style,s=e.__rest(o,["style"]);return n.jsx(p.Provider,e.__assign({value:!0},{children:n.jsx("td",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:a}))}))},th:function(i){var r,t=i.node,a=i.children,o=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},l=o.style,s=e.__rest(o,["style"]);return n.jsx(p.Provider,e.__assign({value:!0},{children:n.jsx("th",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:a}))}))},a:function(r){var t,a,o;r.inline,r.children,r.node;var l=e.__rest(r,["inline","children","node"]),s=i.useContext(p)||"true"==(null==l?void 0:l.table),d="".concat(null==l?void 0:l.href),u=null===(t=d.split("$"))||void 0===t?void 0:t[0],c=null===(a=d.split("$"))||void 0===a?void 0:a[1];if("ai_reasoning"===u){var v=(null!==(o=j?N:U)&&void 0!==o?o:[]).find(function(e){return e.id.toString()===decodeURIComponent(c)});if(v&&v.reason.length>0&&v.gap.length>0)return n.jsx(g.default,{title:"Source",aiReason:v,isSourceHasHighlight:!1,isTable:s,customIcons:D,customStyles:{aiReasoningContent:null==I?void 0:I.aiReasoningContent,aiReasoningAccordion:null==I?void 0:I.aiReasoningAccordion,aiReasoningMarkdown:null==I?void 0:I.aiReasoningMarkdown,aiReasoningPill:null==I?void 0:I.aiReasoningPill}})}return null},code:function(i){i.inline;var r=i.children,t=i.className;return i.node,e.__rest(i,["inline","children","className","node"]),/language-(\w+)/.exec(t||"")||(null==t?void 0:t.includes("language-"))?n.jsx("div",{children:n.jsx("code",e.__assign({className:a.default.blockCode,style:null==I?void 0:I.code},{children:r}))}):n.jsx("code",e.__assign({className:a.default.inlineCode,style:null==I?void 0:I.code},{children:r}))},learned:function(i){var r=i.children;return n.jsx(s.Tooltip,e.__assign({title:r,placement:"top"},{children:n.jsx(l.Info,{size:16,className:a.default.learned})}))},generatedcode:function(i){i.node;var r=e.__rest(i,["node"]),t=(null==r?void 0:r.language)||"python",a=function(e){var n="";try{if(e["data-raw"])n=decodeURIComponent(atob(e["data-raw"]));else{var i=function(e){var n;return"string"==typeof e?e:Array.isArray(e)?e.map(i).join(""):(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n.children)?i(e.props.children):""};n=i(e.children)}}catch(i){console.error("Error decoding generated code:",i),n=String(e.children)}return n}(r);return n.jsx(u.default,{title:"Generated Code",code:a,language:t,customStyles:{pill:null==I?void 0:I.generatedCodePill,content:null==I?void 0:I.generatedCodeContent}})}}},[Z,U,q,Q,j,t,b]);return i.useEffect(function(){if(A.current){if(null==k?void 0:k.length){var e;if(0===(null==$?void 0:$.length))requestAnimationFrame(function(){H(k.map(function(e){return e.replace(/\*/g,"")}))});else{var n=A.current,i=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){i.disconnect(),requestAnimationFrame(function(){H(k.map(function(e){return e.replace(/\*/g,"")}))})},50)});i.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}G()}},[k,$]),n.jsx(m.Provider,e.__assign({value:{expandedInfo:V,setExpanded:X,reasonToRow:K}},{children:n.jsxs("div",e.__assign({ref:A,className:"".concat(a.default.container," ").concat("approving"!==f?a.default.wrapper:""," ").concat(w||""),style:null==I?void 0:I.container},{children:[n.jsx(h.default,e.__assign({components:ie,rehypePlugins:[_.default]},{children:ne(t)})),S&&n.jsx("div",e.__assign({className:a.default.citationLoader,style:null==I?void 0:I.citationLoaderContainer},{children:n.jsx(c.default,{customStyles:{container:null==I?void 0:I.citationLoadingContainer,icon:null==I?void 0:I.citationLoadingIcon,text:null==I?void 0:I.citationLoadingText}})}))]}))}))};
2
2
  //# sourceMappingURL=UserStoryWithCitation.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode(".Accordian-module_accordionItem__3TgRp{border:1px solid #e5e7eb}.Accordian-module_accordionHeader__-qp18{display:flex}.Accordian-module_accordionTrigger__72mh9{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex:1;font-size:14px;font-weight:500;justify-content:space-between;padding-bottom:16px;padding-top:16px;text-align:left;transition:all .2s ease;width:100%}.Accordian-module_chevronIcon__uhN5Q{color:#6b7280;flex-shrink:0;height:16px;transition:transform .2s ease;width:16px}.Accordian-module_accordionTrigger__72mh9[data-state=open] .Accordian-module_chevronIcon__uhN5Q{transform:rotate(180deg)}.Accordian-module_accordionContent__Wcqza{font-size:14px;overflow:hidden}.Accordian-module_accordionContent__Wcqza[data-state=open]{animation:Accordian-module_accordionDown__67DMY .2s ease-out}.Accordian-module_accordionContent__Wcqza[data-state=closed]{animation:Accordian-module_accordionUp__fs3jN .2s ease-out}@keyframes Accordian-module_accordionDown__67DMY{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes Accordian-module_accordionUp__fs3jN{0%{height:var(--radix-accordion-content-height)}to{height:0}}.Accordian-module_accordionContentInner__p5c5-{padding-bottom:16px;padding-top:0}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}(),exports.default={accordionItem:"Accordian-module_accordionItem__3TgRp",accordionHeader:"Accordian-module_accordionHeader__-qp18",accordionTrigger:"Accordian-module_accordionTrigger__72mh9",chevronIcon:"Accordian-module_chevronIcon__uhN5Q",accordionContent:"Accordian-module_accordionContent__Wcqza",accordionDown:"Accordian-module_accordionDown__67DMY",accordionUp:"Accordian-module_accordionUp__fs3jN",accordionContentInner:"Accordian-module_accordionContentInner__p5c5-"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode(".Accordian-module_accordionItem__3TgRp{border:1px solid #e5e7eb}.Accordian-module_accordionHeader__-qp18{display:flex;margin:0}.Accordian-module_accordionTrigger__72mh9{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex:1;font-size:14px;font-weight:500;justify-content:space-between;padding-bottom:16px;padding-top:16px;text-align:left;transition:all .2s ease;width:100%}.Accordian-module_chevronIcon__uhN5Q{color:#6b7280;flex-shrink:0;height:16px;transition:transform .2s ease;width:16px}.Accordian-module_accordionTrigger__72mh9[data-state=open] .Accordian-module_chevronIcon__uhN5Q{transform:rotate(180deg)}.Accordian-module_accordionContent__Wcqza{font-size:14px;overflow:hidden}.Accordian-module_accordionContent__Wcqza[data-state=open]{animation:Accordian-module_accordionDown__67DMY .2s ease-out}.Accordian-module_accordionContent__Wcqza[data-state=closed]{animation:Accordian-module_accordionUp__fs3jN .2s ease-out}@keyframes Accordian-module_accordionDown__67DMY{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes Accordian-module_accordionUp__fs3jN{0%{height:var(--radix-accordion-content-height)}to{height:0}}.Accordian-module_accordionContentInner__p5c5-{padding-bottom:16px;padding-top:0}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}(),exports.default={accordionItem:"Accordian-module_accordionItem__3TgRp",accordionHeader:"Accordian-module_accordionHeader__-qp18",accordionTrigger:"Accordian-module_accordionTrigger__72mh9",chevronIcon:"Accordian-module_chevronIcon__uhN5Q",accordionContent:"Accordian-module_accordionContent__Wcqza",accordionDown:"Accordian-module_accordionDown__67DMY",accordionUp:"Accordian-module_accordionUp__fs3jN",accordionContentInner:"Accordian-module_accordionContentInner__p5c5-"};
2
2
  //# sourceMappingURL=Accordian.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i,__assign as t}from"tslib";import{jsx as e,Fragment as o}from"react/jsx-runtime";import{useRef as n,useMemo as l,Suspense as a}from"react";import r from"react-markdown";import c from"rehype-raw";import{Info as d}from"lucide-react";import{Tooltip as s}from"@mui/material";import u from"./AiReasonMarkdownWrapper.module.css.js";import m from"../../shared/ExpandableOl.js";import v from"../citations/web-citation/WebCitationWithImageRenderer.js";import h from"../citations/web-citation/WebCitationRenderer.js";import p from"../citations/image-citation/ImageCitationRenderer.js";import f from"../citations/file-citation/FileCitationRender.js";import{useRequirementAI as b}from"../RequirementAIWrapper/RequirementAIWrapper.js";import _ from"../citations/stormee-citation/StormeeCitationRenderer.js";import y from"../citations/audio-citation/WaveformCitationRenderer.js";var g=function(g){var w=g.message,N=g.isExpandableOrderedListEnabled,C=g.customStyles,I=g.citationStyles,j=g.customIcons,k=g.onSelectProceed,S=g.isDisableProceedButton,M=n(null),R=b().citations,W=l(function(){return{h1:function(o){o.node;var n=i(o,["node"]);return e("h1",t({className:u.h1,style:null==C?void 0:C.h1},{children:null==n?void 0:n.children}))},h2:function(o){o.node;var n=i(o,["node"]);return e("h2",t({className:u.h2,style:null==C?void 0:C.h2},{children:null==n?void 0:n.children}))},h3:function(o){o.node;var n=i(o,["node"]);return e("h2",t({className:u.h3,style:null==C?void 0:C.h3},{children:null==n?void 0:n.children}))},b:function(t){return t.node,i(t,["node"]),e("b",{className:u.bold,style:null==C?void 0:C.b})},p:function(o){o.node;var n=i(o,["node"]);return e("p",t({},n,{className:u.paragraph,style:null==C?void 0:C.p},{children:null==n?void 0:n.children}))},ol:function(o){o.node;var n=i(o,["node"]);return N?e(m,t({customStyles:null==C?void 0:C.expandOlStyle,onProceed:k,isProceedDisabled:S},{children:null==n?void 0:n.children})):e("ol",t({className:u.orderedList,style:null==C?void 0:C.ol},{children:null==n?void 0:n.children}))},ul:function(o){o.node;var n=i(o,["node"]);return e("ul",t({className:u.unorderedList},{children:null==n?void 0:n.children}))},a:function(n){var l,r,c,d,s,u,m;n.inline;var b=n.children;n.node;var g=i(n,["inline","children","node"]);null==g||g.table;var w="".concat(null==g?void 0:g.href),N=null===(l=w.split("$"))||void 0===l?void 0:l[0],C=null===(r=w.split("$"))||void 0===r?void 0:r[1],k=("appmode_citation"===N?(null==R?void 0:R.appmod_citations)||[]:"image_citation"===N?(null==R?void 0:R.image_citations)||[]:"audio_citation"===N?(null==R?void 0:R.audio_citations)||[]:"document_citation"===N?(null==R?void 0:R.file_citations)||[]:"rca_citation"===N?(null==R?void 0:R.rca_citations)||[]:"web_citation"===N?(null==R?void 0:R.web_citations)||[]:"code_generated"===N&&(null==R?void 0:R.code_generated)||[]).find(function(i){return i.citation_number===C});return"image_citation"!==N||k?"web_citation"===(null===(c=null==k?void 0:k.customMetadata)||void 0===c?void 0:c.type)?(null===(d=k.customMetadata)||void 0===d?void 0:d.screenshot_url)?e(v,{title:b,citation:k,customStyles:null==I?void 0:I.webCitation,customIcons:j}):e(h,{label:b,url:null===(s=k.customMetadata)||void 0===s?void 0:s.link,customStyles:null==I?void 0:I.webCitation,customIcons:j}):"audio_transcript"===(null===(u=null==k?void 0:k.customMetadata)||void 0===u?void 0:u.type)?"stormee"===(null==k?void 0:k.customMetadata.audio_citation_mode)?e(a,t({fallback:e(o,{})},{children:e(_,{title:"".concat(b),citation:k,customStyles:null==I?void 0:I.stormeeCitation,customIcons:j})})):e(a,t({fallback:e(o,{})},{children:e(y,{title:"".concat(b),citation:k,customStyles:null==I?void 0:I.waveformCitation,customIcons:j})})):"image_citation"===(null==k?void 0:k.customMetadata.type)?e(a,t({fallback:e(o,{})},{children:e(p,{title:"".concat(b),citation:k,customIcons:j})})):"book_citation_doc"===(null===(m=null==k?void 0:k.customMetadata)||void 0===m?void 0:m.type)||"book_citation_pdf"===(null==k?void 0:k.customMetadata.type)?e(a,t({fallback:e(o,{})},{children:e(f,{title:"".concat(b),citation:k,customIcons:j})})):null:null},code:function(o){o.inline;var n=o.children,l=o.className;return o.node,i(o,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?e("div",{children:e("code",t({className:u.blockCode},{children:n}))}):e("code",t({className:u.inlineCode,style:null==C?void 0:C.code},{children:n}))},learned:function(i){var n=i.children;return e(o,{children:e(s,t({title:n,placement:"top"},{children:e(d,{size:16,className:u.learnedIcon})}))})}}},[R,N]);return e("div",t({ref:M,className:"w-full"},{children:e(r,t({components:W,rehypePlugins:[c]},{children:w}))}))};export{g as AiReasonMarkdownWrapper};
1
+ import{__rest as i,__assign as e}from"tslib";import{jsx as o,Fragment as t}from"react/jsx-runtime";import{useRef as n,useMemo as l,Suspense as a}from"react";import c from"react-markdown";import r from"rehype-raw";import{Info as d}from"lucide-react";import{Tooltip as s}from"@mui/material";import u from"./AiReasonMarkdownWrapper.module.css.js";import m from"../../shared/ExpandableOl.js";import v from"../citations/web-citation/WebCitationWithImageRenderer.js";import p from"../citations/web-citation/WebCitationRenderer.js";import h from"../citations/image-citation/ImageCitationRenderer.js";import f from"../citations/file-citation/FileCitationRender.js";import{useRequirementAI as b}from"../RequirementAIWrapper/RequirementAIWrapper.js";import _ from"../citations/stormee-citation/StormeeCitationRenderer.js";import y from"../citations/audio-citation/WaveformCitationRenderer.js";var g=function(g){var w=g.message,C=g.isExpandableOrderedListEnabled,I=g.customStyles,N=g.citationStyles,j=g.customIcons,k=g.onSelectProceed,R=g.isDisableProceedButton,S=n(null),M=b().citations,W=l(function(){return{h1:function(t){t.node;var n=i(t,["node"]);return o("h1",e({className:u.h1,style:null==I?void 0:I.h1},{children:null==n?void 0:n.children}))},h2:function(t){t.node;var n=i(t,["node"]);return o("h2",e({className:u.h2,style:null==I?void 0:I.h2},{children:null==n?void 0:n.children}))},h3:function(t){t.node;var n=i(t,["node"]);return o("h2",e({className:u.h3,style:null==I?void 0:I.h3},{children:null==n?void 0:n.children}))},b:function(e){return e.node,i(e,["node"]),o("b",{className:u.bold,style:null==I?void 0:I.b})},p:function(t){t.node;var n=i(t,["node"]);return o("p",e({},n,{className:u.paragraph,style:null==I?void 0:I.p},{children:null==n?void 0:n.children}))},ol:function(t){t.node;var n=i(t,["node"]);return C?o(m,e({customStyles:null==I?void 0:I.expandOlStyle,onProceed:k,isProceedDisabled:R},{children:null==n?void 0:n.children})):o("ol",e({className:u.orderedList,style:null==I?void 0:I.ol},{children:null==n?void 0:n.children}))},ul:function(t){t.node;var n=i(t,["node"]);return o("ul",e({className:u.unorderedList},{children:null==n?void 0:n.children}))},a:function(n){var l,c,r,d,s,u,m;n.inline;var b=n.children;n.node;var g=i(n,["inline","children","node"]);null==g||g.table;var w="".concat(null==g?void 0:g.href),C=null===(l=w.split("$"))||void 0===l?void 0:l[0],I=null===(c=w.split("$"))||void 0===c?void 0:c[1],k=("appmode_citation"===C?(null==M?void 0:M.appmod_citations)||[]:"image_citation"===C?(null==M?void 0:M.image_citations)||[]:"audio_citation"===C?(null==M?void 0:M.audio_citations)||[]:"document_citation"===C?(null==M?void 0:M.file_citations)||[]:"rca_citation"===C?(null==M?void 0:M.rca_citations)||[]:"web_citation"===C?(null==M?void 0:M.web_citations)||[]:"code_generated"===C&&(null==M?void 0:M.code_generated)||[]).find(function(i){return i.citation_number===decodeURIComponent(I)});return"image_citation"!==C||k?"web_citation"===(null===(r=null==k?void 0:k.customMetadata)||void 0===r?void 0:r.type)?(null===(d=k.customMetadata)||void 0===d?void 0:d.screenshot_url)?o(v,{title:b,citation:k,customStyles:null==N?void 0:N.webCitation,customIcons:j}):o(p,{label:b,url:null===(s=k.customMetadata)||void 0===s?void 0:s.link,customStyles:null==N?void 0:N.webCitation,customIcons:j}):"audio_transcript"===(null===(u=null==k?void 0:k.customMetadata)||void 0===u?void 0:u.type)?"stormee"===(null==k?void 0:k.customMetadata.audio_citation_mode)?o(a,e({fallback:o(t,{})},{children:o(_,{title:"".concat(b),citation:k,customStyles:null==N?void 0:N.stormeeCitation,customIcons:j})})):o(a,e({fallback:o(t,{})},{children:o(y,{title:"".concat(b),citation:k,customStyles:null==N?void 0:N.waveformCitation,customIcons:j})})):"image_citation"===(null==k?void 0:k.customMetadata.type)?o(a,e({fallback:o(t,{})},{children:o(h,{title:"".concat(b),citation:k,customIcons:j})})):"book_citation_doc"===(null===(m=null==k?void 0:k.customMetadata)||void 0===m?void 0:m.type)||"book_citation_pdf"===(null==k?void 0:k.customMetadata.type)?o(a,e({fallback:o(t,{})},{children:o(f,{title:"".concat(b),citation:k,customIcons:j})})):null:null},code:function(t){t.inline;var n=t.children,l=t.className;return t.node,i(t,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?o("div",{children:o("code",e({className:u.blockCode},{children:n}))}):o("code",e({className:u.inlineCode,style:null==I?void 0:I.code},{children:n}))},learned:function(i){var n=i.children;return o(t,{children:o(s,e({title:n,placement:"top"},{children:o(d,{size:16,className:u.learnedIcon})}))})}}},[M,C]);return o("div",e({ref:S,className:"w-full"},{children:o(c,e({components:W,rehypePlugins:[r]},{children:w}))}))};export{g as AiReasonMarkdownWrapper};
2
2
  //# sourceMappingURL=AiReasonMarkdownWrapper.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as n,jsx as i}from"react/jsx-runtime";import{useState as o}from"react";import{ChevronUp as t,ChevronDown as r,SquareArrowOutUpRight as a}from"lucide-react";import s from"./CustomChatCrRedirection.module.css.js";import c from"../ai-reasoning/AiReasoningCitationContent.js";import d from"../../icons/CognitiveDecision.js";import l from"../RequirementAIWrapper/RequirementAIWrapper.js";function u(u){var m=u.msg,p=u.type,g=u.id,h=u.aiReason,f=u.text,w=u.headerText,v=u.decisionStrength;u.statusUi,u.panelRef;var x=u.onHandleSend,C=u.onRedirectClick,R=u.gapType,S=u.isGenerating,y=void 0!==S&&S,E=o(!1),N=E[0],j=E[1];console.log("testing::reasoning",h);var F=function(){null==x||x("Deep Dive into ".concat(R," ").concat(w,": ").concat(f))};return console.log("testing::aiReasoning",h),n("div",e({className:[s.outerWrapper,y?s.outerWrapperDisabled:""].join(" ")},{children:[n("div",e({className:[s.card,y?s.cardDisabled:s.cardInteractive].join(" ")},{children:[n("div",e({className:s.leftSide},{children:[n("span",e({className:s.textBlock},{children:[w&&n("span",e({className:s.headerText},{children:[w,f?" ":""]})),f]})),n("span",e({onClick:function(e){e.stopPropagation(),y||j(!N)},className:[s.reasoningToggle,y?s.reasoningToggleDisabled:s.reasoningToggleActive].join(" ")},{children:[i(d,{}),i(N?t:r,{className:s.chevronIcon})]}))]})),n("div",e({className:s.rightSide},{children:[i("button",e({disabled:y,className:[s.fixButton,y?s.fixButtonDisabled:""].join(" "),onClick:function(e){e.stopPropagation(),y||F()}},{children:"Fix"})),i(a,{onClick:y?void 0:function(){y||null==C||C({type:p,id:g,aiReason:h,msg:m,meta:{headerText:w,decisionStrength:v,text:f}})},size:18,className:[y?s.redirectIconDisabled:s.redirectIcon].join(" ")})]}))]})),N&&i(l,e({searchQueryList:[""],searchQueryReasoningIdList:[],userStory:[],aiReasoning:[],citations:{},apiCachingConfig:{queryClient:void 0,useGetSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")},useGetSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksQuery:function(e,n){throw new Error("Function not implemented.")},useGetVideoSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useGetVideoSignedUrlQuery:function(e,n){throw new Error("Function not implemented.")}},customIcons:void 0,setUserStory:function(e){throw new Error("Function not implemented.")},setAiReasoning:function(e){throw new Error("Function not implemented.")},setCitations:function(e){throw new Error("Function not implemented.")}},{children:i(c,{aiReason:{id:"1",reason:h.Reasoning||"",gap:h.Gap||"",relevance_score:Number(h.Confidence_score),explanation:h.explanation||""},onSelectProceed:F})}))]}))}export{u as CustomChatCrRedirection};
1
+ import{__assign as e}from"tslib";import{jsx as i,jsxs as n}from"react/jsx-runtime";import{useState as o}from"react";import{ChevronUp as t,ChevronDown as l,SquareArrowOutUpRight as r}from"lucide-react";import a from"./CustomChatCrRedirection.module.css.js";import s from"../ai-reasoning/AiReasoningCitationContent.js";import c from"../../icons/CognitiveDecision.js";function d(d){var u=d.mode,g=d.msg,v=d.type,m=d.id,p=d.aiReason,f=d.text,h=d.headerText,y=d.decisionStrength;d.statusUi,d.panelRef;var b=d.onHandleSend,x=d.onRedirectClick,C=d.gapType,D=d.isGenerating,N=void 0!==D&&D,S=d.customStyles,R=d.customIcons,T=o(!1),j=T[0],B=T[1];console.log("testing::reasoning",p);var I=(null==R?void 0:R.highConfidence)||i(c,{}),k=function(){"cra"===u?null==b||b("Discuss ambiguities on ".concat(f)):null==b||b("Deep Dive into ".concat(C," ").concat(h,": ").concat(f))};return console.log("testing::aiReasoning",p),n("div",e({className:[a.outerWrapper,N?a.outerWrapperDisabled:""].join(" "),style:e(e({},null==S?void 0:S.redirectionOuterWrapper),N?null==S?void 0:S.redirectionOuterWrapperDisabled:{})},{children:[n("div",e({className:[a.card,N?a.cardDisabled:a.cardInteractive].join(" "),style:e(e({},null==S?void 0:S.redirectionCard),N?null==S?void 0:S.redirectionCardDisabled:null==S?void 0:S.redirectionCardInteractive)},{children:[n("div",e({className:a.leftSide,style:null==S?void 0:S.redirectionLeftSide},{children:[n("span",e({className:a.textBlock,style:null==S?void 0:S.redirectionTextBlock},{children:[h&&n("span",e({className:a.headerText,style:null==S?void 0:S.redirectionHeaderText},{children:[h,f?" ":""]})),f]})),n("span",e({onClick:function(e){e.stopPropagation(),N||B(!j)},className:[a.reasoningToggle,N?a.reasoningToggleDisabled:a.reasoningToggleActive].join(" "),style:e(e({},null==S?void 0:S.reasoningToggle),N?null==S?void 0:S.reasoningToggleDisabled:null==S?void 0:S.reasoningToggleActive)},{children:[I,i(j?t:l,{className:a.chevronIcon,style:null==S?void 0:S.chevronIcon})]}))]})),"risk-gap"===u&&n("div",e({className:a.rightSide,style:null==S?void 0:S.redirectionRightSide},{children:[i("button",e({disabled:N,className:[a.fixButton,N?a.fixButtonDisabled:""].join(" "),style:e(e({},null==S?void 0:S.redirectionFixButton),N?null==S?void 0:S.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),N||k()}},{children:"Fix"})),i(r,{onClick:N?void 0:function(){N||null==x||x({type:v,id:m,aiReason:p,msg:g,meta:{headerText:h,decisionStrength:y,text:f}})},size:18,className:[N?a.redirectIconDisabled:a.redirectIcon].join(" "),style:e({},N?null==S?void 0:S.redirectIconDisabled:null==S?void 0:S.redirectIcon)})]})),"cra"===u&&i("div",e({className:a.rightSide,style:null==S?void 0:S.redirectionRightSide},{children:i("button",e({disabled:N,className:[a.clarifyButton,N?a.fixButtonDisabled:""].join(" "),style:e(e({},null==S?void 0:S.redirectionClarifyButton),N?null==S?void 0:S.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),N||k()}},{children:"Clarify"}))}))]})),j&&i(s,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:k,customStyles:null==S?void 0:S.aiReasoningStyles})]}))}export{d as CustomChatCrRedirection};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.js.map
@@ -1,2 +1,2 @@
1
- var e={outerWrapper:"CustomChatCrRedirection-module_outerWrapper__-8Du6",outerWrapperDisabled:"CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH",card:"CustomChatCrRedirection-module_card__S2b3w",cardInteractive:"CustomChatCrRedirection-module_cardInteractive__u-azG",cardDisabled:"CustomChatCrRedirection-module_cardDisabled__mc0Mk",leftSide:"CustomChatCrRedirection-module_leftSide__tYQAv",textBlock:"CustomChatCrRedirection-module_textBlock__eUNwE",headerText:"CustomChatCrRedirection-module_headerText__kswTw",reasoningToggle:"CustomChatCrRedirection-module_reasoningToggle__wm3EY",reasoningToggleActive:"CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX",reasoningToggleDisabled:"CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5",chevronIcon:"CustomChatCrRedirection-module_chevronIcon__tVy1m",rightSide:"CustomChatCrRedirection-module_rightSide__JEdzU",fixButton:"CustomChatCrRedirection-module_fixButton__Sr1BF",fixButtonDisabled:"CustomChatCrRedirection-module_fixButtonDisabled__0RGvi",redirectIcon:"CustomChatCrRedirection-module_redirectIcon__ed7yQ",redirectIconDisabled:"CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".CustomChatCrRedirection-module_outerWrapper__-8Du6{display:flex;flex-direction:column;gap:8px;width:100%}.CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH{cursor:not-allowed}.CustomChatCrRedirection-module_card__S2b3w{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;display:inline-flex;padding:8px 16px;width:100%}.CustomChatCrRedirection-module_cardInteractive__u-azG{cursor:pointer}.CustomChatCrRedirection-module_cardInteractive__u-azG:hover{background-color:#f9fafb}.CustomChatCrRedirection-module_cardDisabled__mc0Mk{cursor:default;opacity:.75}.CustomChatCrRedirection-module_leftSide__tYQAv{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;min-width:0}.CustomChatCrRedirection-module_textBlock__eUNwE{color:#1f2937;display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CustomChatCrRedirection-module_headerText__kswTw{color:#000;font-weight:700}.CustomChatCrRedirection-module_reasoningToggle__wm3EY{align-items:baseline;display:flex;flex-direction:row}.CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX{cursor:pointer}.CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_chevronIcon__tVy1m{height:16px;width:16px}.CustomChatCrRedirection-module_rightSide__JEdzU{align-items:center;display:flex;flex-shrink:0;gap:12px;margin-left:16px}.CustomChatCrRedirection-module_fixButton__Sr1BF{background-color:#5925dc;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:4px 12px;transition:transform .1s ease}.CustomChatCrRedirection-module_fixButton__Sr1BF:active:not(:disabled){transform:scale(.95)}.CustomChatCrRedirection-module_fixButtonDisabled__0RGvi{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_redirectIcon__ed7yQ{color:#4f46e5;cursor:pointer}.CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q{color:#d1d5db}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
1
+ var e={outerWrapper:"CustomChatCrRedirection-module_outerWrapper__-8Du6",outerWrapperDisabled:"CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH",card:"CustomChatCrRedirection-module_card__S2b3w",cardInteractive:"CustomChatCrRedirection-module_cardInteractive__u-azG",cardDisabled:"CustomChatCrRedirection-module_cardDisabled__mc0Mk",leftSide:"CustomChatCrRedirection-module_leftSide__tYQAv",textBlock:"CustomChatCrRedirection-module_textBlock__eUNwE",headerText:"CustomChatCrRedirection-module_headerText__kswTw",reasoningToggle:"CustomChatCrRedirection-module_reasoningToggle__wm3EY",reasoningToggleActive:"CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX",reasoningToggleDisabled:"CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5",chevronIcon:"CustomChatCrRedirection-module_chevronIcon__tVy1m",rightSide:"CustomChatCrRedirection-module_rightSide__JEdzU",fixButton:"CustomChatCrRedirection-module_fixButton__Sr1BF",clarifyButton:"CustomChatCrRedirection-module_clarifyButton__WZMnl",fixButtonDisabled:"CustomChatCrRedirection-module_fixButtonDisabled__0RGvi",redirectIcon:"CustomChatCrRedirection-module_redirectIcon__ed7yQ",redirectIconDisabled:"CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CustomChatCrRedirection-module_outerWrapper__-8Du6{display:flex;flex-direction:column;gap:8px;width:100%}.CustomChatCrRedirection-module_outerWrapperDisabled__AnMuH{cursor:not-allowed}.CustomChatCrRedirection-module_card__S2b3w{align-items:center;background-color:#fff;border:1px solid #e5e7eb;border-radius:12px;display:inline-flex;padding:8px 16px;width:100%}.CustomChatCrRedirection-module_cardInteractive__u-azG{cursor:pointer}.CustomChatCrRedirection-module_cardInteractive__u-azG:hover{background-color:#f9fafb}.CustomChatCrRedirection-module_cardDisabled__mc0Mk{cursor:default;opacity:.75}.CustomChatCrRedirection-module_leftSide__tYQAv{align-items:flex-start;display:flex;flex:1;flex-direction:row;gap:8px;min-width:0}.CustomChatCrRedirection-module_textBlock__eUNwE{color:#1f2937;display:block;font-size:15px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.CustomChatCrRedirection-module_headerText__kswTw{color:#000;font-weight:700}.CustomChatCrRedirection-module_reasoningToggle__wm3EY{align-items:baseline;display:flex;flex-direction:row}.CustomChatCrRedirection-module_reasoningToggleActive__Ci4dX{cursor:pointer}.CustomChatCrRedirection-module_reasoningToggleDisabled__c8yt5{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_chevronIcon__tVy1m{height:16px;width:16px}.CustomChatCrRedirection-module_rightSide__JEdzU{align-items:center;display:flex;flex-shrink:0;gap:12px;margin-left:16px}.CustomChatCrRedirection-module_fixButton__Sr1BF{background-color:#5925dc;border:none;border-radius:8px;color:#fff;cursor:pointer;font-size:12px;font-weight:600;padding:4px 12px;transition:transform .1s ease}.CustomChatCrRedirection-module_clarifyButton__WZMnl{background-color:initial;border:none;color:#5925dc;cursor:pointer;font-size:14px;font-weight:400}.CustomChatCrRedirection-module_fixButton__Sr1BF:active:not(:disabled){transform:scale(.95)}.CustomChatCrRedirection-module_fixButtonDisabled__0RGvi{cursor:not-allowed;opacity:.4}.CustomChatCrRedirection-module_redirectIcon__ed7yQ{color:#4f46e5;cursor:pointer}.CustomChatCrRedirection-module_redirectIconDisabled__Gre-Q{color:#d1d5db}"));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as n}from"react/jsx-runtime";import{useState as r,useMemo as i,useEffect as a,Children as l,isValidElement as c}from"react";import{capitalize as d}from"lodash";import{GapFilterContentWrapper as s}from"./GapFilterContentWrapper.js";import{GapFilterItem as g}from"./GapFilterItem.js";import{CustomChatCrRedirection as u}from"./CustomChatCrRedirection.js";import{SirenIcon as m,WarningIcon as p,SupportIcon as f}from"./gapFilterSvgs.js";import v from"./GapFilterBlock.module.css.js";import"react-markdown";import"rehype-raw";var h=["critical","recommendation","warning"];function b(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function C(e){return l.toArray(e).filter(function(e){return c(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(e){var o,n,r=e.props,i=r.children,a=t(r,["children"]),l={};Object.keys(a).forEach(function(e){e.startsWith("data-")||(l[e]=a[e])});var c,d,s=(c=a,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),g=a["decision-strength"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:g,attrs:l,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:a.score,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(o=a.showfix)&&void 0!==o&&o,showRedirect:null!==(n=a.showredirect)&&void 0!==n&&n}})}var y={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:o(m,{}),label:"Critical",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:o(p,{}),label:"Warning",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:o(f,{}),label:"Just a Suggestion",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:o(f,{}),label:"",decisionStrength:""}},x={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};function k(){return o("div",e({className:v.skeletonWrapper},{children:o("div",e({className:v.skeletonInner},{children:o("div",e({className:v.skeletonCard},{children:n("div",e({className:v.skeletonRow},{children:[n("div",e({className:v.skeletonTextGroup},{children:[o("div",{className:"".concat(v.skeletonLine," ").concat(v.skeletonLineLong)}),o("div",{className:"".concat(v.skeletonLine," ").concat(v.skeletonLineMedium)})]})),n("div",e({className:v.skeletonButtonGroup},{children:[o("div",{className:v.skeletonButton}),o("div",{className:v.skeletonIcon})]}))]}))}))}))}))}var N=function(t){t.node;var l=t.children,c=t.type,m=t.supportedmodes,p=void 0===m?"":m,f=t["decision-strength"],N=void 0===f?"":f,S=t.pendingdata,B=void 0===S?"":S,F=t.isGeneratingGap,T=void 0!==F&&F,R=t.selectedGapItemId,w=void 0===R?"":R,A=t.onItemSelect,I=t.onHandleSend,G=t.onModeAction,j=t.msg,E=t.panelRef,W=t.getAccordionState,D=t.setAccordionState,L=t.registerGapFilterBlockCount,U=t.getShowGapReviewButtonType,z=c,H=b(N),q=r(function(){var e;return null!==(e=null==W?void 0:W(z))&&void 0!==e?e:""}),M=q[0],O=q[1],_=function(e){O(e),null==D||D(z,e)},J=C(l),$=i(function(){return J.reduce(function(e,t){var o,n,r,i=null!==(o=t.tags)&&void 0!==o?o:"Uncategorized",a=null!==(r=null===(n=t.dataAttrs)||void 0===n?void 0:n.categoryid)&&void 0!==r?r:"1",l=e.find(function(e){return e.categoryName===i});return l||(l={categoryName:i,categoryId:a,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[])},[J]),K=i(function(){return e=z,h.includes(e)?{labelColor:y[z].labelColor,badgeBackgroundColor:y[z].badgeBackgroundColor,badgeTextColor:y[z].badgeTextColor,label:y[z].label,decisionStrength:H||y[z].decisionStrength}:{labelColor:y.default.labelColor,badgeBackgroundColor:y.default.badgeBackgroundColor,badgeTextColor:y.default.badgeTextColor,label:d(z),decisionStrength:H||""};var e},[z,H]);a(function(){null==L||L(z,J.length)},[z,J.length,L]);var P=function(t,o,n){if(void 0===n&&(n={}),!T){var r="".concat($[t].categoryId,"-").concat(o);null==A||A(r);var i=e(e({},$[t].items[o].dataAttrs),n);null==G||G(p,i)}},Q=!!U&&U()===z;return n(s,e({type:z,config:K,count:J.length,handleReviewClick:function(){J.length>0&&_(z)},openAccordion:M,onAccordionChange:function(e){_(M===e?"":e)},shouldShowReviewButton:Q,pendingData:B},{children:[$.map(function(t,r){return n("div",e({className:v.categoryGroup},{children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&o("p",e({className:v.categoryLabel},{children:t.categoryName})),t.items.map(function(n,i){var a,l,c,d,s=n.attrs||{},m=null===(a=n.dataAttrs)||void 0===a?void 0:a["cognitive-reasoning"],p=s.id||(null===(l=n.dataAttrs)||void 0===l?void 0:l.id)||"",f="I"===p[0]?"UI_REF":"CHAT_REF",h=null===(c=null==j?void 0:j.contextAwareAgentReasoning)||void 0===c?void 0:c[m];return"gapfilteritem"===n.type?o("div",e({className:[v.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?v.gapFilterItemWrapperIndented:""].join(" ")},{children:o(g,{index:i,isSelected:w==="".concat(t.categoryId,"-").concat(i),onClick:function(){return P(r,i)},onFixClick:function(){return P(r,i,{triggerFrom:"fix"})},onRedirect:function(){return P(r,i,{triggerFrom:"redirect"})},item:n,isGenerating:T,aiReason:h,panelRef:null!=E?E:{current:null},id:m})}),i):(console.log("testing::reasoningId",n.type),o("div",e({className:v.crRedirectionGroup},{children:o("div",e({className:v.crRedirectionInner},{children:o(u,{msg:j,type:f,text:n.text,headerText:n.headerText,decisionStrength:n.decisionStrength,id:p,gapType:z,onHandleSend:I,isGenerating:T,aiReason:h,statusUi:null!==(d=x[z])&&void 0!==d?d:x.recommendation,panelRef:null!=E?E:{current:null}})}))}),i))})]}),"".concat(t.categoryName,"-").concat(r))}),T&&o(k,{})]}))};export{N as GapFilterBlock,b as normalizeDecisionStrength};
1
+ import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as n}from"react/jsx-runtime";import{useState as r,useMemo as i,useEffect as l,Children as a,isValidElement as c}from"react";import{capitalize as d}from"lodash";import{GapFilterContentWrapper as s}from"./GapFilterContentWrapper.js";import{GapFilterItem as u}from"./GapFilterItem.js";import{CustomChatCrRedirection as g}from"./CustomChatCrRedirection.js";import{SirenIcon as m,WarningIcon as p,SupportIcon as v}from"./gapFilterSvgs.js";import f from"./GapFilterBlock.module.css.js";import"react-markdown";import"rehype-raw";import"../RequirementAIWrapper/RequirementAIWrapper.js";var y=["critical","recommendation","warning"];function h(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function b(e){return a.toArray(e).filter(function(e){return c(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(e){var o,n,r=e.props,i=r.children,l=t(r,["children"]),a={};Object.keys(l).forEach(function(e){e.startsWith("data-")||(a[e]=l[e])});var c,d,s=(c=l,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),u=l["decision-strength"];return{text:i,headerText:l.headertext,tags:l.tags,dataAttrs:s,decisionStrength:u,attrs:a,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:l.score,pendingCount:l.pendingcount,question:l.question,components:l.components,showFix:null!==(o=l.showfix)&&void 0!==o&&o,showRedirect:null!==(n=l.showredirect)&&void 0!==n&&n}})}var C={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};function k(t){var r=t.customStyles;return o("div",e({className:f.skeletonWrapper,style:null==r?void 0:r.skeletonWrapper},{children:o("div",e({className:f.skeletonInner,style:null==r?void 0:r.skeletonInner},{children:o("div",e({className:f.skeletonCard,style:null==r?void 0:r.skeletonCard},{children:n("div",e({className:f.skeletonRow,style:null==r?void 0:r.skeletonRow},{children:[n("div",e({className:f.skeletonTextGroup,style:null==r?void 0:r.skeletonGroup},{children:[o("div",{className:"".concat(f.skeletonLine," ").concat(f.skeletonLineLong),style:null==r?void 0:r.skeletonLineLong}),o("div",{className:"".concat(f.skeletonLine," ").concat(f.skeletonLineMedium),style:null==r?void 0:r.skeletonLineMedium})]})),n("div",e({className:f.skeletonButtonGroup,style:null==r?void 0:r.skeletonButtonGroup},{children:[o("div",{className:f.skeletonButton,style:null==r?void 0:r.skeletonButton}),o("div",{className:f.skeletonIcon,style:null==r?void 0:r.skeletonIcon})]}))]}))}))}))}))}var x=function(t){var a=t.mode;t.node;var c=t.children,x=t.type,S=t.supportedmodes,I=void 0===S?"":S,N=t["decision-strength"],R=void 0===N?"":N,B=t.pendingdata,A=void 0===B?"":B,F=t.isGeneratingGap,G=void 0!==F&&F,T=t.selectedGapItemId,w=void 0===T?"":T,j=t.onItemSelect,L=t.onHandleSend,W=t.onModeAction,E=t.msg,D=t.panelRef,U=t.getAccordionState,q=t.setAccordionState,M=t.registerGapFilterBlockCount,z=t.getShowGapReviewButtonType,H=t.customStyles,O=t.customIcons,_=x,J=h(R),$=r(function(){var e;return null!==(e=null==U?void 0:U(_))&&void 0!==e?e:""}),K=$[0],P=$[1],Q=function(e){P(e),null==q||q(_,e)},V=b(c),X=i(function(){return V.reduce(function(e,t){var o,n,r,i=null!==(o=t.tags)&&void 0!==o?o:"Uncategorized",l=null!==(r=null===(n=t.dataAttrs)||void 0===n?void 0:n.categoryid)&&void 0!==r?r:"1",a=e.find(function(e){return e.categoryName===i});return a||(a={categoryName:i,categoryId:l,type:t.type,items:[]},e.push(a)),a.items.push(t),e},[])},[V]),Y={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:o(m,{}),label:"risk-gap"===a?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:o(p,{}),label:"risk-gap"===a?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:o(v,{}),label:"risk-gap"===a?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:o(v,{}),label:"",decisionStrength:""}},Z=i(function(){return e=_,y.includes(e)?{labelColor:Y[_].labelColor,badgeBackgroundColor:Y[_].badgeBackgroundColor,badgeTextColor:Y[_].badgeTextColor,label:Y[_].label,decisionStrength:J||Y[_].decisionStrength}:{labelColor:Y.default.labelColor,badgeBackgroundColor:Y.default.badgeBackgroundColor,badgeTextColor:Y.default.badgeTextColor,label:d(_),decisionStrength:J||""};var e},[_,J]);l(function(){null==M||M(_,V.length)},[_,V.length,M]);var ee=function(t,o,n){if(void 0===n&&(n={}),!G){var r="".concat(X[t].categoryId,"-").concat(o);null==j||j(r);var i=e(e({},X[t].items[o].dataAttrs),n);null==W||W(I,i)}};return z&&z(),n(s,e({mode:a,type:_,config:Z,count:V.length,handleReviewClick:function(){V.length>0&&Q(_)},openAccordion:K,onAccordionChange:function(e){Q(K===e?"":e)},shouldShowReviewButton:!1,pendingData:A,customStyles:H},{children:[X.map(function(t,r){return n("div",e({className:f.categoryGroup,style:null==H?void 0:H.categoryGroup},{children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&o("p",e({className:f.categoryLabel,style:null==H?void 0:H.categoryLabel},{children:t.categoryName})),t.items.map(function(n,i){var l,c,d,s,m=n.attrs||{},p=null===(l=n.dataAttrs)||void 0===l?void 0:l["cognitive-reasoning"],v=m.id||(null===(c=n.dataAttrs)||void 0===c?void 0:c.id)||"",y="I"===v[0]?"UI_REF":"CHAT_REF",h=null===(d=null==E?void 0:E.contextAwareAgentReasoning)||void 0===d?void 0:d[p];return"gapfilteritem"===n.type?o("div",e({className:[f.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?f.gapFilterItemWrapperIndented:""].join(" "),style:null==H?void 0:H.blockContainer},{children:o(u,{mode:a,index:i,isSelected:w==="".concat(t.categoryId,"-").concat(i),onClick:function(){return ee(r,i)},onFixClick:function(){return ee(r,i,{triggerFrom:"fix"})},onRedirect:function(){return ee(r,i,{triggerFrom:"redirect"})},item:n,isGenerating:G,aiReason:h,panelRef:null!=D?D:{current:null},id:p,customStyles:H,customIcons:O})}),i):(console.log("testing::reasoningId",n.type),o("div",e({className:f.crRedirectionGroup,style:null==H?void 0:H.crRedirectionGroup},{children:o("div",e({className:f.crRedirectionInner,style:null==H?void 0:H.crRedirectionInner},{children:o(g,{mode:a,msg:E,type:y,text:n.text,headerText:n.headerText,decisionStrength:n.decisionStrength,id:v,gapType:_,onHandleSend:L,isGenerating:G,aiReason:h,statusUi:null!==(s=C[_])&&void 0!==s?s:C.recommendation,panelRef:null!=D?D:{current:null},customStyles:H,customIcons:O})}))}),i))})]}),"".concat(t.categoryName,"-").concat(r))}),G&&o(k,{customStyles:H})]}))};export{x as GapFilterBlock,h as normalizeDecisionStrength};
2
2
  //# sourceMappingURL=GapFilterBlock.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as r,jsxs as n}from"react/jsx-runtime";import{Accordion as o,AccordionItem as i,AccordionTrigger as c,AccordionContent as a}from"../../shared/Accordian.js";import{Sparkles as l}from"lucide-react";import t from"./GapFilterContentWrapper.module.css.js";var s=function(s){var d=s.type,g=s.config,h=s.count,m=s.openAccordion,p=s.children,u=s.shouldShowReviewButton,v=void 0!==u&&u,N=s.onAccordionChange;s.handleReviewClick;var C=s.pendingData;return r(o,e({type:"single",collapsible:!0,className:t.accordion,value:m,onValueChange:function(e){return N(e)}},{children:n(i,e({value:d,className:t.accordionItem},{children:[r(c,e({chevronPosition:"end",className:t.accordionTrigger,hideChevron:v},{children:n("div",e({className:t.triggerInner},{children:[n("div",e({className:t.triggerLeft},{children:[n("p",e({className:t.triggerLabel,style:{color:g.labelColor}},{children:[g.label,n("span",e({className:t.triggerLabelCount},{children:["(",h,")"]}))]})),C.length>0&&n("span",e({className:t.triggerPending},{children:["(",C,")"]}))]})),r("div",e({className:t.triggerRight},{children:n("p",e({className:t.decisionStrengthBadge,style:{backgroundColor:g.badgeBackgroundColor,color:g.badgeTextColor}},{children:[r(l,{className:t.decisionStrengthIcon}),g.decisionStrength]}))}))]}))})),r(a,e({className:t.accordionContent},{children:r("div",e({className:t.accordionContentInner},{children:p}))}))]}))}))};export{s as GapFilterContentWrapper};
1
+ import{__assign as e}from"tslib";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{Accordion as o,AccordionItem as l,AccordionTrigger as i,AccordionContent as t}from"../../shared/Accordian.js";import{Sparkles as c}from"lucide-react";import a from"./GapFilterContentWrapper.module.css.js";var d=function(d){var s=d.mode,g=d.type,u=d.config,h=d.count,m=d.openAccordion,v=d.children,p=d.shouldShowReviewButton,y=void 0!==p&&p,C=d.onAccordionChange;d.handleReviewClick;var N=d.pendingData,b=d.customStyles;return n(o,e({type:"single",collapsible:!0,className:a.accordion,value:m,onValueChange:function(e){return C(e)},style:null==b?void 0:b.accordion},{children:r(l,e({value:g,className:a.accordionItem,style:null==b?void 0:b.accordionItem},{children:[n(i,e({chevronPosition:"end",className:a.accordionTrigger,hideChevron:y,style:null==b?void 0:b.accordionTrigger},{children:r("div",e({className:a.triggerInner,style:null==b?void 0:b.triggerInner},{children:[r("div",e({className:a.triggerLeft,style:null==b?void 0:b.triggerLeft},{children:[r("p",e({className:a.triggerLabel,style:e(e({},null==b?void 0:b.triggerLabel),{color:u.labelColor})},{children:[u.label,r("span",e({className:a.triggerLabelCount,style:null==b?void 0:b.triggerLabelCount},{children:["(",h,")"]}))]})),N.length>0&&r("span",e({className:a.triggerPending,style:null==b?void 0:b.triggerPending},{children:["(",N,")"]}))]})),"risk-gap"===s&&n("div",e({className:a.triggerRight,style:null==b?void 0:b.triggerRight},{children:r("p",e({className:a.decisionStrengthBadge,style:e({backgroundColor:u.badgeBackgroundColor,color:u.badgeTextColor},null==b?void 0:b.decisionStrengthBadge)},{children:[n(c,{className:a.decisionStrengthIcon,style:null==b?void 0:b.decisionStrengthIcon}),u.decisionStrength]}))}))]}))})),n(t,e({className:a.accordionContent,style:null==b?void 0:b.accordionContent},{children:n("div",e({className:a.accordionContentInner,style:null==b?void 0:b.accordionContentInner},{children:v}))}))]}))}))};export{d as GapFilterContentWrapper};
2
2
  //# sourceMappingURL=GapFilterContentWrapper.js.map
@@ -1,2 +1,2 @@
1
- var e={accordion:"GapFilterContentWrapper-module_accordion__DFUj9",accordionItem:"GapFilterContentWrapper-module_accordionItem__TIYFH",accordionTrigger:"GapFilterContentWrapper-module_accordionTrigger__8RlAi",triggerInner:"GapFilterContentWrapper-module_triggerInner__modQ8",triggerLeft:"GapFilterContentWrapper-module_triggerLeft__MWJeo",triggerLabel:"GapFilterContentWrapper-module_triggerLabel__6nQvH",triggerLabelCount:"GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx",triggerPending:"GapFilterContentWrapper-module_triggerPending__UU9s-",triggerRight:"GapFilterContentWrapper-module_triggerRight__8ho06",decisionStrengthBadge:"GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN",decisionStrengthIcon:"GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW",reviewButton:"GapFilterContentWrapper-module_reviewButton__X2ckY",reviewButtonIcon:"GapFilterContentWrapper-module_reviewButtonIcon__5-aF6",accordionContent:"GapFilterContentWrapper-module_accordionContent__LiMgy",accordionContentInner:"GapFilterContentWrapper-module_accordionContentInner__7NZmS"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".GapFilterContentWrapper-module_accordion__DFUj9{margin-bottom:6px;width:100%}.GapFilterContentWrapper-module_accordionItem__TIYFH{background-color:#fff;border:1px solid #e6e8f0;border-radius:12px;padding:12px 16px}.GapFilterContentWrapper-module_accordionTrigger__8RlAi{padding-bottom:0;padding-top:0}.GapFilterContentWrapper-module_accordionTrigger__8RlAi:hover{text-decoration:none}.GapFilterContentWrapper-module_triggerInner__modQ8{align-items:center;display:flex;font-size:12px;gap:8px;justify-content:space-between;width:100%}.GapFilterContentWrapper-module_triggerLeft__MWJeo{align-items:center;display:flex;gap:4px}.GapFilterContentWrapper-module_triggerLabel__6nQvH{font-size:14px;font-weight:600}.GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx{font-weight:500;margin-left:4px}.GapFilterContentWrapper-module_triggerPending__UU9s-{color:#6b7280;font-size:12px;font-weight:500}.GapFilterContentWrapper-module_triggerRight__8ho06{align-items:center;display:flex;gap:8px}.GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN{align-items:center;border-radius:9999px;display:flex;font-size:12px;font-weight:600;gap:6px;padding:4px 10px}.GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW{height:12px;width:12px}.GapFilterContentWrapper-module_reviewButton__X2ckY{align-items:center;background-color:#4f46e5;border:none;border-radius:4px;color:#eef2ff;cursor:pointer;display:flex;flex-direction:row-reverse;font-size:12px;gap:4px;padding:2px 6px;width:fit-content}.GapFilterContentWrapper-module_reviewButton__X2ckY:hover{background-color:#4338ca}.GapFilterContentWrapper-module_reviewButtonIcon__5-aF6{font-size:12px;height:12px;line-height:1;transform:translateY(1px);width:12px}.GapFilterContentWrapper-module_accordionContent__LiMgy{padding-bottom:0}.GapFilterContentWrapper-module_accordionContentInner__7NZmS{display:flex;flex-direction:column;gap:4px}:root{--gap-critical-color:#d92d20;--gap-critical-badge-bg:#fee4e2;--gap-critical-badge-text:#b42318;--gap-warning-color:#dc6803;--gap-warning-badge-bg:#fef0c7;--gap-warning-badge-text:#b54708;--gap-recommendation-color:#039855;--gap-recommendation-badge-bg:#d1fadf;--gap-recommendation-badge-text:#027a48;--gap-default-color:#4b5563;--gap-default-badge-bg:#f3f4f6;--gap-default-badge-text:#4b5563}"));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(e)}();export{e as default};
1
+ var e={accordion:"GapFilterContentWrapper-module_accordion__DFUj9",accordionItem:"GapFilterContentWrapper-module_accordionItem__TIYFH",accordionTrigger:"GapFilterContentWrapper-module_accordionTrigger__8RlAi",triggerInner:"GapFilterContentWrapper-module_triggerInner__modQ8",triggerLeft:"GapFilterContentWrapper-module_triggerLeft__MWJeo",triggerLabel:"GapFilterContentWrapper-module_triggerLabel__6nQvH",triggerLabelCount:"GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx",triggerPending:"GapFilterContentWrapper-module_triggerPending__UU9s-",triggerRight:"GapFilterContentWrapper-module_triggerRight__8ho06",decisionStrengthBadge:"GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN",decisionStrengthIcon:"GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW",reviewButton:"GapFilterContentWrapper-module_reviewButton__X2ckY",reviewButtonIcon:"GapFilterContentWrapper-module_reviewButtonIcon__5-aF6",accordionContent:"GapFilterContentWrapper-module_accordionContent__LiMgy",accordionContentInner:"GapFilterContentWrapper-module_accordionContentInner__7NZmS"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode(".GapFilterContentWrapper-module_accordion__DFUj9{margin-bottom:6px;width:100%}.GapFilterContentWrapper-module_accordionItem__TIYFH{background-color:#fff;border:1px solid #e6e8f0;border-radius:12px;padding:12px 16px}.GapFilterContentWrapper-module_accordionTrigger__8RlAi{padding-bottom:0;padding-top:0}.GapFilterContentWrapper-module_accordionTrigger__8RlAi:hover{text-decoration:none}.GapFilterContentWrapper-module_triggerInner__modQ8{align-items:center;display:flex;font-size:12px;gap:8px;justify-content:space-between;width:100%}.GapFilterContentWrapper-module_triggerLeft__MWJeo{align-items:center;display:flex;gap:4px}.GapFilterContentWrapper-module_triggerLabel__6nQvH{font-size:14px;font-weight:600;margin:0}.GapFilterContentWrapper-module_triggerLabelCount__Yp-Yx{font-weight:500;margin-left:4px}.GapFilterContentWrapper-module_triggerPending__UU9s-{color:#6b7280;font-size:12px;font-weight:500}.GapFilterContentWrapper-module_triggerRight__8ho06{align-items:center;display:flex;gap:8px}.GapFilterContentWrapper-module_decisionStrengthBadge__fWuhN{align-items:center;border-radius:9999px;display:flex;font-size:12px;font-weight:600;gap:6px;padding:4px 10px}.GapFilterContentWrapper-module_decisionStrengthIcon__C-8gW{height:12px;width:12px}.GapFilterContentWrapper-module_reviewButton__X2ckY{align-items:center;background-color:#4f46e5;border:none;border-radius:4px;color:#eef2ff;cursor:pointer;display:flex;flex-direction:row-reverse;font-size:12px;gap:4px;padding:2px 6px;width:fit-content}.GapFilterContentWrapper-module_reviewButton__X2ckY:hover{background-color:#4338ca}.GapFilterContentWrapper-module_reviewButtonIcon__5-aF6{font-size:12px;height:12px;line-height:1;transform:translateY(1px);width:12px}.GapFilterContentWrapper-module_accordionContent__LiMgy{padding-bottom:0}.GapFilterContentWrapper-module_accordionContentInner__7NZmS{display:flex;flex-direction:column;gap:4px}:root{--gap-critical-color:#d92d20;--gap-critical-badge-bg:#fee4e2;--gap-critical-badge-text:#b42318;--gap-warning-color:#dc6803;--gap-warning-badge-bg:#fef0c7;--gap-warning-badge-text:#b54708;--gap-recommendation-color:#039855;--gap-recommendation-badge-bg:#d1fadf;--gap-recommendation-badge-text:#027a48;--gap-default-color:#4b5563;--gap-default-badge-bg:#f3f4f6;--gap-default-badge-text:#4b5563}"));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=GapFilterContentWrapper.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as o,jsx as n}from"react/jsx-runtime";import{SquareArrowOutUpRight as r,ChevronUp as t,ChevronDown as i}from"lucide-react";import{useState as a,useMemo as c}from"react";import{Tooltip as s}from"@mui/material";import l from"./GapFilterItem.module.css.js";import d from"../ai-reasoning/AiReasoningCitationContent.js";import m from"../../icons/CognitiveDecision.js";import u from"../RequirementAIWrapper/RequirementAIWrapper.js";var p=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:l.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:l.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:l.scoreBadgeLow}},g=function(g){var f=g.index,h=g.isSelected,w=g.onClick,N=g.item,C=g.onFixClick,v=g.onRedirect,x=g.aiReason;g.panelRef;var R=g.id,b=g.isGenerating,F=void 0!==b&&b,k=a(!1),S=k[0],E=k[1];c(function(){return N.components?N.components.split("||"):[]},[N.components]);var T=c(function(){return N.score&&isNaN(parseInt(N.score))?0:N.score?parseInt(N.score):0},[N.score]),j=p(T);return console.log("testing::reasoning\n",x),o("div",e({className:l.outerWrapper,onClick:w},{children:["Arghya",o("div",e({className:l.innerCard},{children:[o("div",e({className:l.contentBlock},{children:[o("div",e({className:l.topRow},{children:[n("div",e({className:[l.questionText,h?l.questionTextSelected:l.questionTextDefault].join(" ")},{children:n(s,e({title:N.question||"",placement:"top"},{children:n("span",{className:l.questionSpan})}))})),o("div",e({className:l.actionsRow},{children:[T>0&&n("div",e({className:[l.scoreBadge,j.className].join(" ")},{children:"".concat(T,"%")})),N.showFix&&n("button",e({className:l.fixButton,onClick:function(e){e.stopPropagation(),C()}},{children:"Fix"})),N.showRedirect&&n(r,{color:"#3b82f6",size:14,className:l.redirectIcon,onClick:function(e){e.stopPropagation(),v()}})]}))]})),o("div",e({className:[l.bottomRow,h?l.bottomRowSelected:l.bottomRowDefault].join(" ")},{children:[o("span",e({className:l.gapTextSpan},{children:[(null==N?void 0:N.headerText)?n("span",e({className:l.gapHeaderText},{children:N.headerText})):o("span",e({className:l.gapHeaderText},{children:["Gap ",f+1,"."]}))," ",N.text]})),R&&o("span",e({onClick:function(e){e.stopPropagation(),F||E(!S)},className:[l.reasoningToggle,F?l.reasoningToggleDisabled:l.reasoningToggleActive].join(" ")},{children:[n(m,{}),n(S?t:i,{className:l.chevronIcon})]}))]}))]})),S&&n(u,e({searchQueryList:[""],searchQueryReasoningIdList:[],userStory:[],aiReasoning:[],citations:{},apiCachingConfig:{queryClient:void 0,useGetSignedUrlQuery:function(e,o){throw new Error("Function not implemented.")},useGetSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksMutation:function(e){throw new Error("Function not implemented.")},useExtractAudioPeaksQuery:function(e,o){throw new Error("Function not implemented.")},useGetVideoSignedUrlMutation:function(e){throw new Error("Function not implemented.")},useGetVideoSignedUrlQuery:function(e,o){throw new Error("Function not implemented.")}},customIcons:void 0,setUserStory:function(e){throw new Error("Function not implemented.")},setAiReasoning:function(e){throw new Error("Function not implemented.")},setCitations:function(e){throw new Error("Function not implemented.")}},{children:n(d,{aiReason:{id:"1",reason:x.Reasoning||"",gap:x.Gap||"",relevance_score:Number(x.Confidence_score),explanation:x.explanation||""},onSelectProceed:C})}))]}))]}))};export{g as GapFilterItem,p as getScoreColorStyles};
1
+ import{__assign as e}from"tslib";import{jsx as o,jsxs as i}from"react/jsx-runtime";import{SquareArrowOutUpRight as n,ChevronUp as t,ChevronDown as l}from"lucide-react";import{useState as a,useMemo as s}from"react";import{Tooltip as r}from"@mui/material";import c from"./GapFilterItem.module.css.js";import d from"../ai-reasoning/AiReasoningCitationContent.js";import m from"../../icons/CognitiveDecision.js";var u=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:c.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:c.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:c.scoreBadgeLow}},p=function(p){p.mode;var v=p.index,g=p.isSelected,f=p.onClick,x=p.item,h=p.onFixClick,N=p.onRedirect,R=p.aiReason;p.panelRef;var y=p.id,C=p.isGenerating,T=void 0!==C&&C,b=p.customStyles,S=p.customIcons,w=a(!1),B=w[0],k=w[1],I=(null==S?void 0:S.highConfidence)||o(m,{});s(function(){return x.components?x.components.split("||"):[]},[x.components]);var j=s(function(){return x.score&&isNaN(parseInt(x.score))?0:x.score?parseInt(x.score):0},[x.score]),G=u(j);return console.log("testing::reasoning\n",R),o("div",e({className:c.outerWrapper,onClick:f,style:null==b?void 0:b.itemOuterWrapper},{children:i("div",e({className:c.innerCard,style:null==b?void 0:b.itemInnerCard},{children:[i("div",e({className:c.contentBlock,style:null==b?void 0:b.contentBlock},{children:[i("div",e({className:c.topRow,style:null==b?void 0:b.itemTopRow},{children:[o("div",e({className:[c.questionText,g?c.questionTextSelected:c.questionTextDefault].join(" "),style:e(e({},null==b?void 0:b.itemQuestionText),g?null==b?void 0:b.itemQuestionTextSelected:null==b?void 0:b.itemQuestionTextDefault)},{children:o(r,e({title:x.question||"",placement:"top"},{children:o("span",{className:c.questionSpan,style:null==b?void 0:b.itemQuestionSpan})}))})),i("div",e({className:c.actionsRow,style:null==b?void 0:b.itemActionsRow},{children:[j>0&&o("div",e({className:[c.scoreBadge,G.className].join(" "),style:e(e(e(e({},null==b?void 0:b.itemScoreBadge),j>90?null==b?void 0:b.itemScoreBadgeHigh:{}),j>=70&&j<=90?null==b?void 0:b.itemScoreBadgeMedium:{}),j<70?null==b?void 0:b.itemScoreBadgeLow:{})},{children:"".concat(j,"%")})),x.showFix&&o("button",e({className:c.fixButton,onClick:function(e){e.stopPropagation(),h()},style:null==b?void 0:b.itemFixButton},{children:"Fix"})),x.showRedirect&&o(n,{color:"#3b82f6",size:14,className:c.redirectIcon,onClick:function(e){e.stopPropagation(),N()},style:null==b?void 0:b.itemRedirectIcon})]}))]})),i("div",e({className:[c.bottomRow,g?c.bottomRowSelected:c.bottomRowDefault].join(" "),style:e(e({},null==b?void 0:b.itemBottomRow),g?null==b?void 0:b.bottomRowSelected:null==b?void 0:b.bottomRowDefault)},{children:[i("span",e({className:c.gapTextSpan,style:null==b?void 0:b.itemGapText},{children:[(null==x?void 0:x.headerText)?o("span",e({className:c.gapHeaderText,style:null==b?void 0:b.itemGapHeaderText},{children:x.headerText})):i("span",e({className:c.gapHeaderText,style:null==b?void 0:b.itemGapHeaderText},{children:["Gap ",v+1,"."]}))," ",x.text]})),y&&i("span",e({onClick:function(e){e.stopPropagation(),T||k(!B)},className:[c.reasoningToggle,T?c.reasoningToggleDisabled:c.reasoningToggleActive].join(" "),style:null==b?void 0:b.itemReasoningToggle},{children:[I,o(B?t:l,{className:c.chevronIcon,style:null==b?void 0:b.chevronIcon})]}))]}))]})),B&&o(d,{aiReason:{id:"1",reason:R.Reasoning||"",gap:R.Gap||"",relevance_score:Number(R.Confidence_score),explanation:R.explanation||""},onSelectProceed:h,customStyles:null==b?void 0:b.aiReasoningStyles})]}))}))};export{p as GapFilterItem,u as getScoreColorStyles};
2
2
  //# sourceMappingURL=GapFilterItem.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as e,__assign as n}from"tslib";import{jsx as r,jsxs as i}from"react/jsx-runtime";import{createContext as o,useRef as t,useState as l,useCallback as a,useMemo as d,useEffect as c,useContext as s}from"react";import u from"react-markdown";import v from"rehype-raw";import h from"./UserStoryWithCitation.module.css.js";import{useMarkdownSearch as g}from"../../shared/useMarkdownSearch.js";import{Info as p}from"lucide-react";import{Tooltip as m}from"@mui/material";import f from"../../shared/UpdatedAnimationContent.js";import y from"../../shared/GeneratedCodeCitation.js";import C from"../../shared/CitationLoadingIndicator.js";import{useRequirementAI as w}from"../RequirementAIWrapper/RequirementAIWrapper.js";import R from"../ai-reasoning/AiReasoningCitation.js";var I=o(!1),S=o({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),b=o({rowId:""}),N=function(e){var o,l,a=e.children,d=e.node,c=t(Math.random().toString(36).slice(2)).current,u=s(S).expandedInfo,v=(null==u?void 0:u.rowId)===c,g=Array.isArray(null==d?void 0:d.children)?d.children.filter(function(e){return"element"===e.type}).length:1,p=null!==(l=null===(o=null==d?void 0:d.properties)||void 0===o?void 0:o.style)&&void 0!==l?l:void 0;return i(b.Provider,n({value:{rowId:c}},{children:[r("tr",n({style:p?{cssText:p}:void 0},{children:a})),v&&(null==u?void 0:u.aiReason)&&r("tr",n({style:{width:"100%"}},{children:r("td",n({colSpan:g||1,className:h.tableExpandedCell},{children:r("div",n({className:h.tableExpandedCellInner},{children:r("div",{className:h.tableExpandedCellContent})}))}))}))]}))},x=function(o){var b=o.message,x=o.scenario,A=o.showUserStoryDiff,L=void 0!==A&&A,T=o.aiReasoningsForBlock,j=o.isCitationLoadingDisplay,U=void 0!==j&&j,P=o.className;o.highConfidenceIcon,o.lowConfidenceIcon;var E=o.customStyles,M=o.customIcons,k=o.aiReasoningDiffView,$=o.userStoryCitations,q=t(null),D=w(),W=D.userStory,F=D.setUserStory,H=D.aiReasoning,_=D.setAiReasoning,G=D.customIcons,Q=D.searchQueryList,z=D.searchQueryReasoningIdList,B=null!=M?M:null==G?void 0:G.userStoryIcons,O=null==E?void 0:E.searchHighlight,V=g(q,O),J=V.search,K=V.clear,X=l("1"),Y=X[0],Z=X[1],ee=l(null),ne=ee[0],re=ee[1],ie=t(new Map),oe=a(function(e,n){re(e&&n?{rowId:e,aiReason:n}:null)},[]),te=l([]),le=te[0],ae=te[1],de=function(e){var n=new RegExp("<(/?(".concat(["updated","deleted","changed"].join("|"),"))>"),"g"),r=e.replace(n,"\n\n<$1>\n\n");return r=(r=r.replace(/<deleted>([\s\S]*?)<\/deleted>/gi,function(e,n){var r=n.replace(/ai_reasoning\$(\d+)/g,function(e,n){return"ai_reasoning$".concat(n,"-legacy")});return"<deleted>".concat(r,"</deleted>")})).replace(/<generatedCode([^>]*)>([\s\S]*?)<\/generatedCode>/gi,function(e,n,r){var i=btoa(encodeURIComponent(r.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(i,'"></generatedCode>\n\n')})};d(function(){return b?de(b):b},[b]),c(function(){ae(T||H)},[T,H]);var ce=d(function(){return{h1:function(i){i.node;var o=e(i,["node"]);return r("h1",n({className:h.heading1,style:null==E?void 0:E.heading1},{children:o.children}))},h2:function(i){i.node;var o=e(i,["node"]);return r("h2",n({className:h.heading2,style:null==E?void 0:E.heading2},{children:o.children}))},h3:function(i){i.node;var o=e(i,["node"]);return r("h3",n({className:h.heading3,style:null==E?void 0:E.heading3},{children:o.children}))},b:function(i){i.node;var o=e(i,["node"]);return r("b",n({className:h.bold,style:null==E?void 0:E.bold},{children:null==o?void 0:o.children}))},p:function(i){i.node;var o=e(i,["node"]);return r("p",n({},o,{className:h.paragraph,style:null==E?void 0:E.paragraph},{children:o.children}))},updated:function(i){var o=i.node,t=e(i,["node"]);return r(f,n({showUserStoryDiff:L,currentUpdatedTagId:Y,setCurrentUpdatedTagId:Z,userStory:W,setUserStory:F,setAiReasoning:_,node:o,customStyle:null==E?void 0:E.updatedContent},t))},ol:function(i){i.node;var o=e(i,["node"]);return r("ol",n({className:h.orderedList,style:null==E?void 0:E.olist},{children:null==o?void 0:o.children}))},ul:function(i){i.node;var o=e(i,["node"]);return r("ul",n({className:h.unorderedList,style:null==E?void 0:E.ulist},{children:null==o?void 0:o.children}))},table:function(e){var i=e.children;return r("div",n({className:h.tableWrapper},{children:r("table",n({className:h.table,style:null==E?void 0:E.table},{children:i}))}))},tr:N,td:function(i){var o,t=i.node,l=i.children,a=null!==(o=null==t?void 0:t.properties)&&void 0!==o?o:{},d=a.style,c=e(a,["style"]);return r(I.Provider,n({value:!0},{children:r("td",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},th:function(i){var o,t=i.node,l=i.children,a=null!==(o=null==t?void 0:t.properties)&&void 0!==o?o:{},d=a.style,c=e(a,["style"]);return r(I.Provider,n({value:!0},{children:r("th",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},a:function(n){var i,o,t;n.inline,n.children,n.node;var l=e(n,["inline","children","node"]),a=s(I)||"true"==(null==l?void 0:l.table),d="".concat(null==l?void 0:l.href),c=null===(i=d.split("$"))||void 0===i?void 0:i[0],u=null===(o=d.split("$"))||void 0===o?void 0:o[1];if(console.log("testing::ai-reasoning::render",d),"ai_reasoning"===c){var v=null!==(t=L?k:H)&&void 0!==t?t:[];console.log("testing::ai-reasoning::render",v);var h=v.find(function(e){return e.id.toString()===u});if(h&&h.reason.length>0&&h.gap.length>0)return r(R,{title:"Source",aiReason:h,isSourceHasHighlight:!1,isTable:a,customIcons:B,customStyles:{aiReasoningContent:null==E?void 0:E.aiReasoningContent,aiReasoningAccordion:null==E?void 0:E.aiReasoningAccordion,aiReasoningMarkdown:null==E?void 0:E.aiReasoningMarkdown,aiReasoningPill:null==E?void 0:E.aiReasoningPill}})}return null},code:function(i){i.inline;var o=i.children,t=i.className;return i.node,e(i,["inline","children","className","node"]),/language-(\w+)/.exec(t||"")||(null==t?void 0:t.includes("language-"))?r("div",{children:r("code",n({className:h.blockCode,style:null==E?void 0:E.code},{children:o}))}):r("code",n({className:h.inlineCode,style:null==E?void 0:E.code},{children:o}))},learned:function(e){var i=e.children;return r(m,n({title:i,placement:"top"},{children:r(p,{size:16,className:h.learned})}))},generatedcode:function(n){n.node;var i=e(n,["node"]),o=(null==i?void 0:i.language)||"python",t=function(e){var n="";try{if(e["data-raw"])n=decodeURIComponent(atob(e["data-raw"]));else{var r=function(e){var n;return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n.children)?r(e.props.children):""};n=r(e.children)}}catch(r){console.error("Error decoding generated code:",r),n=String(e.children)}return n}(i);return r(y,{title:"Generated Code",code:t,language:o,customStyles:{pill:null==E?void 0:E.generatedCodePill,content:null==E?void 0:E.generatedCodeContent}})}}},[le,H,$,Y,L,b,M]);return c(function(){if(q.current){if(null==Q?void 0:Q.length){var e;if(0===(null==z?void 0:z.length))requestAnimationFrame(function(){J(Q.map(function(e){return e.replace(/\*/g,"")}))});else{var n=q.current,r=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){r.disconnect(),requestAnimationFrame(function(){J(Q.map(function(e){return e.replace(/\*/g,"")}))})},50)});r.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}K()}},[Q,z]),r(S.Provider,n({value:{expandedInfo:ne,setExpanded:oe,reasonToRow:ie}},{children:i("div",n({ref:q,className:"".concat(h.container," ").concat("approving"!==x?h.wrapper:""," ").concat(P||""),style:null==E?void 0:E.container},{children:[r(u,n({components:ce,rehypePlugins:[v]},{children:de(b)})),U&&r("div",n({className:h.citationLoader,style:null==E?void 0:E.citationLoaderContainer},{children:r(C,{customStyles:{container:null==E?void 0:E.citationLoadingContainer,icon:null==E?void 0:E.citationLoadingIcon,text:null==E?void 0:E.citationLoadingText}})}))]}))}))};export{x as default};
1
+ import{__rest as e,__assign as n}from"tslib";import{jsx as r,jsxs as o}from"react/jsx-runtime";import{createContext as i,useRef as t,useState as l,useCallback as a,useMemo as d,useEffect as c,useContext as s}from"react";import u from"react-markdown";import v from"rehype-raw";import h from"./UserStoryWithCitation.module.css.js";import{useMarkdownSearch as p}from"../../shared/useMarkdownSearch.js";import{Info as m}from"lucide-react";import{Tooltip as g}from"@mui/material";import f from"../../shared/UpdatedAnimationContent.js";import y from"../../shared/GeneratedCodeCitation.js";import C from"../../shared/CitationLoadingIndicator.js";import{useRequirementAI as R}from"../RequirementAIWrapper/RequirementAIWrapper.js";import w from"../ai-reasoning/AiReasoningCitation.js";var I=i(!1),S=i({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),b=i({rowId:""}),N=function(e){var i,l,a=e.children,d=e.node,c=t(Math.random().toString(36).slice(2)).current,u=s(S).expandedInfo,v=(null==u?void 0:u.rowId)===c,p=Array.isArray(null==d?void 0:d.children)?d.children.filter(function(e){return"element"===e.type}).length:1,m=null!==(l=null===(i=null==d?void 0:d.properties)||void 0===i?void 0:i.style)&&void 0!==l?l:void 0;return o(b.Provider,n({value:{rowId:c}},{children:[r("tr",n({style:m?{cssText:m}:void 0},{children:a})),v&&(null==u?void 0:u.aiReason)&&r("tr",n({style:{width:"100%"}},{children:r("td",n({colSpan:p||1,className:h.tableExpandedCell},{children:r("div",n({className:h.tableExpandedCellInner},{children:r("div",{className:h.tableExpandedCellContent})}))}))}))]}))},x=function(i){var b=i.message,x=i.scenario,A=i.showUserStoryDiff,L=void 0!==A&&A,T=i.aiReasoningsForBlock,U=i.isCitationLoadingDisplay,j=void 0!==U&&U,P=i.className;i.highConfidenceIcon,i.lowConfidenceIcon;var E=i.customStyles,M=i.customIcons,k=i.aiReasoningDiffView,$=i.userStoryCitations,q=t(null),D=R(),W=D.userStory,F=D.setUserStory,H=D.aiReasoning,_=D.setAiReasoning,G=D.customIcons,Q=D.searchQueryList,z=D.searchQueryReasoningIdList,B=null!=M?M:null==G?void 0:G.userStoryIcons,O=null==E?void 0:E.searchHighlight,V=p(q,O),J=V.search,K=V.clear,X=l("1"),Y=X[0],Z=X[1],ee=l(null),ne=ee[0],re=ee[1],oe=t(new Map),ie=a(function(e,n){re(e&&n?{rowId:e,aiReason:n}:null)},[]),te=l([]),le=te[0],ae=te[1],de=function(e){var n=new RegExp("<(/?(".concat(["updated","deleted","changed"].join("|"),"))>"),"g"),r=e.replace(n,"\n\n<$1>\n\n");return r=(r=r.replace(/<deleted>([\s\S]*?)<\/deleted>/gi,function(e,n){var r=n.replace(/ai_reasoning\$(\d+)/g,function(e,n){return"ai_reasoning$".concat(n,"-legacy")});return"<deleted>".concat(r,"</deleted>")})).replace(/<generatedCode([^>]*)>([\s\S]*?)<\/generatedCode>/gi,function(e,n,r){var o=btoa(encodeURIComponent(r.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(o,'"></generatedCode>\n\n')})};d(function(){return b?de(b):b},[b]),c(function(){ae(T||H)},[T,H]);var ce=d(function(){return{h1:function(o){o.node;var i=e(o,["node"]);return r("h1",n({className:h.heading1,style:null==E?void 0:E.heading1},{children:i.children}))},h2:function(o){o.node;var i=e(o,["node"]);return r("h2",n({className:h.heading2,style:null==E?void 0:E.heading2},{children:i.children}))},h3:function(o){o.node;var i=e(o,["node"]);return r("h3",n({className:h.heading3,style:null==E?void 0:E.heading3},{children:i.children}))},b:function(o){o.node;var i=e(o,["node"]);return r("b",n({className:h.bold,style:null==E?void 0:E.bold},{children:null==i?void 0:i.children}))},p:function(o){o.node;var i=e(o,["node"]);return r("p",n({},i,{className:h.paragraph,style:null==E?void 0:E.paragraph},{children:i.children}))},updated:function(o){var i=o.node,t=e(o,["node"]);return r(f,n({showUserStoryDiff:L,currentUpdatedTagId:Y,setCurrentUpdatedTagId:Z,userStory:W,setUserStory:F,setAiReasoning:_,node:i,customStyle:null==E?void 0:E.updatedContent},t))},ol:function(o){o.node;var i=e(o,["node"]);return r("ol",n({className:h.orderedList,style:null==E?void 0:E.olist},{children:null==i?void 0:i.children}))},ul:function(o){o.node;var i=e(o,["node"]);return r("ul",n({className:h.unorderedList,style:null==E?void 0:E.ulist},{children:null==i?void 0:i.children}))},table:function(e){var o=e.children;return r("div",n({className:h.tableWrapper},{children:r("table",n({className:h.table,style:null==E?void 0:E.table},{children:o}))}))},tr:N,td:function(o){var i,t=o.node,l=o.children,a=null!==(i=null==t?void 0:t.properties)&&void 0!==i?i:{},d=a.style,c=e(a,["style"]);return r(I.Provider,n({value:!0},{children:r("td",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},th:function(o){var i,t=o.node,l=o.children,a=null!==(i=null==t?void 0:t.properties)&&void 0!==i?i:{},d=a.style,c=e(a,["style"]);return r(I.Provider,n({value:!0},{children:r("th",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},a:function(n){var o,i,t;n.inline,n.children,n.node;var l=e(n,["inline","children","node"]),a=s(I)||"true"==(null==l?void 0:l.table),d="".concat(null==l?void 0:l.href),c=null===(o=d.split("$"))||void 0===o?void 0:o[0],u=null===(i=d.split("$"))||void 0===i?void 0:i[1];if("ai_reasoning"===c){var v=(null!==(t=L?k:H)&&void 0!==t?t:[]).find(function(e){return e.id.toString()===decodeURIComponent(u)});if(v&&v.reason.length>0&&v.gap.length>0)return r(w,{title:"Source",aiReason:v,isSourceHasHighlight:!1,isTable:a,customIcons:B,customStyles:{aiReasoningContent:null==E?void 0:E.aiReasoningContent,aiReasoningAccordion:null==E?void 0:E.aiReasoningAccordion,aiReasoningMarkdown:null==E?void 0:E.aiReasoningMarkdown,aiReasoningPill:null==E?void 0:E.aiReasoningPill}})}return null},code:function(o){o.inline;var i=o.children,t=o.className;return o.node,e(o,["inline","children","className","node"]),/language-(\w+)/.exec(t||"")||(null==t?void 0:t.includes("language-"))?r("div",{children:r("code",n({className:h.blockCode,style:null==E?void 0:E.code},{children:i}))}):r("code",n({className:h.inlineCode,style:null==E?void 0:E.code},{children:i}))},learned:function(e){var o=e.children;return r(g,n({title:o,placement:"top"},{children:r(m,{size:16,className:h.learned})}))},generatedcode:function(n){n.node;var o=e(n,["node"]),i=(null==o?void 0:o.language)||"python",t=function(e){var n="";try{if(e["data-raw"])n=decodeURIComponent(atob(e["data-raw"]));else{var r=function(e){var n;return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):(null===(n=null==e?void 0:e.props)||void 0===n?void 0:n.children)?r(e.props.children):""};n=r(e.children)}}catch(r){console.error("Error decoding generated code:",r),n=String(e.children)}return n}(o);return r(y,{title:"Generated Code",code:t,language:i,customStyles:{pill:null==E?void 0:E.generatedCodePill,content:null==E?void 0:E.generatedCodeContent}})}}},[le,H,$,Y,L,b,M]);return c(function(){if(q.current){if(null==Q?void 0:Q.length){var e;if(0===(null==z?void 0:z.length))requestAnimationFrame(function(){J(Q.map(function(e){return e.replace(/\*/g,"")}))});else{var n=q.current,r=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){r.disconnect(),requestAnimationFrame(function(){J(Q.map(function(e){return e.replace(/\*/g,"")}))})},50)});r.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}K()}},[Q,z]),r(S.Provider,n({value:{expandedInfo:ne,setExpanded:ie,reasonToRow:oe}},{children:o("div",n({ref:q,className:"".concat(h.container," ").concat("approving"!==x?h.wrapper:""," ").concat(P||""),style:null==E?void 0:E.container},{children:[r(u,n({components:ce,rehypePlugins:[v]},{children:de(b)})),j&&r("div",n({className:h.citationLoader,style:null==E?void 0:E.citationLoaderContainer},{children:r(C,{customStyles:{container:null==E?void 0:E.citationLoadingContainer,icon:null==E?void 0:E.citationLoadingIcon,text:null==E?void 0:E.citationLoadingText}})}))]}))}))};export{x as default};
2
2
  //# sourceMappingURL=UserStoryWithCitation.js.map
@@ -1,2 +1,2 @@
1
- var o={accordionItem:"Accordian-module_accordionItem__3TgRp",accordionHeader:"Accordian-module_accordionHeader__-qp18",accordionTrigger:"Accordian-module_accordionTrigger__72mh9",chevronIcon:"Accordian-module_chevronIcon__uhN5Q",accordionContent:"Accordian-module_accordionContent__Wcqza",accordionDown:"Accordian-module_accordionDown__67DMY",accordionUp:"Accordian-module_accordionUp__fs3jN",accordionContentInner:"Accordian-module_accordionContentInner__p5c5-"};!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode(".Accordian-module_accordionItem__3TgRp{border:1px solid #e5e7eb}.Accordian-module_accordionHeader__-qp18{display:flex}.Accordian-module_accordionTrigger__72mh9{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex:1;font-size:14px;font-weight:500;justify-content:space-between;padding-bottom:16px;padding-top:16px;text-align:left;transition:all .2s ease;width:100%}.Accordian-module_chevronIcon__uhN5Q{color:#6b7280;flex-shrink:0;height:16px;transition:transform .2s ease;width:16px}.Accordian-module_accordionTrigger__72mh9[data-state=open] .Accordian-module_chevronIcon__uhN5Q{transform:rotate(180deg)}.Accordian-module_accordionContent__Wcqza{font-size:14px;overflow:hidden}.Accordian-module_accordionContent__Wcqza[data-state=open]{animation:Accordian-module_accordionDown__67DMY .2s ease-out}.Accordian-module_accordionContent__Wcqza[data-state=closed]{animation:Accordian-module_accordionUp__fs3jN .2s ease-out}@keyframes Accordian-module_accordionDown__67DMY{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes Accordian-module_accordionUp__fs3jN{0%{height:var(--radix-accordion-content-height)}to{height:0}}.Accordian-module_accordionContentInner__p5c5-{padding-bottom:16px;padding-top:0}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}();export{o as default};
1
+ var o={accordionItem:"Accordian-module_accordionItem__3TgRp",accordionHeader:"Accordian-module_accordionHeader__-qp18",accordionTrigger:"Accordian-module_accordionTrigger__72mh9",chevronIcon:"Accordian-module_chevronIcon__uhN5Q",accordionContent:"Accordian-module_accordionContent__Wcqza",accordionDown:"Accordian-module_accordionDown__67DMY",accordionUp:"Accordian-module_accordionUp__fs3jN",accordionContentInner:"Accordian-module_accordionContentInner__p5c5-"};!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const e=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;e&&o.setAttribute("nonce",e),o.appendChild(document.createTextNode(".Accordian-module_accordionItem__3TgRp{border:1px solid #e5e7eb}.Accordian-module_accordionHeader__-qp18{display:flex;margin:0}.Accordian-module_accordionTrigger__72mh9{align-items:center;background:none;border:none;cursor:pointer;display:flex;flex:1;font-size:14px;font-weight:500;justify-content:space-between;padding-bottom:16px;padding-top:16px;text-align:left;transition:all .2s ease;width:100%}.Accordian-module_chevronIcon__uhN5Q{color:#6b7280;flex-shrink:0;height:16px;transition:transform .2s ease;width:16px}.Accordian-module_accordionTrigger__72mh9[data-state=open] .Accordian-module_chevronIcon__uhN5Q{transform:rotate(180deg)}.Accordian-module_accordionContent__Wcqza{font-size:14px;overflow:hidden}.Accordian-module_accordionContent__Wcqza[data-state=open]{animation:Accordian-module_accordionDown__67DMY .2s ease-out}.Accordian-module_accordionContent__Wcqza[data-state=closed]{animation:Accordian-module_accordionUp__fs3jN .2s ease-out}@keyframes Accordian-module_accordionDown__67DMY{0%{height:0}to{height:var(--radix-accordion-content-height)}}@keyframes Accordian-module_accordionUp__fs3jN{0%{height:var(--radix-accordion-content-height)}to{height:0}}.Accordian-module_accordionContentInner__p5c5-{padding-bottom:16px;padding-top:0}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}();export{o as default};
2
2
  //# sourceMappingURL=Accordian.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AAwBA,QAAA,MAAM,iBAAiB,+CAugDtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AAwBA,QAAA,MAAM,iBAAiB,+CA8iDtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -71,6 +71,7 @@ interface IRequirementAIContext {
71
71
  citationLoadingContainer?: React.CSSProperties;
72
72
  citationLoadingIcon?: React.CSSProperties;
73
73
  citationLoadingText?: React.CSSProperties;
74
+ citationLoaderContainer?: React.CSSProperties;
74
75
  };
75
76
  streamingSidebar?: {
76
77
  container?: React.CSSProperties;
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,UAAU,qBAAqB;IAC7B,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAEjE,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IAErE,SAAS,EAAE,kBAAkB,CAAC;IAC9B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEvE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,0BAA0B,EAAE,MAAM,EAAE,CAAC;IAErC,gBAAgB,EAAE;QAChB,WAAW,EAAE,GAAG,CAAC;QACjB,oBAAoB,EAAE,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,E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gBACjC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBACpC,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;aAC/C,CAAC;SACH,CAAC;QACF,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KACnC,CAAC;IACF,WAAW,CAAC,EAAE;QACZ,cAAc,CAAC,EAAE,cAAc,CAAC;KACjC,CAAC;CACH;AAED,UAAU,yBAA0B,SAAQ,qBAAqB;IAC/D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAID,QAAA,MAAM,oBAAoB,0LAavB,yBAAyB,4CAoB3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACf,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,UAAU,qBAAqB;IAC7B,SAAS,EAAE,UAAU,EAAE,CAAC;IACxB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAEjE,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IAErE,SAAS,EAAE,kBAAkB,CAAC;IAC9B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,c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AAE,MAAM,CAAC;wBACzB,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;wBAC3C,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;qBACrC,CAAC;iBACH,CAAC;aACH,CAAC;YACF,OAAO,CAAC,EAAE;gBACR,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBAC9B,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBACjC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBACpC,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;aAC/C,CAAC;SACH,CAAC;QACF,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAA;KACnC,CAAC;IACF,WAAW,CAAC,EAAE;QACZ,cAAc,CAAC,EAAE,cAAc,CAAC;KACjC,CAAC;CACH;AAED,UAAU,yBAA0B,SAAQ,qBAAqB;IAC/D,QAAQ,EAAE,SAAS,CAAC;CACrB;AAID,QAAA,MAAM,oBAAoB,0LAavB,yBAAyB,4CAoB3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -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;
@@ -16,6 +18,7 @@ export interface InlineRefIconProps {
16
18
  headerText?: string;
17
19
  decisionStrength?: string;
18
20
  panelRef: React.RefObject<any>;
21
+ mode: "cra" | "risk-gap";
19
22
  }
20
23
  interface CustomChatCrRedirectionProps extends InlineRefIconProps {
21
24
  statusUi: {
@@ -25,6 +28,8 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
25
28
  onHandleSend?: (userMessage: string) => void;
26
29
  gapType?: string;
27
30
  isGenerating?: boolean;
31
+ customStyles?: GapFilterStyles;
32
+ customIcons?: UserStoryIcons;
28
33
  /**
29
34
  * Library consumers provide this instead of the internal microFrontendApi.
30
35
  * Called when the redirect icon (SquareArrowOutUpRight) is clicked.
@@ -42,6 +47,6 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
42
47
  };
43
48
  }) => void;
44
49
  }
45
- export declare function CustomChatCrRedirection({ 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;
46
51
  export {};
47
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":";AAQA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAOnD,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;CAChC;AAED,UAAU,4BAA6B,SAAQ,kBAAkB;IAC/D,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB;;;;OAIG;IACH,eAAe,CAAC,EAAE,CAAC,OAAO,EAAE;QAC1B,IAAI,EAAE,OAAO,CAAC;QACd,EAAE,EAAE,MAAM,CAAC;QACX,QAAQ,EAAE,eAAe,CAAC;QAC1B,GAAG,EAAE,GAAG,CAAC;QACT,IAAI,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;KACxE,KAAK,IAAI,CAAC;CACZ;AAID,wBAAgB,uBAAuB,CAAC,EACtC,GAAG,EACH,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,OAAO,EACP,YAAoB,GACrB,EAAE,4BAA4B,2CAuK9B"}
1
+ {"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;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,EACJ,GAAG,EACH,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,OAAO,EACP,YAAoB,EACpB,YAAY,EACZ,WAAW,EACZ,EAAE,4BAA4B,2CAoK9B"}
@@ -1,4 +1,6 @@
1
1
  import React from 'react';
2
+ import { GapFilterStyles } from '../../types/gapFilterStyles.type';
3
+ import { UserStoryIcons } from '../../types/aiReasoning.type';
2
4
  export type GapFilterType = 'critical' | 'warning' | 'recommendation';
3
5
  export type RefType = 'CHAT_REF' | 'UI_REF';
4
6
  export interface AIReasoningType {
@@ -12,6 +14,7 @@ export interface AIReasoningType {
12
14
  }
13
15
  export declare function normalizeDecisionStrength(raw: string): string;
14
16
  export interface GapFilterBlockProps {
17
+ mode: "cra" | "risk-gap";
15
18
  node?: any;
16
19
  children?: React.ReactNode;
17
20
  type?: GapFilterType;
@@ -23,21 +26,24 @@ export interface GapFilterBlockProps {
23
26
  onItemSelect?: (id: string) => void;
24
27
  onHandleSend?: (message: string) => void;
25
28
  onModeAction?: (supportedmodes: string, payload: Record<string, any>) => void;
26
- msg?: any;
29
+ msg: any;
27
30
  panelRef?: React.RefObject<any>;
28
31
  getAccordionState?: (type: string) => string;
29
32
  setAccordionState?: (type: string, value: string) => void;
30
33
  registerGapFilterBlockCount?: (type: GapFilterType, count: number) => void;
31
34
  getShowGapReviewButtonType?: () => GapFilterType | null;
35
+ customStyles?: GapFilterStyles;
36
+ customIcons?: UserStoryIcons;
32
37
  }
33
38
  export declare const GapFilterBlock: React.FC<GapFilterBlockProps>;
34
39
  export interface GapFilterMarkdownRendererProps {
40
+ mode: "cra" | "risk-gap";
35
41
  markdown: string;
36
- onHandleSend?: (message: string) => void;
37
- onModeAction?: (supportedmodes: string, payload: Record<string, any>) => void;
38
- msg?: any;
42
+ msg: any;
39
43
  isGeneratingGap?: boolean;
40
44
  panelRef?: React.RefObject<any>;
45
+ customStyles?: GapFilterStyles;
46
+ customIcons?: UserStoryIcons;
41
47
  }
42
48
  export declare const GapFilterMarkdownRenderer: React.FC<GapFilterMarkdownRendererProps>;
43
49
  //# sourceMappingURL=GapFilterBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GapFilterBlock.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.tsx"],"names":[],"mappings":"AACA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAgBjF,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AACtE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAQ5C,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,qBAAqB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB;AAcD,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAI7D;AAkID,MAAM,WAAW,mBAAmB;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,YAAY,CAAC,E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} from '../../types/gapFilterStyles.type';
3
4
  export interface GapFilterConfig {
4
5
  label: string;
5
6
  decisionStrength: string;
@@ -17,7 +18,9 @@ type GapFilterContentProps = {
17
18
  onAccordionChange: (value: string) => void;
18
19
  handleReviewClick: () => void;
19
20
  pendingData: string;
21
+ mode: "cra" | "risk-gap";
22
+ customStyles?: GapFilterStyles;
20
23
  };
21
- export declare const GapFilterContentWrapper: ({ type, config, count, openAccordion, children, shouldShowReviewButton, onAccordionChange, handleReviewClick, pendingData, }: GapFilterContentProps) => import("react/jsx-runtime").JSX.Element;
24
+ export declare const GapFilterContentWrapper: ({ mode, type, config, count, openAccordion, children, shouldShowReviewButton, onAccordionChange, handleReviewClick, pendingData, customStyles }: GapFilterContentProps) => import("react/jsx-runtime").JSX.Element;
22
25
  export {};
23
26
  //# sourceMappingURL=GapFilterContentWrapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GapFilterContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMjD,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IAEzB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,EAAE,OAAO,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,eAAO,MAAM,uBAAuB,iIAUjC,qBAAqB,4CA+EvB,CAAC"}
1
+ {"version":3,"file":"GapFilterContentWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterContentWrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,gBAAgB,EAAE,MAAM,CAAC;IAEzB,UAAU,EAAE,MAAM,CAAC;IACnB,oBAAoB,EAAE,MAAM,CAAC;IAC7B,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,sBAAsB,EAAE,OAAO,CAAC;IAChC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,iBAAiB,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3C,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,KAAK,GAAG,UAAU,CAAC;IACzB,YAAY,CAAC,EAAE,eAAe,CAAA;CAC/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,oJAYjC,qBAAqB,4CAwEvB,CAAC"}
@@ -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 interface IGapFilterItem {
4
6
  text: string;
5
7
  headerText?: string;
@@ -14,6 +16,7 @@ export interface IGapFilterItem {
14
16
  showRedirect?: boolean;
15
17
  }
16
18
  type GapFilterItemProps = {
19
+ mode: "cra" | "risk-gap";
17
20
  index: number;
18
21
  isSelected: boolean;
19
22
  onClick: () => void;
@@ -24,6 +27,8 @@ type GapFilterItemProps = {
24
27
  panelRef: React.RefObject<any>;
25
28
  id: string;
26
29
  isGenerating?: boolean;
30
+ customStyles?: GapFilterStyles;
31
+ customIcons?: UserStoryIcons;
27
32
  };
28
33
  export declare const getScoreColorStyles: (score: number) => {
29
34
  borderColor: string;
@@ -31,6 +36,6 @@ export declare const getScoreColorStyles: (score: number) => {
31
36
  color: string;
32
37
  className: string;
33
38
  };
34
- export declare const GapFilterItem: ({ index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
39
+ export declare const GapFilterItem: ({ mode, index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, customStyles, customIcons, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
35
40
  export {};
36
41
  //# sourceMappingURL=GapFilterItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"GapFilterItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.tsx"],"names":[],"mappings":";AAeA,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAKnD,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAID,KAAK,kBAAkB,GAAG;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAIF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAsBlF,CAAC;AAIF,eAAO,MAAM,aAAa,wGAWvB,kBAAkB,4CAwLpB,CAAC"}
1
+ {"version":3,"file":"GapFilterItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAKnE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAID,KAAK,kBAAkB,GAAG;IACxB,IAAI,EAAE,KAAK,GAAG,UAAU,CAAA;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAIF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAsBlF,CAAC;AAIF,eAAO,MAAM,aAAa,yIAcvB,kBAAkB,4CA+IpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserStoryWithCitation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAyBrJ,UAAU,2BAA2B;IACnC,OAAO,EAAE,MAAM,CAAC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a,CAAC;QACxC,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC3C,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC/C,uBAAuB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC9C,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC1C,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;KAC3C,CAAC;IAEF,WAAW,CAAC,EAAE,cAAc,CAAC;IAI7B,mBAAmB,CAAC,EAAE,YAAY,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,GAAG,CAAC;CAK1B;AAmHD,QAAA,MAAM,sBAAsB,oNAUzB,2BAA2B,4CA+V7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"UserStoryWithCitation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,uBAAuB,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,YAAY,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAyBrJ,UAAU,2BAA2B;IACnC,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,WAAW,CAAC;IACvB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,oBAAoB,CAAC,EAAE,YAAY,EAAE,CAAC;IACtC,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE;QACb,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACtC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAChC,gBAAgB,CAAC,EAAE,KAAK,CAAC,a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B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
@@ -0,0 +1,73 @@
1
+ /// <reference types="react" />
2
+ import { AiReasoningCustomStyles } from "./aiReasoning.type";
3
+ export interface GapFilterStyles {
4
+ blockContainer?: React.CSSProperties;
5
+ categoryGroup?: React.CSSProperties;
6
+ categoryLabel?: React.CSSProperties;
7
+ accordion?: React.CSSProperties;
8
+ accordionItem?: React.CSSProperties;
9
+ accordionTrigger?: React.CSSProperties;
10
+ triggerInner?: React.CSSProperties;
11
+ triggerLeft?: React.CSSProperties;
12
+ triggerLabel?: React.CSSProperties;
13
+ triggerLabelCount?: React.CSSProperties;
14
+ triggerPending?: React.CSSProperties;
15
+ triggerRight?: React.CSSProperties;
16
+ decisionStrengthBadge?: React.CSSProperties;
17
+ decisionStrengthIcon?: React.CSSProperties;
18
+ accordionContent?: React.CSSProperties;
19
+ accordionContentInner?: React.CSSProperties;
20
+ itemOuterWrapper?: React.CSSProperties;
21
+ itemInnerCard?: React.CSSProperties;
22
+ contentBlock?: React.CSSProperties;
23
+ itemTopRow?: React.CSSProperties;
24
+ itemQuestionText?: React.CSSProperties;
25
+ itemQuestionTextSelected?: React.CSSProperties;
26
+ itemQuestionTextDefault?: React.CSSProperties;
27
+ itemQuestionSpan?: React.CSSProperties;
28
+ itemActionsRow?: React.CSSProperties;
29
+ itemScoreBadge?: React.CSSProperties;
30
+ itemFixButton?: React.CSSProperties;
31
+ itemScoreBadgeHigh?: React.CSSProperties;
32
+ itemScoreBadgeMedium?: React.CSSProperties;
33
+ itemScoreBadgeLow?: React.CSSProperties;
34
+ itemRedirectIcon?: React.CSSProperties;
35
+ itemBottomRow?: React.CSSProperties;
36
+ bottomRowSelected?: React.CSSProperties;
37
+ bottomRowDefault?: React.CSSProperties;
38
+ itemGapText?: React.CSSProperties;
39
+ itemGapHeaderText?: React.CSSProperties;
40
+ itemReasoningToggle?: React.CSSProperties;
41
+ chevronIcon?: React.CSSProperties;
42
+ crRedirectionGroup?: React.CSSProperties;
43
+ crRedirectionInner?: React.CSSProperties;
44
+ redirectionOuterWrapper?: React.CSSProperties;
45
+ redirectionOuterWrapperDisabled?: React.CSSProperties;
46
+ redirectionCard?: React.CSSProperties;
47
+ redirectionCardDisabled?: React.CSSProperties;
48
+ redirectionCardInteractive?: React.CSSProperties;
49
+ redirectionLeftSide?: React.CSSProperties;
50
+ redirectionTextBlock?: React.CSSProperties;
51
+ redirectionHeaderText?: React.CSSProperties;
52
+ reasoningToggle?: React.CSSProperties;
53
+ reasoningToggleDisabled?: React.CSSProperties;
54
+ reasoningToggleActive?: React.CSSProperties;
55
+ redirectionRightSide?: React.CSSProperties;
56
+ redirectionFixButton?: React.CSSProperties;
57
+ fixButtonDisabled?: React.CSSProperties;
58
+ redirectIconDisabled?: React.CSSProperties;
59
+ redirectIcon?: React.CSSProperties;
60
+ redirectionClarifyButton?: React.CSSProperties;
61
+ skeletonWrapper?: React.CSSProperties;
62
+ skeletonCard?: React.CSSProperties;
63
+ skeletonInner?: React.CSSProperties;
64
+ skeletonRow?: React.CSSProperties;
65
+ skeletonGroup?: React.CSSProperties;
66
+ skeletonLineLong?: React.CSSProperties;
67
+ skeletonLineMedium?: React.CSSProperties;
68
+ skeletonButtonGroup?: React.CSSProperties;
69
+ skeletonButton?: React.CSSProperties;
70
+ skeletonIcon?: React.CSSProperties;
71
+ aiReasoningStyles?: AiReasoningCustomStyles;
72
+ }
73
+ //# sourceMappingURL=gapFilterStyles.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gapFilterStyles.type.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/types/gapFilterStyles.type.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,oBAAoB,CAAC;AAE7D,MAAM,WAAW,eAAe;IAG7B,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,aAAa,CAAC,EAAE,KA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Aa,CAAC;IAC3C,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3C,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACxC,oBAAoB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3C,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAG/C,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACpC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACrC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAEnC,iBAAiB,CAAC,EAAG,uBAAuB,CAAA;CAC9C"}
@@ -36,7 +36,8 @@ export { useStreamContentHandler } from "./features/RequirementAI/hooks/useStrea
36
36
  export { processAIReasoningFromBlocks, extractBlockStreams, processUserStoryValue, extractDescription } from "./features/RequirementAI/utils/proccess-stream.utils";
37
37
  export type { IUserStory } from "./features/RequirementAI/interfaces/userstory.interface";
38
38
  export type { UserStoryCitations, ImageCitationsForFile, FileImageData, IChatHistoryItem } from "./features/RequirementAI/interfaces/citation.interface";
39
- export type { TAIReasoning } from "./features/RequirementAI/types/aiReasoning.type";
39
+ export type { TAIReasoning, AiReasoningCitationStyles, AiReasoningContentStyles, AiReasoningCustomStyles, StormeeCitationStyles, VideoPlayerStyles, WaveformCitationStyles, UserStoryIcons, MarkdownCustomStyles, ExpandedOLCustomStyles, AiReasonAccordionStyles, SearchWaveformStyles, CitationStyleGroup, ImageCitationStyles, FileCitationStyles, } from "./features/RequirementAI/types/aiReasoning.type";
40
+ export type { GapFilterStyles } from "./features/RequirementAI/types/gapFilterStyles.type";
40
41
  export type { IGetCitationsByBlock, BlockStreamItem, SetRedisParams, } from "./features/RequirementAI/types/streaming-block.type";
41
42
  export { handleDiffEditApplied, handleDiscardAll, handleAcceptAllChanges } from "./features/RequirementAI/utils/diff-edit.utils";
42
43
  export { GapFilterBlock } from "./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACnE,OAAO,EAAE,iBAAiB,IAAI,WAAW,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,kBAAkB,IAAI,kBAAkB,EAAE,MAAM,gDAAgD,CAAC;AAC1G,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,0CAA0C,CAAC;AACrF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,iFAAiF,CAAC;AACtI,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,8CAA8C,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,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AAc,GACf,MAAM,qDAAqD,CAAC;AAE7D,OAAO,EACL,qBAAqB,EACrB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,gDAAgD,CAAC;AAExD,OAAO,EAAE,cAAc,EAAE,MAAM,mEAAmE,CAAC;AAEnG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sDAAsD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -182,6 +182,11 @@
182
182
  "require": "./dist/cjs/features/RequirementAI/types/streaming-block.type.js",
183
183
  "types": "./dist/types/src/features/RequirementAI/types/streaming-block.type.d.ts"
184
184
  },
185
+ "./GapFilterStyles": {
186
+ "import": "./dist/features/RequirementAI/types/gapFilterStyles.type.js",
187
+ "require": "./dist/cjs/features/RequirementAI/types/gapFilterStyles.type.js",
188
+ "types": "./dist/types/src/features/RequirementAI/types/gapFilterStyles.type.d.ts"
189
+ },
185
190
  "./useStreamContentHandler": {
186
191
  "import": "./dist/features/RequirementAI/hooks/useStreamContentHandler.js",
187
192
  "require": "./dist/cjs/features/RequirementAI/hooks/useStreamContentHandler.js",