@e-llm-studio/requirement-ai 0.0.36 → 0.0.38

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 (32) hide show
  1. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  6. package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  7. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  8. package/dist/cjs/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js +1 -1
  9. package/dist/cjs/features/RequirementAI/shared/ExpandableOl.module.css.js +1 -1
  10. package/dist/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.js +1 -1
  11. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js +1 -1
  12. package/dist/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.module.css.js +1 -1
  13. package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
  14. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
  15. package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
  16. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.js +1 -1
  17. package/dist/features/RequirementAI/shared/CitationAIConfidenceDisplay.module.css.js +1 -1
  18. package/dist/features/RequirementAI/shared/ExpandableOl.module.css.js +1 -1
  19. package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
  20. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts +3 -1
  21. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.d.ts.map +1 -1
  22. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts +3 -2
  23. package/dist/types/src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.d.ts.map +1 -1
  24. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts +3 -2
  25. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts.map +1 -1
  26. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts +3 -1
  27. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.d.ts.map +1 -1
  28. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts +3 -2
  29. package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.d.ts.map +1 -1
  30. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +7 -0
  31. package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
  32. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),a=require("lucide-react"),l=require("react"),r=require("./AiReasonAccoridon.module.css.js");exports.default=function(t){var i=t.icon,n=t.title,c=t.content,d=t.subTitle,o=t.scenario,u=t.className,v=void 0===u?"":u,h=t.customStyles,f=l.useState(!0),p=f[0],_=f[1];return s.jsxs("div",e.__assign({className:"".concat("riskSideBar"!==o&&r.default.wrapperBorder," ").concat(r.default.wrapper," ").concat(v),style:null==h?void 0:h.wrapper},{children:[s.jsxs("div",e.__assign({className:"".concat(r.default.header," ").concat("riskSideBar"===o?r.default.headerPaddingRisk:r.default.headerPadding),style:null==h?void 0:h.header,onClick:function(){return _(!p)}},{children:[s.jsxs("div",e.__assign({className:r.default.headerLeft,style:null==h?void 0:h.iconWrapper},{children:[i,s.jsxs("div",e.__assign({className:r.default.titleBlock},{children:[s.jsx("h1",e.__assign({className:r.default.title,style:null==h?void 0:h.title},{children:n})),s.jsx("p",e.__assign({className:r.default.subTitle,style:null==h?void 0:h.subTitle},{children:d}))]}))]})),"riskSideBar"!==o&&s.jsx("div",e.__assign({className:r.default.chevronWrapper,style:null==h?void 0:h.chevronWrapper},{children:p?s.jsx(a.ChevronUp,{className:r.default.chevronIcon}):s.jsx(a.ChevronDown,{className:r.default.chevronIcon})}))]})),p&&s.jsx("div",e.__assign({className:"".concat("riskSideBar"!==o&&r.default.content," ").concat(r.default.contentBase),style:null==h?void 0:h.contentWrapper},{children:c}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),a=require("lucide-react"),l=require("react"),i=require("./AiReasonAccoridon.module.css.js");exports.default=function(r){var t=r.icon,n=r.title,c=r.content,d=r.subTitle,o=r.scenario,u=r.className,v=void 0===u?"":u,p=r.customStyles,f=r.alwaysOpen,h=void 0!==f&&f,_=r.defaultOpen,m=void 0===_||_,j=l.useState(m),x=j[0],N=j[1];return s.jsxs("div",e.__assign({className:"".concat("riskSideBar"!==o&&i.default.wrapperBorder," ").concat(i.default.wrapper," ").concat(v),style:null==p?void 0:p.wrapper},{children:[s.jsxs("div",e.__assign({className:"".concat(i.default.header," ").concat("riskSideBar"===o?i.default.headerPaddingRisk:i.default.headerPadding),style:null==p?void 0:p.header,onClick:function(){h||N(!x)}},{children:[s.jsxs("div",e.__assign({className:i.default.headerLeft,style:null==p?void 0:p.iconWrapper},{children:[t,s.jsxs("div",e.__assign({className:i.default.titleBlock},{children:[s.jsx("h1",e.__assign({className:i.default.title,style:null==p?void 0:p.title},{children:n})),s.jsx("p",e.__assign({className:i.default.subTitle,style:null==p?void 0:p.subTitle},{children:d}))]}))]})),"riskSideBar"!==o&&!h&&s.jsx("div",e.__assign({className:i.default.chevronWrapper,style:null==p?void 0:p.chevronWrapper},{children:x?s.jsx(a.ChevronUp,{className:i.default.chevronIcon}):s.jsx(a.ChevronDown,{className:i.default.chevronIcon})}))]})),x&&s.jsx("div",e.__assign({className:"".concat("riskSideBar"!==o&&i.default.content," ").concat(i.default.contentBase),style:null==p?void 0:p.contentWrapper},{children:c}))]}))};
2
2
  //# sourceMappingURL=AIReasonAccordion.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),n=require("react/jsx-runtime"),e=require("../../icons/AiReasoningIcon.js"),o=require("./AIReasonAccordion.js"),a=require("../../icons/ReasoningBulbIcon.js"),t=require("./AiReasonMarkdownWrapper.js"),l=require("../../icons/AiGapIcon.js"),s=require("react"),d=require("./AiReasoningCitationContent.module.css.js"),r=require("../../shared/CitationAIConfidenceDisplay.js");exports.default=function(c){var u,v,C,g,p,m,f,x,j,y,R=c.aiReason,_=c.scenario,w=c.customStyles,h=c.customIcons,b=c.AiReasoningIcon;void 0===b&&n.jsx(e.default,{});var S=c.reasoningIcon;void 0===S&&n.jsx(a.default,{});var A=c.gapIcon;void 0===A&&n.jsx(l.default,{}),c.className;var I=c.onSelectProceed,N=c.isDisableProceedButton,M=s.useState("noCitation"),B=M[0];M[1];var k=s.useState(null),q=k[0];k[1];var D,F,W=(null==h?void 0:h.aireasonIcon)||n.jsx(e.default,{}),P=(null==h?void 0:h.reasoningIcon)||n.jsx(a.default,{}),T=(null==h?void 0:h.gapIcon)||n.jsx(l.default,{});return n.jsxs("div",i.__assign({className:"".concat(d.default.container," ").concat("riskSideBar"===_?"":d.default.containerBordered),style:null===(u=null==w?void 0:w.aiReasoningContent)||void 0===u?void 0:u.container},{children:[n.jsx("div",i.__assign({className:"".concat((null==R?void 0:R.explanation)&&"riskSideBar"!==_?"":d.default.explanationDivider),style:null===(v=null==w?void 0:w.aiReasoningContent)||void 0===v?void 0:v.explanationDivider},{children:(null==R?void 0:R.explanation)&&n.jsx(o.default,{icon:n.jsx(n.Fragment,{}),title:"Explanation",subTitle:"",customStyles:null==w?void 0:w.aiReasoningAccordion,content:n.jsx(t.AiReasonMarkdownWrapper,{message:R.explanation,isExpandableOrderedListEnabled:!0,customStyles:null==w?void 0:w.aiReasoningMarkdown,citationStyles:{webCitation:null==w?void 0:w.webCitation,stormeeCitation:null==w?void 0:w.stormeeCitation,waveformCitation:null==w?void 0:w.waveformCitation,imageCitation:null==w?void 0:w.imageCitation,fileCitation:null==w?void 0:w.fileCitation,appModCitation:null==w?void 0:w.appModCitation,rcaCitation:null==w?void 0:w.rcaCitation,readFileCitation:null==w?void 0:w.readFileCitation,loadingCitations:null==w?void 0:w.loadingCitations},customIcons:h,onSelectProceed:I,isDisableProceedButton:N}),scenario:_})})),"riskSideBar"!==_&&n.jsxs("div",i.__assign({className:"".concat(d.default.headerBar," ").concat("riskSideBar"===_?"":d.default.headerBarRounded),style:null===(C=null==w?void 0:w.aiReasoningContent)||void 0===C?void 0:C.headerBar},{children:[n.jsxs("div",i.__assign({className:d.default.headerBrand,style:null===(g=null==w?void 0:w.aiReasoningContent)||void 0===g?void 0:g.headerBrand},{children:[W,n.jsx("p",{children:"Cognitive Decisioning AI"})]})),n.jsx("div",i.__assign({className:d.default.headerScore,style:null===(p=null==w?void 0:w.aiReasoningContent)||void 0===p?void 0:p.headerScore},{children:!isNaN(null==R?void 0:R.relevance_score)&&r.renderAIConfidenceDisplay(R.relevance_score,R.relevance_score_diff,null===(m=null==w?void 0:w.aiReasoningContent)||void 0===m?void 0:m.confidenceDisplay,h)}))]})),"riskSideBar"!==_&&n.jsx("div",i.__assign({className:d.default.bodyRow,style:i.__assign({width:"100%"},null===(f=null==w?void 0:w.aiReasoningContent)||void 0===f?void 0:f.bodyRow)},{children:n.jsxs("div",i.__assign({className:"flex flex-col ".concat("noCitation"!==B&&null!==q?"styles.bodyNarrow":"styles.bodyFull"),style:{width:"100%"}},{children:[n.jsx(o.default,{icon:n.jsx("div",i.__assign({className:d.default.iconWrapper,style:null===(x=null==w?void 0:w.aiReasoningContent)||void 0===x?void 0:x.iconWrapper},{children:P})),title:"Decision Making Factors",subTitle:"",customStyles:null==w?void 0:w.aiReasoningAccordion,content:n.jsx(t.AiReasonMarkdownWrapper,{message:R.reason,customStyles:null==w?void 0:w.aiReasoningMarkdown,citationStyles:{webCitation:null==w?void 0:w.webCitation,stormeeCitation:null==w?void 0:w.stormeeCitation,waveformCitation:null==w?void 0:w.waveformCitation,imageCitation:null==w?void 0:w.imageCitation,fileCitation:null==w?void 0:w.fileCitation,appModCitation:null==w?void 0:w.appModCitation,rcaCitation:null==w?void 0:w.rcaCitation,readFileCitation:null==w?void 0:w.readFileCitation,loadingCitations:null==w?void 0:w.loadingCitations},customIcons:h})}),n.jsx("div",{className:d.default.divider,style:null===(j=null==w?void 0:w.aiReasoningContent)||void 0===j?void 0:j.divider}),n.jsx(o.default,{icon:n.jsx("div",i.__assign({className:d.default.iconWrapper,style:null===(y=null==w?void 0:w.aiReasoningContent)||void 0===y?void 0:y.iconWrapper},{children:T})),title:"Gap in Decision",subTitle:"",customStyles:null==w?void 0:w.aiReasoningAccordion,content:n.jsx(t.AiReasonMarkdownWrapper,{message:(D=R.relevance_score,F=R.gap,100===R.relevance_score?"No Gaps is identified.":R.relevance_score<100?"The decision strength is ".concat(D,"% because: \n").concat(F):R.gap),customStyles:null==w?void 0:w.aiReasoningMarkdown,citationStyles:{webCitation:null==w?void 0:w.webCitation,stormeeCitation:null==w?void 0:w.stormeeCitation,waveformCitation:null==w?void 0:w.waveformCitation,imageCitation:null==w?void 0:w.imageCitation,fileCitation:null==w?void 0:w.fileCitation,appModCitation:null==w?void 0:w.appModCitation,rcaCitation:null==w?void 0:w.rcaCitation,readFileCitation:null==w?void 0:w.readFileCitation,loadingCitations:null==w?void 0:w.loadingCitations},customIcons:h}),className:d.default.gapAccordion})]}))}))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),n=require("react/jsx-runtime"),e=require("../../icons/AiReasoningIcon.js"),o=require("./AIReasonAccordion.js"),a=require("../../icons/ReasoningBulbIcon.js"),t=require("./AiReasonMarkdownWrapper.js"),l=require("../../icons/AiGapIcon.js"),s=require("react"),d=require("lucide-react"),r=require("./AiReasoningCitationContent.module.css.js"),c=require("../../shared/CitationAIConfidenceDisplay.js");exports.default=function(u){var v,C,g,p,f,m,x,j,y,h,R,_,w,b,S,I,N=u.aiReason,A=u.scenario,M=u.customStyles,k=u.customIcons,B=u.cognitiveDecisionHeaders,D=u.AiReasoningIcon;void 0===D&&n.jsx(e.default,{});var q=u.reasoningIcon;void 0===q&&n.jsx(a.default,{});var F=u.gapIcon;void 0===F&&n.jsx(l.default,{}),u.className;var W=u.onSelectProceed,O=u.isDisableProceedButton,P=s.useState("noCitation"),H=P[0];P[1];var T=s.useState(null),E=T[0];T[1];var G,L,U=(null==k?void 0:k.aireasonIcon)||n.jsx(e.default,{}),z=(null==k?void 0:k.reasoningIcon)||n.jsx(a.default,{}),J=(null==k?void 0:k.gapIcon)||n.jsx(l.default,{}),K=s.useState(!1),Q=K[0],V=K[1];return n.jsxs("div",i.__assign({className:"".concat(r.default.container," ").concat("riskSideBar"===A?"":r.default.containerBordered),style:null===(v=null==M?void 0:M.aiReasoningContent)||void 0===v?void 0:v.container},{children:[n.jsx("div",i.__assign({className:"".concat((null==N?void 0:N.explanation)&&"riskSideBar"!==A?"":r.default.explanationDivider),style:null===(C=null==M?void 0:M.aiReasoningContent)||void 0===C?void 0:C.explanationDivider},{children:(null==N?void 0:N.explanation)&&n.jsx(o.default,{icon:n.jsx(n.Fragment,{}),title:"Explanation",subTitle:"",customStyles:null==M?void 0:M.aiReasoningAccordion,content:n.jsx(t.AiReasonMarkdownWrapper,{message:N.explanation,isExpandableOrderedListEnabled:!0,customStyles:null==M?void 0:M.aiReasoningMarkdown,citationStyles:{webCitation:null==M?void 0:M.webCitation,stormeeCitation:null==M?void 0:M.stormeeCitation,waveformCitation:null==M?void 0:M.waveformCitation,imageCitation:null==M?void 0:M.imageCitation,fileCitation:null==M?void 0:M.fileCitation,appModCitation:null==M?void 0:M.appModCitation,rcaCitation:null==M?void 0:M.rcaCitation,readFileCitation:null==M?void 0:M.readFileCitation,loadingCitations:null==M?void 0:M.loadingCitations},customIcons:k,onSelectProceed:W,isDisableProceedButton:O}),scenario:A})})),"riskSideBar"!==A&&n.jsxs("div",i.__assign({onClick:function(){return V(function(i){return!i})},className:"".concat(r.default.headerBar," ").concat("riskSideBar"===A?"":r.default.headerBarRounded),style:null===(g=null==M?void 0:M.aiReasoningContent)||void 0===g?void 0:g.headerBar},{children:[n.jsxs("div",i.__assign({className:r.default.headerBrand,style:null===(p=null==M?void 0:M.aiReasoningContent)||void 0===p?void 0:p.headerBrand},{children:[U,n.jsx("p",{children:null!==(f=null==B?void 0:B.mainHeader)&&void 0!==f?f:"Cognitive Decisioning AI"})]})),n.jsxs("div",i.__assign({className:r.default.headerScore,style:null===(m=null==M?void 0:M.aiReasoningContent)||void 0===m?void 0:m.headerScore},{children:[!isNaN(null==N?void 0:N.relevance_score)&&c.renderAIConfidenceDisplay(N.relevance_score,N.relevance_score_diff,null===(x=null==M?void 0:M.aiReasoningContent)||void 0===x?void 0:x.confidenceDisplay,k),n.jsx("button",i.__assign({className:r.default.chevronWrapper,style:null===(j=null==M?void 0:M.aiReasoningContent)||void 0===j?void 0:j.chevronWrapper},{children:Q?n.jsx(d.ChevronUp,{className:null===r.default||void 0===r.default?void 0:r.default.chevronIcon,style:null===(y=null==M?void 0:M.aiReasoningContent)||void 0===y?void 0:y.chevronIcon}):n.jsx(d.ChevronDown,{className:null===r.default||void 0===r.default?void 0:r.default.chevronIcon,style:null===(h=null==M?void 0:M.aiReasoningContent)||void 0===h?void 0:h.chevronIcon})}))]}))]})),"riskSideBar"!==A&&Q&&n.jsx("div",i.__assign({className:r.default.bodyRow,style:i.__assign({width:"100%"},null===(R=null==M?void 0:M.aiReasoningContent)||void 0===R?void 0:R.bodyRow)},{children:n.jsxs("div",i.__assign({className:"flex flex-col ".concat("noCitation"!==H&&null!==E?"styles.bodyNarrow":"styles.bodyFull"),style:{width:"100%"}},{children:[n.jsx(o.default,{icon:n.jsx("div",i.__assign({className:r.default.iconWrapper,style:null===(_=null==M?void 0:M.aiReasoningContent)||void 0===_?void 0:_.iconWrapper},{children:z})),title:null!==(w=null==B?void 0:B.decisionHeader)&&void 0!==w?w:"Decision Making Factors",subTitle:"",customStyles:null==M?void 0:M.aiReasoningAccordion,alwaysOpen:!0,defaultOpen:!0,content:n.jsx(t.AiReasonMarkdownWrapper,{message:N.reason,customStyles:null==M?void 0:M.aiReasoningMarkdown,citationStyles:{webCitation:null==M?void 0:M.webCitation,stormeeCitation:null==M?void 0:M.stormeeCitation,waveformCitation:null==M?void 0:M.waveformCitation,imageCitation:null==M?void 0:M.imageCitation,fileCitation:null==M?void 0:M.fileCitation,appModCitation:null==M?void 0:M.appModCitation,rcaCitation:null==M?void 0:M.rcaCitation,readFileCitation:null==M?void 0:M.readFileCitation,loadingCitations:null==M?void 0:M.loadingCitations},customIcons:k})}),(null==N?void 0:N.gap)&&N.relevance_score<100&&n.jsxs(n.Fragment,{children:[n.jsx("div",{className:r.default.divider,style:null===(b=null==M?void 0:M.aiReasoningContent)||void 0===b?void 0:b.divider}),n.jsx(o.default,{icon:n.jsx("div",i.__assign({className:r.default.iconWrapper,style:null===(S=null==M?void 0:M.aiReasoningContent)||void 0===S?void 0:S.iconWrapper},{children:J})),title:null!==(I=null==B?void 0:B.gapHeader)&&void 0!==I?I:"Gaps in Decision",subTitle:"",customStyles:null==M?void 0:M.aiReasoningAccordion,alwaysOpen:!1,defaultOpen:!1,content:n.jsx(t.AiReasonMarkdownWrapper,{message:(G=N.relevance_score,L=N.gap,100===N.relevance_score?"No Gaps is identified.":N.relevance_score<100?"The decision strength is ".concat(G,"% because: \n").concat(L):N.gap),customStyles:null==M?void 0:M.aiReasoningMarkdown,citationStyles:{webCitation:null==M?void 0:M.webCitation,stormeeCitation:null==M?void 0:M.stormeeCitation,waveformCitation:null==M?void 0:M.waveformCitation,imageCitation:null==M?void 0:M.imageCitation,fileCitation:null==M?void 0:M.fileCitation,appModCitation:null==M?void 0:M.appModCitation,rcaCitation:null==M?void 0:M.rcaCitation,readFileCitation:null==M?void 0:M.readFileCitation,loadingCitations:null==M?void 0:M.loadingCitations},customIcons:k}),className:r.default.gapAccordion})]})]}))}))]}))};
2
2
  //# sourceMappingURL=AiReasoningCitationContent.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 n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".AiReasoningCitationContent-module_container__M0-d3{border-radius:.75rem;overflow:hidden;width:100%}.AiReasoningCitationContent-module_containerBordered__Ei9yG{border:1px solid #d0d5dd}.AiReasoningCitationContent-module_explanationDivider__94z5a{border-bottom:1px solid #d0d5dd}.AiReasoningCitationContent-module_headerBar__y8nNG{align-items:center;background-color:#fff;border-bottom:1px solid #d0d5dd;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:.75rem;width:100%}.AiReasoningCitationContent-module_headerBarRounded__fZNwd{border-radius:.75rem .75rem 0 0}.AiReasoningCitationContent-module_headerBrand__SMB94{align-items:center;color:#1d2939;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center}.AiReasoningCitationContent-module_headerScore__hVXhZ{display:flex;flex-direction:row;gap:.5rem}.AiReasoningCitationContent-module_bodyRow__MZoKr{display:flex;flex-direction:row;width:100%}.AiReasoningCitationContent-module_bodyFull__iF7Pt{display:flex;flex-direction:column;width:100%}.AiReasoningCitationContent-module_bodyNarrow__5XxCt{display:flex;flex-direction:column;width:30%}.AiReasoningCitationContent-module_divider__PiXVL{border-bottom:1px solid #d0d5dd;height:0;margin:0}.AiReasoningCitationContent-module_gapAccordion__qZv-U{border-radius:0 0 .75rem .75rem}.AiReasoningCitationContent-module_iconWrapper__QgyvJ{align-items:center;background-color:#f6f4fe;border-radius:9999px;display:flex;height:fit-content;justify-content:center;padding:10px;width:fit-content}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={container:"AiReasoningCitationContent-module_container__M0-d3",containerBordered:"AiReasoningCitationContent-module_containerBordered__Ei9yG",explanationDivider:"AiReasoningCitationContent-module_explanationDivider__94z5a",headerBar:"AiReasoningCitationContent-module_headerBar__y8nNG",headerBarRounded:"AiReasoningCitationContent-module_headerBarRounded__fZNwd",headerBrand:"AiReasoningCitationContent-module_headerBrand__SMB94",headerScore:"AiReasoningCitationContent-module_headerScore__hVXhZ",bodyRow:"AiReasoningCitationContent-module_bodyRow__MZoKr",bodyFull:"AiReasoningCitationContent-module_bodyFull__iF7Pt",bodyNarrow:"AiReasoningCitationContent-module_bodyNarrow__5XxCt",divider:"AiReasoningCitationContent-module_divider__PiXVL",gapAccordion:"AiReasoningCitationContent-module_gapAccordion__qZv-U",iconWrapper:"AiReasoningCitationContent-module_iconWrapper__QgyvJ"};
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 n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".AiReasoningCitationContent-module_container__M0-d3{border-radius:.75rem;overflow:hidden;width:100%}.AiReasoningCitationContent-module_containerBordered__Ei9yG{border:1px solid #d0d5dd}.AiReasoningCitationContent-module_explanationDivider__94z5a{border-bottom:1px solid #d0d5dd}.AiReasoningCitationContent-module_headerBar__y8nNG{align-items:center;background-color:#fff;border-bottom:1px solid #d0d5dd;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:.75rem;width:100%}.AiReasoningCitationContent-module_headerBarRounded__fZNwd{border-radius:.75rem .75rem 0 0}.AiReasoningCitationContent-module_headerBrand__SMB94{align-items:center;color:#1d2939;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center}.AiReasoningCitationContent-module_headerScore__hVXhZ{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:.5rem}.AiReasoningCitationContent-module_bodyRow__MZoKr{display:flex;flex-direction:row;width:100%}.AiReasoningCitationContent-module_bodyFull__iF7Pt{display:flex;flex-direction:column;width:100%}.AiReasoningCitationContent-module_bodyNarrow__5XxCt{display:flex;flex-direction:column;width:30%}.AiReasoningCitationContent-module_divider__PiXVL{border-bottom:1px solid #d0d5dd;height:0;margin:0}.AiReasoningCitationContent-module_gapAccordion__qZv-U{border-radius:0 0 .75rem .75rem}.AiReasoningCitationContent-module_iconWrapper__QgyvJ{align-items:center;background-color:#f6f4fe;border-radius:9999px;display:flex;height:fit-content;justify-content:center;padding:10px;width:fit-content}.AiReasoningCitationContent-module_chevronWrapper__9sSMR{align-items:center;background:none;border:1px solid #eaecf0;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:.25rem}.AiReasoningCitationContent-module_chevronIcon__Lm-mV{color:#6b7280;height:1.25rem;width:1.25rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={container:"AiReasoningCitationContent-module_container__M0-d3",containerBordered:"AiReasoningCitationContent-module_containerBordered__Ei9yG",explanationDivider:"AiReasoningCitationContent-module_explanationDivider__94z5a",headerBar:"AiReasoningCitationContent-module_headerBar__y8nNG",headerBarRounded:"AiReasoningCitationContent-module_headerBarRounded__fZNwd",headerBrand:"AiReasoningCitationContent-module_headerBrand__SMB94",headerScore:"AiReasoningCitationContent-module_headerScore__hVXhZ",bodyRow:"AiReasoningCitationContent-module_bodyRow__MZoKr",bodyFull:"AiReasoningCitationContent-module_bodyFull__iF7Pt",bodyNarrow:"AiReasoningCitationContent-module_bodyNarrow__5XxCt",divider:"AiReasoningCitationContent-module_divider__PiXVL",gapAccordion:"AiReasoningCitationContent-module_gapAccordion__qZv-U",iconWrapper:"AiReasoningCitationContent-module_iconWrapper__QgyvJ",chevronWrapper:"AiReasoningCitationContent-module_chevronWrapper__9sSMR",chevronIcon:"AiReasoningCitationContent-module_chevronIcon__Lm-mV"};
2
2
  //# sourceMappingURL=AiReasoningCitationContent.module.css.js.map
@@ -1,2 +1,2 @@
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"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),o=require("../../icons/CognitiveDecision.js");exports.CustomChatCrRedirection=function(t){var r=t.isDefaultOpen,d=t.processItemId,c=t.isCompleted,u=t.mode,g=t.msg,v=t.type,_=t.id,p=t.aiReason,f=t.text,x=t.headerText,m=t.decisionStrength;t.statusUi,t.panelRef;var h=t.onHandleSend,j=t.onRedirectClick,y=t.gapType,C=t.isGenerating,b=void 0!==C&&C,N=t.customStyles,D=t.customIcons,I=n.useState(r),S=I[0],R=I[1];console.log("testing::reasoning",p);var T=(null==D?void 0:D.highConfidence)||i.jsx(o.default,{}),k=function(){"cra"===u?null==h||h("Discuss ambiguities on ".concat(f),_):null==h||h("Deep Dive into ".concat(y," ").concat(x,": ").concat(f),_)};return console.log("testing::aiReasoning",p),i.jsxs("div",e.__assign({className:[a.default.outerWrapper,b?a.default.outerWrapperDisabled:""].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionOuterWrapper),b?null==N?void 0:N.redirectionOuterWrapperDisabled:{})},{children:[i.jsxs("div",e.__assign({className:[a.default.card,b?a.default.cardDisabled:a.default.cardInteractive].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionCard),b?null==N?void 0:N.redirectionCardDisabled:null==N?void 0:N.redirectionCardInteractive)},{children:[i.jsxs("div",e.__assign({className:a.default.leftSide,style:null==N?void 0:N.redirectionLeftSide},{children:[i.jsxs("span",e.__assign({className:a.default.textBlock,style:null==N?void 0:N.redirectionTextBlock},{children:[x&&i.jsxs("span",e.__assign({className:a.default.headerText,style:null==N?void 0:N.redirectionHeaderText},{children:[x,f?" ":""]})),f]})),i.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),b||R(!S)},className:[a.default.reasoningToggle,b?a.default.reasoningToggleDisabled:a.default.reasoningToggleActive].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.reasoningToggle),b?null==N?void 0:N.reasoningToggleDisabled:null==N?void 0:N.reasoningToggleActive)},{children:[T,S?i.jsx(s.ChevronUp,{className:a.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):i.jsx(s.ChevronDown,{className:a.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]}))]})),c?i.jsx("div",e.__assign({className:a.default.completeTickWrapper,style:null==N?void 0:N.completeTickWrapper},{children:i.jsx(s.Check,{color:(null==N?void 0:N.checkColor)||"green"})})):i.jsxs(i.Fragment,{children:["risk-gap"===u&&i.jsxs("div",e.__assign({className:a.default.rightSide,style:null==N?void 0:N.redirectionRightSide},{children:[i.jsx("button",e.__assign({disabled:b,className:[a.default.fixButton,b?a.default.fixButtonDisabled:""].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionFixButton),b?null==N?void 0:N.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),b||k()}},{children:"Fix"})),i.jsx(s.SquareArrowOutUpRight,{onClick:b?void 0:function(){b||null==j||j({type:v,id:_,aiReason:p,msg:g,meta:{headerText:x,decisionStrength:m,text:f}})},size:18,className:[b?a.default.redirectIconDisabled:a.default.redirectIcon].join(" "),style:e.__assign({},b?null==N?void 0:N.redirectIconDisabled:null==N?void 0:N.redirectIcon)})]})),"cra"===u&&i.jsx("div",e.__assign({className:a.default.rightSide,style:null==N?void 0:N.redirectionRightSide},{children:d===_?i.jsx("div",e.__assign({className:a.default.loaderWrapper,style:null==N?void 0:N.loaderWrapper},{children:i.jsx(s.Loader2,{size:16,className:a.default.loaderIcon,color:"grey",style:e.__assign({animation:"spin 1s linear infinite"},null==N?void 0:N.loaderIcon)})})):i.jsx("button",e.__assign({className:[a.default.clarifyButton].join(" "),style:e.__assign({color:b?"grey":""},null==N?void 0:N.redirectionClarifyButton),disabled:b,onClick:function(e){e.stopPropagation(),k()}},{children:"Clarify"}))}))]})]})),S&&i.jsx(l.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:k,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:D})]}))};
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"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),o=require("../../icons/CognitiveDecision.js");exports.CustomChatCrRedirection=function(t){var r=t.isDefaultOpen,d=t.processItemId,c=t.isCompleted,u=t.mode,g=t.msg,v=t.type,_=t.id,p=t.aiReason,f=t.text,x=t.headerText,m=t.decisionStrength;t.statusUi,t.panelRef;var h=t.onHandleSend,j=t.onRedirectClick,y=t.gapType,C=t.isGenerating,b=void 0!==C&&C,D=t.customStyles,N=t.customIcons,I=t.cognitiveDecisionHeaders,S=n.useState(r),R=S[0],T=S[1];console.log("testing::reasoning",p);var k=(null==N?void 0:N.highConfidence)||i.jsx(o.default,{}),q=function(){"cra"===u?null==h||h("Discuss ambiguities on ".concat(f),_):null==h||h("Deep Dive into ".concat(y," ").concat(x,": ").concat(f),_)};return console.log("testing::aiReasoning",p),i.jsxs("div",e.__assign({className:[a.default.outerWrapper,b?a.default.outerWrapperDisabled:""].join(" "),style:e.__assign(e.__assign({},null==D?void 0:D.redirectionOuterWrapper),b?null==D?void 0:D.redirectionOuterWrapperDisabled:{})},{children:[i.jsxs("div",e.__assign({className:[a.default.card,b?a.default.cardDisabled:a.default.cardInteractive].join(" "),style:e.__assign(e.__assign({},null==D?void 0:D.redirectionCard),b?null==D?void 0:D.redirectionCardDisabled:null==D?void 0:D.redirectionCardInteractive)},{children:[i.jsxs("div",e.__assign({className:a.default.leftSide,style:null==D?void 0:D.redirectionLeftSide},{children:[i.jsxs("span",e.__assign({className:a.default.textBlock,style:null==D?void 0:D.redirectionTextBlock},{children:[x&&i.jsxs("span",e.__assign({className:a.default.headerText,style:null==D?void 0:D.redirectionHeaderText},{children:[x,f?" ":""]})),f]})),i.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),b||T(!R)},className:[a.default.reasoningToggle,b?a.default.reasoningToggleDisabled:a.default.reasoningToggleActive].join(" "),style:e.__assign(e.__assign({},null==D?void 0:D.reasoningToggle),b?null==D?void 0:D.reasoningToggleDisabled:null==D?void 0:D.reasoningToggleActive)},{children:[k,R?i.jsx(s.ChevronUp,{className:a.default.chevronIcon,style:null==D?void 0:D.chevronIcon}):i.jsx(s.ChevronDown,{className:a.default.chevronIcon,style:null==D?void 0:D.chevronIcon})]}))]})),c?i.jsx("div",e.__assign({className:a.default.completeTickWrapper,style:null==D?void 0:D.completeTickWrapper},{children:i.jsx(s.Check,{color:(null==D?void 0:D.checkColor)||"green"})})):i.jsxs(i.Fragment,{children:["risk-gap"===u&&i.jsxs("div",e.__assign({className:a.default.rightSide,style:null==D?void 0:D.redirectionRightSide},{children:[i.jsx("button",e.__assign({disabled:b,className:[a.default.fixButton,b?a.default.fixButtonDisabled:""].join(" "),style:e.__assign(e.__assign({},null==D?void 0:D.redirectionFixButton),b?null==D?void 0:D.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),b||q()}},{children:"Fix"})),i.jsx(s.SquareArrowOutUpRight,{onClick:b?void 0:function(){b||null==j||j({type:v,id:_,aiReason:p,msg:g,meta:{headerText:x,decisionStrength:m,text:f}})},size:18,className:[b?a.default.redirectIconDisabled:a.default.redirectIcon].join(" "),style:e.__assign({},b?null==D?void 0:D.redirectIconDisabled:null==D?void 0:D.redirectIcon)})]})),"cra"===u&&i.jsx("div",e.__assign({className:a.default.rightSide,style:null==D?void 0:D.redirectionRightSide},{children:d===_?i.jsx("div",e.__assign({className:a.default.loaderWrapper,style:null==D?void 0:D.loaderWrapper},{children:i.jsx(s.Loader2,{size:16,className:a.default.loaderIcon,color:"grey",style:e.__assign({animation:"spin 1s linear infinite"},null==D?void 0:D.loaderIcon)})})):i.jsx("button",e.__assign({className:[a.default.clarifyButton].join(" "),style:e.__assign({color:b?"grey":""},null==D?void 0:D.redirectionClarifyButton),disabled:b,onClick:function(e){e.stopPropagation(),q()}},{children:"Clarify"}))}))]})]})),R&&i.jsx(l.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:q,customStyles:null==D?void 0:D.aiReasoningStyles,customIcons:N,cognitiveDecisionHeaders:I})]}))};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("lodash"),n=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),a=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");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 r.Children.toArray(t).filter(function(e){return r.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 r,o,n=t.props,i=n.children,a=e.__rest(n,["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),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(r=a.showfix)&&void 0!==r&&r,showRedirect:null!==(o=a.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]"}};exports.GapFilterBlock=function(p){var m=p.isDefaultOpen,f=p.processItemId,C=p.mode;p.node;var v=p.children,b=p.type,h=p.supportedmodes,y=void 0===h?"":h,x=p["decision-strength"],S=void 0===x?"":x,I=p.pendingdata,j=void 0===I?"":I,k=p.isGeneratingGap,_=void 0!==k&&k,F=p.selectedGapItemId,R=void 0===F?"":F,A=p.onItemSelect,B=p.onHandleSend,G=p.onModeAction,T=p.msg,q=p.panelRef,w=p.getAccordionState,N=p.setAccordionState,D=p.registerGapFilterBlockCount,E=p.getShowGapReviewButtonType,W=p.customStyles,O=p.customIcons,z=b,M=s(S);console.log("testing::isDefaultOpen",m);var U=r.useState(function(){var e,t=null!==(e=null==w?void 0:w(z))&&void 0!==e?e:"";return"true"!==m||t?t:z}),H=U[0],L=U[1],J=function(e){L(e),null==N||N(z,e)},P=u(v),V=r.useMemo(function(){return P.reduce(function(e,t){var r,o,n,i=null!==(r=t.tags)&&void 0!==r?r:"Uncategorized",a=null!==(n=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==n?n:"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},[])},[P]),$={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(l.SirenIcon,{}),label:"risk-gap"===C?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(l.WarningIcon,{}),label:"risk-gap"===C?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(l.SupportIcon,{}),label:"risk-gap"===C?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(l.SupportIcon,{}),label:"",decisionStrength:""}},K=r.useMemo(function(){return e=z,d.includes(e)?{labelColor:$[z].labelColor,badgeBackgroundColor:$[z].badgeBackgroundColor,badgeTextColor:$[z].badgeTextColor,label:$[z].label,decisionStrength:M||$[z].decisionStrength}:{labelColor:$.default.labelColor,badgeBackgroundColor:$.default.badgeBackgroundColor,badgeTextColor:$.default.badgeTextColor,label:o.capitalize(z),decisionStrength:M||""};var e},[z,M]);r.useEffect(function(){null==D||D(z,P.length)},[z,P.length,D]);var Q=function(t,r,o){if(void 0===o&&(o={}),!_){var n="".concat(V[t].categoryId,"-").concat(r);null==A||A(n);var i=e.__assign(e.__assign({},V[t].items[r].dataAttrs),o);null==G||G(y,i)}};return E&&E(),t.jsx(n.GapFilterContentWrapper,e.__assign({mode:C,type:z,config:K,count:P.length,handleReviewClick:function(){P.length>0&&J(z)},openAccordion:H,onAccordionChange:function(e){J(H===e?"":e)},shouldShowReviewButton:!1,pendingData:j,customStyles:W},{children:V.map(function(r,o){return t.jsxs("div",e.__assign({className:c.default.categoryGroup,style:null==W?void 0:W.categoryGroup},{children:["gapfilteritem"===r.type&&"Uncategorized"!==r.categoryName&&t.jsx("p",e.__assign({className:c.default.categoryLabel,style:null==W?void 0:W.categoryLabel},{children:r.categoryName})),r.items.map(function(n,l){var d,s,u,p,v=n.attrs||{},b=null===(d=n.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],h=v.id||(null===(s=n.dataAttrs)||void 0===s?void 0:s.id)||"",y="I"===h[0]?"UI_REF":"CHAT_REF",x=null===(u=null==T?void 0:T.contextAwareAgentReasoning)||void 0===u?void 0:u[b],S=n.isCompleted;return"gapfilteritem"===n.type?t.jsx("div",e.__assign({className:[c.default.gapFilterItemWrapper,"Uncategorized"!==r.categoryName?c.default.gapFilterItemWrapperIndented:""].join(" "),style:null==W?void 0:W.blockContainer},{children:t.jsx(i.GapFilterItem,{isDefaultOpen:"true"===m&&0===l,isCompleted:S,mode:C,index:l,isSelected:R==="".concat(r.categoryId,"-").concat(l),onClick:function(){return Q(o,l)},onFixClick:function(){return Q(o,l,{triggerFrom:"fix"})},onRedirect:function(){return Q(o,l,{triggerFrom:"redirect"})},item:n,isGenerating:_,aiReason:x,panelRef:null!=q?q:{current:null},id:b,customStyles:W,customIcons:O})}),l):t.jsx("div",e.__assign({className:c.default.crRedirectionGroup,style:null==W?void 0:W.crRedirectionGroup},{children:t.jsx("div",e.__assign({className:c.default.crRedirectionInner,style:null==W?void 0:W.crRedirectionInner},{children:t.jsx(a.CustomChatCrRedirection,{isDefaultOpen:"true"===m&&0===l,processItemId:f,isCompleted:S,mode:C,msg:T,type:y,text:n.text,headerText:n.headerText,decisionStrength:n.decisionStrength,id:h,gapType:z,onHandleSend:B,isGenerating:_,aiReason:x,statusUi:null!==(p=g[z])&&void 0!==p?p:g.recommendation,panelRef:null!=q?q:{current:null},customStyles:W,customIcons:O})}))}),l)})]}),"".concat(r.categoryName,"-").concat(o))})}))},exports.normalizeDecisionStrength=s;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("lodash"),n=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),a=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");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 r.Children.toArray(t).filter(function(e){return r.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 r,o,n=t.props,i=n.children,a=e.__rest(n,["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),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(r=a.showfix)&&void 0!==r&&r,showRedirect:null!==(o=a.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]"}};exports.GapFilterBlock=function(p){var m=p.isDefaultOpen,f=p.processItemId,v=p.mode;p.node;var C=p.children,b=p.type,h=p.supportedmodes,y=void 0===h?"":h,x=p["decision-strength"],S=void 0===x?"":x,I=p.pendingdata,j=void 0===I?"":I,k=p.isGeneratingGap,_=void 0!==k&&k,F=p.selectedGapItemId,R=void 0===F?"":F,A=p.onItemSelect,B=p.onHandleSend,G=p.onModeAction,T=p.msg,q=p.panelRef,w=p.getAccordionState,D=p.setAccordionState,N=p.registerGapFilterBlockCount,E=p.getShowGapReviewButtonType,W=p.customStyles,O=p.customIcons,H=p.cognitiveDecisionHeaders,z=b,M=s(S);console.log("testing::isDefaultOpen",m);var U=r.useState(function(){var e,t=null!==(e=null==w?void 0:w(z))&&void 0!==e?e:"";return"true"!==m||t?t:z}),L=U[0],J=U[1],P=function(e){J(e),null==D||D(z,e)},V=u(C),$=r.useMemo(function(){return V.reduce(function(e,t){var r,o,n,i=null!==(r=t.tags)&&void 0!==r?r:"Uncategorized",a=null!==(n=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==n?n:"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},[])},[V]),K={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(l.SirenIcon,{}),label:"risk-gap"===v?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(l.WarningIcon,{}),label:"risk-gap"===v?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(l.SupportIcon,{}),label:"risk-gap"===v?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(l.SupportIcon,{}),label:"",decisionStrength:""}},Q=r.useMemo(function(){return e=z,d.includes(e)?{labelColor:K[z].labelColor,badgeBackgroundColor:K[z].badgeBackgroundColor,badgeTextColor:K[z].badgeTextColor,label:K[z].label,decisionStrength:M||K[z].decisionStrength}:{labelColor:K.default.labelColor,badgeBackgroundColor:K.default.badgeBackgroundColor,badgeTextColor:K.default.badgeTextColor,label:o.capitalize(z),decisionStrength:M||""};var e},[z,M]);r.useEffect(function(){null==N||N(z,V.length)},[z,V.length,N]);var X=function(t,r,o){if(void 0===o&&(o={}),!_){var n="".concat($[t].categoryId,"-").concat(r);null==A||A(n);var i=e.__assign(e.__assign({},$[t].items[r].dataAttrs),o);null==G||G(y,i)}};return E&&E(),t.jsx(n.GapFilterContentWrapper,e.__assign({mode:v,type:z,config:Q,count:V.length,handleReviewClick:function(){V.length>0&&P(z)},openAccordion:L,onAccordionChange:function(e){P(L===e?"":e)},shouldShowReviewButton:!1,pendingData:j,customStyles:W},{children:$.map(function(r,o){return t.jsxs("div",e.__assign({className:c.default.categoryGroup,style:null==W?void 0:W.categoryGroup},{children:["gapfilteritem"===r.type&&"Uncategorized"!==r.categoryName&&t.jsx("p",e.__assign({className:c.default.categoryLabel,style:null==W?void 0:W.categoryLabel},{children:r.categoryName})),r.items.map(function(n,l){var d,s,u,p,C=n.attrs||{},b=null===(d=n.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],h=C.id||(null===(s=n.dataAttrs)||void 0===s?void 0:s.id)||"",y="I"===h[0]?"UI_REF":"CHAT_REF",x=null===(u=null==T?void 0:T.contextAwareAgentReasoning)||void 0===u?void 0:u[b],S=n.isCompleted;return"gapfilteritem"===n.type?t.jsx("div",e.__assign({className:[c.default.gapFilterItemWrapper,"Uncategorized"!==r.categoryName?c.default.gapFilterItemWrapperIndented:""].join(" "),style:null==W?void 0:W.blockContainer},{children:t.jsx(i.GapFilterItem,{isDefaultOpen:"true"===m&&0===l,isCompleted:S,mode:v,index:l,isSelected:R==="".concat(r.categoryId,"-").concat(l),onClick:function(){return X(o,l)},onFixClick:function(){return X(o,l,{triggerFrom:"fix"})},onRedirect:function(){return X(o,l,{triggerFrom:"redirect"})},item:n,isGenerating:_,aiReason:x,panelRef:null!=q?q:{current:null},id:b,customStyles:W,customIcons:O,cognitiveDecisionHeaders:H})}),l):t.jsx("div",e.__assign({className:c.default.crRedirectionGroup,style:null==W?void 0:W.crRedirectionGroup},{children:t.jsx("div",e.__assign({className:c.default.crRedirectionInner,style:null==W?void 0:W.crRedirectionInner},{children:t.jsx(a.CustomChatCrRedirection,{isDefaultOpen:"true"===m&&0===l,processItemId:f,isCompleted:S,mode:v,msg:T,type:y,text:n.text,headerText:n.headerText,decisionStrength:n.decisionStrength,id:h,gapType:z,onHandleSend:B,isGenerating:_,aiReason:x,statusUi:null!==(p=g[z])&&void 0!==p?p:g.recommendation,panelRef:null!=q?q:{current:null},customStyles:W,customIcons:O,cognitiveDecisionHeaders:H})}))}),l)})]}),"".concat(r.categoryName,"-").concat(o))})}))},exports.normalizeDecisionStrength=s;
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"),o=require("lucide-react"),t=require("react"),i=require("@mui/material"),n=require("./GapFilterItem.module.css.js"),a=require("../ai-reasoning/AiReasoningCitationContent.js"),l=require("../../icons/CognitiveDecision.js"),r=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:n.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:n.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:n.default.scoreBadgeLow}};exports.GapFilterItem=function(d){var c=d.isDefaultOpen;d.isCompleted,d.mode;var u=d.index,m=d.isSelected,g=d.onClick,f=d.item,v=d.onFixClick,_=d.onRedirect,p=d.aiReason;d.panelRef;var x=d.id,h=d.isGenerating,j=void 0!==h&&h,N=d.customStyles,C=d.customIcons,y=t.useState(c),R=y[0],S=y[1],T=(null==C?void 0:C.highConfidence)||s.jsx(l.default,{});t.useMemo(function(){return f.components?f.components.split("||"):[]},[f.components]);var b=t.useMemo(function(){return f.score&&isNaN(parseInt(f.score))?0:f.score?parseInt(f.score):0},[f.score]),w=r(b);return s.jsx("div",e.__assign({className:n.default.outerWrapper,onClick:g,style:null==N?void 0:N.itemOuterWrapper},{children:s.jsxs("div",e.__assign({className:n.default.innerCard,style:null==N?void 0:N.itemInnerCard},{children:[s.jsxs("div",e.__assign({className:n.default.contentBlock,style:null==N?void 0:N.contentBlock},{children:[s.jsxs("div",e.__assign({className:n.default.topRow,style:null==N?void 0:N.itemTopRow},{children:[s.jsx("div",e.__assign({className:[n.default.questionText,m?n.default.questionTextSelected:n.default.questionTextDefault].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.itemQuestionText),m?null==N?void 0:N.itemQuestionTextSelected:null==N?void 0:N.itemQuestionTextDefault)},{children:s.jsx(i.Tooltip,e.__assign({title:f.question||"",placement:"top"},{children:s.jsx("span",{className:n.default.questionSpan,style:null==N?void 0:N.itemQuestionSpan})}))})),s.jsxs("div",e.__assign({className:n.default.actionsRow,style:null==N?void 0:N.itemActionsRow},{children:[b>0&&s.jsx("div",e.__assign({className:[n.default.scoreBadge,w.className].join(" "),style:e.__assign(e.__assign(e.__assign(e.__assign({},null==N?void 0:N.itemScoreBadge),b>90?null==N?void 0:N.itemScoreBadgeHigh:{}),b>=70&&b<=90?null==N?void 0:N.itemScoreBadgeMedium:{}),b<70?null==N?void 0:N.itemScoreBadgeLow:{})},{children:"".concat(b,"%")})),f.showFix&&s.jsx("button",e.__assign({className:n.default.fixButton,onClick:function(e){e.stopPropagation(),v()},style:null==N?void 0:N.itemFixButton},{children:"Fix"})),f.showRedirect&&s.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:n.default.redirectIcon,onClick:function(e){e.stopPropagation(),_()},style:null==N?void 0:N.itemRedirectIcon})]}))]})),s.jsxs("div",e.__assign({className:[n.default.bottomRow,m?n.default.bottomRowSelected:n.default.bottomRowDefault].join(" "),style:m?e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowSelected):e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowDefault)},{children:[s.jsxs("span",e.__assign({className:n.default.gapTextSpan,style:null==N?void 0:N.itemGapText},{children:[(null==f?void 0:f.headerText)?s.jsx("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:f.headerText})):s.jsxs("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:["Gap ",u+1,"."]}))," ",f.text]})),x&&s.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),j||S(!R)},className:[n.default.reasoningToggle,j?n.default.reasoningToggleDisabled:n.default.reasoningToggleActive].join(" "),style:null==N?void 0:N.itemReasoningToggle},{children:[T,R?s.jsx(o.ChevronUp,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):s.jsx(o.ChevronDown,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]}))]}))]})),R&&s.jsx(a.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:v,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:C})]}))}))},exports.getScoreColorStyles=r;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),o=require("lucide-react"),i=require("react"),t=require("@mui/material"),n=require("./GapFilterItem.module.css.js"),a=require("../ai-reasoning/AiReasoningCitationContent.js"),l=require("../../icons/CognitiveDecision.js"),r=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:n.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:n.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:n.default.scoreBadgeLow}};exports.GapFilterItem=function(c){var d=c.isDefaultOpen;c.isCompleted,c.mode;var u=c.index,m=c.isSelected,g=c.onClick,f=c.item,v=c.onFixClick,_=c.onRedirect,p=c.aiReason;c.panelRef;var x=c.id,h=c.isGenerating,j=void 0!==h&&h,N=c.customStyles,C=c.customIcons,y=c.cognitiveDecisionHeaders,R=i.useState(d),S=R[0],T=R[1],b=(null==C?void 0:C.highConfidence)||s.jsx(l.default,{});i.useMemo(function(){return f.components?f.components.split("||"):[]},[f.components]);var w=i.useMemo(function(){return f.score&&isNaN(parseInt(f.score))?0:f.score?parseInt(f.score):0},[f.score]),q=r(w);return s.jsx("div",e.__assign({className:n.default.outerWrapper,onClick:g,style:null==N?void 0:N.itemOuterWrapper},{children:s.jsxs("div",e.__assign({className:n.default.innerCard,style:null==N?void 0:N.itemInnerCard},{children:[s.jsxs("div",e.__assign({className:n.default.contentBlock,style:null==N?void 0:N.contentBlock},{children:[s.jsxs("div",e.__assign({className:n.default.topRow,style:null==N?void 0:N.itemTopRow},{children:[s.jsx("div",e.__assign({className:[n.default.questionText,m?n.default.questionTextSelected:n.default.questionTextDefault].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.itemQuestionText),m?null==N?void 0:N.itemQuestionTextSelected:null==N?void 0:N.itemQuestionTextDefault)},{children:s.jsx(t.Tooltip,e.__assign({title:f.question||"",placement:"top"},{children:s.jsx("span",{className:n.default.questionSpan,style:null==N?void 0:N.itemQuestionSpan})}))})),s.jsxs("div",e.__assign({className:n.default.actionsRow,style:null==N?void 0:N.itemActionsRow},{children:[w>0&&s.jsx("div",e.__assign({className:[n.default.scoreBadge,q.className].join(" "),style:e.__assign(e.__assign(e.__assign(e.__assign({},null==N?void 0:N.itemScoreBadge),w>90?null==N?void 0:N.itemScoreBadgeHigh:{}),w>=70&&w<=90?null==N?void 0:N.itemScoreBadgeMedium:{}),w<70?null==N?void 0:N.itemScoreBadgeLow:{})},{children:"".concat(w,"%")})),f.showFix&&s.jsx("button",e.__assign({className:n.default.fixButton,onClick:function(e){e.stopPropagation(),v()},style:null==N?void 0:N.itemFixButton},{children:"Fix"})),f.showRedirect&&s.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:n.default.redirectIcon,onClick:function(e){e.stopPropagation(),_()},style:null==N?void 0:N.itemRedirectIcon})]}))]})),s.jsxs("div",e.__assign({className:[n.default.bottomRow,m?n.default.bottomRowSelected:n.default.bottomRowDefault].join(" "),style:m?e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowSelected):e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowDefault)},{children:[s.jsxs("span",e.__assign({className:n.default.gapTextSpan,style:null==N?void 0:N.itemGapText},{children:[(null==f?void 0:f.headerText)?s.jsx("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:f.headerText})):s.jsxs("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:["Gap ",u+1,"."]}))," ",f.text]})),x&&s.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),j||T(!S)},className:[n.default.reasoningToggle,j?n.default.reasoningToggleDisabled:n.default.reasoningToggleActive].join(" "),style:null==N?void 0:N.itemReasoningToggle},{children:[b,S?s.jsx(o.ChevronUp,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):s.jsx(o.ChevronDown,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]}))]}))]})),S&&s.jsx(a.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:v,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:C,cognitiveDecisionHeaders:y})]}))}))},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("@mui/material"),r=require("./CitationAIConfidenceDisplay.module.css.js"),l=require("../icons/RelevanceScoreIcon.js"),s=require("lucide-react");exports.renderAIConfidenceDisplay=function(i,o,a,c){if("number"==typeof i&&!isNaN(i)){var t=(null==c?void 0:c.confidenceScoreIcon)||n.jsx(l.default,{size:20});return n.jsxs("div",e.__assign({className:r.default.decisioncontainer,style:null==a?void 0:a.container},{children:[t,n.jsxs("span",e.__assign({style:null==a?void 0:a.text},{children:["Decision strength: ",i,"%"]})),Number(o||0)>0&&n.jsxs("span",e.__assign({className:r.default.scoreIncrease,style:null==a?void 0:a.scoreIncrease},{children:[n.jsx(s.ArrowUp,{className:r.default.arrowIcon,style:null==a?void 0:a.arrowIcon}),null==o?void 0:o.toFixed(2),"%"]}))]}))}return null},exports.renderCitationAIConfidenceDisplay=function(s,o,a,c){var t;if("number"!=typeof s||isNaN(s))return null;var u=(null==c?void 0:c.confidenceScoreIcon)||n.jsx(l.default,{size:20,color:null===(t=null==a?void 0:a.icon)||void 0===t?void 0:t.color}),d=n.jsxs("div",e.__assign({className:"".concat(r.default.container," ").concat(o?r.default.legacy:r.default.modern),style:null==a?void 0:a.container},{children:[u,n.jsx("span",e.__assign({style:null==a?void 0:a.label},{children:o?"Citation Relevance: ".concat(s,"%"):"".concat(s,"%")}))]}));return o?d:n.jsx(i.Tooltip,e.__assign({title:"Citation Relevance",arrow:!0},{children:d}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("@mui/material"),l=require("./CitationAIConfidenceDisplay.module.css.js"),r=require("../icons/RelevanceScoreIcon.js"),s=require("lucide-react");exports.renderAIConfidenceDisplay=function(i,o,a,c){if("number"==typeof i&&!isNaN(i)){var t=(null==c?void 0:c.confidenceScoreIcon)||n.jsx(r.default,{size:20});return n.jsxs("div",e.__assign({className:l.default.decisioncontainer,style:null==a?void 0:a.container},{children:[t,n.jsxs("span",e.__assign({style:null==a?void 0:a.text},{children:[i,"%"]})),Number(o||0)>0&&n.jsxs("span",e.__assign({className:l.default.scoreIncrease,style:null==a?void 0:a.scoreIncrease},{children:[n.jsx(s.ArrowUp,{className:l.default.arrowIcon,style:null==a?void 0:a.arrowIcon}),null==o?void 0:o.toFixed(2),"%"]}))]}))}return null},exports.renderCitationAIConfidenceDisplay=function(s,o,a,c){var t;if("number"!=typeof s||isNaN(s))return null;var u=(null==c?void 0:c.confidenceScoreIcon)||n.jsx(r.default,{size:20,color:null===(t=null==a?void 0:a.icon)||void 0===t?void 0:t.color}),d=n.jsxs("div",e.__assign({className:"".concat(l.default.container," ").concat(o?l.default.legacy:l.default.modern),style:null==a?void 0:a.container},{children:[u,n.jsx("span",e.__assign({style:null==a?void 0:a.label},{children:o?"Citation Relevance: ".concat(s,"%"):"".concat(s,"%")}))]}));return o?d:n.jsx(i.Tooltip,e.__assign({title:"Citation Relevance",arrow:!0},{children:d}))};
2
2
  //# sourceMappingURL=CitationAIConfidenceDisplay.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 n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".CitationAIConfidenceDisplay-module_container__ufVDg{align-items:center;border-radius:9999px;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_legacy__h3fOA{background-color:#fff;border:2px solid #ac93f6;color:#1f2937;min-width:13.83rem}.CitationAIConfidenceDisplay-module_modern__A89gC{background-color:#bbf7d0;border:2px solid #10b981;color:#1f2937;min-width:6.4rem}.CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:9999px;color:#5928ed;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;min-width:13.83rem;padding:.5rem .75rem}.CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2{align-items:center;background-color:#cdf4de;border-radius:9999px;color:#027a48;display:flex;flex-direction:row;font-size:.875rem;margin-left:.25rem;padding:.25rem .5rem}.CitationAIConfidenceDisplay-module_arrowIcon__jKsG0{height:1rem;margin-right:.125rem;width:1rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={container:"CitationAIConfidenceDisplay-module_container__ufVDg",legacy:"CitationAIConfidenceDisplay-module_legacy__h3fOA",modern:"CitationAIConfidenceDisplay-module_modern__A89gC",decisioncontainer:"CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW",scoreIncrease:"CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2",arrowIcon:"CitationAIConfidenceDisplay-module_arrowIcon__jKsG0"};
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 n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".CitationAIConfidenceDisplay-module_container__ufVDg{align-items:center;border-radius:9999px;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_legacy__h3fOA{background-color:#fff;border:2px solid #ac93f6;color:#1f2937;min-width:13.83rem}.CitationAIConfidenceDisplay-module_modern__A89gC{background-color:#bbf7d0;border:2px solid #10b981;color:#1f2937;min-width:6.4rem}.CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:9999px;color:#5928ed;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;min-width:5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2{align-items:center;background-color:#cdf4de;border-radius:9999px;color:#027a48;display:flex;flex-direction:row;font-size:.875rem;margin-left:.25rem;padding:.25rem .5rem}.CitationAIConfidenceDisplay-module_arrowIcon__jKsG0{height:1rem;margin-right:.125rem;width:1rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={container:"CitationAIConfidenceDisplay-module_container__ufVDg",legacy:"CitationAIConfidenceDisplay-module_legacy__h3fOA",modern:"CitationAIConfidenceDisplay-module_modern__A89gC",decisioncontainer:"CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW",scoreIncrease:"CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2",arrowIcon:"CitationAIConfidenceDisplay-module_arrowIcon__jKsG0"};
2
2
  //# sourceMappingURL=CitationAIConfidenceDisplay.module.css.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 o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".ExpandableOl-module_list__-7s5Z{color:#4b5563;font-family:Inter,sans-serif;font-size:15px;line-height:24px;list-style-type:decimal;margin-left:1.25rem}.ExpandableOl-module_toggleButton__-Wt-x{background:none;border:none;color:#5928ed;cursor:pointer;display:inline;font-weight:700;margin-left:4px}.ExpandableOl-module_toggleButton__-Wt-x:hover{text-decoration:underline}.ExpandableOl-module_proceedContainer__nXnBv{margin-top:1.5rem}.ExpandableOl-module_proceedButton__byQmx{align-items:center;border:1px solid #0000;border-radius:4px;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s ease}.ExpandableOl-module_proceedEnabled__Af5zF{background:#f0ebff;color:#5928ed;cursor:pointer}.ExpandableOl-module_proceedEnabled__Af5zF:hover{background:#e4daff}.ExpandableOl-module_proceedEnabled__Af5zF:active{transform:scale(.95)}.ExpandableOl-module_proceedDisabled__5eBFn{background:#f5f5f5;color:#aaa;cursor:not-allowed}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={list:"ExpandableOl-module_list__-7s5Z",toggleButton:"ExpandableOl-module_toggleButton__-Wt-x",proceedContainer:"ExpandableOl-module_proceedContainer__nXnBv",proceedButton:"ExpandableOl-module_proceedButton__byQmx",proceedEnabled:"ExpandableOl-module_proceedEnabled__Af5zF",proceedDisabled:"ExpandableOl-module_proceedDisabled__5eBFn"};
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 o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".ExpandableOl-module_list__-7s5Z{color:#4b5563;font-family:Inter,sans-serif;font-size:15px;line-height:24px;list-style-type:decimal;margin-left:1.25rem}.ExpandableOl-module_toggleButton__-Wt-x{background:none;border:none;color:#5928ed;cursor:pointer;display:inline;font-weight:700;margin-left:4px}.ExpandableOl-module_toggleButton__-Wt-x:hover{text-decoration:underline}.ExpandableOl-module_proceedContainer__nXnBv{margin-top:1.5rem}.ExpandableOl-module_proceedButton__byQmx{align-items:center;border:1px solid #0000;border-radius:18px;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s ease}.ExpandableOl-module_proceedEnabled__Af5zF{background:#f0ebff;color:#5928ed;cursor:pointer}.ExpandableOl-module_proceedEnabled__Af5zF:hover{background:#e4daff}.ExpandableOl-module_proceedEnabled__Af5zF:active{transform:scale(.95)}.ExpandableOl-module_proceedDisabled__5eBFn{background:#f5f5f5;color:#aaa;cursor:not-allowed}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={list:"ExpandableOl-module_list__-7s5Z",toggleButton:"ExpandableOl-module_toggleButton__-Wt-x",proceedContainer:"ExpandableOl-module_proceedContainer__nXnBv",proceedButton:"ExpandableOl-module_proceedButton__byQmx",proceedEnabled:"ExpandableOl-module_proceedEnabled__Af5zF",proceedDisabled:"ExpandableOl-module_proceedDisabled__5eBFn"};
2
2
  //# sourceMappingURL=ExpandableOl.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsxs as r,jsx as i}from"react/jsx-runtime";import{ChevronUp as c,ChevronDown as a}from"lucide-react";import{useState as l}from"react";import t from"./AiReasonAccoridon.module.css.js";function n(n){var o=n.icon,s=n.title,d=n.content,m=n.subTitle,p=n.scenario,u=n.className,v=void 0===u?"":u,h=n.customStyles,N=l(!0),f=N[0],y=N[1];return r("div",e({className:"".concat("riskSideBar"!==p&&t.wrapperBorder," ").concat(t.wrapper," ").concat(v),style:null==h?void 0:h.wrapper},{children:[r("div",e({className:"".concat(t.header," ").concat("riskSideBar"===p?t.headerPaddingRisk:t.headerPadding),style:null==h?void 0:h.header,onClick:function(){return y(!f)}},{children:[r("div",e({className:t.headerLeft,style:null==h?void 0:h.iconWrapper},{children:[o,r("div",e({className:t.titleBlock},{children:[i("h1",e({className:t.title,style:null==h?void 0:h.title},{children:s})),i("p",e({className:t.subTitle,style:null==h?void 0:h.subTitle},{children:m}))]}))]})),"riskSideBar"!==p&&i("div",e({className:t.chevronWrapper,style:null==h?void 0:h.chevronWrapper},{children:i(f?c:a,{className:t.chevronIcon})}))]})),f&&i("div",e({className:"".concat("riskSideBar"!==p&&t.content," ").concat(t.contentBase),style:null==h?void 0:h.contentWrapper},{children:d}))]}))}export{n as default};
1
+ import{__assign as e}from"tslib";import{jsxs as r,jsx as i}from"react/jsx-runtime";import{ChevronUp as a,ChevronDown as c}from"lucide-react";import{useState as l}from"react";import t from"./AiReasonAccoridon.module.css.js";function n(n){var o=n.icon,s=n.title,d=n.content,m=n.subTitle,p=n.scenario,v=n.className,u=void 0===v?"":v,h=n.customStyles,f=n.alwaysOpen,N=void 0!==f&&f,y=n.defaultOpen,k=l(void 0===y||y),B=k[0],S=k[1];return r("div",e({className:"".concat("riskSideBar"!==p&&t.wrapperBorder," ").concat(t.wrapper," ").concat(u),style:null==h?void 0:h.wrapper},{children:[r("div",e({className:"".concat(t.header," ").concat("riskSideBar"===p?t.headerPaddingRisk:t.headerPadding),style:null==h?void 0:h.header,onClick:function(){N||S(!B)}},{children:[r("div",e({className:t.headerLeft,style:null==h?void 0:h.iconWrapper},{children:[o,r("div",e({className:t.titleBlock},{children:[i("h1",e({className:t.title,style:null==h?void 0:h.title},{children:s})),i("p",e({className:t.subTitle,style:null==h?void 0:h.subTitle},{children:m}))]}))]})),"riskSideBar"!==p&&!N&&i("div",e({className:t.chevronWrapper,style:null==h?void 0:h.chevronWrapper},{children:i(B?a:c,{className:t.chevronIcon})}))]})),B&&i("div",e({className:"".concat("riskSideBar"!==p&&t.content," ").concat(t.contentBase),style:null==h?void 0:h.contentWrapper},{children:d}))]}))}export{n as default};
2
2
  //# sourceMappingURL=AIReasonAccordion.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as i}from"tslib";import{jsx as o,jsxs as n,Fragment as a}from"react/jsx-runtime";import e from"../../icons/AiReasoningIcon.js";import t from"./AIReasonAccordion.js";import l from"../../icons/ReasoningBulbIcon.js";import{AiReasonMarkdownWrapper as d}from"./AiReasonMarkdownWrapper.js";import s from"../../icons/AiGapIcon.js";import{useState as r}from"react";import c from"./AiReasoningCitationContent.module.css.js";import{renderAIConfidenceDisplay as v}from"../../shared/CitationAIConfidenceDisplay.js";var u=function(u){var C,m,p,g,f,y,R,h,w,b,S=u.aiReason,I=u.scenario,N=u.customStyles,B=u.customIcons,A=u.AiReasoningIcon;void 0===A&&o(e,{});var x=u.reasoningIcon;void 0===x&&o(l,{});var M=u.gapIcon;void 0===M&&o(s,{}),u.className;var k=u.onSelectProceed,D=u.isDisableProceedButton,j=r("noCitation"),F=j[0];j[1];var _=r(null),W=_[0];_[1];var P,T,E=(null==B?void 0:B.aireasonIcon)||o(e,{}),G=(null==B?void 0:B.reasoningIcon)||o(l,{}),L=(null==B?void 0:B.gapIcon)||o(s,{});return n("div",i({className:"".concat(c.container," ").concat("riskSideBar"===I?"":c.containerBordered),style:null===(C=null==N?void 0:N.aiReasoningContent)||void 0===C?void 0:C.container},{children:[o("div",i({className:"".concat((null==S?void 0:S.explanation)&&"riskSideBar"!==I?"":c.explanationDivider),style:null===(m=null==N?void 0:N.aiReasoningContent)||void 0===m?void 0:m.explanationDivider},{children:(null==S?void 0:S.explanation)&&o(t,{icon:o(a,{}),title:"Explanation",subTitle:"",customStyles:null==N?void 0:N.aiReasoningAccordion,content:o(d,{message:S.explanation,isExpandableOrderedListEnabled:!0,customStyles:null==N?void 0:N.aiReasoningMarkdown,citationStyles:{webCitation:null==N?void 0:N.webCitation,stormeeCitation:null==N?void 0:N.stormeeCitation,waveformCitation:null==N?void 0:N.waveformCitation,imageCitation:null==N?void 0:N.imageCitation,fileCitation:null==N?void 0:N.fileCitation,appModCitation:null==N?void 0:N.appModCitation,rcaCitation:null==N?void 0:N.rcaCitation,readFileCitation:null==N?void 0:N.readFileCitation,loadingCitations:null==N?void 0:N.loadingCitations},customIcons:B,onSelectProceed:k,isDisableProceedButton:D}),scenario:I})})),"riskSideBar"!==I&&n("div",i({className:"".concat(c.headerBar," ").concat("riskSideBar"===I?"":c.headerBarRounded),style:null===(p=null==N?void 0:N.aiReasoningContent)||void 0===p?void 0:p.headerBar},{children:[n("div",i({className:c.headerBrand,style:null===(g=null==N?void 0:N.aiReasoningContent)||void 0===g?void 0:g.headerBrand},{children:[E,o("p",{children:"Cognitive Decisioning AI"})]})),o("div",i({className:c.headerScore,style:null===(f=null==N?void 0:N.aiReasoningContent)||void 0===f?void 0:f.headerScore},{children:!isNaN(null==S?void 0:S.relevance_score)&&v(S.relevance_score,S.relevance_score_diff,null===(y=null==N?void 0:N.aiReasoningContent)||void 0===y?void 0:y.confidenceDisplay,B)}))]})),"riskSideBar"!==I&&o("div",i({className:c.bodyRow,style:i({width:"100%"},null===(R=null==N?void 0:N.aiReasoningContent)||void 0===R?void 0:R.bodyRow)},{children:n("div",i({className:"flex flex-col ".concat("noCitation"!==F&&null!==W?"styles.bodyNarrow":"styles.bodyFull"),style:{width:"100%"}},{children:[o(t,{icon:o("div",i({className:c.iconWrapper,style:null===(h=null==N?void 0:N.aiReasoningContent)||void 0===h?void 0:h.iconWrapper},{children:G})),title:"Decision Making Factors",subTitle:"",customStyles:null==N?void 0:N.aiReasoningAccordion,content:o(d,{message:S.reason,customStyles:null==N?void 0:N.aiReasoningMarkdown,citationStyles:{webCitation:null==N?void 0:N.webCitation,stormeeCitation:null==N?void 0:N.stormeeCitation,waveformCitation:null==N?void 0:N.waveformCitation,imageCitation:null==N?void 0:N.imageCitation,fileCitation:null==N?void 0:N.fileCitation,appModCitation:null==N?void 0:N.appModCitation,rcaCitation:null==N?void 0:N.rcaCitation,readFileCitation:null==N?void 0:N.readFileCitation,loadingCitations:null==N?void 0:N.loadingCitations},customIcons:B})}),o("div",{className:c.divider,style:null===(w=null==N?void 0:N.aiReasoningContent)||void 0===w?void 0:w.divider}),o(t,{icon:o("div",i({className:c.iconWrapper,style:null===(b=null==N?void 0:N.aiReasoningContent)||void 0===b?void 0:b.iconWrapper},{children:L})),title:"Gap in Decision",subTitle:"",customStyles:null==N?void 0:N.aiReasoningAccordion,content:o(d,{message:(P=S.relevance_score,T=S.gap,100===S.relevance_score?"No Gaps is identified.":S.relevance_score<100?"The decision strength is ".concat(P,"% because: \n").concat(T):S.gap),customStyles:null==N?void 0:N.aiReasoningMarkdown,citationStyles:{webCitation:null==N?void 0:N.webCitation,stormeeCitation:null==N?void 0:N.stormeeCitation,waveformCitation:null==N?void 0:N.waveformCitation,imageCitation:null==N?void 0:N.imageCitation,fileCitation:null==N?void 0:N.fileCitation,appModCitation:null==N?void 0:N.appModCitation,rcaCitation:null==N?void 0:N.rcaCitation,readFileCitation:null==N?void 0:N.readFileCitation,loadingCitations:null==N?void 0:N.loadingCitations},customIcons:B}),className:c.gapAccordion})]}))}))]}))};export{u as default};
1
+ import{__assign as i}from"tslib";import{jsx as o,jsxs as n,Fragment as e}from"react/jsx-runtime";import a from"../../icons/AiReasoningIcon.js";import t from"./AIReasonAccordion.js";import l from"../../icons/ReasoningBulbIcon.js";import{AiReasonMarkdownWrapper as d}from"./AiReasonMarkdownWrapper.js";import s from"../../icons/AiGapIcon.js";import{useState as r}from"react";import{ChevronUp as c,ChevronDown as v}from"lucide-react";import u from"./AiReasoningCitationContent.module.css.js";import{renderAIConfidenceDisplay as C}from"../../shared/CitationAIConfidenceDisplay.js";var m=function(m){var p,g,f,y,h,R,w,b,I,N,S,B,A,k,x,M,D=m.aiReason,j=m.scenario,F=m.customStyles,_=m.customIcons,W=m.cognitiveDecisionHeaders,O=m.AiReasoningIcon;void 0===O&&o(a,{});var H=m.reasoningIcon;void 0===H&&o(l,{});var P=m.gapIcon;void 0===P&&o(s,{}),m.className;var T=m.onSelectProceed,E=m.isDisableProceedButton,G=r("noCitation"),L=G[0];G[1];var q=r(null),z=q[0];q[1];var J,K,Q=(null==_?void 0:_.aireasonIcon)||o(a,{}),U=(null==_?void 0:_.reasoningIcon)||o(l,{}),V=(null==_?void 0:_.gapIcon)||o(s,{}),X=r(!1),Y=X[0],Z=X[1];return n("div",i({className:"".concat(u.container," ").concat("riskSideBar"===j?"":u.containerBordered),style:null===(p=null==F?void 0:F.aiReasoningContent)||void 0===p?void 0:p.container},{children:[o("div",i({className:"".concat((null==D?void 0:D.explanation)&&"riskSideBar"!==j?"":u.explanationDivider),style:null===(g=null==F?void 0:F.aiReasoningContent)||void 0===g?void 0:g.explanationDivider},{children:(null==D?void 0:D.explanation)&&o(t,{icon:o(e,{}),title:"Explanation",subTitle:"",customStyles:null==F?void 0:F.aiReasoningAccordion,content:o(d,{message:D.explanation,isExpandableOrderedListEnabled:!0,customStyles:null==F?void 0:F.aiReasoningMarkdown,citationStyles:{webCitation:null==F?void 0:F.webCitation,stormeeCitation:null==F?void 0:F.stormeeCitation,waveformCitation:null==F?void 0:F.waveformCitation,imageCitation:null==F?void 0:F.imageCitation,fileCitation:null==F?void 0:F.fileCitation,appModCitation:null==F?void 0:F.appModCitation,rcaCitation:null==F?void 0:F.rcaCitation,readFileCitation:null==F?void 0:F.readFileCitation,loadingCitations:null==F?void 0:F.loadingCitations},customIcons:_,onSelectProceed:T,isDisableProceedButton:E}),scenario:j})})),"riskSideBar"!==j&&n("div",i({onClick:function(){return Z(function(i){return!i})},className:"".concat(u.headerBar," ").concat("riskSideBar"===j?"":u.headerBarRounded),style:null===(f=null==F?void 0:F.aiReasoningContent)||void 0===f?void 0:f.headerBar},{children:[n("div",i({className:u.headerBrand,style:null===(y=null==F?void 0:F.aiReasoningContent)||void 0===y?void 0:y.headerBrand},{children:[Q,o("p",{children:null!==(h=null==W?void 0:W.mainHeader)&&void 0!==h?h:"Cognitive Decisioning AI"})]})),n("div",i({className:u.headerScore,style:null===(R=null==F?void 0:F.aiReasoningContent)||void 0===R?void 0:R.headerScore},{children:[!isNaN(null==D?void 0:D.relevance_score)&&C(D.relevance_score,D.relevance_score_diff,null===(w=null==F?void 0:F.aiReasoningContent)||void 0===w?void 0:w.confidenceDisplay,_),o("button",i({className:u.chevronWrapper,style:null===(b=null==F?void 0:F.aiReasoningContent)||void 0===b?void 0:b.chevronWrapper},{children:Y?o(c,{className:null==u?void 0:u.chevronIcon,style:null===(I=null==F?void 0:F.aiReasoningContent)||void 0===I?void 0:I.chevronIcon}):o(v,{className:null==u?void 0:u.chevronIcon,style:null===(N=null==F?void 0:F.aiReasoningContent)||void 0===N?void 0:N.chevronIcon})}))]}))]})),"riskSideBar"!==j&&Y&&o("div",i({className:u.bodyRow,style:i({width:"100%"},null===(S=null==F?void 0:F.aiReasoningContent)||void 0===S?void 0:S.bodyRow)},{children:n("div",i({className:"flex flex-col ".concat("noCitation"!==L&&null!==z?"styles.bodyNarrow":"styles.bodyFull"),style:{width:"100%"}},{children:[o(t,{icon:o("div",i({className:u.iconWrapper,style:null===(B=null==F?void 0:F.aiReasoningContent)||void 0===B?void 0:B.iconWrapper},{children:U})),title:null!==(A=null==W?void 0:W.decisionHeader)&&void 0!==A?A:"Decision Making Factors",subTitle:"",customStyles:null==F?void 0:F.aiReasoningAccordion,alwaysOpen:!0,defaultOpen:!0,content:o(d,{message:D.reason,customStyles:null==F?void 0:F.aiReasoningMarkdown,citationStyles:{webCitation:null==F?void 0:F.webCitation,stormeeCitation:null==F?void 0:F.stormeeCitation,waveformCitation:null==F?void 0:F.waveformCitation,imageCitation:null==F?void 0:F.imageCitation,fileCitation:null==F?void 0:F.fileCitation,appModCitation:null==F?void 0:F.appModCitation,rcaCitation:null==F?void 0:F.rcaCitation,readFileCitation:null==F?void 0:F.readFileCitation,loadingCitations:null==F?void 0:F.loadingCitations},customIcons:_})}),(null==D?void 0:D.gap)&&D.relevance_score<100&&n(e,{children:[o("div",{className:u.divider,style:null===(k=null==F?void 0:F.aiReasoningContent)||void 0===k?void 0:k.divider}),o(t,{icon:o("div",i({className:u.iconWrapper,style:null===(x=null==F?void 0:F.aiReasoningContent)||void 0===x?void 0:x.iconWrapper},{children:V})),title:null!==(M=null==W?void 0:W.gapHeader)&&void 0!==M?M:"Gaps in Decision",subTitle:"",customStyles:null==F?void 0:F.aiReasoningAccordion,alwaysOpen:!1,defaultOpen:!1,content:o(d,{message:(J=D.relevance_score,K=D.gap,100===D.relevance_score?"No Gaps is identified.":D.relevance_score<100?"The decision strength is ".concat(J,"% because: \n").concat(K):D.gap),customStyles:null==F?void 0:F.aiReasoningMarkdown,citationStyles:{webCitation:null==F?void 0:F.webCitation,stormeeCitation:null==F?void 0:F.stormeeCitation,waveformCitation:null==F?void 0:F.waveformCitation,imageCitation:null==F?void 0:F.imageCitation,fileCitation:null==F?void 0:F.fileCitation,appModCitation:null==F?void 0:F.appModCitation,rcaCitation:null==F?void 0:F.rcaCitation,readFileCitation:null==F?void 0:F.readFileCitation,loadingCitations:null==F?void 0:F.loadingCitations},customIcons:_}),className:u.gapAccordion})]})]}))}))]}))};export{m as default};
2
2
  //# sourceMappingURL=AiReasoningCitationContent.js.map
@@ -1,2 +1,2 @@
1
- var e={container:"AiReasoningCitationContent-module_container__M0-d3",containerBordered:"AiReasoningCitationContent-module_containerBordered__Ei9yG",explanationDivider:"AiReasoningCitationContent-module_explanationDivider__94z5a",headerBar:"AiReasoningCitationContent-module_headerBar__y8nNG",headerBarRounded:"AiReasoningCitationContent-module_headerBarRounded__fZNwd",headerBrand:"AiReasoningCitationContent-module_headerBrand__SMB94",headerScore:"AiReasoningCitationContent-module_headerScore__hVXhZ",bodyRow:"AiReasoningCitationContent-module_bodyRow__MZoKr",bodyFull:"AiReasoningCitationContent-module_bodyFull__iF7Pt",bodyNarrow:"AiReasoningCitationContent-module_bodyNarrow__5XxCt",divider:"AiReasoningCitationContent-module_divider__PiXVL",gapAccordion:"AiReasoningCitationContent-module_gapAccordion__qZv-U",iconWrapper:"AiReasoningCitationContent-module_iconWrapper__QgyvJ"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".AiReasoningCitationContent-module_container__M0-d3{border-radius:.75rem;overflow:hidden;width:100%}.AiReasoningCitationContent-module_containerBordered__Ei9yG{border:1px solid #d0d5dd}.AiReasoningCitationContent-module_explanationDivider__94z5a{border-bottom:1px solid #d0d5dd}.AiReasoningCitationContent-module_headerBar__y8nNG{align-items:center;background-color:#fff;border-bottom:1px solid #d0d5dd;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:.75rem;width:100%}.AiReasoningCitationContent-module_headerBarRounded__fZNwd{border-radius:.75rem .75rem 0 0}.AiReasoningCitationContent-module_headerBrand__SMB94{align-items:center;color:#1d2939;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center}.AiReasoningCitationContent-module_headerScore__hVXhZ{display:flex;flex-direction:row;gap:.5rem}.AiReasoningCitationContent-module_bodyRow__MZoKr{display:flex;flex-direction:row;width:100%}.AiReasoningCitationContent-module_bodyFull__iF7Pt{display:flex;flex-direction:column;width:100%}.AiReasoningCitationContent-module_bodyNarrow__5XxCt{display:flex;flex-direction:column;width:30%}.AiReasoningCitationContent-module_divider__PiXVL{border-bottom:1px solid #d0d5dd;height:0;margin:0}.AiReasoningCitationContent-module_gapAccordion__qZv-U{border-radius:0 0 .75rem .75rem}.AiReasoningCitationContent-module_iconWrapper__QgyvJ{align-items:center;background-color:#f6f4fe;border-radius:9999px;display:flex;height:fit-content;justify-content:center;padding:10px;width:fit-content}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
1
+ var e={container:"AiReasoningCitationContent-module_container__M0-d3",containerBordered:"AiReasoningCitationContent-module_containerBordered__Ei9yG",explanationDivider:"AiReasoningCitationContent-module_explanationDivider__94z5a",headerBar:"AiReasoningCitationContent-module_headerBar__y8nNG",headerBarRounded:"AiReasoningCitationContent-module_headerBarRounded__fZNwd",headerBrand:"AiReasoningCitationContent-module_headerBrand__SMB94",headerScore:"AiReasoningCitationContent-module_headerScore__hVXhZ",bodyRow:"AiReasoningCitationContent-module_bodyRow__MZoKr",bodyFull:"AiReasoningCitationContent-module_bodyFull__iF7Pt",bodyNarrow:"AiReasoningCitationContent-module_bodyNarrow__5XxCt",divider:"AiReasoningCitationContent-module_divider__PiXVL",gapAccordion:"AiReasoningCitationContent-module_gapAccordion__qZv-U",iconWrapper:"AiReasoningCitationContent-module_iconWrapper__QgyvJ",chevronWrapper:"AiReasoningCitationContent-module_chevronWrapper__9sSMR",chevronIcon:"AiReasoningCitationContent-module_chevronIcon__Lm-mV"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".AiReasoningCitationContent-module_container__M0-d3{border-radius:.75rem;overflow:hidden;width:100%}.AiReasoningCitationContent-module_containerBordered__Ei9yG{border:1px solid #d0d5dd}.AiReasoningCitationContent-module_explanationDivider__94z5a{border-bottom:1px solid #d0d5dd}.AiReasoningCitationContent-module_headerBar__y8nNG{align-items:center;background-color:#fff;border-bottom:1px solid #d0d5dd;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:.75rem;width:100%}.AiReasoningCitationContent-module_headerBarRounded__fZNwd{border-radius:.75rem .75rem 0 0}.AiReasoningCitationContent-module_headerBrand__SMB94{align-items:center;color:#1d2939;display:flex;flex-direction:row;font-size:.875rem;font-weight:500;gap:.5rem;justify-content:center}.AiReasoningCitationContent-module_headerScore__hVXhZ{align-items:center;display:flex;flex-direction:row;flex-shrink:0;gap:.5rem}.AiReasoningCitationContent-module_bodyRow__MZoKr{display:flex;flex-direction:row;width:100%}.AiReasoningCitationContent-module_bodyFull__iF7Pt{display:flex;flex-direction:column;width:100%}.AiReasoningCitationContent-module_bodyNarrow__5XxCt{display:flex;flex-direction:column;width:30%}.AiReasoningCitationContent-module_divider__PiXVL{border-bottom:1px solid #d0d5dd;height:0;margin:0}.AiReasoningCitationContent-module_gapAccordion__qZv-U{border-radius:0 0 .75rem .75rem}.AiReasoningCitationContent-module_iconWrapper__QgyvJ{align-items:center;background-color:#f6f4fe;border-radius:9999px;display:flex;height:fit-content;justify-content:center;padding:10px;width:fit-content}.AiReasoningCitationContent-module_chevronWrapper__9sSMR{align-items:center;background:none;border:1px solid #eaecf0;border-radius:9999px;cursor:pointer;display:flex;justify-content:center;padding:.25rem}.AiReasoningCitationContent-module_chevronIcon__Lm-mV{color:#6b7280;height:1.25rem;width:1.25rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=AiReasoningCitationContent.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as i,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useState as l}from"react";import{ChevronUp as r,ChevronDown as t,Check as a,SquareArrowOutUpRight as s,Loader2 as c}from"lucide-react";import d from"./CustomChatCrRedirection.module.css.js";import u from"../ai-reasoning/AiReasoningCitationContent.js";import p from"../../icons/CognitiveDecision.js";function g(g){var m=g.isDefaultOpen,v=g.processItemId,h=g.isCompleted,f=g.mode,y=g.msg,C=g.type,b=g.id,x=g.aiReason,N=g.text,D=g.headerText,I=g.decisionStrength;g.statusUi,g.panelRef;var T=g.onHandleSend,S=g.onRedirectClick,R=g.gapType,k=g.isGenerating,j=void 0!==k&&k,B=g.customStyles,W=g.customIcons,P=l(m),A=P[0],O=P[1];console.log("testing::reasoning",x);var z=(null==W?void 0:W.highConfidence)||i(p,{}),F=function(){"cra"===f?null==T||T("Discuss ambiguities on ".concat(N),b):null==T||T("Deep Dive into ".concat(R," ").concat(D,": ").concat(N),b)};return console.log("testing::aiReasoning",x),n("div",e({className:[d.outerWrapper,j?d.outerWrapperDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionOuterWrapper),j?null==B?void 0:B.redirectionOuterWrapperDisabled:{})},{children:[n("div",e({className:[d.card,j?d.cardDisabled:d.cardInteractive].join(" "),style:e(e({},null==B?void 0:B.redirectionCard),j?null==B?void 0:B.redirectionCardDisabled:null==B?void 0:B.redirectionCardInteractive)},{children:[n("div",e({className:d.leftSide,style:null==B?void 0:B.redirectionLeftSide},{children:[n("span",e({className:d.textBlock,style:null==B?void 0:B.redirectionTextBlock},{children:[D&&n("span",e({className:d.headerText,style:null==B?void 0:B.redirectionHeaderText},{children:[D,N?" ":""]})),N]})),n("span",e({onClick:function(e){e.stopPropagation(),j||O(!A)},className:[d.reasoningToggle,j?d.reasoningToggleDisabled:d.reasoningToggleActive].join(" "),style:e(e({},null==B?void 0:B.reasoningToggle),j?null==B?void 0:B.reasoningToggleDisabled:null==B?void 0:B.reasoningToggleActive)},{children:[z,i(A?r:t,{className:d.chevronIcon,style:null==B?void 0:B.chevronIcon})]}))]})),h?i("div",e({className:d.completeTickWrapper,style:null==B?void 0:B.completeTickWrapper},{children:i(a,{color:(null==B?void 0:B.checkColor)||"green"})})):n(o,{children:["risk-gap"===f&&n("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:[i("button",e({disabled:j,className:[d.fixButton,j?d.fixButtonDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionFixButton),j?null==B?void 0:B.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),j||F()}},{children:"Fix"})),i(s,{onClick:j?void 0:function(){j||null==S||S({type:C,id:b,aiReason:x,msg:y,meta:{headerText:D,decisionStrength:I,text:N}})},size:18,className:[j?d.redirectIconDisabled:d.redirectIcon].join(" "),style:e({},j?null==B?void 0:B.redirectIconDisabled:null==B?void 0:B.redirectIcon)})]})),"cra"===f&&i("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:v===b?i("div",e({className:d.loaderWrapper,style:null==B?void 0:B.loaderWrapper},{children:i(c,{size:16,className:d.loaderIcon,color:"grey",style:e({animation:"spin 1s linear infinite"},null==B?void 0:B.loaderIcon)})})):i("button",e({className:[d.clarifyButton].join(" "),style:e({color:j?"grey":""},null==B?void 0:B.redirectionClarifyButton),disabled:j,onClick:function(e){e.stopPropagation(),F()}},{children:"Clarify"}))}))]})]})),A&&i(u,{aiReason:{id:"1",reason:x.Reasoning||"",gap:x.Gap||"",relevance_score:Number(x.Confidence_score),explanation:x.explanation||""},onSelectProceed:F,customStyles:null==B?void 0:B.aiReasoningStyles,customIcons:W})]}))}export{g as CustomChatCrRedirection};
1
+ import{__assign as e}from"tslib";import{jsx as i,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useState as l}from"react";import{ChevronUp as r,ChevronDown as t,Check as a,SquareArrowOutUpRight as s,Loader2 as c}from"lucide-react";import d from"./CustomChatCrRedirection.module.css.js";import u from"../ai-reasoning/AiReasoningCitationContent.js";import g from"../../icons/CognitiveDecision.js";function p(p){var v=p.isDefaultOpen,m=p.processItemId,h=p.isCompleted,f=p.mode,y=p.msg,C=p.type,b=p.id,x=p.aiReason,D=p.text,N=p.headerText,I=p.decisionStrength;p.statusUi,p.panelRef;var T=p.onHandleSend,S=p.onRedirectClick,R=p.gapType,k=p.isGenerating,j=void 0!==k&&k,B=p.customStyles,W=p.customIcons,H=p.cognitiveDecisionHeaders,P=l(v),A=P[0],O=P[1];console.log("testing::reasoning",x);var z=(null==W?void 0:W.highConfidence)||i(g,{}),F=function(){"cra"===f?null==T||T("Discuss ambiguities on ".concat(D),b):null==T||T("Deep Dive into ".concat(R," ").concat(N,": ").concat(D),b)};return console.log("testing::aiReasoning",x),n("div",e({className:[d.outerWrapper,j?d.outerWrapperDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionOuterWrapper),j?null==B?void 0:B.redirectionOuterWrapperDisabled:{})},{children:[n("div",e({className:[d.card,j?d.cardDisabled:d.cardInteractive].join(" "),style:e(e({},null==B?void 0:B.redirectionCard),j?null==B?void 0:B.redirectionCardDisabled:null==B?void 0:B.redirectionCardInteractive)},{children:[n("div",e({className:d.leftSide,style:null==B?void 0:B.redirectionLeftSide},{children:[n("span",e({className:d.textBlock,style:null==B?void 0:B.redirectionTextBlock},{children:[N&&n("span",e({className:d.headerText,style:null==B?void 0:B.redirectionHeaderText},{children:[N,D?" ":""]})),D]})),n("span",e({onClick:function(e){e.stopPropagation(),j||O(!A)},className:[d.reasoningToggle,j?d.reasoningToggleDisabled:d.reasoningToggleActive].join(" "),style:e(e({},null==B?void 0:B.reasoningToggle),j?null==B?void 0:B.reasoningToggleDisabled:null==B?void 0:B.reasoningToggleActive)},{children:[z,i(A?r:t,{className:d.chevronIcon,style:null==B?void 0:B.chevronIcon})]}))]})),h?i("div",e({className:d.completeTickWrapper,style:null==B?void 0:B.completeTickWrapper},{children:i(a,{color:(null==B?void 0:B.checkColor)||"green"})})):n(o,{children:["risk-gap"===f&&n("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:[i("button",e({disabled:j,className:[d.fixButton,j?d.fixButtonDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionFixButton),j?null==B?void 0:B.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),j||F()}},{children:"Fix"})),i(s,{onClick:j?void 0:function(){j||null==S||S({type:C,id:b,aiReason:x,msg:y,meta:{headerText:N,decisionStrength:I,text:D}})},size:18,className:[j?d.redirectIconDisabled:d.redirectIcon].join(" "),style:e({},j?null==B?void 0:B.redirectIconDisabled:null==B?void 0:B.redirectIcon)})]})),"cra"===f&&i("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:m===b?i("div",e({className:d.loaderWrapper,style:null==B?void 0:B.loaderWrapper},{children:i(c,{size:16,className:d.loaderIcon,color:"grey",style:e({animation:"spin 1s linear infinite"},null==B?void 0:B.loaderIcon)})})):i("button",e({className:[d.clarifyButton].join(" "),style:e({color:j?"grey":""},null==B?void 0:B.redirectionClarifyButton),disabled:j,onClick:function(e){e.stopPropagation(),F()}},{children:"Clarify"}))}))]})]})),A&&i(u,{aiReason:{id:"1",reason:x.Reasoning||"",gap:x.Gap||"",relevance_score:Number(x.Confidence_score),explanation:x.explanation||""},onSelectProceed:F,customStyles:null==B?void 0:B.aiReasoningStyles,customIcons:W,cognitiveDecisionHeaders:H})]}))}export{p as CustomChatCrRedirection};
2
2
  //# sourceMappingURL=CustomChatCrRedirection.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as n,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 u}from"./GapFilterItem.js";import{CustomChatCrRedirection as g}from"./CustomChatCrRedirection.js";import{SirenIcon as p,WarningIcon as m,SupportIcon as f}from"./gapFilterSvgs.js";import v from"./GapFilterBlock.module.css.js";import"react-markdown";import"rehype-raw";import"../RequirementAIWrapper/RequirementAIWrapper.js";var b=["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 y(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,r,n=e.props,i=n.children,a=t(n,["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),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(o=a.showfix)&&void 0!==o&&o,showRedirect:null!==(r=a.showredirect)&&void 0!==r&&r}})}var h={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]"}},x=function(t){var l=t.isDefaultOpen,c=t.processItemId,x=t.mode;t.node;var S=t.children,I=t.type,k=t.supportedmodes,R=void 0===k?"":k,A=t["decision-strength"],F=void 0===A?"":A,B=t.pendingdata,T=void 0===B?"":B,w=t.isGeneratingGap,G=void 0!==w&&w,N=t.selectedGapItemId,j=void 0===N?"":N,D=t.onItemSelect,E=t.onHandleSend,W=t.onModeAction,O=t.msg,U=t.panelRef,q=t.getAccordionState,z=t.setAccordionState,H=t.registerGapFilterBlockCount,L=t.getShowGapReviewButtonType,M=t.customStyles,_=t.customIcons,J=I,$=C(F);console.log("testing::isDefaultOpen",l);var K=n(function(){var e,t=null!==(e=null==q?void 0:q(J))&&void 0!==e?e:"";return"true"!==l||t?t:J}),P=K[0],Q=K[1],V=function(e){Q(e),null==z||z(J,e)},X=y(S),Y=i(function(){return X.reduce(function(e,t){var o,r,n,i=null!==(o=t.tags)&&void 0!==o?o:"Uncategorized",a=null!==(n=null===(r=t.dataAttrs)||void 0===r?void 0:r.categoryid)&&void 0!==n?n:"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},[])},[X]),Z={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:o(p,{}),label:"risk-gap"===x?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:o(m,{}),label:"risk-gap"===x?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:o(f,{}),label:"risk-gap"===x?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:o(f,{}),label:"",decisionStrength:""}},ee=i(function(){return e=J,b.includes(e)?{labelColor:Z[J].labelColor,badgeBackgroundColor:Z[J].badgeBackgroundColor,badgeTextColor:Z[J].badgeTextColor,label:Z[J].label,decisionStrength:$||Z[J].decisionStrength}:{labelColor:Z.default.labelColor,badgeBackgroundColor:Z.default.badgeBackgroundColor,badgeTextColor:Z.default.badgeTextColor,label:d(J),decisionStrength:$||""};var e},[J,$]);a(function(){null==H||H(J,X.length)},[J,X.length,H]);var te=function(t,o,r){if(void 0===r&&(r={}),!G){var n="".concat(Y[t].categoryId,"-").concat(o);null==D||D(n);var i=e(e({},Y[t].items[o].dataAttrs),r);null==W||W(R,i)}};return L&&L(),o(s,e({mode:x,type:J,config:ee,count:X.length,handleReviewClick:function(){X.length>0&&V(J)},openAccordion:P,onAccordionChange:function(e){V(P===e?"":e)},shouldShowReviewButton:!1,pendingData:T,customStyles:M},{children:Y.map(function(t,n){return r("div",e({className:v.categoryGroup,style:null==M?void 0:M.categoryGroup},{children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&o("p",e({className:v.categoryLabel,style:null==M?void 0:M.categoryLabel},{children:t.categoryName})),t.items.map(function(r,i){var a,d,s,p,m=r.attrs||{},f=null===(a=r.dataAttrs)||void 0===a?void 0:a["cognitive-reasoning"],b=m.id||(null===(d=r.dataAttrs)||void 0===d?void 0:d.id)||"",C="I"===b[0]?"UI_REF":"CHAT_REF",y=null===(s=null==O?void 0:O.contextAwareAgentReasoning)||void 0===s?void 0:s[f],S=r.isCompleted;return"gapfilteritem"===r.type?o("div",e({className:[v.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?v.gapFilterItemWrapperIndented:""].join(" "),style:null==M?void 0:M.blockContainer},{children:o(u,{isDefaultOpen:"true"===l&&0===i,isCompleted:S,mode:x,index:i,isSelected:j==="".concat(t.categoryId,"-").concat(i),onClick:function(){return te(n,i)},onFixClick:function(){return te(n,i,{triggerFrom:"fix"})},onRedirect:function(){return te(n,i,{triggerFrom:"redirect"})},item:r,isGenerating:G,aiReason:y,panelRef:null!=U?U:{current:null},id:f,customStyles:M,customIcons:_})}),i):o("div",e({className:v.crRedirectionGroup,style:null==M?void 0:M.crRedirectionGroup},{children:o("div",e({className:v.crRedirectionInner,style:null==M?void 0:M.crRedirectionInner},{children:o(g,{isDefaultOpen:"true"===l&&0===i,processItemId:c,isCompleted:S,mode:x,msg:O,type:C,text:r.text,headerText:r.headerText,decisionStrength:r.decisionStrength,id:b,gapType:J,onHandleSend:E,isGenerating:G,aiReason:y,statusUi:null!==(p=h[J])&&void 0!==p?p:h.recommendation,panelRef:null!=U?U:{current:null},customStyles:M,customIcons:_})}))}),i)})]}),"".concat(t.categoryName,"-").concat(n))})}))};export{x as GapFilterBlock,C as normalizeDecisionStrength};
1
+ import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as n,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 u}from"./GapFilterItem.js";import{CustomChatCrRedirection as g}from"./CustomChatCrRedirection.js";import{SirenIcon as p,WarningIcon as m,SupportIcon as f}from"./gapFilterSvgs.js";import v from"./GapFilterBlock.module.css.js";import"react-markdown";import"rehype-raw";import"../RequirementAIWrapper/RequirementAIWrapper.js";var b=["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 y(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,r,n=e.props,i=n.children,a=t(n,["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),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(o=a.showfix)&&void 0!==o&&o,showRedirect:null!==(r=a.showredirect)&&void 0!==r&&r}})}var h={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]"}},x=function(t){var l=t.isDefaultOpen,c=t.processItemId,x=t.mode;t.node;var S=t.children,I=t.type,k=t.supportedmodes,R=void 0===k?"":k,A=t["decision-strength"],F=void 0===A?"":A,B=t.pendingdata,T=void 0===B?"":B,w=t.isGeneratingGap,G=void 0!==w&&w,D=t.selectedGapItemId,N=void 0===D?"":D,j=t.onItemSelect,E=t.onHandleSend,W=t.onModeAction,H=t.msg,O=t.panelRef,U=t.getAccordionState,q=t.setAccordionState,z=t.registerGapFilterBlockCount,L=t.getShowGapReviewButtonType,M=t.customStyles,_=t.customIcons,J=t.cognitiveDecisionHeaders,$=I,K=C(F);console.log("testing::isDefaultOpen",l);var P=n(function(){var e,t=null!==(e=null==U?void 0:U($))&&void 0!==e?e:"";return"true"!==l||t?t:$}),Q=P[0],V=P[1],X=function(e){V(e),null==q||q($,e)},Y=y(S),Z=i(function(){return Y.reduce(function(e,t){var o,r,n,i=null!==(o=t.tags)&&void 0!==o?o:"Uncategorized",a=null!==(n=null===(r=t.dataAttrs)||void 0===r?void 0:r.categoryid)&&void 0!==n?n:"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},[])},[Y]),ee={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:o(p,{}),label:"risk-gap"===x?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:o(m,{}),label:"risk-gap"===x?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:o(f,{}),label:"risk-gap"===x?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:o(f,{}),label:"",decisionStrength:""}},te=i(function(){return e=$,b.includes(e)?{labelColor:ee[$].labelColor,badgeBackgroundColor:ee[$].badgeBackgroundColor,badgeTextColor:ee[$].badgeTextColor,label:ee[$].label,decisionStrength:K||ee[$].decisionStrength}:{labelColor:ee.default.labelColor,badgeBackgroundColor:ee.default.badgeBackgroundColor,badgeTextColor:ee.default.badgeTextColor,label:d($),decisionStrength:K||""};var e},[$,K]);a(function(){null==z||z($,Y.length)},[$,Y.length,z]);var oe=function(t,o,r){if(void 0===r&&(r={}),!G){var n="".concat(Z[t].categoryId,"-").concat(o);null==j||j(n);var i=e(e({},Z[t].items[o].dataAttrs),r);null==W||W(R,i)}};return L&&L(),o(s,e({mode:x,type:$,config:te,count:Y.length,handleReviewClick:function(){Y.length>0&&X($)},openAccordion:Q,onAccordionChange:function(e){X(Q===e?"":e)},shouldShowReviewButton:!1,pendingData:T,customStyles:M},{children:Z.map(function(t,n){return r("div",e({className:v.categoryGroup,style:null==M?void 0:M.categoryGroup},{children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&o("p",e({className:v.categoryLabel,style:null==M?void 0:M.categoryLabel},{children:t.categoryName})),t.items.map(function(r,i){var a,d,s,p,m=r.attrs||{},f=null===(a=r.dataAttrs)||void 0===a?void 0:a["cognitive-reasoning"],b=m.id||(null===(d=r.dataAttrs)||void 0===d?void 0:d.id)||"",C="I"===b[0]?"UI_REF":"CHAT_REF",y=null===(s=null==H?void 0:H.contextAwareAgentReasoning)||void 0===s?void 0:s[f],S=r.isCompleted;return"gapfilteritem"===r.type?o("div",e({className:[v.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?v.gapFilterItemWrapperIndented:""].join(" "),style:null==M?void 0:M.blockContainer},{children:o(u,{isDefaultOpen:"true"===l&&0===i,isCompleted:S,mode:x,index:i,isSelected:N==="".concat(t.categoryId,"-").concat(i),onClick:function(){return oe(n,i)},onFixClick:function(){return oe(n,i,{triggerFrom:"fix"})},onRedirect:function(){return oe(n,i,{triggerFrom:"redirect"})},item:r,isGenerating:G,aiReason:y,panelRef:null!=O?O:{current:null},id:f,customStyles:M,customIcons:_,cognitiveDecisionHeaders:J})}),i):o("div",e({className:v.crRedirectionGroup,style:null==M?void 0:M.crRedirectionGroup},{children:o("div",e({className:v.crRedirectionInner,style:null==M?void 0:M.crRedirectionInner},{children:o(g,{isDefaultOpen:"true"===l&&0===i,processItemId:c,isCompleted:S,mode:x,msg:H,type:C,text:r.text,headerText:r.headerText,decisionStrength:r.decisionStrength,id:b,gapType:$,onHandleSend:E,isGenerating:G,aiReason:y,statusUi:null!==(p=h[$])&&void 0!==p?p:h.recommendation,panelRef:null!=O?O:{current:null},customStyles:M,customIcons:_,cognitiveDecisionHeaders:J})}))}),i)})]}),"".concat(t.categoryName,"-").concat(n))})}))};export{x as GapFilterBlock,C as normalizeDecisionStrength};
2
2
  //# sourceMappingURL=GapFilterBlock.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as o,jsxs as i}from"react/jsx-runtime";import{SquareArrowOutUpRight as t,ChevronUp as n,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){var v=p.isDefaultOpen;p.isCompleted,p.mode;var g=p.index,f=p.isSelected,x=p.onClick,h=p.item,N=p.onFixClick,C=p.onRedirect,R=p.aiReason;p.panelRef;var y=p.id,T=p.isGenerating,b=void 0!==T&&T,S=p.customStyles,w=p.customIcons,B=a(v),k=B[0],I=B[1],j=(null==w?void 0:w.highConfidence)||o(m,{});s(function(){return h.components?h.components.split("||"):[]},[h.components]);var D=s(function(){return h.score&&isNaN(parseInt(h.score))?0:h.score?parseInt(h.score):0},[h.score]),G=u(D);return o("div",e({className:c.outerWrapper,onClick:x,style:null==S?void 0:S.itemOuterWrapper},{children:i("div",e({className:c.innerCard,style:null==S?void 0:S.itemInnerCard},{children:[i("div",e({className:c.contentBlock,style:null==S?void 0:S.contentBlock},{children:[i("div",e({className:c.topRow,style:null==S?void 0:S.itemTopRow},{children:[o("div",e({className:[c.questionText,f?c.questionTextSelected:c.questionTextDefault].join(" "),style:e(e({},null==S?void 0:S.itemQuestionText),f?null==S?void 0:S.itemQuestionTextSelected:null==S?void 0:S.itemQuestionTextDefault)},{children:o(r,e({title:h.question||"",placement:"top"},{children:o("span",{className:c.questionSpan,style:null==S?void 0:S.itemQuestionSpan})}))})),i("div",e({className:c.actionsRow,style:null==S?void 0:S.itemActionsRow},{children:[D>0&&o("div",e({className:[c.scoreBadge,G.className].join(" "),style:e(e(e(e({},null==S?void 0:S.itemScoreBadge),D>90?null==S?void 0:S.itemScoreBadgeHigh:{}),D>=70&&D<=90?null==S?void 0:S.itemScoreBadgeMedium:{}),D<70?null==S?void 0:S.itemScoreBadgeLow:{})},{children:"".concat(D,"%")})),h.showFix&&o("button",e({className:c.fixButton,onClick:function(e){e.stopPropagation(),N()},style:null==S?void 0:S.itemFixButton},{children:"Fix"})),h.showRedirect&&o(t,{color:"#3b82f6",size:14,className:c.redirectIcon,onClick:function(e){e.stopPropagation(),C()},style:null==S?void 0:S.itemRedirectIcon})]}))]})),i("div",e({className:[c.bottomRow,f?c.bottomRowSelected:c.bottomRowDefault].join(" "),style:e(e({},null==S?void 0:S.itemBottomRow),f?null==S?void 0:S.bottomRowSelected:null==S?void 0:S.bottomRowDefault)},{children:[i("span",e({className:c.gapTextSpan,style:null==S?void 0:S.itemGapText},{children:[(null==h?void 0:h.headerText)?o("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:h.headerText})):i("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:["Gap ",g+1,"."]}))," ",h.text]})),y&&i("span",e({onClick:function(e){e.stopPropagation(),b||I(!k)},className:[c.reasoningToggle,b?c.reasoningToggleDisabled:c.reasoningToggleActive].join(" "),style:null==S?void 0:S.itemReasoningToggle},{children:[j,o(k?n:l,{className:c.chevronIcon,style:null==S?void 0:S.chevronIcon})]}))]}))]})),k&&o(d,{aiReason:{id:"1",reason:R.Reasoning||"",gap:R.Gap||"",relevance_score:Number(R.Confidence_score),explanation:R.explanation||""},onSelectProceed:N,customStyles:null==S?void 0:S.aiReasoningStyles,customIcons:w})]}))}))};export{p as GapFilterItem,u 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){var v=p.isDefaultOpen;p.isCompleted,p.mode;var g=p.index,f=p.isSelected,x=p.onClick,h=p.item,N=p.onFixClick,C=p.onRedirect,R=p.aiReason;p.panelRef;var y=p.id,T=p.isGenerating,b=void 0!==T&&T,S=p.customStyles,w=p.customIcons,B=p.cognitiveDecisionHeaders,k=a(v),I=k[0],D=k[1],j=(null==w?void 0:w.highConfidence)||o(m,{});s(function(){return h.components?h.components.split("||"):[]},[h.components]);var H=s(function(){return h.score&&isNaN(parseInt(h.score))?0:h.score?parseInt(h.score):0},[h.score]),G=u(H);return o("div",e({className:c.outerWrapper,onClick:x,style:null==S?void 0:S.itemOuterWrapper},{children:i("div",e({className:c.innerCard,style:null==S?void 0:S.itemInnerCard},{children:[i("div",e({className:c.contentBlock,style:null==S?void 0:S.contentBlock},{children:[i("div",e({className:c.topRow,style:null==S?void 0:S.itemTopRow},{children:[o("div",e({className:[c.questionText,f?c.questionTextSelected:c.questionTextDefault].join(" "),style:e(e({},null==S?void 0:S.itemQuestionText),f?null==S?void 0:S.itemQuestionTextSelected:null==S?void 0:S.itemQuestionTextDefault)},{children:o(r,e({title:h.question||"",placement:"top"},{children:o("span",{className:c.questionSpan,style:null==S?void 0:S.itemQuestionSpan})}))})),i("div",e({className:c.actionsRow,style:null==S?void 0:S.itemActionsRow},{children:[H>0&&o("div",e({className:[c.scoreBadge,G.className].join(" "),style:e(e(e(e({},null==S?void 0:S.itemScoreBadge),H>90?null==S?void 0:S.itemScoreBadgeHigh:{}),H>=70&&H<=90?null==S?void 0:S.itemScoreBadgeMedium:{}),H<70?null==S?void 0:S.itemScoreBadgeLow:{})},{children:"".concat(H,"%")})),h.showFix&&o("button",e({className:c.fixButton,onClick:function(e){e.stopPropagation(),N()},style:null==S?void 0:S.itemFixButton},{children:"Fix"})),h.showRedirect&&o(n,{color:"#3b82f6",size:14,className:c.redirectIcon,onClick:function(e){e.stopPropagation(),C()},style:null==S?void 0:S.itemRedirectIcon})]}))]})),i("div",e({className:[c.bottomRow,f?c.bottomRowSelected:c.bottomRowDefault].join(" "),style:e(e({},null==S?void 0:S.itemBottomRow),f?null==S?void 0:S.bottomRowSelected:null==S?void 0:S.bottomRowDefault)},{children:[i("span",e({className:c.gapTextSpan,style:null==S?void 0:S.itemGapText},{children:[(null==h?void 0:h.headerText)?o("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:h.headerText})):i("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:["Gap ",g+1,"."]}))," ",h.text]})),y&&i("span",e({onClick:function(e){e.stopPropagation(),b||D(!I)},className:[c.reasoningToggle,b?c.reasoningToggleDisabled:c.reasoningToggleActive].join(" "),style:null==S?void 0:S.itemReasoningToggle},{children:[j,o(I?t:l,{className:c.chevronIcon,style:null==S?void 0:S.chevronIcon})]}))]}))]})),I&&o(d,{aiReason:{id:"1",reason:R.Reasoning||"",gap:R.Gap||"",relevance_score:Number(R.Confidence_score),explanation:R.explanation||""},onSelectProceed:N,customStyles:null==S?void 0:S.aiReasoningStyles,customIcons:w,cognitiveDecisionHeaders:B})]}))}))};export{p as GapFilterItem,u as getScoreColorStyles};
2
2
  //# sourceMappingURL=GapFilterItem.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as n,jsxs as o}from"react/jsx-runtime";import{Tooltip as i}from"@mui/material";import r from"./CitationAIConfidenceDisplay.module.css.js";import l from"../icons/RelevanceScoreIcon.js";import{ArrowUp as c}from"lucide-react";var t=function(c,t,a,s){var d;if("number"!=typeof c||isNaN(c))return null;var u=(null==s?void 0:s.confidenceScoreIcon)||n(l,{size:20,color:null===(d=null==a?void 0:a.icon)||void 0===d?void 0:d.color}),m=o("div",e({className:"".concat(r.container," ").concat(t?r.legacy:r.modern),style:null==a?void 0:a.container},{children:[u,n("span",e({style:null==a?void 0:a.label},{children:t?"Citation Relevance: ".concat(c,"%"):"".concat(c,"%")}))]}));return t?m:n(i,e({title:"Citation Relevance",arrow:!0},{children:m}))},a=function(i,t,a,s){if("number"==typeof i&&!isNaN(i)){var d=(null==s?void 0:s.confidenceScoreIcon)||n(l,{size:20});return o("div",e({className:r.decisioncontainer,style:null==a?void 0:a.container},{children:[d,o("span",e({style:null==a?void 0:a.text},{children:["Decision strength: ",i,"%"]})),Number(t||0)>0&&o("span",e({className:r.scoreIncrease,style:null==a?void 0:a.scoreIncrease},{children:[n(c,{className:r.arrowIcon,style:null==a?void 0:a.arrowIcon}),null==t?void 0:t.toFixed(2),"%"]}))]}))}return null};export{a as renderAIConfidenceDisplay,t as renderCitationAIConfidenceDisplay};
1
+ import{__assign as e}from"tslib";import{jsx as n,jsxs as o}from"react/jsx-runtime";import{Tooltip as i}from"@mui/material";import r from"./CitationAIConfidenceDisplay.module.css.js";import l from"../icons/RelevanceScoreIcon.js";import{ArrowUp as c}from"lucide-react";var t=function(c,t,a,s){var d;if("number"!=typeof c||isNaN(c))return null;var u=(null==s?void 0:s.confidenceScoreIcon)||n(l,{size:20,color:null===(d=null==a?void 0:a.icon)||void 0===d?void 0:d.color}),m=o("div",e({className:"".concat(r.container," ").concat(t?r.legacy:r.modern),style:null==a?void 0:a.container},{children:[u,n("span",e({style:null==a?void 0:a.label},{children:t?"Citation Relevance: ".concat(c,"%"):"".concat(c,"%")}))]}));return t?m:n(i,e({title:"Citation Relevance",arrow:!0},{children:m}))},a=function(i,t,a,s){if("number"==typeof i&&!isNaN(i)){var d=(null==s?void 0:s.confidenceScoreIcon)||n(l,{size:20});return o("div",e({className:r.decisioncontainer,style:null==a?void 0:a.container},{children:[d,o("span",e({style:null==a?void 0:a.text},{children:[i,"%"]})),Number(t||0)>0&&o("span",e({className:r.scoreIncrease,style:null==a?void 0:a.scoreIncrease},{children:[n(c,{className:r.arrowIcon,style:null==a?void 0:a.arrowIcon}),null==t?void 0:t.toFixed(2),"%"]}))]}))}return null};export{a as renderAIConfidenceDisplay,t as renderCitationAIConfidenceDisplay};
2
2
  //# sourceMappingURL=CitationAIConfidenceDisplay.js.map
@@ -1,2 +1,2 @@
1
- var e={container:"CitationAIConfidenceDisplay-module_container__ufVDg",legacy:"CitationAIConfidenceDisplay-module_legacy__h3fOA",modern:"CitationAIConfidenceDisplay-module_modern__A89gC",decisioncontainer:"CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW",scoreIncrease:"CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2",arrowIcon:"CitationAIConfidenceDisplay-module_arrowIcon__jKsG0"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".CitationAIConfidenceDisplay-module_container__ufVDg{align-items:center;border-radius:9999px;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_legacy__h3fOA{background-color:#fff;border:2px solid #ac93f6;color:#1f2937;min-width:13.83rem}.CitationAIConfidenceDisplay-module_modern__A89gC{background-color:#bbf7d0;border:2px solid #10b981;color:#1f2937;min-width:6.4rem}.CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:9999px;color:#5928ed;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;min-width:13.83rem;padding:.5rem .75rem}.CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2{align-items:center;background-color:#cdf4de;border-radius:9999px;color:#027a48;display:flex;flex-direction:row;font-size:.875rem;margin-left:.25rem;padding:.25rem .5rem}.CitationAIConfidenceDisplay-module_arrowIcon__jKsG0{height:1rem;margin-right:.125rem;width:1rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
1
+ var e={container:"CitationAIConfidenceDisplay-module_container__ufVDg",legacy:"CitationAIConfidenceDisplay-module_legacy__h3fOA",modern:"CitationAIConfidenceDisplay-module_modern__A89gC",decisioncontainer:"CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW",scoreIncrease:"CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2",arrowIcon:"CitationAIConfidenceDisplay-module_arrowIcon__jKsG0"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".CitationAIConfidenceDisplay-module_container__ufVDg{align-items:center;border-radius:9999px;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_legacy__h3fOA{background-color:#fff;border:2px solid #ac93f6;color:#1f2937;min-width:13.83rem}.CitationAIConfidenceDisplay-module_modern__A89gC{background-color:#bbf7d0;border:2px solid #10b981;color:#1f2937;min-width:6.4rem}.CitationAIConfidenceDisplay-module_decisioncontainer__GR1QW{align-items:center;background:#fff;border:1px solid #d0d5dd;border-radius:9999px;color:#5928ed;display:flex;flex-direction:row;font-weight:500;gap:.5rem;margin-left:1.5rem;min-width:5rem;padding:.25rem .75rem}.CitationAIConfidenceDisplay-module_scoreIncrease__IQwm2{align-items:center;background-color:#cdf4de;border-radius:9999px;color:#027a48;display:flex;flex-direction:row;font-size:.875rem;margin-left:.25rem;padding:.25rem .5rem}.CitationAIConfidenceDisplay-module_arrowIcon__jKsG0{height:1rem;margin-right:.125rem;width:1rem}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=CitationAIConfidenceDisplay.module.css.js.map
@@ -1,2 +1,2 @@
1
- var e={list:"ExpandableOl-module_list__-7s5Z",toggleButton:"ExpandableOl-module_toggleButton__-Wt-x",proceedContainer:"ExpandableOl-module_proceedContainer__nXnBv",proceedButton:"ExpandableOl-module_proceedButton__byQmx",proceedEnabled:"ExpandableOl-module_proceedEnabled__Af5zF",proceedDisabled:"ExpandableOl-module_proceedDisabled__5eBFn"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".ExpandableOl-module_list__-7s5Z{color:#4b5563;font-family:Inter,sans-serif;font-size:15px;line-height:24px;list-style-type:decimal;margin-left:1.25rem}.ExpandableOl-module_toggleButton__-Wt-x{background:none;border:none;color:#5928ed;cursor:pointer;display:inline;font-weight:700;margin-left:4px}.ExpandableOl-module_toggleButton__-Wt-x:hover{text-decoration:underline}.ExpandableOl-module_proceedContainer__nXnBv{margin-top:1.5rem}.ExpandableOl-module_proceedButton__byQmx{align-items:center;border:1px solid #0000;border-radius:4px;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s ease}.ExpandableOl-module_proceedEnabled__Af5zF{background:#f0ebff;color:#5928ed;cursor:pointer}.ExpandableOl-module_proceedEnabled__Af5zF:hover{background:#e4daff}.ExpandableOl-module_proceedEnabled__Af5zF:active{transform:scale(.95)}.ExpandableOl-module_proceedDisabled__5eBFn{background:#f5f5f5;color:#aaa;cursor:not-allowed}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
1
+ var e={list:"ExpandableOl-module_list__-7s5Z",toggleButton:"ExpandableOl-module_toggleButton__-Wt-x",proceedContainer:"ExpandableOl-module_proceedContainer__nXnBv",proceedButton:"ExpandableOl-module_proceedButton__byQmx",proceedEnabled:"ExpandableOl-module_proceedEnabled__Af5zF",proceedDisabled:"ExpandableOl-module_proceedDisabled__5eBFn"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&e.setAttribute("nonce",n),e.appendChild(document.createTextNode(".ExpandableOl-module_list__-7s5Z{color:#4b5563;font-family:Inter,sans-serif;font-size:15px;line-height:24px;list-style-type:decimal;margin-left:1.25rem}.ExpandableOl-module_toggleButton__-Wt-x{background:none;border:none;color:#5928ed;cursor:pointer;display:inline;font-weight:700;margin-left:4px}.ExpandableOl-module_toggleButton__-Wt-x:hover{text-decoration:underline}.ExpandableOl-module_proceedContainer__nXnBv{margin-top:1.5rem}.ExpandableOl-module_proceedButton__byQmx{align-items:center;border:1px solid #0000;border-radius:18px;display:flex;font-size:12px;font-weight:500;gap:6px;padding:6px 12px;transition:all .2s ease}.ExpandableOl-module_proceedEnabled__Af5zF{background:#f0ebff;color:#5928ed;cursor:pointer}.ExpandableOl-module_proceedEnabled__Af5zF:hover{background:#e4daff}.ExpandableOl-module_proceedEnabled__Af5zF:active{transform:scale(.95)}.ExpandableOl-module_proceedDisabled__5eBFn{background:#f5f5f5;color:#aaa;cursor:not-allowed}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=ExpandableOl.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA4BA,QAAA,MAAM,iBAAiB,+CAwzDtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA4BA,QAAA,MAAM,iBAAiB,+CAo3DtB,CAAC;AAEF,eAAe,iBAAiB,CAAC"}
@@ -8,7 +8,9 @@ interface AiReasonAccordionProps {
8
8
  scenario?: "riskSideBar";
9
9
  className?: string;
10
10
  customStyles?: AiReasonAccordionStyles;
11
+ alwaysOpen?: boolean;
12
+ defaultOpen?: boolean;
11
13
  }
12
- export default function AiReasonAccordion({ icon, title, content, subTitle, scenario, className, customStyles }: AiReasonAccordionProps): import("react/jsx-runtime").JSX.Element;
14
+ export default function AiReasonAccordion({ icon, title, content, subTitle, scenario, className, customStyles, alwaysOpen, defaultOpen, }: AiReasonAccordionProps): import("react/jsx-runtime").JSX.Element;
13
15
  export {};
14
16
  //# sourceMappingURL=AIReasonAccordion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AIReasonAccordion.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,UAAU,sBAAsB;IAC9B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,uBAAuB,CAAA;CACvC;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAc,EACd,YAAY,EACb,EAAE,sBAAsB,2CAsCxB"}
1
+ {"version":3,"file":"AIReasonAccordion.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AIReasonAccordion.tsx"],"names":[],"mappings":"AACA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAEvE,UAAU,sBAAsB;IAC9B,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,QAAQ,CAAC,EAAE,aAAa,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACxC,IAAI,EACJ,KAAK,EACL,OAAO,EACP,QAAQ,EACR,QAAQ,EACR,SAAc,EACd,YAAY,EACZ,UAAkB,EAClB,WAAkB,GACnB,EAAE,sBAAsB,2CAsCxB"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AiReasoningCustomStyles, UserStoryIcons, TAIReasoning } from "../../types/aiReasoning.type";
2
+ import { AiReasoningCustomStyles, UserStoryIcons, TAIReasoning, CDHeaders } from "../../types/aiReasoning.type";
3
3
  export interface AiReasoningCitationContentProps {
4
4
  aiReason: TAIReasoning;
5
5
  scenario?: "riskSideBar";
@@ -14,7 +14,8 @@ export interface AiReasoningCitationContentProps {
14
14
  customIcons?: UserStoryIcons;
15
15
  onSelectProceed?: () => void;
16
16
  isDisableProceedButton?: boolean;
17
+ cognitiveDecisionHeaders?: CDHeaders;
17
18
  }
18
- declare const AiReasoningCitationContent: ({ aiReason, scenario, customStyles, customIcons, AiReasoningIcon, reasoningIcon, gapIcon, className, onSelectProceed, isDisableProceedButton }: AiReasoningCitationContentProps) => import("react/jsx-runtime").JSX.Element;
19
+ declare const AiReasoningCitationContent: ({ aiReason, scenario, customStyles, customIcons, cognitiveDecisionHeaders, AiReasoningIcon, reasoningIcon, gapIcon, className, onSelectProceed, isDisableProceedButton }: AiReasoningCitationContentProps) => import("react/jsx-runtime").JSX.Element;
19
20
  export default AiReasoningCitationContent;
20
21
  //# sourceMappingURL=AiReasoningCitationContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AiReasoningCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,cAAc,EACd,YAAY,EACb,MAAM,8BAA8B,CAAC;AActC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,aAAa,CAAC;IAEzB,yEAAyE;IACzE,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,6DAA6D;IAC7D,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,sDAAsD;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAA;CACjC;AAGD,QAAA,MAAM,0BAA0B,mJAO7B,+BAA+B,4CAkJjC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
1
+ {"version":3,"file":"AiReasoningCitationContent.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,uBAAuB,EAEvB,cAAc,EACd,YAAY,EACZ,SAAS,EACV,MAAM,8BAA8B,CAAC;AActC,MAAM,WAAW,+BAA+B;IAC9C,QAAQ,EAAE,YAAY,CAAC;IACvB,QAAQ,CAAC,EAAE,aAAa,CAAC;IAEzB,yEAAyE;IACzE,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,6DAA6D;IAC7D,aAAa,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAChC,sDAAsD;IACtD,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,eAAe,CAAC,EAAE,MAAM,IAAI,CAAC;IAC7B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,wBAAwB,CAAC,EAAE,SAAS,CAAA;CACrC;AAGD,QAAA,MAAM,0BAA0B,6KAO7B,+BAA+B,4CAiKjC,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { UserStoryIcons } from '../../types/aiReasoning.type';
2
+ import { CDHeaders, UserStoryIcons } from '../../types/aiReasoning.type';
3
3
  import { AIReasoningType } from './GapFilterBlock';
4
4
  import { GapFilterStyles } from '../../types/gapFilterStyles.type';
5
5
  export type RefType = 'CHAT_REF' | 'UI_REF';
@@ -33,6 +33,7 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
33
33
  isGenerating?: boolean;
34
34
  customStyles?: GapFilterStyles;
35
35
  customIcons?: UserStoryIcons;
36
+ cognitiveDecisionHeaders?: CDHeaders;
36
37
  /**
37
38
  * Library consumers provide this instead of the internal microFrontendApi.
38
39
  * Called when the redirect icon (SquareArrowOutUpRight) is clicked.
@@ -50,6 +51,6 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
50
51
  };
51
52
  }) => void;
52
53
  }
53
- export declare function CustomChatCrRedirection({ isDefaultOpen, processItemId, isCompleted, mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, customStyles, customIcons }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
54
+ export declare function CustomChatCrRedirection({ isDefaultOpen, processItemId, isCompleted, mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, customStyles, customIcons, cognitiveDecisionHeaders, }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
54
55
  export {};
55
56
  //# 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":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAA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;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,aAAa,EACb,aAAa,EACb,WAAW,EACX,IAAI,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,2CA4L9B"}
1
+ {"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEzE,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,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,QA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2CA6L9B"}
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { GapFilterStyles } from '../../types/gapFilterStyles.type';
3
- import { UserStoryIcons } from '../../types/aiReasoning.type';
3
+ import { CDHeaders, UserStoryIcons } from '../../types/aiReasoning.type';
4
4
  export type GapFilterType = 'critical' | 'warning' | 'recommendation';
5
5
  export type RefType = 'CHAT_REF' | 'UI_REF';
6
6
  export interface AIReasoningType {
@@ -36,6 +36,7 @@ export interface GapFilterBlockProps {
36
36
  getShowGapReviewButtonType?: () => GapFilterType | null;
37
37
  customStyles?: GapFilterStyles;
38
38
  customIcons?: UserStoryIcons;
39
+ cognitiveDecisionHeaders?: CDHeaders;
39
40
  }
40
41
  export declare const GapFilterBlock: React.FC<GapFilterBlockProps>;
41
42
  export interface GapFilterMarkdownRendererProps {
@@ -47,6 +48,7 @@ export interface GapFilterMarkdownRendererProps {
47
48
  customStyles?: GapFilterStyles;
48
49
  customIcons?: UserStoryIcons;
49
50
  processItemId?: string;
51
+ cognitiveDecisionHeaders?: CDHeaders;
50
52
  }
51
53
  export declare const GapFilterMarkdownRenderer: React.FC<GapFilterMarkdownRendererProps>;
52
54
  //# 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;AAajF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO5E,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,EAA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CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,2BAA2B,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,0BAA0B,CAAC,EAAE,MAAM,aAAa,GAAG,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;AAID,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAgQxD,CAAC;AAIF,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,KAAK,GAAG,UAAU,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IAGjB,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAwH9E,CAAC"}
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;AAajF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAE,SAAS,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAOvF,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AACtE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAQ5C,MAAM,WAAW,e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EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;IAC7C,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1D,2BAA2B,CAAC,EAAE,CAAC,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAC3E,0BAA0B,CAAC,EAAE,MAAM,aAAa,GAAG,IAAI,CAAC;IACxD,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,wBAAwB,CAAC,EAAE,SAAS,CAAC;CACtC;AAID,eAAO,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAmQxD,CAAC;AAIF,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,KAAK,GAAG,UAAU,CAAC;IACzB,QAAQ,EAAE,MAAM,CAAC;IAGjB,GAAG,EAAE,GAAG,CAAC;IACT,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAChC,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,wBAAwB,CAAC,EAAE,SAAS,CAAA;CACrC;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CA0H9E,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { UserStoryIcons } from '../../types/aiReasoning.type';
2
+ import { CDHeaders, UserStoryIcons } from '../../types/aiReasoning.type';
3
3
  import { AIReasoningType } from './GapFilterBlock';
4
4
  import { GapFilterStyles } from '../../types/gapFilterStyles.type';
5
5
  export interface IGapFilterItem {
@@ -31,6 +31,7 @@ type GapFilterItemProps = {
31
31
  isGenerating?: boolean;
32
32
  customStyles?: GapFilterStyles;
33
33
  customIcons?: UserStoryIcons;
34
+ cognitiveDecisionHeaders?: CDHeaders;
34
35
  };
35
36
  export declare const getScoreColorStyles: (score: number) => {
36
37
  borderColor: string;
@@ -38,6 +39,6 @@ export declare const getScoreColorStyles: (score: number) => {
38
39
  color: string;
39
40
  className: string;
40
41
  };
41
- export declare const GapFilterItem: ({ isDefaultOpen, isCompleted, mode, index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, customStyles, customIcons, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
42
+ export declare const GapFilterItem: ({ isDefaultOpen, isCompleted, mode, index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, customStyles, customIcons, cognitiveDecisionHeaders, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
42
43
  export {};
43
44
  //# 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":";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,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,IAAI,CAAC;IAClB,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,qKAgBvB,kBAAkB,4CAgJpB,CAAC"}
1
+ {"version":3,"file":"GapFilterItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.tsx"],"names":[],"mappings":";AAUA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEzE,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,aAAa,EAAE,OAAO,CAAC;IACvB,WAAW,EAAE,IAAI,CAAC;IAClB,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;IAC7B,wBAAwB,CAAC,EAAE,SAAS,CAAA;CACrC,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,+LAiBvB,kBAAkB,4CAiJpB,CAAC"}
@@ -233,6 +233,8 @@ export interface AiReasoningContentStyles {
233
233
  arrowIcon?: React.CSSProperties;
234
234
  };
235
235
  explanationDivider?: React.CSSProperties;
236
+ chevronWrapper?: React.CSSProperties;
237
+ chevronIcon?: React.CSSProperties;
236
238
  }
237
239
  export interface AiReasoningCustomStyles {
238
240
  aiReasoningPill?: React.CSSProperties;
@@ -355,4 +357,9 @@ export interface UserStoryIcons {
355
357
  readFileCitationIcon?: React.ReactNode;
356
358
  citationLoadingIcon?: React.ReactNode;
357
359
  }
360
+ export interface CDHeaders {
361
+ mainHeader?: string;
362
+ decisionHeader?: string;
363
+ gapHeader?: string;
364
+ }
358
365
  //# sourceMappingURL=aiReasoning.type.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"aiReasoning.type.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/types/aiReasoning.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EACL,uBAAuB,EACvB,cAAc,EACf,MAAM,+CAA+C,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B,UAAU,GACV,SAAS,GACT,KAAK,GACL,OAAO,GACP,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,KAAK,GACL,MAAM,CAAC;AAEX,MAAM,WAAW,oBAAoB;IACnC,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,CAAC,CA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AAC;IAClC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvC"}
1
+ {"version":3,"file":"aiReasoning.type.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/types/aiReasoning.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EACL,uBAAuB,EACvB,cAAc,EACf,MAAM,+CAA+C,CAAC;AAEvD,MAAM,MAAM,YAAY,GAAG;IACzB,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;IACZ,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAC9B,UAAU,GACV,SAAS,GACT,KAAK,GACL,OAAO,GACP,MAAM,GACN,YAAY,GACZ,YAAY,GACZ,KAAK,GACL,MAAM,CAAC;AAEX,MAAM,WAAW,oBAAoB;IACnC,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,EAAE,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzB,CAAC,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACxB,CAAC,CAAC,EAAE,KAAK,CAAC,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EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,cAAc,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACjC,eAAe,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAClC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,mBAAmB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CACvC;AAED,MAAM,WAAW,SAAS;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.36",
3
+ "version": "0.0.38",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",