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