@e-llm-studio/requirement-ai 0.0.50 → 0.0.51

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.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),t=require("react"),n=require("../../store/ref.context.js"),i=t.createContext(null);exports.default=function(s){var o=s.children,u=s.userStory,a=s.setUserStory,c=s.aiReasoning,l=s.setAiReasoning,f=s.citations,d=s.setCitations,g=s.apiCachingConfig,h=s.customStyles,v=s.customIcons,y=s.searchQueryList,m=s.searchQueryReasoningIdList,x=s.citationConfig,C=s.chatHistory,p=t.useMemo(function(){if(0===u.length||0===c.length)return Array(u.length).fill(0);var e=Array.from({length:u.length},function(){return[]});return c.forEach(function(r){var t=Number(r.relevance_score);if(!(isNaN(t)||t<=0)){var n="ai_reasoning$".concat(r.id),i=u.findIndex(function(e){var r;return e.value.includes(n)||(null===(r=e.sub_features)||void 0===r?void 0:r.some(function(e){return e.value.includes(n)}))});-1!==i&&e[i].push(t)}}),e.map(function(e){return 0===e.length?0:Math.round(e.reduce(function(e,r){return e+r},0)/e.length)})},[u,c]),I=t.useCallback(function(e){var r,t=u.findIndex(function(r){return r.artifactId===e});return-1===t?0:null!==(r=p[t])&&void 0!==r?r:0},[u,p]);return r.jsx(i.Provider,e.__assign({value:{chatHistory:C,userStory:u,setUserStory:a,aiReasoning:c,setAiReasoning:l,citations:f,setCitations:d,apiCachingConfig:g,customStyles:h,customIcons:v,searchQueryList:y,searchQueryReasoningIdList:m,citationConfig:x,getAvgScoreForStory:I}},{children:r.jsx(n.RefProvider,{children:o})}))},exports.useRequirementAI=function(){var e=t.useContext(i);if(!e)throw new Error("useRequirementAI must be used within RequirementAIWrapper");return e};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),n=require("../../store/ref.context.js"),i=r.createContext(null);exports.default=function(o){var s=o.children,u=o.userStory,a=o.setUserStory,c=o.aiReasoning,l=o.setAiReasoning,f=o.citations,g=o.setCitations,d=o.apiCachingConfig,h=o.customStyles,v=o.customIcons,y=o.searchQueryList,C=o.searchQueryReasoningIdList,m=o.citationConfig,p=o.chatHistory,x=o.gptCitationConfigs,I=r.useMemo(function(){if(0===u.length||0===c.length)return Array(u.length).fill(0);var e=Array.from({length:u.length},function(){return[]});return c.forEach(function(t){var r=Number(t.relevance_score);if(!(isNaN(r)||r<=0)){var n="ai_reasoning$".concat(t.id),i=u.findIndex(function(e){var t;return e.value.includes(n)||(null===(t=e.sub_features)||void 0===t?void 0:t.some(function(e){return e.value.includes(n)}))});-1!==i&&e[i].push(r)}}),e.map(function(e){return 0===e.length?0:Math.round(e.reduce(function(e,t){return e+t},0)/e.length)})},[u,c]),R=r.useCallback(function(e){var t,r=u.findIndex(function(t){return t.artifactId===e});return-1===r?0:null!==(t=I[r])&&void 0!==t?t:0},[u,I]);return t.jsx(i.Provider,e.__assign({value:{chatHistory:p,userStory:u,setUserStory:a,aiReasoning:c,setAiReasoning:l,citations:f,setCitations:g,apiCachingConfig:d,customStyles:h,customIcons:v,searchQueryList:y,searchQueryReasoningIdList:C,citationConfig:m,getAvgScoreForStory:R,gptCitationConfigs:x}},{children:t.jsx(n.RefProvider,{children:s})}))},exports.useRequirementAI=function(){var e=r.useContext(i);if(!e)throw new Error("useRequirementAI must be used within RequirementAIWrapper");return e};
2
2
  //# sourceMappingURL=RequirementAIWrapper.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),t=require("react/jsx-runtime"),e=require("react"),n=require("react-markdown"),o=require("rehype-raw"),a=require("lucide-react"),l=require("@mui/material"),s=require("./AiReasonMarkdownWrapper.module.css.js"),d=require("../../shared/ExpandableOl.js"),c=require("../citations/web-citation/WebCitationWithImageRenderer.js"),r=require("../citations/web-citation/WebCitationRenderer.js"),u=require("../citations/image-citation/ImageCitationRenderer.js"),_=require("../citations/file-citation/FileCitationRender.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),m=require("../citations/stormee-citation/StormeeCitationRenderer.js"),p=require("../citations/audio-citation/WaveformCitationRenderer.js"),f=require("../citations/appmod-citation/AppmodCitationRenderer.js"),h=require("../citations/rca-citation/RCACitationRenderer.js"),g=require("../citations/readfile-citation/ReadFileCitationRenderer.js"),j=require("../citations/chat-citation/ChatCitationRenderer.js");function x(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var C=x(n),b=x(o),y=["appmode_citation","image_citation","audio_citation","document_citation","rca_citation","web_citation","code_generated","chat_citation","readfile_citation"],S=function(t,e,n){return i.__spreadArray([],t.map(function(t,o){var a=o>=e&&o<=n;return i.__assign(i.__assign({},t),{highlighted_text:a?t.message:""})}),!0)};exports.AiReasonMarkdownWrapper=function(n){var o=n.message,x=n.isExpandableOrderedListEnabled,q=n.customStyles,I=n.citationStyles,k=n.customIcons,R=n.onSelectProceed,M=n.isDisableProceedButton,w=e.useRef(null),N=v.useRequirementAI(),F=N.citations,W=N.citationConfig,A=N.chatHistory,L=N.chatCitationConfigs,P=e.useMemo(function(){return{h1:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h1",i.__assign({className:s.default.h1,style:null==q?void 0:q.h1},{children:null==n?void 0:n.children}))},h2:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h2",i.__assign({className:s.default.h2,style:null==q?void 0:q.h2},{children:null==n?void 0:n.children}))},h3:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h2",i.__assign({className:s.default.h3,style:null==q?void 0:q.h3},{children:null==n?void 0:n.children}))},b:function(e){return e.node,i.__rest(e,["node"]),t.jsx("b",{className:s.default.bold,style:null==q?void 0:q.b})},p:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("p",i.__assign({},n,{className:s.default.paragraph,style:null==q?void 0:q.p},{children:null==n?void 0:n.children}))},ol:function(e){e.node;var n=i.__rest(e,["node"]);return x?t.jsx(d.default,i.__assign({customStyles:null==q?void 0:q.expandOlStyle,onProceed:R,isProceedDisabled:M,aiReasoningCitation:F},{children:null==n?void 0:n.children})):t.jsx("ol",i.__assign({className:s.default.orderedList,style:null==q?void 0:q.ol},{children:null==n?void 0:n.children}))},ul:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("ul",i.__assign({className:s.default.unorderedList},{children:null==n?void 0:n.children}))},a:function(n){var o,a,d,v,x,C,b,R,M,w,N,P,O,T,D,E,H,$,z,B;n.inline;var U=n.children;n.node;var G=i.__rest(n,["inline","children","node"]),J="true"===(null==G?void 0:G.table),K="".concat(null==G?void 0:G.href),Q=null===(o=K.split("$"))||void 0===o?void 0:o[0],V=null===(a=K.split("$"))||void 0===a?void 0:a[1],X=("appmode_citation"===Q||"appmode_citations"===Q?(null==F?void 0:F.appmod_citations)||[]:"image_citation"===Q||"image_citations"===Q?(null==F?void 0:F.image_citations)||[]:"audio_citation"===Q||"audio_citations"===Q?(null==F?void 0:F.audio_citations)||[]:"document_citation"===Q||"document_citations"===Q?(null==F?void 0:F.file_citations)||[]:"rca_citation"===Q||"rca_citations"===Q?(null==F?void 0:F.rca_citations)||[]:"web_citation"===Q||"web_citations"===Q?(null==F?void 0:F.web_citations)||[]:"code_generated"===Q?(null==F?void 0:F.code_generated)||[]:("readfile_citation"===Q||"readfile_citations"===Q)&&(null==F?void 0:F.readfile_citations)||[]).find(function(i){return i.citation_number===decodeURIComponent(V)});if(y.includes(Q)&&!X){var Y=null!==(d=null==k?void 0:k.citationLoadingIcon)&&void 0!==d?d:t.jsx("span",{className:s.default.citationSpinner,style:null===(v=null==I?void 0:I.loadingCitations)||void 0===v?void 0:v.citationSpinner});return t.jsx(l.Tooltip,i.__assign({title:null!==(C=null===(x=null==I?void 0:I.loadingCitations)||void 0===x?void 0:x.tooltipTitle)&&void 0!==C?C:"".concat(Q," loading..."),arrow:!0},{children:t.jsxs("span",i.__assign({className:s.default.citationSpinnerWrapper,style:null===(b=null==I?void 0:I.loadingCitations)||void 0===b?void 0:b.citationSpinnerWrapper},{children:[U,Y]}))}))}if("chat_citation"===Q){if(!A||0===A.length)return null;var Z=V.split("-").map(Number),ii=Z[0],ti=Z[1];return ii=ii>0?ii-1:ii,ti=ti<A.length-1?ti+1:ti,t.jsx(j.default,{customIcon:null==k?void 0:k.chatCitationIcon,title:U,chatHistory:S(A,ii,ti),isTable:J,chatCitationProps:null==L?void 0:L.chatCitationProps,onCitationClick:null==L?void 0:L.handleCitationClicked,customStyles:null==I?void 0:I.chatCitation})}return"image_citation"!==Q||X?"web_citation"===(null===(R=null==X?void 0:X.customMetadata)||void 0===R?void 0:R.type)?(null===(M=X.customMetadata)||void 0===M?void 0:M.screenshot_url)?t.jsx(c.default,{title:U,citation:X,customStyles:null==I?void 0:I.webCitation,customIcons:k}):t.jsx(r.default,{label:U,url:null===(w=X.customMetadata)||void 0===w?void 0:w.link,customStyles:null==I?void 0:I.webCitation,customIcons:k}):"audio_transcript"===(null===(N=null==X?void 0:X.customMetadata)||void 0===N?void 0:N.type)?"stormee"===(null==X?void 0:X.customMetadata.audio_citation_mode)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(m.default,{title:"".concat(U),citation:X,customStyles:null==I?void 0:I.stormeeCitation,customIcons:k})})):t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(p.default,{title:"".concat(U),citation:X,customStyles:null==I?void 0:I.waveformCitation,customIcons:k})})):"image_citation"===(null==X?void 0:X.customMetadata.type)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(u.default,{title:"".concat(U),citation:X,customIcons:k,customStyles:null==I?void 0:I.imageCitation})})):"book_citation_doc"===(null===(P=null==X?void 0:X.customMetadata)||void 0===P?void 0:P.type)||"book_citation_pdf"===(null==X?void 0:X.customMetadata.type)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(_.default,{title:"".concat(U),citation:X,customIcons:k,customStyles:null==I?void 0:I.fileCitation})})):"app_mod_rag_question"===(null===(O=null==X?void 0:X.customMetadata)||void 0===O?void 0:O.type)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(f.default,{title:"".concat(U),citation:X,customIcons:k,customStyles:null==I?void 0:I.appModCitation,codeLinkConfig:null===(T=null==W?void 0:W.appMod)||void 0===T?void 0:T.codeLinkConfig,isLoading:null===(D=null==W?void 0:W.appMod)||void 0===D?void 0:D.isLoading})})):"rca_citation"===(null===(E=null==X?void 0:X.customMetadata)||void 0===E?void 0:E.type)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(h.default,{title:"".concat(U),citation:X,customIcons:k,customStyles:null==I?void 0:I.rcaCitation})})):"readfile_citation"===(null===(H=null==X?void 0:X.customMetadata)||void 0===H?void 0:H.type)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(g.default,{title:"".concat(U),citation:X,customIcons:k,customStyles:null==I?void 0:I.readFileCitation,fileCallback:null===($=null==W?void 0:W.readFile)||void 0===$?void 0:$.fileCallback,editorConfig:null===(z=null==W?void 0:W.readFile)||void 0===z?void 0:z.editorConfig,customColors:null===(B=null==W?void 0:W.readFile)||void 0===B?void 0:B.customColors})})):t.jsx("span",i.__assign({},G,{className:s.default.paragraph,style:null==q?void 0:q.p},{children:null==G?void 0:G.children})):null},code:function(e){e.inline;var n=e.children,o=e.className;return e.node,i.__rest(e,["inline","children","className","node"]),/language-(\w+)/.exec(o||"")||(null==o?void 0:o.includes("language-"))?t.jsx("div",{children:t.jsx("code",i.__assign({className:s.default.blockCode},{children:n}))}):t.jsx("code",i.__assign({className:s.default.inlineCode,style:null==q?void 0:q.code},{children:n}))},learned:function(e){var n=e.children;return t.jsx(t.Fragment,{children:t.jsx(l.Tooltip,i.__assign({title:n,placement:"top"},{children:t.jsx(a.Info,{size:16,className:s.default.learnedIcon})}))})}}},[F,x,W,A]);return t.jsx("div",i.__assign({ref:w,className:"w-full"},{children:t.jsx(C.default,i.__assign({components:P,rehypePlugins:[b.default]},{children:o}))}))},exports.formatChatData=S;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),t=require("react/jsx-runtime"),e=require("react"),n=require("react-markdown"),o=require("rehype-raw"),a=require("lucide-react"),l=require("@mui/material"),s=require("./AiReasonMarkdownWrapper.module.css.js"),d=require("../../shared/ExpandableOl.js"),r=require("../citations/web-citation/WebCitationWithImageRenderer.js"),c=require("../citations/web-citation/WebCitationRenderer.js"),u=require("../citations/image-citation/ImageCitationRenderer.js"),v=require("../citations/file-citation/FileCitationRender.js"),_=require("../RequirementAIWrapper/RequirementAIWrapper.js"),m=require("../citations/stormee-citation/StormeeCitationRenderer.js"),p=require("../citations/audio-citation/WaveformCitationRenderer.js"),f=require("../citations/appmod-citation/AppmodCitationRenderer.js"),g=require("../citations/rca-citation/RCACitationRenderer.js"),h=require("../citations/readfile-citation/ReadFileCitationRenderer.js"),j=require("../citations/chat-citation/ChatCitationRenderer.js"),C=require("@e-llm-studio/citation");function x(i){return i&&"object"==typeof i&&"default"in i?i:{default:i}}var b=x(n),y=x(o),S=["appmode_citation","image_citation","audio_citation","document_citation","rca_citation","web_citation","code_generated","chat_citation","readfile_citation"],q=function(t,e,n){return i.__spreadArray([],t.map(function(t,o){var a=o>=e&&o<=n;return i.__assign(i.__assign({},t),{highlighted_text:a?t.message:""})}),!0)};exports.AiReasonMarkdownWrapper=function(n){var o=n.message,x=n.isExpandableOrderedListEnabled,I=n.customStyles,M=n.citationStyles,R=n.customIcons,k=n.onSelectProceed,w=n.isDisableProceedButton,N=e.useRef(null),F=_.useRequirementAI(),W=F.citations,P=F.citationConfig,A=F.chatHistory,L=F.chatCitationConfigs,T=F.gptCitationConfigs,D=e.useMemo(function(){return{h1:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h1",i.__assign({className:s.default.h1,style:null==I?void 0:I.h1},{children:null==n?void 0:n.children}))},h2:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h2",i.__assign({className:s.default.h2,style:null==I?void 0:I.h2},{children:null==n?void 0:n.children}))},h3:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("h2",i.__assign({className:s.default.h3,style:null==I?void 0:I.h3},{children:null==n?void 0:n.children}))},b:function(e){return e.node,i.__rest(e,["node"]),t.jsx("b",{className:s.default.bold,style:null==I?void 0:I.b})},p:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("p",i.__assign({},n,{className:s.default.paragraph,style:null==I?void 0:I.p},{children:null==n?void 0:n.children}))},ol:function(e){e.node;var n=i.__rest(e,["node"]);return x?t.jsx(d.default,i.__assign({customStyles:null==I?void 0:I.expandOlStyle,onProceed:k,isProceedDisabled:w,aiReasoningCitation:W},{children:null==n?void 0:n.children})):t.jsx("ol",i.__assign({className:s.default.orderedList,style:null==I?void 0:I.ol},{children:null==n?void 0:n.children}))},ul:function(e){e.node;var n=i.__rest(e,["node"]);return t.jsx("ul",i.__assign({className:s.default.unorderedList},{children:null==n?void 0:n.children}))},a:function(n){var o,d,_,x,b,y,k,w,N,F,D,O,z,E,U,G,H,$,B,X,J,K,Q,V,Y,Z;n.inline;var ii=n.children;n.node;var ti=i.__rest(n,["inline","children","node"]),ei="true"===(null==ti?void 0:ti.table),ni="".concat(null==ti?void 0:ti.href),oi=null===(o=ni.split("$"))||void 0===o?void 0:o[0],ai=null===(d=ni.split("$"))||void 0===d?void 0:d[1],li=("appmode_citation"===oi||"appmode_citations"===oi?(null==W?void 0:W.appmod_citations)||[]:"image_citation"===oi||"image_citations"===oi?(null==W?void 0:W.image_citations)||[]:"audio_citation"===oi||"audio_citations"===oi?(null==W?void 0:W.audio_citations)||[]:"document_citation"===oi||"document_citations"===oi?(null==W?void 0:W.file_citations)||[]:"rca_citation"===oi||"rca_citations"===oi?(null==W?void 0:W.rca_citations)||[]:"web_citation"===oi||"web_citations"===oi?(null==W?void 0:W.web_citations)||[]:"code_generated"===oi?(null==W?void 0:W.code_generated)||[]:"readfile_citation"===oi||"readfile_citations"===oi?(null==W?void 0:W.readfile_citations)||[]:("gpt_citation"===oi||"gpt_citations"===oi)&&(null==W?void 0:W.gpt_citations)||[]).find(function(i){return i.citation_number===decodeURIComponent(ai)}),si=S.includes(oi);if("chat_citation"===oi){if(!A||0===A.length)return null;var di=ai.split("-").map(Number),ri=di[0],ci=di[1];return ri=ri>0?ri-1:ri,ci=ci<A.length-1?ci+1:ci,t.jsx(j.default,{customIcon:null==R?void 0:R.chatCitationIcon,title:ii,chatHistory:q(A,ri,ci),isTable:ei,chatCitationProps:null==L?void 0:L.chatCitationProps,onCitationClick:null==L?void 0:L.handleCitationClicked,customStyles:null==M?void 0:M.chatCitation})}if("gpt_citation"===oi&&li)return t.jsx(C.NonWebReasoningComponent,i.__assign({item:{text:"",dataSource:null===(x=null===(_=li.customMetadata)||void 0===_?void 0:_.data_sources)||void 0===x?void 0:x[0],trainingDataTitle:null===(y=null===(b=li.customMetadata)||void 0===b?void 0:b.training_data_title)||void 0===y?void 0:y[0],paraphrase:null===(w=null===(k=li.customMetadata)||void 0===k?void 0:k.paraphrase)||void 0===w?void 0:w[0]},headerTitle:(null==T?void 0:T.title)||"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:a.ChevronDown,ChevronUpIcon:a.ChevronUp,MaximizeIcon:a.Maximize2,CloseIcon:a.X}},null==T?void 0:T.gptCitationProps));if("image_citation"===oi&&!li)return null;if("web_citation"===(null===(N=null==li?void 0:li.customMetadata)||void 0===N?void 0:N.type))return(null===(F=li.customMetadata)||void 0===F?void 0:F.screenshot_url)?t.jsx(r.default,{title:ii,citation:li,customStyles:null==M?void 0:M.webCitation,customIcons:R}):t.jsx(c.default,{label:ii,url:null===(D=li.customMetadata)||void 0===D?void 0:D.link,customStyles:null==M?void 0:M.webCitation,customIcons:R});if("audio_transcript"===(null===(O=null==li?void 0:li.customMetadata)||void 0===O?void 0:O.type))return"stormee"===(null==li?void 0:li.customMetadata.audio_citation_mode)?t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(m.default,{title:"".concat(ii),citation:li,customStyles:null==M?void 0:M.stormeeCitation,customIcons:R})})):t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(p.default,{title:"".concat(ii),citation:li,customStyles:null==M?void 0:M.waveformCitation,customIcons:R})}));if("image_citation"===(null==li?void 0:li.customMetadata.type))return t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(u.default,{title:"".concat(ii),citation:li,customIcons:R,customStyles:null==M?void 0:M.imageCitation})}));if("book_citation_doc"===(null===(z=null==li?void 0:li.customMetadata)||void 0===z?void 0:z.type)||"book_citation_pdf"===(null==li?void 0:li.customMetadata.type))return t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(v.default,{title:"".concat(ii),citation:li,customIcons:R,customStyles:null==M?void 0:M.fileCitation})}));if("app_mod_rag_question"===(null===(E=null==li?void 0:li.customMetadata)||void 0===E?void 0:E.type))return t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(f.default,{title:"".concat(ii),citation:li,customIcons:R,customStyles:null==M?void 0:M.appModCitation,codeLinkConfig:null===(U=null==P?void 0:P.appMod)||void 0===U?void 0:U.codeLinkConfig,isLoading:null===(G=null==P?void 0:P.appMod)||void 0===G?void 0:G.isLoading})}));if("rca_citation"===(null===(H=null==li?void 0:li.customMetadata)||void 0===H?void 0:H.type))return t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(g.default,{title:"".concat(ii),citation:li,customIcons:R,customStyles:null==M?void 0:M.rcaCitation})}));if("readfile_citation"===(null===($=null==li?void 0:li.customMetadata)||void 0===$?void 0:$.type))return t.jsx(e.Suspense,i.__assign({fallback:t.jsx(t.Fragment,{})},{children:t.jsx(h.default,{title:"".concat(ii),citation:li,customIcons:R,customStyles:null==M?void 0:M.readFileCitation,fileCallback:null===(B=null==P?void 0:P.readFile)||void 0===B?void 0:B.fileCallback,editorConfig:null===(X=null==P?void 0:P.readFile)||void 0===X?void 0:X.editorConfig,customColors:null===(J=null==P?void 0:P.readFile)||void 0===J?void 0:J.customColors})}));if(si&&!li){var ui=null!==(K=null==R?void 0:R.citationLoadingIcon)&&void 0!==K?K:t.jsx("span",{className:s.default.citationSpinner,style:null===(Q=null==M?void 0:M.loadingCitations)||void 0===Q?void 0:Q.citationSpinner});return t.jsx(l.Tooltip,i.__assign({title:null!==(Y=null===(V=null==M?void 0:M.loadingCitations)||void 0===V?void 0:V.tooltipTitle)&&void 0!==Y?Y:"".concat(oi," loading..."),arrow:!0},{children:t.jsxs("span",i.__assign({className:s.default.citationSpinnerWrapper,style:null===(Z=null==M?void 0:M.loadingCitations)||void 0===Z?void 0:Z.citationSpinnerWrapper},{children:[ii,ui]}))}))}return t.jsx("span",i.__assign({},ti,{className:s.default.paragraph,style:null==I?void 0:I.p},{children:null==ti?void 0:ti.children}))},code:function(e){e.inline;var n=e.children,o=e.className;return e.node,i.__rest(e,["inline","children","className","node"]),/language-(\w+)/.exec(o||"")||(null==o?void 0:o.includes("language-"))?t.jsx("div",{children:t.jsx("code",i.__assign({className:s.default.blockCode},{children:n}))}):t.jsx("code",i.__assign({className:s.default.inlineCode,style:null==I?void 0:I.code},{children:n}))},learned:function(e){var n=e.children;return t.jsx(t.Fragment,{children:t.jsx(l.Tooltip,i.__assign({title:n,placement:"top"},{children:t.jsx(a.Info,{size:16,className:s.default.learnedIcon})}))})}}},[W,x,P,A]);return t.jsx("div",i.__assign({ref:N,className:"w-full"},{children:t.jsx(b.default,i.__assign({components:D,rehypePlugins:[y.default]},{children:o}))}))},exports.formatChatData=q;
2
2
  //# sourceMappingURL=AiReasonMarkdownWrapper.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as t}from"react/jsx-runtime";import{createContext as n,useMemo as e,useCallback as i,useContext as o}from"react";import{RefProvider as s}from"../../store/ref.context.js";var a=n(null),u=function(n){var o=n.children,u=n.userStory,c=n.setUserStory,f=n.aiReasoning,l=n.setAiReasoning,h=n.citations,g=n.setCitations,d=n.apiCachingConfig,m=n.customStyles,v=n.customIcons,y=n.searchQueryList,p=n.searchQueryReasoningIdList,I=n.citationConfig,C=n.chatHistory,R=e(function(){if(0===u.length||0===f.length)return Array(u.length).fill(0);var r=Array.from({length:u.length},function(){return[]});return f.forEach(function(t){var n=Number(t.relevance_score);if(!(isNaN(n)||n<=0)){var e="ai_reasoning$".concat(t.id),i=u.findIndex(function(r){var t;return r.value.includes(e)||(null===(t=r.sub_features)||void 0===t?void 0:t.some(function(r){return r.value.includes(e)}))});-1!==i&&r[i].push(n)}}),r.map(function(r){return 0===r.length?0:Math.round(r.reduce(function(r,t){return r+t},0)/r.length)})},[u,f]),S=i(function(r){var t,n=u.findIndex(function(t){return t.artifactId===r});return-1===n?0:null!==(t=R[n])&&void 0!==t?t:0},[u,R]);return t(a.Provider,r({value:{chatHistory:C,userStory:u,setUserStory:c,aiReasoning:f,setAiReasoning:l,citations:h,setCitations:g,apiCachingConfig:d,customStyles:m,customIcons:v,searchQueryList:y,searchQueryReasoningIdList:p,citationConfig:I,getAvgScoreForStory:S}},{children:t(s,{children:o})}))},c=function(){var r=o(a);if(!r)throw new Error("useRequirementAI must be used within RequirementAIWrapper");return r};export{u as default,c as useRequirementAI};
1
+ import{__assign as t}from"tslib";import{jsx as n}from"react/jsx-runtime";import{createContext as r,useMemo as e,useCallback as i,useContext as o}from"react";import{RefProvider as s}from"../../store/ref.context.js";var a=r(null),u=function(r){var o=r.children,u=r.userStory,c=r.setUserStory,f=r.aiReasoning,l=r.setAiReasoning,g=r.citations,h=r.setCitations,d=r.apiCachingConfig,m=r.customStyles,v=r.customIcons,y=r.searchQueryList,p=r.searchQueryReasoningIdList,C=r.citationConfig,I=r.chatHistory,R=r.gptCitationConfigs,S=e(function(){if(0===u.length||0===f.length)return Array(u.length).fill(0);var t=Array.from({length:u.length},function(){return[]});return f.forEach(function(n){var r=Number(n.relevance_score);if(!(isNaN(r)||r<=0)){var e="ai_reasoning$".concat(n.id),i=u.findIndex(function(t){var n;return t.value.includes(e)||(null===(n=t.sub_features)||void 0===n?void 0:n.some(function(t){return t.value.includes(e)}))});-1!==i&&t[i].push(r)}}),t.map(function(t){return 0===t.length?0:Math.round(t.reduce(function(t,n){return t+n},0)/t.length)})},[u,f]),A=i(function(t){var n,r=u.findIndex(function(n){return n.artifactId===t});return-1===r?0:null!==(n=S[r])&&void 0!==n?n:0},[u,S]);return n(a.Provider,t({value:{chatHistory:I,userStory:u,setUserStory:c,aiReasoning:f,setAiReasoning:l,citations:g,setCitations:h,apiCachingConfig:d,customStyles:m,customIcons:v,searchQueryList:y,searchQueryReasoningIdList:p,citationConfig:C,getAvgScoreForStory:A,gptCitationConfigs:R}},{children:n(s,{children:o})}))},c=function(){var t=o(a);if(!t)throw new Error("useRequirementAI must be used within RequirementAIWrapper");return t};export{u as default,c as useRequirementAI};
2
2
  //# sourceMappingURL=RequirementAIWrapper.js.map
@@ -1,2 +1,2 @@
1
- import{__rest as i,__assign as t,__spreadArray as o}from"tslib";import{jsx as n,jsxs as e,Fragment as l}from"react/jsx-runtime";import{useRef as a,useMemo as c,Suspense as d}from"react";import r from"react-markdown";import s from"rehype-raw";import{Info as u}from"lucide-react";import{Tooltip as m}from"@mui/material";import v from"./AiReasonMarkdownWrapper.module.css.js";import p from"../../shared/ExpandableOl.js";import h from"../citations/web-citation/WebCitationWithImageRenderer.js";import f from"../citations/web-citation/WebCitationRenderer.js";import _ from"../citations/image-citation/ImageCitationRenderer.js";import C from"../citations/file-citation/FileCitationRender.js";import{useRequirementAI as g}from"../RequirementAIWrapper/RequirementAIWrapper.js";import b from"../citations/stormee-citation/StormeeCitationRenderer.js";import y from"../citations/audio-citation/WaveformCitationRenderer.js";import S from"../citations/appmod-citation/AppmodCitationRenderer.js";import k from"../citations/rca-citation/RCACitationRenderer.js";import I from"../citations/readfile-citation/ReadFileCitationRenderer.js";import N from"../citations/chat-citation/ChatCitationRenderer.js";var R=["appmode_citation","image_citation","audio_citation","document_citation","rca_citation","web_citation","code_generated","chat_citation","readfile_citation"],w=function(i,n,e){return o([],i.map(function(i,o){var l=o>=n&&o<=e;return t(t({},i),{highlighted_text:l?i.message:""})}),!0)},M=function(o){var M=o.message,j=o.isExpandableOrderedListEnabled,W=o.customStyles,L=o.citationStyles,x=o.customIcons,P=o.onSelectProceed,F=o.isDisableProceedButton,A=a(null),q=g(),E=q.citations,O=q.citationConfig,D=q.chatHistory,H=q.chatCitationConfigs,T=c(function(){return{h1:function(o){o.node;var e=i(o,["node"]);return n("h1",t({className:v.h1,style:null==W?void 0:W.h1},{children:null==e?void 0:e.children}))},h2:function(o){o.node;var e=i(o,["node"]);return n("h2",t({className:v.h2,style:null==W?void 0:W.h2},{children:null==e?void 0:e.children}))},h3:function(o){o.node;var e=i(o,["node"]);return n("h2",t({className:v.h3,style:null==W?void 0:W.h3},{children:null==e?void 0:e.children}))},b:function(t){return t.node,i(t,["node"]),n("b",{className:v.bold,style:null==W?void 0:W.b})},p:function(o){o.node;var e=i(o,["node"]);return n("p",t({},e,{className:v.paragraph,style:null==W?void 0:W.p},{children:null==e?void 0:e.children}))},ol:function(o){o.node;var e=i(o,["node"]);return j?n(p,t({customStyles:null==W?void 0:W.expandOlStyle,onProceed:P,isProceedDisabled:F,aiReasoningCitation:E},{children:null==e?void 0:e.children})):n("ol",t({className:v.orderedList,style:null==W?void 0:W.ol},{children:null==e?void 0:e.children}))},ul:function(o){o.node;var e=i(o,["node"]);return n("ul",t({className:v.unorderedList},{children:null==e?void 0:e.children}))},a:function(o){var a,c,r,s,u,p,g,M,j,P,F,A,q,T,$,z,B,U,G,J;o.inline;var K=o.children;o.node;var Q=i(o,["inline","children","node"]),V="true"===(null==Q?void 0:Q.table),X="".concat(null==Q?void 0:Q.href),Y=null===(a=X.split("$"))||void 0===a?void 0:a[0],Z=null===(c=X.split("$"))||void 0===c?void 0:c[1],ii=("appmode_citation"===Y||"appmode_citations"===Y?(null==E?void 0:E.appmod_citations)||[]:"image_citation"===Y||"image_citations"===Y?(null==E?void 0:E.image_citations)||[]:"audio_citation"===Y||"audio_citations"===Y?(null==E?void 0:E.audio_citations)||[]:"document_citation"===Y||"document_citations"===Y?(null==E?void 0:E.file_citations)||[]:"rca_citation"===Y||"rca_citations"===Y?(null==E?void 0:E.rca_citations)||[]:"web_citation"===Y||"web_citations"===Y?(null==E?void 0:E.web_citations)||[]:"code_generated"===Y?(null==E?void 0:E.code_generated)||[]:("readfile_citation"===Y||"readfile_citations"===Y)&&(null==E?void 0:E.readfile_citations)||[]).find(function(i){return i.citation_number===decodeURIComponent(Z)});if(R.includes(Y)&&!ii){var ti=null!==(r=null==x?void 0:x.citationLoadingIcon)&&void 0!==r?r:n("span",{className:v.citationSpinner,style:null===(s=null==L?void 0:L.loadingCitations)||void 0===s?void 0:s.citationSpinner});return n(m,t({title:null!==(p=null===(u=null==L?void 0:L.loadingCitations)||void 0===u?void 0:u.tooltipTitle)&&void 0!==p?p:"".concat(Y," loading..."),arrow:!0},{children:e("span",t({className:v.citationSpinnerWrapper,style:null===(g=null==L?void 0:L.loadingCitations)||void 0===g?void 0:g.citationSpinnerWrapper},{children:[K,ti]}))}))}if("chat_citation"===Y){if(!D||0===D.length)return null;var oi=Z.split("-").map(Number),ni=oi[0],ei=oi[1];return ni=ni>0?ni-1:ni,ei=ei<D.length-1?ei+1:ei,n(N,{customIcon:null==x?void 0:x.chatCitationIcon,title:K,chatHistory:w(D,ni,ei),isTable:V,chatCitationProps:null==H?void 0:H.chatCitationProps,onCitationClick:null==H?void 0:H.handleCitationClicked,customStyles:null==L?void 0:L.chatCitation})}return"image_citation"!==Y||ii?"web_citation"===(null===(M=null==ii?void 0:ii.customMetadata)||void 0===M?void 0:M.type)?(null===(j=ii.customMetadata)||void 0===j?void 0:j.screenshot_url)?n(h,{title:K,citation:ii,customStyles:null==L?void 0:L.webCitation,customIcons:x}):n(f,{label:K,url:null===(P=ii.customMetadata)||void 0===P?void 0:P.link,customStyles:null==L?void 0:L.webCitation,customIcons:x}):"audio_transcript"===(null===(F=null==ii?void 0:ii.customMetadata)||void 0===F?void 0:F.type)?"stormee"===(null==ii?void 0:ii.customMetadata.audio_citation_mode)?n(d,t({fallback:n(l,{})},{children:n(b,{title:"".concat(K),citation:ii,customStyles:null==L?void 0:L.stormeeCitation,customIcons:x})})):n(d,t({fallback:n(l,{})},{children:n(y,{title:"".concat(K),citation:ii,customStyles:null==L?void 0:L.waveformCitation,customIcons:x})})):"image_citation"===(null==ii?void 0:ii.customMetadata.type)?n(d,t({fallback:n(l,{})},{children:n(_,{title:"".concat(K),citation:ii,customIcons:x,customStyles:null==L?void 0:L.imageCitation})})):"book_citation_doc"===(null===(A=null==ii?void 0:ii.customMetadata)||void 0===A?void 0:A.type)||"book_citation_pdf"===(null==ii?void 0:ii.customMetadata.type)?n(d,t({fallback:n(l,{})},{children:n(C,{title:"".concat(K),citation:ii,customIcons:x,customStyles:null==L?void 0:L.fileCitation})})):"app_mod_rag_question"===(null===(q=null==ii?void 0:ii.customMetadata)||void 0===q?void 0:q.type)?n(d,t({fallback:n(l,{})},{children:n(S,{title:"".concat(K),citation:ii,customIcons:x,customStyles:null==L?void 0:L.appModCitation,codeLinkConfig:null===(T=null==O?void 0:O.appMod)||void 0===T?void 0:T.codeLinkConfig,isLoading:null===($=null==O?void 0:O.appMod)||void 0===$?void 0:$.isLoading})})):"rca_citation"===(null===(z=null==ii?void 0:ii.customMetadata)||void 0===z?void 0:z.type)?n(d,t({fallback:n(l,{})},{children:n(k,{title:"".concat(K),citation:ii,customIcons:x,customStyles:null==L?void 0:L.rcaCitation})})):"readfile_citation"===(null===(B=null==ii?void 0:ii.customMetadata)||void 0===B?void 0:B.type)?n(d,t({fallback:n(l,{})},{children:n(I,{title:"".concat(K),citation:ii,customIcons:x,customStyles:null==L?void 0:L.readFileCitation,fileCallback:null===(U=null==O?void 0:O.readFile)||void 0===U?void 0:U.fileCallback,editorConfig:null===(G=null==O?void 0:O.readFile)||void 0===G?void 0:G.editorConfig,customColors:null===(J=null==O?void 0:O.readFile)||void 0===J?void 0:J.customColors})})):n("span",t({},Q,{className:v.paragraph,style:null==W?void 0:W.p},{children:null==Q?void 0:Q.children})):null},code:function(o){o.inline;var e=o.children,l=o.className;return o.node,i(o,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?n("div",{children:n("code",t({className:v.blockCode},{children:e}))}):n("code",t({className:v.inlineCode,style:null==W?void 0:W.code},{children:e}))},learned:function(i){var o=i.children;return n(l,{children:n(m,t({title:o,placement:"top"},{children:n(u,{size:16,className:v.learnedIcon})}))})}}},[E,j,O,D]);return n("div",t({ref:A,className:"w-full"},{children:n(r,t({components:T,rehypePlugins:[s]},{children:M}))}))};export{M as AiReasonMarkdownWrapper,w as formatChatData};
1
+ import{__rest as i,__assign as t,__spreadArray as o}from"tslib";import{jsx as n,Fragment as e,jsxs as l}from"react/jsx-runtime";import{useRef as a,useMemo as c,Suspense as d}from"react";import r from"react-markdown";import u from"rehype-raw";import{ChevronDown as s,ChevronUp as m,Maximize2 as v,X as p,Info as f}from"lucide-react";import{Tooltip as h}from"@mui/material";import _ from"./AiReasonMarkdownWrapper.module.css.js";import C from"../../shared/ExpandableOl.js";import g from"../citations/web-citation/WebCitationWithImageRenderer.js";import b from"../citations/web-citation/WebCitationRenderer.js";import y from"../citations/image-citation/ImageCitationRenderer.js";import I from"../citations/file-citation/FileCitationRender.js";import{useRequirementAI as S}from"../RequirementAIWrapper/RequirementAIWrapper.js";import k from"../citations/stormee-citation/StormeeCitationRenderer.js";import M from"../citations/audio-citation/WaveformCitationRenderer.js";import w from"../citations/appmod-citation/AppmodCitationRenderer.js";import N from"../citations/rca-citation/RCACitationRenderer.js";import R from"../citations/readfile-citation/ReadFileCitationRenderer.js";import j from"../citations/chat-citation/ChatCitationRenderer.js";import{NonWebReasoningComponent as x}from"@e-llm-studio/citation";var P=["appmode_citation","image_citation","audio_citation","document_citation","rca_citation","web_citation","code_generated","chat_citation","readfile_citation"],W=function(i,n,e){return o([],i.map(function(i,o){var l=o>=n&&o<=e;return t(t({},i),{highlighted_text:l?i.message:""})}),!0)},L=function(o){var L=o.message,F=o.isExpandableOrderedListEnabled,A=o.customStyles,T=o.citationStyles,D=o.customIcons,q=o.onSelectProceed,E=o.isDisableProceedButton,O=a(null),z=S(),G=z.citations,H=z.citationConfig,U=z.chatHistory,$=z.chatCitationConfigs,B=z.gptCitationConfigs,J=c(function(){return{h1:function(o){o.node;var e=i(o,["node"]);return n("h1",t({className:_.h1,style:null==A?void 0:A.h1},{children:null==e?void 0:e.children}))},h2:function(o){o.node;var e=i(o,["node"]);return n("h2",t({className:_.h2,style:null==A?void 0:A.h2},{children:null==e?void 0:e.children}))},h3:function(o){o.node;var e=i(o,["node"]);return n("h2",t({className:_.h3,style:null==A?void 0:A.h3},{children:null==e?void 0:e.children}))},b:function(t){return t.node,i(t,["node"]),n("b",{className:_.bold,style:null==A?void 0:A.b})},p:function(o){o.node;var e=i(o,["node"]);return n("p",t({},e,{className:_.paragraph,style:null==A?void 0:A.p},{children:null==e?void 0:e.children}))},ol:function(o){o.node;var e=i(o,["node"]);return F?n(C,t({customStyles:null==A?void 0:A.expandOlStyle,onProceed:q,isProceedDisabled:E,aiReasoningCitation:G},{children:null==e?void 0:e.children})):n("ol",t({className:_.orderedList,style:null==A?void 0:A.ol},{children:null==e?void 0:e.children}))},ul:function(o){o.node;var e=i(o,["node"]);return n("ul",t({className:_.unorderedList},{children:null==e?void 0:e.children}))},a:function(o){var a,c,r,u,f,C,S,L,F,q,E,O,z,J,K,Q,V,X,Y,Z,ii,ti,oi,ni,ei,li;o.inline;var ai=o.children;o.node;var ci=i(o,["inline","children","node"]),di="true"===(null==ci?void 0:ci.table),ri="".concat(null==ci?void 0:ci.href),ui=null===(a=ri.split("$"))||void 0===a?void 0:a[0],si=null===(c=ri.split("$"))||void 0===c?void 0:c[1],mi=("appmode_citation"===ui||"appmode_citations"===ui?(null==G?void 0:G.appmod_citations)||[]:"image_citation"===ui||"image_citations"===ui?(null==G?void 0:G.image_citations)||[]:"audio_citation"===ui||"audio_citations"===ui?(null==G?void 0:G.audio_citations)||[]:"document_citation"===ui||"document_citations"===ui?(null==G?void 0:G.file_citations)||[]:"rca_citation"===ui||"rca_citations"===ui?(null==G?void 0:G.rca_citations)||[]:"web_citation"===ui||"web_citations"===ui?(null==G?void 0:G.web_citations)||[]:"code_generated"===ui?(null==G?void 0:G.code_generated)||[]:"readfile_citation"===ui||"readfile_citations"===ui?(null==G?void 0:G.readfile_citations)||[]:("gpt_citation"===ui||"gpt_citations"===ui)&&(null==G?void 0:G.gpt_citations)||[]).find(function(i){return i.citation_number===decodeURIComponent(si)}),vi=P.includes(ui);if("chat_citation"===ui){if(!U||0===U.length)return null;var pi=si.split("-").map(Number),fi=pi[0],hi=pi[1];return fi=fi>0?fi-1:fi,hi=hi<U.length-1?hi+1:hi,n(j,{customIcon:null==D?void 0:D.chatCitationIcon,title:ai,chatHistory:W(U,fi,hi),isTable:di,chatCitationProps:null==$?void 0:$.chatCitationProps,onCitationClick:null==$?void 0:$.handleCitationClicked,customStyles:null==T?void 0:T.chatCitation})}if("gpt_citation"===ui&&mi)return n(x,t({item:{text:"",dataSource:null===(u=null===(r=mi.customMetadata)||void 0===r?void 0:r.data_sources)||void 0===u?void 0:u[0],trainingDataTitle:null===(C=null===(f=mi.customMetadata)||void 0===f?void 0:f.training_data_title)||void 0===C?void 0:C[0],paraphrase:null===(L=null===(S=mi.customMetadata)||void 0===S?void 0:S.paraphrase)||void 0===L?void 0:L[0]},headerTitle:(null==B?void 0:B.title)||"GPT - Gemini 2.5 Flash",iconsConfig:{ChevronDownIcon:s,ChevronUpIcon:m,MaximizeIcon:v,CloseIcon:p}},null==B?void 0:B.gptCitationProps));if("image_citation"===ui&&!mi)return null;if("web_citation"===(null===(F=null==mi?void 0:mi.customMetadata)||void 0===F?void 0:F.type))return(null===(q=mi.customMetadata)||void 0===q?void 0:q.screenshot_url)?n(g,{title:ai,citation:mi,customStyles:null==T?void 0:T.webCitation,customIcons:D}):n(b,{label:ai,url:null===(E=mi.customMetadata)||void 0===E?void 0:E.link,customStyles:null==T?void 0:T.webCitation,customIcons:D});if("audio_transcript"===(null===(O=null==mi?void 0:mi.customMetadata)||void 0===O?void 0:O.type))return"stormee"===(null==mi?void 0:mi.customMetadata.audio_citation_mode)?n(d,t({fallback:n(e,{})},{children:n(k,{title:"".concat(ai),citation:mi,customStyles:null==T?void 0:T.stormeeCitation,customIcons:D})})):n(d,t({fallback:n(e,{})},{children:n(M,{title:"".concat(ai),citation:mi,customStyles:null==T?void 0:T.waveformCitation,customIcons:D})}));if("image_citation"===(null==mi?void 0:mi.customMetadata.type))return n(d,t({fallback:n(e,{})},{children:n(y,{title:"".concat(ai),citation:mi,customIcons:D,customStyles:null==T?void 0:T.imageCitation})}));if("book_citation_doc"===(null===(z=null==mi?void 0:mi.customMetadata)||void 0===z?void 0:z.type)||"book_citation_pdf"===(null==mi?void 0:mi.customMetadata.type))return n(d,t({fallback:n(e,{})},{children:n(I,{title:"".concat(ai),citation:mi,customIcons:D,customStyles:null==T?void 0:T.fileCitation})}));if("app_mod_rag_question"===(null===(J=null==mi?void 0:mi.customMetadata)||void 0===J?void 0:J.type))return n(d,t({fallback:n(e,{})},{children:n(w,{title:"".concat(ai),citation:mi,customIcons:D,customStyles:null==T?void 0:T.appModCitation,codeLinkConfig:null===(K=null==H?void 0:H.appMod)||void 0===K?void 0:K.codeLinkConfig,isLoading:null===(Q=null==H?void 0:H.appMod)||void 0===Q?void 0:Q.isLoading})}));if("rca_citation"===(null===(V=null==mi?void 0:mi.customMetadata)||void 0===V?void 0:V.type))return n(d,t({fallback:n(e,{})},{children:n(N,{title:"".concat(ai),citation:mi,customIcons:D,customStyles:null==T?void 0:T.rcaCitation})}));if("readfile_citation"===(null===(X=null==mi?void 0:mi.customMetadata)||void 0===X?void 0:X.type))return n(d,t({fallback:n(e,{})},{children:n(R,{title:"".concat(ai),citation:mi,customIcons:D,customStyles:null==T?void 0:T.readFileCitation,fileCallback:null===(Y=null==H?void 0:H.readFile)||void 0===Y?void 0:Y.fileCallback,editorConfig:null===(Z=null==H?void 0:H.readFile)||void 0===Z?void 0:Z.editorConfig,customColors:null===(ii=null==H?void 0:H.readFile)||void 0===ii?void 0:ii.customColors})}));if(vi&&!mi){var _i=null!==(ti=null==D?void 0:D.citationLoadingIcon)&&void 0!==ti?ti:n("span",{className:_.citationSpinner,style:null===(oi=null==T?void 0:T.loadingCitations)||void 0===oi?void 0:oi.citationSpinner});return n(h,t({title:null!==(ei=null===(ni=null==T?void 0:T.loadingCitations)||void 0===ni?void 0:ni.tooltipTitle)&&void 0!==ei?ei:"".concat(ui," loading..."),arrow:!0},{children:l("span",t({className:_.citationSpinnerWrapper,style:null===(li=null==T?void 0:T.loadingCitations)||void 0===li?void 0:li.citationSpinnerWrapper},{children:[ai,_i]}))}))}return n("span",t({},ci,{className:_.paragraph,style:null==A?void 0:A.p},{children:null==ci?void 0:ci.children}))},code:function(o){o.inline;var e=o.children,l=o.className;return o.node,i(o,["inline","children","className","node"]),/language-(\w+)/.exec(l||"")||(null==l?void 0:l.includes("language-"))?n("div",{children:n("code",t({className:_.blockCode},{children:e}))}):n("code",t({className:_.inlineCode,style:null==A?void 0:A.code},{children:e}))},learned:function(i){var o=i.children;return n(e,{children:n(h,t({title:o,placement:"top"},{children:n(f,{size:16,className:_.learnedIcon})}))})}}},[G,F,H,U]);return n("div",t({ref:O,className:"w-full"},{children:n(r,t({components:J,rehypePlugins:[u]},{children:L}))}))};export{L as AiReasonMarkdownWrapper,W as formatChatData};
2
2
  //# sourceMappingURL=AiReasonMarkdownWrapper.js.map
@@ -235,6 +235,10 @@ interface IRequirementAIContext {
235
235
  handleCitationClicked?: () => void;
236
236
  chatCitationProps?: any;
237
237
  };
238
+ gptCitationConfigs?: {
239
+ title?: string;
240
+ gptCitationProps?: any;
241
+ };
238
242
  aiReasoning: TAIReasoning[];
239
243
  setAiReasoning: React.Dispatch<React.SetStateAction<TAIReasoning[]>>;
240
244
  citations: UserStoryCitations;
@@ -267,6 +271,10 @@ interface RequirementAIWrapperProps {
267
271
  handleCitationClicked?: () => void;
268
272
  chatCitationProps?: any;
269
273
  };
274
+ gptCitationConfigs?: {
275
+ title?: string;
276
+ gptCitationProps?: any;
277
+ };
270
278
  aiReasoning: TAIReasoning[];
271
279
  setAiReasoning: React.Dispatch<React.SetStateAction<TAIReasoning[]>>;
272
280
  citations: UserStoryCitations;
@@ -278,7 +286,7 @@ interface RequirementAIWrapperProps {
278
286
  customIcons?: IRequirementAIContext["customIcons"];
279
287
  citationConfig?: CitationConfig;
280
288
  }
281
- declare const RequirementAIWrapper: ({ children, userStory, setUserStory, aiReasoning, setAiReasoning, citations, setCitations, apiCachingConfig, customStyles, customIcons, searchQueryList, searchQueryReasoningIdList, citationConfig, chatHistory }: RequirementAIWrapperProps) => import("react/jsx-runtime").JSX.Element;
289
+ declare const RequirementAIWrapper: ({ children, userStory, setUserStory, aiReasoning, setAiReasoning, citations, setCitations, apiCachingConfig, customStyles, customIcons, searchQueryList, searchQueryReasoningIdList, citationConfig, chatHistory, gptCitationConfigs }: RequirementAIWrapperProps) => import("react/jsx-runtime").JSX.Element;
282
290
  export declare const useRequirementAI: () => IRequirementAIContext;
283
291
  export default RequirementAIWrapper;
284
292
  //# sourceMappingURL=RequirementAIWrapper.d.ts.map
@@ -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,EAAwB,MAAM,OAAO,CAAC;A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AO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAwB,MAAM,OAAO,CAAC;AAC1F,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,EACL,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAE3G,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAE7G,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EAAE;QACtB,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACvC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAC7B,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACjC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACnC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QAClC,cAAc,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACrC,aAAa,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;QACpC,eA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S,EAAE,kBAAkB,CAAC;IAC9B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEvE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,0BAA0B,EAAE,MAAM,EAAE,CAAC;IAErC,gBAAgB,EAAE,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;IAC5D,YAAY,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAC;IACrD,WAAW,CAAC,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACnD,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC;AAID,QAAA,MAAM,oBAAoB,2OAgBvB,yBAAyB,4CA+D3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"AiReasonMarkdownWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.tsx"],"names":[],"mappings":"AAqCA,OAAO,EACL,yBAAyB,EAEzB,cAAc,EACd,oBAAoB,EACrB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAsCvE,eAAO,MAAM,cAAc,gBACZ,gBAAgB,EAAE,cACnB,MAAM,YACR,MAAM,KACf,gBAAgB,EAUlB,CAAC;AAEF,eAAO,MAAM,uBAAuB;aASzB,MAAM;;;;;6BAKS,IAAI;;6CAqT7B,CAAC"}
1
+ {"version":3,"file":"AiReasonMarkdownWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/AiReasonMarkdownWrapper.tsx"],"names":[],"mappings":"AAqCA,OAAO,EACL,yBAAyB,EAEzB,cAAc,EACd,oBAAoB,EACrB,MAAM,8BAA8B,CAAC;AAItC,OAAO,EAAE,gBAAgB,EAAE,MAAM,qCAAqC,CAAC;AAuCvE,eAAO,MAAM,cAAc,gBACZ,gBAAgB,EAAE,cACnB,MAAM,YACR,MAAM,KACf,gBAAgB,EAUlB,CAAC;AAEF,eAAO,MAAM,uBAAuB;aASzB,MAAM;;;;;6BAKS,IAAI;;6CAqT7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.50",
3
+ "version": "0.0.51",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",
@@ -447,7 +447,8 @@
447
447
  "ts-loader": "9.5.1",
448
448
  "typescript": "4.9.5",
449
449
  "wavesurfer.js": "^7.12.1",
450
- "webpack-bundle-analyzer": "^4.10.2"
450
+ "webpack-bundle-analyzer": "^4.10.2",
451
+ "@e-llm-studio/citation": "^0.0.164"
451
452
  },
452
453
  "peerDependencies": {
453
454
  "@emotion/react": "^11.13.5",