@e-llm-studio/requirement-ai 0.0.35 → 0.0.36
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/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/cjs/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/cjs/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/cjs/features/RequirementAI/shared/UpdatedAnimationContent.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js +1 -1
- package/dist/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.js +1 -1
- package/dist/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js +1 -1
- package/dist/features/RequirementAI/shared/UpdatedAnimationContent.js +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 +1 -0
- 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/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 +2 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/shared/UpdatedAnimationContent.d.ts.map +1 -1
- package/package.json +1 -1
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"),i=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),a=require("./CustomChatCrRedirection.module.css.js"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),o=require("../../icons/CognitiveDecision.js");exports.CustomChatCrRedirection=function(t){var r=t.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),a=require("./CustomChatCrRedirection.module.css.js"),l=require("../ai-reasoning/AiReasoningCitationContent.js"),o=require("../../icons/CognitiveDecision.js");exports.CustomChatCrRedirection=function(t){var r=t.isDefaultOpen,d=t.processItemId,c=t.isCompleted,u=t.mode,g=t.msg,v=t.type,_=t.id,p=t.aiReason,f=t.text,x=t.headerText,m=t.decisionStrength;t.statusUi,t.panelRef;var h=t.onHandleSend,j=t.onRedirectClick,y=t.gapType,C=t.isGenerating,b=void 0!==C&&C,N=t.customStyles,D=t.customIcons,I=n.useState(r),S=I[0],R=I[1];console.log("testing::reasoning",p);var T=(null==D?void 0:D.highConfidence)||i.jsx(o.default,{}),k=function(){"cra"===u?null==h||h("Discuss ambiguities on ".concat(f),_):null==h||h("Deep Dive into ".concat(y," ").concat(x,": ").concat(f),_)};return console.log("testing::aiReasoning",p),i.jsxs("div",e.__assign({className:[a.default.outerWrapper,b?a.default.outerWrapperDisabled:""].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionOuterWrapper),b?null==N?void 0:N.redirectionOuterWrapperDisabled:{})},{children:[i.jsxs("div",e.__assign({className:[a.default.card,b?a.default.cardDisabled:a.default.cardInteractive].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionCard),b?null==N?void 0:N.redirectionCardDisabled:null==N?void 0:N.redirectionCardInteractive)},{children:[i.jsxs("div",e.__assign({className:a.default.leftSide,style:null==N?void 0:N.redirectionLeftSide},{children:[i.jsxs("span",e.__assign({className:a.default.textBlock,style:null==N?void 0:N.redirectionTextBlock},{children:[x&&i.jsxs("span",e.__assign({className:a.default.headerText,style:null==N?void 0:N.redirectionHeaderText},{children:[x,f?" ":""]})),f]})),i.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),b||R(!S)},className:[a.default.reasoningToggle,b?a.default.reasoningToggleDisabled:a.default.reasoningToggleActive].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.reasoningToggle),b?null==N?void 0:N.reasoningToggleDisabled:null==N?void 0:N.reasoningToggleActive)},{children:[T,S?i.jsx(s.ChevronUp,{className:a.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):i.jsx(s.ChevronDown,{className:a.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]}))]})),c?i.jsx("div",e.__assign({className:a.default.completeTickWrapper,style:null==N?void 0:N.completeTickWrapper},{children:i.jsx(s.Check,{color:(null==N?void 0:N.checkColor)||"green"})})):i.jsxs(i.Fragment,{children:["risk-gap"===u&&i.jsxs("div",e.__assign({className:a.default.rightSide,style:null==N?void 0:N.redirectionRightSide},{children:[i.jsx("button",e.__assign({disabled:b,className:[a.default.fixButton,b?a.default.fixButtonDisabled:""].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.redirectionFixButton),b?null==N?void 0:N.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),b||k()}},{children:"Fix"})),i.jsx(s.SquareArrowOutUpRight,{onClick:b?void 0:function(){b||null==j||j({type:v,id:_,aiReason:p,msg:g,meta:{headerText:x,decisionStrength:m,text:f}})},size:18,className:[b?a.default.redirectIconDisabled:a.default.redirectIcon].join(" "),style:e.__assign({},b?null==N?void 0:N.redirectIconDisabled:null==N?void 0:N.redirectIcon)})]})),"cra"===u&&i.jsx("div",e.__assign({className:a.default.rightSide,style:null==N?void 0:N.redirectionRightSide},{children:d===_?i.jsx("div",e.__assign({className:a.default.loaderWrapper,style:null==N?void 0:N.loaderWrapper},{children:i.jsx(s.Loader2,{size:16,className:a.default.loaderIcon,color:"grey",style:e.__assign({animation:"spin 1s linear infinite"},null==N?void 0:N.loaderIcon)})})):i.jsx("button",e.__assign({className:[a.default.clarifyButton].join(" "),style:e.__assign({color:b?"grey":""},null==N?void 0:N.redirectionClarifyButton),disabled:b,onClick:function(e){e.stopPropagation(),k()}},{children:"Clarify"}))}))]})]})),S&&i.jsx(l.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:k,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:D})]}))};
|
|
2
2
|
//# sourceMappingURL=CustomChatCrRedirection.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("lodash"),n=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),a=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");var d=["critical","recommendation","warning"];function s(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function u(t){return r.Children.toArray(t).filter(function(e){return r.isValidElement(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(t){var r,o,n=t.props,i=n.children,a=e.__rest(n,["children"]),l={};Object.keys(a).forEach(function(e){e.startsWith("data-")||(l[e]=a[e])});var c,d,s=(c=a,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(r=a.showfix)&&void 0!==r&&r,showRedirect:null!==(o=a.showredirect)&&void 0!==o&&o}})}var g={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};exports.GapFilterBlock=function(p){var m=p.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),o=require("lodash"),n=require("./GapFilterContentWrapper.js"),i=require("./GapFilterItem.js"),a=require("./CustomChatCrRedirection.js"),l=require("./gapFilterSvgs.js"),c=require("./GapFilterBlock.module.css.js");require("react-markdown"),require("rehype-raw"),require("../RequirementAIWrapper/RequirementAIWrapper.js");var d=["critical","recommendation","warning"];function s(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function u(t){return r.Children.toArray(t).filter(function(e){return r.isValidElement(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(t){var r,o,n=t.props,i=n.children,a=e.__rest(n,["children"]),l={};Object.keys(a).forEach(function(e){e.startsWith("data-")||(l[e]=a[e])});var c,d,s=(c=a,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===t.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(r=a.showfix)&&void 0!==r&&r,showRedirect:null!==(o=a.showredirect)&&void 0!==o&&o}})}var g={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}};exports.GapFilterBlock=function(p){var m=p.isDefaultOpen,f=p.processItemId,C=p.mode;p.node;var v=p.children,b=p.type,h=p.supportedmodes,y=void 0===h?"":h,x=p["decision-strength"],S=void 0===x?"":x,I=p.pendingdata,j=void 0===I?"":I,k=p.isGeneratingGap,_=void 0!==k&&k,F=p.selectedGapItemId,R=void 0===F?"":F,A=p.onItemSelect,B=p.onHandleSend,G=p.onModeAction,T=p.msg,q=p.panelRef,w=p.getAccordionState,N=p.setAccordionState,D=p.registerGapFilterBlockCount,E=p.getShowGapReviewButtonType,W=p.customStyles,O=p.customIcons,z=b,M=s(S);console.log("testing::isDefaultOpen",m);var U=r.useState(function(){var e,t=null!==(e=null==w?void 0:w(z))&&void 0!==e?e:"";return"true"!==m||t?t:z}),H=U[0],L=U[1],J=function(e){L(e),null==N||N(z,e)},P=u(v),V=r.useMemo(function(){return P.reduce(function(e,t){var r,o,n,i=null!==(r=t.tags)&&void 0!==r?r:"Uncategorized",a=null!==(n=null===(o=t.dataAttrs)||void 0===o?void 0:o.categoryid)&&void 0!==n?n:"1",l=e.find(function(e){return e.categoryName===i});return l||(l={categoryName:i,categoryId:a,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[])},[P]),$={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:t.jsx(l.SirenIcon,{}),label:"risk-gap"===C?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:t.jsx(l.WarningIcon,{}),label:"risk-gap"===C?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:t.jsx(l.SupportIcon,{}),label:"risk-gap"===C?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:t.jsx(l.SupportIcon,{}),label:"",decisionStrength:""}},K=r.useMemo(function(){return e=z,d.includes(e)?{labelColor:$[z].labelColor,badgeBackgroundColor:$[z].badgeBackgroundColor,badgeTextColor:$[z].badgeTextColor,label:$[z].label,decisionStrength:M||$[z].decisionStrength}:{labelColor:$.default.labelColor,badgeBackgroundColor:$.default.badgeBackgroundColor,badgeTextColor:$.default.badgeTextColor,label:o.capitalize(z),decisionStrength:M||""};var e},[z,M]);r.useEffect(function(){null==D||D(z,P.length)},[z,P.length,D]);var Q=function(t,r,o){if(void 0===o&&(o={}),!_){var n="".concat(V[t].categoryId,"-").concat(r);null==A||A(n);var i=e.__assign(e.__assign({},V[t].items[r].dataAttrs),o);null==G||G(y,i)}};return E&&E(),t.jsx(n.GapFilterContentWrapper,e.__assign({mode:C,type:z,config:K,count:P.length,handleReviewClick:function(){P.length>0&&J(z)},openAccordion:H,onAccordionChange:function(e){J(H===e?"":e)},shouldShowReviewButton:!1,pendingData:j,customStyles:W},{children:V.map(function(r,o){return t.jsxs("div",e.__assign({className:c.default.categoryGroup,style:null==W?void 0:W.categoryGroup},{children:["gapfilteritem"===r.type&&"Uncategorized"!==r.categoryName&&t.jsx("p",e.__assign({className:c.default.categoryLabel,style:null==W?void 0:W.categoryLabel},{children:r.categoryName})),r.items.map(function(n,l){var d,s,u,p,v=n.attrs||{},b=null===(d=n.dataAttrs)||void 0===d?void 0:d["cognitive-reasoning"],h=v.id||(null===(s=n.dataAttrs)||void 0===s?void 0:s.id)||"",y="I"===h[0]?"UI_REF":"CHAT_REF",x=null===(u=null==T?void 0:T.contextAwareAgentReasoning)||void 0===u?void 0:u[b],S=n.isCompleted;return"gapfilteritem"===n.type?t.jsx("div",e.__assign({className:[c.default.gapFilterItemWrapper,"Uncategorized"!==r.categoryName?c.default.gapFilterItemWrapperIndented:""].join(" "),style:null==W?void 0:W.blockContainer},{children:t.jsx(i.GapFilterItem,{isDefaultOpen:"true"===m&&0===l,isCompleted:S,mode:C,index:l,isSelected:R==="".concat(r.categoryId,"-").concat(l),onClick:function(){return Q(o,l)},onFixClick:function(){return Q(o,l,{triggerFrom:"fix"})},onRedirect:function(){return Q(o,l,{triggerFrom:"redirect"})},item:n,isGenerating:_,aiReason:x,panelRef:null!=q?q:{current:null},id:b,customStyles:W,customIcons:O})}),l):t.jsx("div",e.__assign({className:c.default.crRedirectionGroup,style:null==W?void 0:W.crRedirectionGroup},{children:t.jsx("div",e.__assign({className:c.default.crRedirectionInner,style:null==W?void 0:W.crRedirectionInner},{children:t.jsx(a.CustomChatCrRedirection,{isDefaultOpen:"true"===m&&0===l,processItemId:f,isCompleted:S,mode:C,msg:T,type:y,text:n.text,headerText:n.headerText,decisionStrength:n.decisionStrength,id:h,gapType:z,onHandleSend:B,isGenerating:_,aiReason:x,statusUi:null!==(p=g[z])&&void 0!==p?p:g.recommendation,panelRef:null!=q?q:{current:null},customStyles:W,customIcons:O})}))}),l)})]}),"".concat(r.categoryName,"-").concat(o))})}))},exports.normalizeDecisionStrength=s;
|
|
2
2
|
//# sourceMappingURL=GapFilterBlock.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),o=require("lucide-react"),t=require("react"),i=require("@mui/material"),n=require("./GapFilterItem.module.css.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),s=require("react/jsx-runtime"),o=require("lucide-react"),t=require("react"),i=require("@mui/material"),n=require("./GapFilterItem.module.css.js"),a=require("../ai-reasoning/AiReasoningCitationContent.js"),l=require("../../icons/CognitiveDecision.js"),r=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:n.default.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:n.default.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:n.default.scoreBadgeLow}};exports.GapFilterItem=function(d){var c=d.isDefaultOpen;d.isCompleted,d.mode;var u=d.index,m=d.isSelected,g=d.onClick,f=d.item,v=d.onFixClick,_=d.onRedirect,p=d.aiReason;d.panelRef;var x=d.id,h=d.isGenerating,j=void 0!==h&&h,N=d.customStyles,C=d.customIcons,y=t.useState(c),R=y[0],S=y[1],T=(null==C?void 0:C.highConfidence)||s.jsx(l.default,{});t.useMemo(function(){return f.components?f.components.split("||"):[]},[f.components]);var b=t.useMemo(function(){return f.score&&isNaN(parseInt(f.score))?0:f.score?parseInt(f.score):0},[f.score]),w=r(b);return s.jsx("div",e.__assign({className:n.default.outerWrapper,onClick:g,style:null==N?void 0:N.itemOuterWrapper},{children:s.jsxs("div",e.__assign({className:n.default.innerCard,style:null==N?void 0:N.itemInnerCard},{children:[s.jsxs("div",e.__assign({className:n.default.contentBlock,style:null==N?void 0:N.contentBlock},{children:[s.jsxs("div",e.__assign({className:n.default.topRow,style:null==N?void 0:N.itemTopRow},{children:[s.jsx("div",e.__assign({className:[n.default.questionText,m?n.default.questionTextSelected:n.default.questionTextDefault].join(" "),style:e.__assign(e.__assign({},null==N?void 0:N.itemQuestionText),m?null==N?void 0:N.itemQuestionTextSelected:null==N?void 0:N.itemQuestionTextDefault)},{children:s.jsx(i.Tooltip,e.__assign({title:f.question||"",placement:"top"},{children:s.jsx("span",{className:n.default.questionSpan,style:null==N?void 0:N.itemQuestionSpan})}))})),s.jsxs("div",e.__assign({className:n.default.actionsRow,style:null==N?void 0:N.itemActionsRow},{children:[b>0&&s.jsx("div",e.__assign({className:[n.default.scoreBadge,w.className].join(" "),style:e.__assign(e.__assign(e.__assign(e.__assign({},null==N?void 0:N.itemScoreBadge),b>90?null==N?void 0:N.itemScoreBadgeHigh:{}),b>=70&&b<=90?null==N?void 0:N.itemScoreBadgeMedium:{}),b<70?null==N?void 0:N.itemScoreBadgeLow:{})},{children:"".concat(b,"%")})),f.showFix&&s.jsx("button",e.__assign({className:n.default.fixButton,onClick:function(e){e.stopPropagation(),v()},style:null==N?void 0:N.itemFixButton},{children:"Fix"})),f.showRedirect&&s.jsx(o.SquareArrowOutUpRight,{color:"#3b82f6",size:14,className:n.default.redirectIcon,onClick:function(e){e.stopPropagation(),_()},style:null==N?void 0:N.itemRedirectIcon})]}))]})),s.jsxs("div",e.__assign({className:[n.default.bottomRow,m?n.default.bottomRowSelected:n.default.bottomRowDefault].join(" "),style:m?e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowSelected):e.__assign(e.__assign({},null==N?void 0:N.itemBottomRow),null==N?void 0:N.bottomRowDefault)},{children:[s.jsxs("span",e.__assign({className:n.default.gapTextSpan,style:null==N?void 0:N.itemGapText},{children:[(null==f?void 0:f.headerText)?s.jsx("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:f.headerText})):s.jsxs("span",e.__assign({className:n.default.gapHeaderText,style:null==N?void 0:N.itemGapHeaderText},{children:["Gap ",u+1,"."]}))," ",f.text]})),x&&s.jsxs("span",e.__assign({onClick:function(e){e.stopPropagation(),j||S(!R)},className:[n.default.reasoningToggle,j?n.default.reasoningToggleDisabled:n.default.reasoningToggleActive].join(" "),style:null==N?void 0:N.itemReasoningToggle},{children:[T,R?s.jsx(o.ChevronUp,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon}):s.jsx(o.ChevronDown,{className:n.default.chevronIcon,style:null==N?void 0:N.chevronIcon})]}))]}))]})),R&&s.jsx(a.default,{aiReason:{id:"1",reason:p.Reasoning||"",gap:p.Gap||"",relevance_score:Number(p.Confidence_score),explanation:p.explanation||""},onSelectProceed:v,customStyles:null==N?void 0:N.aiReasoningStyles,customIcons:C})]}))}))},exports.getScoreColorStyles=r;
|
|
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"),t=require("react-markdown"),r=require("rehype-raw"),o=require("./UserStoryWithCitation.module.css.js"),a=require("../../shared/useMarkdownSearch.js"),l=require("lucide-react"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),i=require("react"),t=require("react-markdown"),r=require("rehype-raw"),o=require("./UserStoryWithCitation.module.css.js"),a=require("../../shared/useMarkdownSearch.js"),l=require("lucide-react"),s=require("@mui/material"),d=require("../../shared/UpdatedAnimationContent.js"),c=require("../../shared/GeneratedCodeCitation.js"),u=require("../../shared/CitationLoadingIndicator.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),f=require("../ai-reasoning/AiReasoningCitation.js"),g=require("../../icons/RelevanceScoreIcon.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=h(t),p=h(r),m=i.createContext(!1),C=i.createContext({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),x=i.createContext({rowId:""}),y=function(t){var r,a,l=t.children,s=t.node,d=i.useRef(Math.random().toString(36).slice(2)).current,c=i.useContext(C).expandedInfo,u=(null==c?void 0:c.rowId)===d,v=Array.isArray(null==s?void 0:s.children)?s.children.filter(function(e){return"element"===e.type}).length:1,f=null!==(a=null===(r=null==s?void 0:s.properties)||void 0===r?void 0:r.style)&&void 0!==a?a:void 0;return n.jsxs(x.Provider,e.__assign({value:{rowId:d}},{children:[n.jsx("tr",e.__assign({style:f?{cssText:f}:void 0},{children:l})),u&&(null==c?void 0:c.aiReason)&&n.jsx("tr",e.__assign({style:{width:"100%"}},{children:n.jsx("td",e.__assign({colSpan:v||1,className:o.default.tableExpandedCell},{children:n.jsx("div",e.__assign({className:o.default.tableExpandedCellInner},{children:n.jsx("div",{className:o.default.tableExpandedCellContent})}))}))}))]}))};exports.default=function(t){var r=t.message,h=t.scenario,x=t.showUserStoryDiff,j=void 0!==x&&x,S=t.aiReasoningsForBlock,w=t.isCitationLoadingDisplay,R=void 0!==w&&w,I=t.className;t.highConfidenceIcon,t.lowConfidenceIcon;var b=t.customStyles,N=t.customIcons,q=t.aiReasoningDiffView,A=t.userStoryCitations,M=t.artifactId,T=t.isCraflow,L=i.useRef(null),U=v.useRequirementAI(),E=U.userStory,P=U.getAvgScoreForStory,k=U.setUserStory,F=U.aiReasoning,$=U.setAiReasoning,D=U.customIcons,W=U.searchQueryList,H=U.searchQueryReasoningIdList,z=null!=N?N:null==D?void 0:D.userStoryIcons,G=null==b?void 0:b.searchHighlight,O=a.useMarkdownSearch(L,G),Q=O.search,B=O.clear,V=i.useState("1"),J=V[0],K=V[1],X=i.useState(null),Y=X[0],Z=X[1],ee=i.useRef(new Map),ne=i.useCallback(function(e,n){Z(e&&n?{rowId:e,aiReason:n}:null)},[]),ie=M?P(M):0,te=i.useState([]),re=te[0],oe=te[1],ae=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 t=btoa(encodeURIComponent(i.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(t,'"></generatedCode>\n\n')})};i.useMemo(function(){return r?ae(r):r},[r]),i.useEffect(function(){oe(S||F)},[S,F]);var le=i.useMemo(function(){return{h1:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("h1",e.__assign({className:o.default.heading1,style:null==b?void 0:b.heading1},{children:t.children}))},h2:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("h2",e.__assign({className:o.default.heading2,style:null==b?void 0:b.heading2},{children:t.children}))},h3:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("h3",e.__assign({className:o.default.heading3,style:null==b?void 0:b.heading3},{children:t.children}))},b:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("b",e.__assign({className:o.default.bold,style:null==b?void 0:b.bold},{children:null==t?void 0:t.children}))},p:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("p",e.__assign({},t,{className:o.default.paragraph,style:null==b?void 0:b.paragraph},{children:t.children}))},updated:function(i){var t=i.node,r=e.__rest(i,["node"]);return n.jsx(d.default,e.__assign({},r,{showUserStoryDiff:j,currentUpdatedTagId:J,setCurrentUpdatedTagId:K,userStory:E,setUserStory:k,setAiReasoning:$,node:t,isCraflow:T,customStyles:null==b?void 0:b.updatedContent}))},ol:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("ol",e.__assign({className:o.default.orderedList,style:null==b?void 0:b.olist},{children:null==t?void 0:t.children}))},ul:function(i){i.node;var t=e.__rest(i,["node"]);return n.jsx("ul",e.__assign({className:o.default.unorderedList,style:null==b?void 0:b.ulist},{children:null==t?void 0:t.children}))},table:function(i){var t=i.children;return n.jsx("div",e.__assign({className:o.default.tableWrapper},{children:n.jsx("table",e.__assign({className:o.default.table,style:null==b?void 0:b.table},{children:t}))}))},tr:y,td:function(i){var t,r=i.node,o=i.children,a=null!==(t=null==r?void 0:r.properties)&&void 0!==t?t:{},l=a.style,s=e.__rest(a,["style"]);return n.jsx(m.Provider,e.__assign({value:!0},{children:n.jsx("td",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:o}))}))},th:function(i){var t,r=i.node,o=i.children,a=null!==(t=null==r?void 0:r.properties)&&void 0!==t?t:{},l=a.style,s=e.__rest(a,["style"]);return n.jsx(m.Provider,e.__assign({value:!0},{children:n.jsx("th",e.__assign({},s,{style:l?{cssText:l}:void 0},{children:o}))}))},a:function(t){var r,o,a;t.inline,t.children,t.node;var l=e.__rest(t,["inline","children","node"]),s=i.useContext(m)||"true"==(null==l?void 0:l.table),d="".concat(null==l?void 0:l.href),c=null===(r=d.split("$"))||void 0===r?void 0:r[0],u=null===(o=d.split("$"))||void 0===o?void 0:o[1];if("ai_reasoning"===c){var v=(null!==(a=j?q:F)&&void 0!==a?a:[]).find(function(e){return e.id.toString()===decodeURIComponent(u)});if(v&&v.reason.length>0&&v.gap.length>0)return n.jsx(f.default,{title:"Source",aiReason:v,isSourceHasHighlight:!1,isTable:s,customIcons:z,customStyles:{aiReasoningContent:null==b?void 0:b.aiReasoningContent,aiReasoningAccordion:null==b?void 0:b.aiReasoningAccordion,aiReasoningMarkdown:null==b?void 0:b.aiReasoningMarkdown,aiReasoningPill:null==b?void 0:b.aiReasoningPill,webCitation:null==b?void 0:b.webCitation,stormeeCitation:null==b?void 0:b.stormeeCitation,waveformCitation:null==b?void 0:b.waveformCitation,imageCitation:null==b?void 0:b.imageCitation,fileCitation:null==b?void 0:b.fileCitation,appModCitation:null==b?void 0:b.appModCitation,rcaCitation:null==b?void 0:b.rcaCitation,readFileCitation:null==b?void 0:b.readFileCitation,loadingCitations:null==b?void 0:b.loadingCitations}})}return null},code:function(i){i.inline;var t=i.children,r=i.className;return i.node,e.__rest(i,["inline","children","className","node"]),/language-(\w+)/.exec(r||"")||(null==r?void 0:r.includes("language-"))?n.jsx("div",{children:n.jsx("code",e.__assign({className:o.default.blockCode,style:null==b?void 0:b.code},{children:t}))}):n.jsx("code",e.__assign({className:o.default.inlineCode,style:null==b?void 0:b.code},{children:t}))},learned:function(i){var t=i.children;return n.jsx(s.Tooltip,e.__assign({title:t,placement:"top"},{children:n.jsx(l.Info,{size:16,className:o.default.learned})}))},generatedcode:function(i){i.node;var t=e.__rest(i,["node"]),r=(null==t?void 0:t.language)||"python",o=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}(t);return n.jsx(c.default,{title:"Generated Code",code:o,language:r,customStyles:{pill:null==b?void 0:b.generatedCodePill,content:null==b?void 0:b.generatedCodeContent}})}}},[re,F,A,J,j,r,N]);return i.useEffect(function(){if(L.current){if(null==W?void 0:W.length){var e;if(0===(null==H?void 0:H.length))requestAnimationFrame(function(){Q(W.map(function(e){return e.replace(/\*/g,"")}))});else{var n=L.current,i=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){i.disconnect(),requestAnimationFrame(function(){Q(W.map(function(e){return e.replace(/\*/g,"")}))})},50)});i.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}B()}},[W,H]),n.jsx(C.Provider,e.__assign({value:{expandedInfo:Y,setExpanded:ne,reasonToRow:ee}},{children:n.jsxs("div",e.__assign({ref:L,className:"".concat(o.default.container," ").concat("approving"!==h?o.default.wrapper:""," ").concat(I||""),style:null==b?void 0:b.container},{children:[n.jsx(_.default,e.__assign({components:le,rehypePlugins:[p.default]},{children:ae(r)})),ie>0&&n.jsx("div",e.__assign({className:o.default.confidenceScoreContainer,style:null==b?void 0:b.confidenceScoreContainer},{children:n.jsxs("span",e.__assign({className:o.default.confidenceScore,style:null==b?void 0:b.confidenceScore},{children:[n.jsx(g.default,{size:14,color:(null==b?void 0:b.confidenceScoreIconColor)||"#166534"}),ie,"%"]}))})),R&&n.jsx("div",e.__assign({className:o.default.citationLoader,style:null==b?void 0:b.citationLoaderContainer},{children:n.jsx(u.default,{customStyles:{container:null==b?void 0:b.citationLoadingContainer,icon:null==b?void 0:b.citationLoadingIcon,text:null==b?void 0:b.citationLoadingText}})}))]}))}))};
|
|
2
2
|
//# sourceMappingURL=UserStoryWithCitation.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("lucide-react"),r=require("react"),l=require("./UpdatedAnimationContent.module.css.js");exports.default=function(o){var i,u,s,a,d,c,v,f,p=o.
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("lucide-react"),r=require("react"),l=require("./UpdatedAnimationContent.module.css.js");exports.default=function(o){var i,u,s,a,d,c,v,f,p=o.isCraflow,g=o.showUserStoryDiff,h=void 0!==g&&g,m=o.currentUpdatedTagId,y=o.setCurrentUpdatedTagId;o.node;var _=o.userStory,S=o.setUserStory,x=o.setAiReasoning,N=o.customStyles,j=o.customIcons,T=e.__rest(o,["isCraflow","showUserStoryDiff","currentUpdatedTagId","setCurrentUpdatedTagId","node","userStory","setUserStory","setAiReasoning","customStyles","customIcons"]),I=r.useState(!1),M=I[0],b=I[1],C=r.useState(null),w=C[0],U=C[1],q=r.useRef(null),z=r.useRef(null),L=null!==(i=null==N?void 0:N.iconSize)&&void 0!==i?i:16,A=null!==(u=null==N?void 0:N.actionIconSize)&&void 0!==u?u:L;r.useEffect(function(){if(z.current){var e=setTimeout(function(){var e=z.current;e&&(e.style.scrollMarginBottom="20px",e.scrollIntoView({behavior:"smooth",block:"end"}))},200);return function(){return clearTimeout(e)}}},[m]);var E=null===(d=null===(a=null===(s=null==T?void 0:T.children)||void 0===s?void 0:s.filter(function(e){return"string"!=typeof e}).find(function(e){return"deleted"===(null==e?void 0:e.type)}))||void 0===a?void 0:a.props)||void 0===d?void 0:d.children,B=null===(f=null===(v=null===(c=null==T?void 0:T.children)||void 0===c?void 0:c.filter(function(e){return"string"!=typeof e}).find(function(e){return"changed"===(null==e?void 0:e.type)}))||void 0===v?void 0:v.props)||void 0===f?void 0:f.children;function H(n,t,r){var l=JSON.parse(JSON.stringify(n)),o=function(e,n){var t=function(e){for(var r=0,l=e;r<l.length;r++){var o=l[r];if((new DOMParser).parseFromString(o.value,"text/html").querySelector('updated[id="'.concat(n,'"]')))return o;if(o.sub_features&&o.sub_features.length>0){var i=t(o.sub_features);if(i)return i}}return null};return t(e)}(l,t);if(!o)return console.warn("No user story found with updated id: ".concat(t)),!1;var i=(new DOMParser).parseFromString(o.value,"text/html"),u=i.querySelector('updated[id="'.concat(t,'"]'));if(!u)return console.warn("No <updated> block found with id: ".concat(t)),!1;var s,a=u.innerHTML,d=u.querySelector("deleted"),c=u.querySelector("changed"),v=d?d.innerHTML.trim():null,f=c?c.innerHTML.trim():null,p="";if("reject"===r){var g=(s=(v||f||"").match(/ai_reasoning\$(\d+)/))?parseInt(s[1],10):null;null!==g&&x(function(n){var t=n.map(function(n){return e.__assign({},n)}),r="".concat(g,"-legacy"),l=t.find(function(e){var n;return(null===(n=e.id)||void 0===n?void 0:n.toString())===r});if(l){var o=l.id.toString().replace("-legacy","");t=t.filter(function(e){return e.id.toString()!==o}),l.id=o}return e.__spreadArray([],t,!0)})}"accept"===r?p=v&&f?f:v&&!f?"":!v&&f?f:a:"reject"===r&&(p=v&&f||v&&!f?v:!v&&f?"":a);var h=i.createElement("div");h.innerHTML=p;var m=Array.from(h.childNodes);u.replaceWith.apply(u,m);var _=new XMLSerializer;return o.value=_.serializeToString(i),S(l),y(function(e){return Number.isNaN(Number(e))?e:String(Number(e)+1)}),!0}var O=function(n){var t=(null==N?void 0:N.actionButton)||{},r=w===n&&(null==N?void 0:N.actionButtonHover)||{};return e.__assign(e.__assign({},t),r)};return n.jsxs("div",e.__assign({},T,{className:l.default.container,style:null==N?void 0:N.container,onMouseEnter:function(){q.current&&(clearTimeout(q.current),q.current=null),b(!0)},onMouseLeave:function(){q.current=setTimeout(function(){b(!1),q.current=null},2e3)},ref:(null==T?void 0:T.id)===m?z:null},{children:[M&&!h&&!p&&n.jsxs("span",e.__assign({className:l.default.hoverActions,style:null==N?void 0:N.hoverActions,onMouseEnter:function(){return b(!0)}},{children:[n.jsx("button",e.__assign({className:l.default.actionButton,style:O("undo"),onMouseEnter:function(){return U("undo")},onMouseLeave:function(){return U(null)},onClick:function(){H(_,null==T?void 0:T.id,"reject"),b(!1)}},{children:(null==j?void 0:j.undo)?j.undo:n.jsx(t.Undo,{size:A,color:null==N?void 0:N.undoIconColor,className:l.default.hw})})),n.jsx("span",{className:l.default.divider,style:null==N?void 0:N.divider}),n.jsx("button",e.__assign({className:l.default.actionButton,style:O("accept"),onMouseEnter:function(){return U("accept")},onMouseLeave:function(){return U(null)},onClick:function(){H(_,null==T?void 0:T.id,"accept"),b(!1)}},{children:(null==j?void 0:j.accept)?j.accept:n.jsx(t.ThumbsUp,{size:A,color:null==N?void 0:N.thumbsUpIconColor,className:l.default.hw})}))]})),E&&n.jsxs("div",e.__assign({className:l.default.deletedContainer,style:null==N?void 0:N.deletedContainer},{children:[n.jsx("span",e.__assign({style:null==N?void 0:N.deletedIconWrapper},{children:(null==j?void 0:j.deleted)?j.deleted:n.jsx(t.Minus,{size:L,color:null==N?void 0:N.deletedIconColor,className:l.default.deletedIcon})})),n.jsx("div",e.__assign({className:l.default.deletedText,style:null==N?void 0:N.deletedText},{children:E}))]})),B&&n.jsxs("div",e.__assign({className:l.default.changedContainer,style:null==N?void 0:N.changedContainer},{children:[n.jsx("span",e.__assign({style:null==N?void 0:N.changedIconWrapper},{children:(null==j?void 0:j.changed)?j.changed:n.jsx(t.Plus,{size:L,color:null==N?void 0:N.changedIconColor,className:l.default.changedIcon})})),n.jsx("div",e.__assign({className:l.default.changedText,style:null==N?void 0:N.changedText},{children:B}))]}))]}))};
|
|
2
2
|
//# sourceMappingURL=UpdatedAnimationContent.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as i,jsxs as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as i,jsxs as n,Fragment as o}from"react/jsx-runtime";import{useState as l}from"react";import{ChevronUp as r,ChevronDown as t,Check as a,SquareArrowOutUpRight as s,Loader2 as c}from"lucide-react";import d from"./CustomChatCrRedirection.module.css.js";import u from"../ai-reasoning/AiReasoningCitationContent.js";import p from"../../icons/CognitiveDecision.js";function g(g){var m=g.isDefaultOpen,v=g.processItemId,h=g.isCompleted,f=g.mode,y=g.msg,C=g.type,b=g.id,x=g.aiReason,N=g.text,D=g.headerText,I=g.decisionStrength;g.statusUi,g.panelRef;var T=g.onHandleSend,S=g.onRedirectClick,R=g.gapType,k=g.isGenerating,j=void 0!==k&&k,B=g.customStyles,W=g.customIcons,P=l(m),A=P[0],O=P[1];console.log("testing::reasoning",x);var z=(null==W?void 0:W.highConfidence)||i(p,{}),F=function(){"cra"===f?null==T||T("Discuss ambiguities on ".concat(N),b):null==T||T("Deep Dive into ".concat(R," ").concat(D,": ").concat(N),b)};return console.log("testing::aiReasoning",x),n("div",e({className:[d.outerWrapper,j?d.outerWrapperDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionOuterWrapper),j?null==B?void 0:B.redirectionOuterWrapperDisabled:{})},{children:[n("div",e({className:[d.card,j?d.cardDisabled:d.cardInteractive].join(" "),style:e(e({},null==B?void 0:B.redirectionCard),j?null==B?void 0:B.redirectionCardDisabled:null==B?void 0:B.redirectionCardInteractive)},{children:[n("div",e({className:d.leftSide,style:null==B?void 0:B.redirectionLeftSide},{children:[n("span",e({className:d.textBlock,style:null==B?void 0:B.redirectionTextBlock},{children:[D&&n("span",e({className:d.headerText,style:null==B?void 0:B.redirectionHeaderText},{children:[D,N?" ":""]})),N]})),n("span",e({onClick:function(e){e.stopPropagation(),j||O(!A)},className:[d.reasoningToggle,j?d.reasoningToggleDisabled:d.reasoningToggleActive].join(" "),style:e(e({},null==B?void 0:B.reasoningToggle),j?null==B?void 0:B.reasoningToggleDisabled:null==B?void 0:B.reasoningToggleActive)},{children:[z,i(A?r:t,{className:d.chevronIcon,style:null==B?void 0:B.chevronIcon})]}))]})),h?i("div",e({className:d.completeTickWrapper,style:null==B?void 0:B.completeTickWrapper},{children:i(a,{color:(null==B?void 0:B.checkColor)||"green"})})):n(o,{children:["risk-gap"===f&&n("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:[i("button",e({disabled:j,className:[d.fixButton,j?d.fixButtonDisabled:""].join(" "),style:e(e({},null==B?void 0:B.redirectionFixButton),j?null==B?void 0:B.fixButtonDisabled:{}),onClick:function(e){e.stopPropagation(),j||F()}},{children:"Fix"})),i(s,{onClick:j?void 0:function(){j||null==S||S({type:C,id:b,aiReason:x,msg:y,meta:{headerText:D,decisionStrength:I,text:N}})},size:18,className:[j?d.redirectIconDisabled:d.redirectIcon].join(" "),style:e({},j?null==B?void 0:B.redirectIconDisabled:null==B?void 0:B.redirectIcon)})]})),"cra"===f&&i("div",e({className:d.rightSide,style:null==B?void 0:B.redirectionRightSide},{children:v===b?i("div",e({className:d.loaderWrapper,style:null==B?void 0:B.loaderWrapper},{children:i(c,{size:16,className:d.loaderIcon,color:"grey",style:e({animation:"spin 1s linear infinite"},null==B?void 0:B.loaderIcon)})})):i("button",e({className:[d.clarifyButton].join(" "),style:e({color:j?"grey":""},null==B?void 0:B.redirectionClarifyButton),disabled:j,onClick:function(e){e.stopPropagation(),F()}},{children:"Clarify"}))}))]})]})),A&&i(u,{aiReason:{id:"1",reason:x.Reasoning||"",gap:x.Gap||"",relevance_score:Number(x.Confidence_score),explanation:x.explanation||""},onSelectProceed:F,customStyles:null==B?void 0:B.aiReasoningStyles,customIcons:W})]}))}export{g as CustomChatCrRedirection};
|
|
2
2
|
//# sourceMappingURL=CustomChatCrRedirection.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as n,useMemo as i,useEffect as a,Children as l,isValidElement as c}from"react";import{capitalize as d}from"lodash";import{GapFilterContentWrapper as s}from"./GapFilterContentWrapper.js";import{GapFilterItem as u}from"./GapFilterItem.js";import{CustomChatCrRedirection as g}from"./CustomChatCrRedirection.js";import{SirenIcon as p,WarningIcon as m,SupportIcon as f}from"./gapFilterSvgs.js";import
|
|
1
|
+
import{__assign as e,__rest as t}from"tslib";import{jsx as o,jsxs as r}from"react/jsx-runtime";import{useState as n,useMemo as i,useEffect as a,Children as l,isValidElement as c}from"react";import{capitalize as d}from"lodash";import{GapFilterContentWrapper as s}from"./GapFilterContentWrapper.js";import{GapFilterItem as u}from"./GapFilterItem.js";import{CustomChatCrRedirection as g}from"./CustomChatCrRedirection.js";import{SirenIcon as p,WarningIcon as m,SupportIcon as f}from"./gapFilterSvgs.js";import v from"./GapFilterBlock.module.css.js";import"react-markdown";import"rehype-raw";import"../RequirementAIWrapper/RequirementAIWrapper.js";var b=["critical","recommendation","warning"];function C(e){return(null==e?void 0:e.trim())?e.includes("%")?e:e.replace(/([0-9]+(?:\.[0-9]+)?)/g,"$1%"):""}function y(e){return l.toArray(e).filter(function(e){return c(e)}).filter(function(e){var t;return"gapfilteritem"===e.type||"crredirection"===e.type||"function"==typeof e.type&&"crredirection"===e.type.name||(null===(t=e.key)||void 0===t?void 0:t.includes("crredirection"))}).map(function(e){var o,r,n=e.props,i=n.children,a=t(n,["children"]),l={};Object.keys(a).forEach(function(e){e.startsWith("data-")||(l[e]=a[e])});var c,d,s=(c=a,d={},Object.keys(c).forEach(function(e){e.startsWith("data-")&&(d[e.replace(/^data-/,"")]=c[e])}),d),u=a["decision-strength"],g=a["data-is-completed"];return{text:i,headerText:a.headertext,tags:a.tags,dataAttrs:s,decisionStrength:u,attrs:l,type:"gapfilteritem"===e.type?"gapfilteritem":"crredirection",score:a.score,isCompleted:g,pendingCount:a.pendingcount,question:a.question,components:a.components,showFix:null!==(o=a.showfix)&&void 0!==o&&o,showRedirect:null!==(r=a.showredirect)&&void 0!==r&&r}})}var h={critical:{labelColor:"text-gray-900",badgeBg:"bg-[#FEE4E2]",badgeText:"text-[#B42318]",iconColor:"text-[#D92D20]"},warning:{labelColor:"text-gray-900",badgeBg:"bg-[#FEF0C7]",badgeText:"text-[#B54708]",iconColor:"text-[#DC6803]"},recommendation:{labelColor:"text-gray-900",badgeBg:"bg-[#D1FADF]",badgeText:"text-[#027A48]",iconColor:"text-[#039855]"}},x=function(t){var l=t.isDefaultOpen,c=t.processItemId,x=t.mode;t.node;var S=t.children,I=t.type,k=t.supportedmodes,R=void 0===k?"":k,A=t["decision-strength"],F=void 0===A?"":A,B=t.pendingdata,T=void 0===B?"":B,w=t.isGeneratingGap,G=void 0!==w&&w,N=t.selectedGapItemId,j=void 0===N?"":N,D=t.onItemSelect,E=t.onHandleSend,W=t.onModeAction,O=t.msg,U=t.panelRef,q=t.getAccordionState,z=t.setAccordionState,H=t.registerGapFilterBlockCount,L=t.getShowGapReviewButtonType,M=t.customStyles,_=t.customIcons,J=I,$=C(F);console.log("testing::isDefaultOpen",l);var K=n(function(){var e,t=null!==(e=null==q?void 0:q(J))&&void 0!==e?e:"";return"true"!==l||t?t:J}),P=K[0],Q=K[1],V=function(e){Q(e),null==z||z(J,e)},X=y(S),Y=i(function(){return X.reduce(function(e,t){var o,r,n,i=null!==(o=t.tags)&&void 0!==o?o:"Uncategorized",a=null!==(n=null===(r=t.dataAttrs)||void 0===r?void 0:r.categoryid)&&void 0!==n?n:"1",l=e.find(function(e){return e.categoryName===i});return l||(l={categoryName:i,categoryId:a,type:t.type,items:[]},e.push(l)),l.items.push(t),e},[])},[X]),Z={critical:{labelColor:"#d92d20",badgeBackgroundColor:"#fee4e2",badgeTextColor:"#b42318",icon:o(p,{}),label:"risk-gap"===x?"Critical":"Must Clarify",decisionStrength:"< 70%"},warning:{labelColor:"#dc6803",badgeBackgroundColor:"#fef0c7",badgeTextColor:"#b54708",icon:o(m,{}),label:"risk-gap"===x?"Warning":"Should Clarify",decisionStrength:"70–90%"},recommendation:{labelColor:"#039855",badgeBackgroundColor:"#d1fadf",badgeTextColor:"#027a48",icon:o(f,{}),label:"risk-gap"===x?"Just a Suggestion":"Nice to Clarify",decisionStrength:"> 90%"},default:{labelColor:"#4b5563",badgeBackgroundColor:"#f3f4f6",badgeTextColor:"#4b5563",icon:o(f,{}),label:"",decisionStrength:""}},ee=i(function(){return e=J,b.includes(e)?{labelColor:Z[J].labelColor,badgeBackgroundColor:Z[J].badgeBackgroundColor,badgeTextColor:Z[J].badgeTextColor,label:Z[J].label,decisionStrength:$||Z[J].decisionStrength}:{labelColor:Z.default.labelColor,badgeBackgroundColor:Z.default.badgeBackgroundColor,badgeTextColor:Z.default.badgeTextColor,label:d(J),decisionStrength:$||""};var e},[J,$]);a(function(){null==H||H(J,X.length)},[J,X.length,H]);var te=function(t,o,r){if(void 0===r&&(r={}),!G){var n="".concat(Y[t].categoryId,"-").concat(o);null==D||D(n);var i=e(e({},Y[t].items[o].dataAttrs),r);null==W||W(R,i)}};return L&&L(),o(s,e({mode:x,type:J,config:ee,count:X.length,handleReviewClick:function(){X.length>0&&V(J)},openAccordion:P,onAccordionChange:function(e){V(P===e?"":e)},shouldShowReviewButton:!1,pendingData:T,customStyles:M},{children:Y.map(function(t,n){return r("div",e({className:v.categoryGroup,style:null==M?void 0:M.categoryGroup},{children:["gapfilteritem"===t.type&&"Uncategorized"!==t.categoryName&&o("p",e({className:v.categoryLabel,style:null==M?void 0:M.categoryLabel},{children:t.categoryName})),t.items.map(function(r,i){var a,d,s,p,m=r.attrs||{},f=null===(a=r.dataAttrs)||void 0===a?void 0:a["cognitive-reasoning"],b=m.id||(null===(d=r.dataAttrs)||void 0===d?void 0:d.id)||"",C="I"===b[0]?"UI_REF":"CHAT_REF",y=null===(s=null==O?void 0:O.contextAwareAgentReasoning)||void 0===s?void 0:s[f],S=r.isCompleted;return"gapfilteritem"===r.type?o("div",e({className:[v.gapFilterItemWrapper,"Uncategorized"!==t.categoryName?v.gapFilterItemWrapperIndented:""].join(" "),style:null==M?void 0:M.blockContainer},{children:o(u,{isDefaultOpen:"true"===l&&0===i,isCompleted:S,mode:x,index:i,isSelected:j==="".concat(t.categoryId,"-").concat(i),onClick:function(){return te(n,i)},onFixClick:function(){return te(n,i,{triggerFrom:"fix"})},onRedirect:function(){return te(n,i,{triggerFrom:"redirect"})},item:r,isGenerating:G,aiReason:y,panelRef:null!=U?U:{current:null},id:f,customStyles:M,customIcons:_})}),i):o("div",e({className:v.crRedirectionGroup,style:null==M?void 0:M.crRedirectionGroup},{children:o("div",e({className:v.crRedirectionInner,style:null==M?void 0:M.crRedirectionInner},{children:o(g,{isDefaultOpen:"true"===l&&0===i,processItemId:c,isCompleted:S,mode:x,msg:O,type:C,text:r.text,headerText:r.headerText,decisionStrength:r.decisionStrength,id:b,gapType:J,onHandleSend:E,isGenerating:G,aiReason:y,statusUi:null!==(p=h[J])&&void 0!==p?p:h.recommendation,panelRef:null!=U?U:{current:null},customStyles:M,customIcons:_})}))}),i)})]}),"".concat(t.categoryName,"-").concat(n))})}))};export{x as GapFilterBlock,C as normalizeDecisionStrength};
|
|
2
2
|
//# sourceMappingURL=GapFilterBlock.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as o,jsxs as i}from"react/jsx-runtime";import{SquareArrowOutUpRight as t,ChevronUp as n,ChevronDown as l}from"lucide-react";import{useState as a,useMemo as s}from"react";import{Tooltip as r}from"@mui/material";import c from"./GapFilterItem.module.css.js";import d from"../ai-reasoning/AiReasoningCitationContent.js";import m from"../../icons/CognitiveDecision.js";var u=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:c.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:c.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:c.scoreBadgeLow}},p=function(p){p.isCompleted,p.mode;var
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as o,jsxs as i}from"react/jsx-runtime";import{SquareArrowOutUpRight as t,ChevronUp as n,ChevronDown as l}from"lucide-react";import{useState as a,useMemo as s}from"react";import{Tooltip as r}from"@mui/material";import c from"./GapFilterItem.module.css.js";import d from"../ai-reasoning/AiReasoningCitationContent.js";import m from"../../icons/CognitiveDecision.js";var u=function(e){return e>90?{borderColor:"#22c55e",backgroundColor:"#f0fdf4",color:"#16a34a",className:c.scoreBadgeHigh}:e>=70&&e<=90?{borderColor:"#eab308",backgroundColor:"#fefce8",color:"#a16207",className:c.scoreBadgeMedium}:{borderColor:"#ef4444",backgroundColor:"#fef2f2",color:"#dc2626",className:c.scoreBadgeLow}},p=function(p){var v=p.isDefaultOpen;p.isCompleted,p.mode;var g=p.index,f=p.isSelected,x=p.onClick,h=p.item,N=p.onFixClick,C=p.onRedirect,R=p.aiReason;p.panelRef;var y=p.id,T=p.isGenerating,b=void 0!==T&&T,S=p.customStyles,w=p.customIcons,B=a(v),k=B[0],I=B[1],j=(null==w?void 0:w.highConfidence)||o(m,{});s(function(){return h.components?h.components.split("||"):[]},[h.components]);var D=s(function(){return h.score&&isNaN(parseInt(h.score))?0:h.score?parseInt(h.score):0},[h.score]),G=u(D);return o("div",e({className:c.outerWrapper,onClick:x,style:null==S?void 0:S.itemOuterWrapper},{children:i("div",e({className:c.innerCard,style:null==S?void 0:S.itemInnerCard},{children:[i("div",e({className:c.contentBlock,style:null==S?void 0:S.contentBlock},{children:[i("div",e({className:c.topRow,style:null==S?void 0:S.itemTopRow},{children:[o("div",e({className:[c.questionText,f?c.questionTextSelected:c.questionTextDefault].join(" "),style:e(e({},null==S?void 0:S.itemQuestionText),f?null==S?void 0:S.itemQuestionTextSelected:null==S?void 0:S.itemQuestionTextDefault)},{children:o(r,e({title:h.question||"",placement:"top"},{children:o("span",{className:c.questionSpan,style:null==S?void 0:S.itemQuestionSpan})}))})),i("div",e({className:c.actionsRow,style:null==S?void 0:S.itemActionsRow},{children:[D>0&&o("div",e({className:[c.scoreBadge,G.className].join(" "),style:e(e(e(e({},null==S?void 0:S.itemScoreBadge),D>90?null==S?void 0:S.itemScoreBadgeHigh:{}),D>=70&&D<=90?null==S?void 0:S.itemScoreBadgeMedium:{}),D<70?null==S?void 0:S.itemScoreBadgeLow:{})},{children:"".concat(D,"%")})),h.showFix&&o("button",e({className:c.fixButton,onClick:function(e){e.stopPropagation(),N()},style:null==S?void 0:S.itemFixButton},{children:"Fix"})),h.showRedirect&&o(t,{color:"#3b82f6",size:14,className:c.redirectIcon,onClick:function(e){e.stopPropagation(),C()},style:null==S?void 0:S.itemRedirectIcon})]}))]})),i("div",e({className:[c.bottomRow,f?c.bottomRowSelected:c.bottomRowDefault].join(" "),style:e(e({},null==S?void 0:S.itemBottomRow),f?null==S?void 0:S.bottomRowSelected:null==S?void 0:S.bottomRowDefault)},{children:[i("span",e({className:c.gapTextSpan,style:null==S?void 0:S.itemGapText},{children:[(null==h?void 0:h.headerText)?o("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:h.headerText})):i("span",e({className:c.gapHeaderText,style:null==S?void 0:S.itemGapHeaderText},{children:["Gap ",g+1,"."]}))," ",h.text]})),y&&i("span",e({onClick:function(e){e.stopPropagation(),b||I(!k)},className:[c.reasoningToggle,b?c.reasoningToggleDisabled:c.reasoningToggleActive].join(" "),style:null==S?void 0:S.itemReasoningToggle},{children:[j,o(k?n:l,{className:c.chevronIcon,style:null==S?void 0:S.chevronIcon})]}))]}))]})),k&&o(d,{aiReason:{id:"1",reason:R.Reasoning||"",gap:R.Gap||"",relevance_score:Number(R.Confidence_score),explanation:R.explanation||""},onSelectProceed:N,customStyles:null==S?void 0:S.aiReasoningStyles,customIcons:w})]}))}))};export{p as GapFilterItem,u as getScoreColorStyles};
|
|
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 i,jsxs as o}from"react/jsx-runtime";import{createContext as r,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 m}from"../../shared/useMarkdownSearch.js";import{Info as p}from"lucide-react";import{Tooltip as f}from"@mui/material";import g from"../../shared/UpdatedAnimationContent.js";import C from"../../shared/GeneratedCodeCitation.js";import y from"../../shared/CitationLoadingIndicator.js";import{useRequirementAI as
|
|
1
|
+
import{__rest as e,__assign as n}from"tslib";import{jsx as i,jsxs as o}from"react/jsx-runtime";import{createContext as r,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 m}from"../../shared/useMarkdownSearch.js";import{Info as p}from"lucide-react";import{Tooltip as f}from"@mui/material";import g from"../../shared/UpdatedAnimationContent.js";import C from"../../shared/GeneratedCodeCitation.js";import y from"../../shared/CitationLoadingIndicator.js";import{useRequirementAI as w}from"../RequirementAIWrapper/RequirementAIWrapper.js";import S from"../ai-reasoning/AiReasoningCitation.js";import I from"../../icons/RelevanceScoreIcon.js";var R=r(!1),b=r({expandedInfo:null,setExpanded:function(){},reasonToRow:{current:new Map}}),N=r({rowId:""}),x=function(e){var r,l,a=e.children,d=e.node,c=t(Math.random().toString(36).slice(2)).current,u=s(b).expandedInfo,v=(null==u?void 0:u.rowId)===c,m=Array.isArray(null==d?void 0:d.children)?d.children.filter(function(e){return"element"===e.type}).length:1,p=null!==(l=null===(r=null==d?void 0:d.properties)||void 0===r?void 0:r.style)&&void 0!==l?l:void 0;return o(N.Provider,n({value:{rowId:c}},{children:[i("tr",n({style:p?{cssText:p}:void 0},{children:a})),v&&(null==u?void 0:u.aiReason)&&i("tr",n({style:{width:"100%"}},{children:i("td",n({colSpan:m||1,className:h.tableExpandedCell},{children:i("div",n({className:h.tableExpandedCellInner},{children:i("div",{className:h.tableExpandedCellContent})}))}))}))]}))},A=function(r){var N=r.message,A=r.scenario,L=r.showUserStoryDiff,T=void 0!==L&&L,j=r.aiReasoningsForBlock,U=r.isCitationLoadingDisplay,M=void 0!==U&&U,P=r.className;r.highConfidenceIcon,r.lowConfidenceIcon;var E=r.customStyles,k=r.customIcons,F=r.aiReasoningDiffView,$=r.userStoryCitations,q=r.artifactId,D=r.isCraflow,W=t(null),H=w(),_=H.userStory,z=H.getAvgScoreForStory,G=H.setUserStory,Q=H.aiReasoning,B=H.setAiReasoning,O=H.customIcons,V=H.searchQueryList,J=H.searchQueryReasoningIdList,K=null!=k?k:null==O?void 0:O.userStoryIcons,X=null==E?void 0:E.searchHighlight,Y=m(W,X),Z=Y.search,ee=Y.clear,ne=l("1"),ie=ne[0],oe=ne[1],re=l(null),te=re[0],le=re[1],ae=t(new Map),de=a(function(e,n){le(e&&n?{rowId:e,aiReason:n}:null)},[]),ce=q?z(q):0,se=l([]),ue=se[0],ve=se[1],he=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 o=btoa(encodeURIComponent(i.trim()));return"\n\n<generatedCode".concat(n,' data-raw="').concat(o,'"></generatedCode>\n\n')})};d(function(){return N?he(N):N},[N]),c(function(){ve(j||Q)},[j,Q]);var me=d(function(){return{h1:function(o){o.node;var r=e(o,["node"]);return i("h1",n({className:h.heading1,style:null==E?void 0:E.heading1},{children:r.children}))},h2:function(o){o.node;var r=e(o,["node"]);return i("h2",n({className:h.heading2,style:null==E?void 0:E.heading2},{children:r.children}))},h3:function(o){o.node;var r=e(o,["node"]);return i("h3",n({className:h.heading3,style:null==E?void 0:E.heading3},{children:r.children}))},b:function(o){o.node;var r=e(o,["node"]);return i("b",n({className:h.bold,style:null==E?void 0:E.bold},{children:null==r?void 0:r.children}))},p:function(o){o.node;var r=e(o,["node"]);return i("p",n({},r,{className:h.paragraph,style:null==E?void 0:E.paragraph},{children:r.children}))},updated:function(o){var r=o.node,t=e(o,["node"]);return i(g,n({},t,{showUserStoryDiff:T,currentUpdatedTagId:ie,setCurrentUpdatedTagId:oe,userStory:_,setUserStory:G,setAiReasoning:B,node:r,isCraflow:D,customStyles:null==E?void 0:E.updatedContent}))},ol:function(o){o.node;var r=e(o,["node"]);return i("ol",n({className:h.orderedList,style:null==E?void 0:E.olist},{children:null==r?void 0:r.children}))},ul:function(o){o.node;var r=e(o,["node"]);return i("ul",n({className:h.unorderedList,style:null==E?void 0:E.ulist},{children:null==r?void 0:r.children}))},table:function(e){var o=e.children;return i("div",n({className:h.tableWrapper},{children:i("table",n({className:h.table,style:null==E?void 0:E.table},{children:o}))}))},tr:x,td:function(o){var r,t=o.node,l=o.children,a=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},d=a.style,c=e(a,["style"]);return i(R.Provider,n({value:!0},{children:i("td",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},th:function(o){var r,t=o.node,l=o.children,a=null!==(r=null==t?void 0:t.properties)&&void 0!==r?r:{},d=a.style,c=e(a,["style"]);return i(R.Provider,n({value:!0},{children:i("th",n({},c,{style:d?{cssText:d}:void 0},{children:l}))}))},a:function(n){var o,r,t;n.inline,n.children,n.node;var l=e(n,["inline","children","node"]),a=s(R)||"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===(r=d.split("$"))||void 0===r?void 0:r[1];if("ai_reasoning"===c){var v=(null!==(t=T?F:Q)&&void 0!==t?t:[]).find(function(e){return e.id.toString()===decodeURIComponent(u)});if(v&&v.reason.length>0&&v.gap.length>0)return i(S,{title:"Source",aiReason:v,isSourceHasHighlight:!1,isTable:a,customIcons:K,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,webCitation:null==E?void 0:E.webCitation,stormeeCitation:null==E?void 0:E.stormeeCitation,waveformCitation:null==E?void 0:E.waveformCitation,imageCitation:null==E?void 0:E.imageCitation,fileCitation:null==E?void 0:E.fileCitation,appModCitation:null==E?void 0:E.appModCitation,rcaCitation:null==E?void 0:E.rcaCitation,readFileCitation:null==E?void 0:E.readFileCitation,loadingCitations:null==E?void 0:E.loadingCitations}})}return null},code:function(o){o.inline;var r=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-"))?i("div",{children:i("code",n({className:h.blockCode,style:null==E?void 0:E.code},{children:r}))}):i("code",n({className:h.inlineCode,style:null==E?void 0:E.code},{children:r}))},learned:function(e){var o=e.children;return i(f,n({title:o,placement:"top"},{children:i(p,{size:16,className:h.learned})}))},generatedcode:function(n){n.node;var o=e(n,["node"]),r=(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 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}(o);return i(C,{title:"Generated Code",code:t,language:r,customStyles:{pill:null==E?void 0:E.generatedCodePill,content:null==E?void 0:E.generatedCodeContent}})}}},[ue,Q,$,ie,T,N,k]);return c(function(){if(W.current){if(null==V?void 0:V.length){var e;if(0===(null==J?void 0:J.length))requestAnimationFrame(function(){Z(V.map(function(e){return e.replace(/\*/g,"")}))});else{var n=W.current,i=new MutationObserver(function(){clearTimeout(e),e=setTimeout(function(){i.disconnect(),requestAnimationFrame(function(){Z(V.map(function(e){return e.replace(/\*/g,"")}))})},50)});i.observe(n,{childList:!0,subtree:!0})}return function(){clearTimeout(e)}}ee()}},[V,J]),i(b.Provider,n({value:{expandedInfo:te,setExpanded:de,reasonToRow:ae}},{children:o("div",n({ref:W,className:"".concat(h.container," ").concat("approving"!==A?h.wrapper:""," ").concat(P||""),style:null==E?void 0:E.container},{children:[i(u,n({components:me,rehypePlugins:[v]},{children:he(N)})),ce>0&&i("div",n({className:h.confidenceScoreContainer,style:null==E?void 0:E.confidenceScoreContainer},{children:o("span",n({className:h.confidenceScore,style:null==E?void 0:E.confidenceScore},{children:[i(I,{size:14,color:(null==E?void 0:E.confidenceScoreIconColor)||"#166534"}),ce,"%"]}))})),M&&i("div",n({className:h.citationLoader,style:null==E?void 0:E.citationLoaderContainer},{children:i(y,{customStyles:{container:null==E?void 0:E.citationLoadingContainer,icon:null==E?void 0:E.citationLoadingIcon,text:null==E?void 0:E.citationLoadingText}})}))]}))}))};export{A as default};
|
|
2
2
|
//# sourceMappingURL=UserStoryWithCitation.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__rest as e,__assign as n,__spreadArray as r}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{Undo as l,ThumbsUp as i,Minus as u,Plus as c}from"lucide-react";import{useState as d,useRef as a,useEffect as s}from"react";import v from"./UpdatedAnimationContent.module.css.js";var f=function(f){var m,p,h,y,g,S,N,I,T=f.showUserStoryDiff,M=void 0!==
|
|
1
|
+
import{__rest as e,__assign as n,__spreadArray as r}from"tslib";import{jsxs as t,jsx as o}from"react/jsx-runtime";import{Undo as l,ThumbsUp as i,Minus as u,Plus as c}from"lucide-react";import{useState as d,useRef as a,useEffect as s}from"react";import v from"./UpdatedAnimationContent.module.css.js";var f=function(f){var m,p,h,y,g,S,N,I,T=f.isCraflow,C=f.showUserStoryDiff,M=void 0!==C&&C,w=f.currentUpdatedTagId,b=f.setCurrentUpdatedTagId;f.node;var U=f.userStory,x=f.setUserStory,z=f.setAiReasoning,L=f.customStyles,A=f.customIcons,j=e(f,["isCraflow","showUserStoryDiff","currentUpdatedTagId","setCurrentUpdatedTagId","node","userStory","setUserStory","setAiReasoning","customStyles","customIcons"]),B=d(!1),E=B[0],H=B[1],k=d(null),q=k[0],D=k[1],O=a(null),_=a(null),W=null!==(m=null==L?void 0:L.iconSize)&&void 0!==m?m:16,F=null!==(p=null==L?void 0:L.actionIconSize)&&void 0!==p?p:W;s(function(){if(_.current){var e=setTimeout(function(){var e=_.current;e&&(e.style.scrollMarginBottom="20px",e.scrollIntoView({behavior:"smooth",block:"end"}))},200);return function(){return clearTimeout(e)}}},[w]);var J=null===(g=null===(y=null===(h=null==j?void 0:j.children)||void 0===h?void 0:h.filter(function(e){return"string"!=typeof e}).find(function(e){return"deleted"===(null==e?void 0:e.type)}))||void 0===y?void 0:y.props)||void 0===g?void 0:g.children,P=null===(I=null===(N=null===(S=null==j?void 0:j.children)||void 0===S?void 0:S.filter(function(e){return"string"!=typeof e}).find(function(e){return"changed"===(null==e?void 0:e.type)}))||void 0===N?void 0:N.props)||void 0===I?void 0:I.children;function R(e,t,o){var l=JSON.parse(JSON.stringify(e)),i=function(e,n){var r=function(e){for(var t=0,o=e;t<o.length;t++){var l=o[t];if((new DOMParser).parseFromString(l.value,"text/html").querySelector('updated[id="'.concat(n,'"]')))return l;if(l.sub_features&&l.sub_features.length>0){var i=r(l.sub_features);if(i)return i}}return null};return r(e)}(l,t);if(!i)return console.warn("No user story found with updated id: ".concat(t)),!1;var u=(new DOMParser).parseFromString(i.value,"text/html"),c=u.querySelector('updated[id="'.concat(t,'"]'));if(!c)return console.warn("No <updated> block found with id: ".concat(t)),!1;var d,a=c.innerHTML,s=c.querySelector("deleted"),v=c.querySelector("changed"),f=s?s.innerHTML.trim():null,m=v?v.innerHTML.trim():null,p="";if("reject"===o){var h=(d=(f||m||"").match(/ai_reasoning\$(\d+)/))?parseInt(d[1],10):null;null!==h&&z(function(e){var t=e.map(function(e){return n({},e)}),o="".concat(h,"-legacy"),l=t.find(function(e){var n;return(null===(n=e.id)||void 0===n?void 0:n.toString())===o});if(l){var i=l.id.toString().replace("-legacy","");t=t.filter(function(e){return e.id.toString()!==i}),l.id=i}return r([],t,!0)})}"accept"===o?p=f&&m?m:f&&!m?"":!f&&m?m:a:"reject"===o&&(p=f&&m||f&&!m?f:!f&&m?"":a);var y=u.createElement("div");y.innerHTML=p;var g=Array.from(y.childNodes);c.replaceWith.apply(c,g);var S=new XMLSerializer;return i.value=S.serializeToString(u),x(l),b(function(e){return Number.isNaN(Number(e))?e:String(Number(e)+1)}),!0}var V=function(e){var r=(null==L?void 0:L.actionButton)||{},t=q===e&&(null==L?void 0:L.actionButtonHover)||{};return n(n({},r),t)};return t("div",n({},j,{className:v.container,style:null==L?void 0:L.container,onMouseEnter:function(){O.current&&(clearTimeout(O.current),O.current=null),H(!0)},onMouseLeave:function(){O.current=setTimeout(function(){H(!1),O.current=null},2e3)},ref:(null==j?void 0:j.id)===w?_:null},{children:[E&&!M&&!T&&t("span",n({className:v.hoverActions,style:null==L?void 0:L.hoverActions,onMouseEnter:function(){return H(!0)}},{children:[o("button",n({className:v.actionButton,style:V("undo"),onMouseEnter:function(){return D("undo")},onMouseLeave:function(){return D(null)},onClick:function(){R(U,null==j?void 0:j.id,"reject"),H(!1)}},{children:(null==A?void 0:A.undo)?A.undo:o(l,{size:F,color:null==L?void 0:L.undoIconColor,className:v.hw})})),o("span",{className:v.divider,style:null==L?void 0:L.divider}),o("button",n({className:v.actionButton,style:V("accept"),onMouseEnter:function(){return D("accept")},onMouseLeave:function(){return D(null)},onClick:function(){R(U,null==j?void 0:j.id,"accept"),H(!1)}},{children:(null==A?void 0:A.accept)?A.accept:o(i,{size:F,color:null==L?void 0:L.thumbsUpIconColor,className:v.hw})}))]})),J&&t("div",n({className:v.deletedContainer,style:null==L?void 0:L.deletedContainer},{children:[o("span",n({style:null==L?void 0:L.deletedIconWrapper},{children:(null==A?void 0:A.deleted)?A.deleted:o(u,{size:W,color:null==L?void 0:L.deletedIconColor,className:v.deletedIcon})})),o("div",n({className:v.deletedText,style:null==L?void 0:L.deletedText},{children:J}))]})),P&&t("div",n({className:v.changedContainer,style:null==L?void 0:L.changedContainer},{children:[o("span",n({style:null==L?void 0:L.changedIconWrapper},{children:(null==A?void 0:A.changed)?A.changed:o(c,{size:W,color:null==L?void 0:L.changedIconColor,className:v.changedIcon})})),o("div",n({className:v.changedText,style:null==L?void 0:L.changedText},{children:P}))]}))]}))};export{f as default};
|
|
2
2
|
//# sourceMappingURL=UpdatedAnimationContent.js.map
|
package/dist/types/src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export interface InlineRefIconProps {
|
|
|
21
21
|
mode: "cra" | "risk-gap";
|
|
22
22
|
}
|
|
23
23
|
interface CustomChatCrRedirectionProps extends InlineRefIconProps {
|
|
24
|
+
isDefaultOpen: boolean;
|
|
24
25
|
processItemId?: string;
|
|
25
26
|
isCompleted: boolean;
|
|
26
27
|
statusUi: {
|
|
@@ -49,6 +50,6 @@ interface CustomChatCrRedirectionProps extends InlineRefIconProps {
|
|
|
49
50
|
};
|
|
50
51
|
}) => void;
|
|
51
52
|
}
|
|
52
|
-
export declare function CustomChatCrRedirection({ processItemId, isCompleted, mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, customStyles, customIcons }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
|
|
53
|
+
export declare function CustomChatCrRedirection({ isDefaultOpen, processItemId, isCompleted, mode, msg, type, id, aiReason, text, headerText, decisionStrength, statusUi, panelRef, onHandleSend, onRedirectClick, gapType, isGenerating, customStyles, customIcons }: CustomChatCrRedirectionProps): import("react/jsx-runtime").JSX.Element;
|
|
53
54
|
export {};
|
|
54
55
|
//# sourceMappingURL=CustomChatCrRedirection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAInE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE5C,MAAM,WAAW,cAAc;IAC7B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,kBAAkB;IACjC,GAAG,EAAE,GAAG,CAAC;IACT,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,eAAe,CAAC;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,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,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,EAAE,OAAO,CAAC;IACrB,QAAQ,EAAE;QACR,OAAO,EAAE,MAAM,CAAC;QAChB,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;IACF,YAAY,CAAC,EAAE,CAAC,WAAW,EAAE,MAAM,EAAE,EAAE,CAAC,EAAE,MAAM,KAAM,IAAI,CAAC;IAC3D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,eAAe,CAAA;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B;;;;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,aAAa,EACb,WAAW,EACX,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,OAAO,EACP,YAAoB,EACpB,YAAY,EACZ,WAAW,EACZ,EAAE,4BAA4B,2CA4L9B"}
|
|
1
|
+
{"version":3,"file":"CustomChatCrRedirection.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/CustomChatCrRedirection.tsx"],"names":[],"mappings":";AAMA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,E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AAE,GAAG,CAAC;QACT,IAAI,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAAC,IAAI,EAAE,MAAM,CAAA;SAAE,CAAC;KACxE,KAAK,IAAI,CAAC;CACZ;AAID,wBAAgB,uBAAuB,CAAC,EACtC,aAAa,EACb,aAAa,EACb,WAAW,EACX,IAAI,EACJ,GAAG,EACH,IAAI,EACJ,EAAE,EACF,QAAQ,EACR,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,eAAe,EACf,OAAO,EACP,YAAoB,EACpB,YAAY,EACZ,WAAW,EACZ,EAAE,4BAA4B,2CA4L9B"}
|
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;AAajF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO5E,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AACtE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAQ5C,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,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,M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AAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAA;CAC7B;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;AAajF,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AACnE,OAAO,EAAgB,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAO5E,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,gBAAgB,CAAC;AACtE,MAAM,MAAM,OAAO,GAAG,UAAU,GAAG,QAAQ,CAAC;AAQ5C,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,CAAC,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;AA+FD,MAAM,WAAW,mBAAmB;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,KAAK,GAAG,UAAU,CAAA;IACxB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,cAAc,CAAC,EAAE,MAA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AC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,8BAA8B,CAwH9E,CAAC"}
|
|
@@ -16,6 +16,7 @@ export interface IGapFilterItem {
|
|
|
16
16
|
showRedirect?: boolean;
|
|
17
17
|
}
|
|
18
18
|
type GapFilterItemProps = {
|
|
19
|
+
isDefaultOpen: boolean;
|
|
19
20
|
isCompleted: true;
|
|
20
21
|
mode: "cra" | "risk-gap";
|
|
21
22
|
index: number;
|
|
@@ -37,6 +38,6 @@ export declare const getScoreColorStyles: (score: number) => {
|
|
|
37
38
|
color: string;
|
|
38
39
|
className: string;
|
|
39
40
|
};
|
|
40
|
-
export declare const GapFilterItem: ({ isCompleted, mode, index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, customStyles, customIcons, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare const GapFilterItem: ({ isDefaultOpen, isCompleted, mode, index, isSelected, onClick, item, onFixClick, onRedirect, aiReason, panelRef, id, isGenerating, customStyles, customIcons, }: GapFilterItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
42
|
export {};
|
|
42
43
|
//# 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":";AAUA,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAE9D,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAKnE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,SAAS,EAAE;QACT,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;KACrB,CAAC;IACF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAID,KAAK,kBAAkB,GAAG;IACxB,WAAW,EAAE,IAAI,CAAC;IAClB,IAAI,EAAE,KAAK,GAAG,UAAU,CAAA;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,cAAc,CAAC;IACrB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,QAAQ,EAAE,eAAe,CAAC;IAC1B,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,CAAC,EAAE,eAAe,CAAC;IAC/B,WAAW,CAAC,EAAE,cAAc,CAAC;CAC9B,CAAC;AAIF,eAAO,MAAM,mBAAmB,UACvB,MAAM,KACZ;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,eAAe,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAsBlF,CAAC;AAIF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"GapFilterItem.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/lsc-reason-gap/GapFilterItem.tsx"],"names":[],"m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K,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAsBlF,CAAC;AAIF,eAAO,MAAM,aAAa,qKAgBvB,kBAAkB,4CAgJpB,CAAC"}
|
|
@@ -55,7 +55,8 @@ interface UserStoryWithCitationsProps {
|
|
|
55
55
|
customIcons?: UserStoryIcons;
|
|
56
56
|
aiReasoningDiffView?: TAIReasoning[];
|
|
57
57
|
userStoryCitations?: any;
|
|
58
|
+
isCraflow?: boolean;
|
|
58
59
|
}
|
|
59
|
-
declare const UserStoryWithCitations: ({ message, scenario, showUserStoryDiff, aiReasoningsForBlock, isCitationLoadingDisplay, className, highConfidenceIcon, lowConfidenceIcon, customStyles, customIcons, aiReasoningDiffView, userStoryCitations, artifactId }: UserStoryWithCitationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
declare const UserStoryWithCitations: ({ message, scenario, showUserStoryDiff, aiReasoningsForBlock, isCitationLoadingDisplay, className, highConfidenceIcon, lowConfidenceIcon, customStyles, customIcons, aiReasoningDiffView, userStoryCitations, artifactId, isCraflow }: UserStoryWithCitationsProps) => import("react/jsx-runtime").JSX.Element;
|
|
60
61
|
export default UserStoryWithCitations;
|
|
61
62
|
//# sourceMappingURL=UserStoryWithCitation.d.ts.map
|
|
@@ -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,wBAAwB,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,qBAAqB,EAAE,YAAY,EAAE,cAAc,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACrW,OAA+B,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;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AAC;IAC1C,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC,eAAe,CAAC,EAAE,qBAAqB,CAAC;IACxC,gBAAgB,CAAC,EAAE,sBAAsB,CAAC;IAC1C,aAAa,CAAC,EAAE,mBAAmB,CAAC;IACpC,gBAAgB,CAAC,EAAE,qBAAqB,CAAC;IACzC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,WAAW,CAAC,EAAE,qBAAqB,CAAC;IACpC,gBAAgB,CAAC,EAAE,0BAA0B,CAAC;IAC9C,wBAAwB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/C,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,wBAAwB,CAAC,EAAE,MAAM,CAAC;CACnC;AAED,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;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACpC,YAAY,CAAC,EAAE,iCAAiC,CAAC;IAEjD,WAAW,CAAC,EAAE,cAAc,CAAC;IAI7B,mBAAmB,CAAC,EAAE,YAAY,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"UserStoryWithCitation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE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,EAAE,iCAAiC,CAAC;IAEjD,WAAW,CAAC,EAAE,cAAc,CAAC;IAI7B,mBAAmB,CAAC,EAAE,YAAY,EAAE,CAAC;IACrC,kBAAkB,CAAC,EAAE,GAAG,CAAC;IAKzB,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB;AAmHD,QAAA,MAAM,sBAAsB,0OAYzB,2BAA2B,4CAuX7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
|
|
@@ -35,8 +35,9 @@ interface UpdatedAnimatedContentProps {
|
|
|
35
35
|
setAiReasoning: React.Dispatch<React.SetStateAction<any[]>>;
|
|
36
36
|
customStyles?: UpdatedAnimatedContentStyles;
|
|
37
37
|
customIcons?: UpdatedAnimatedContentIcons;
|
|
38
|
+
isCraflow?: boolean;
|
|
38
39
|
[key: string]: any;
|
|
39
40
|
}
|
|
40
|
-
declare const UpdatedAnimatedContent: ({ showUserStoryDiff, currentUpdatedTagId, setCurrentUpdatedTagId, node, userStory, setUserStory, setAiReasoning, customStyles, customIcons, ...props }: UpdatedAnimatedContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
declare const UpdatedAnimatedContent: ({ isCraflow, showUserStoryDiff, currentUpdatedTagId, setCurrentUpdatedTagId, node, userStory, setUserStory, setAiReasoning, customStyles, customIcons, ...props }: UpdatedAnimatedContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
42
|
export default UpdatedAnimatedContent;
|
|
42
43
|
//# sourceMappingURL=UpdatedAnimationContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdatedAnimationContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/shared/UpdatedAnimationContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,4BAA4B;IACzC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,YAAY,CAAC,EAAE,KAAK,CAAC,a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CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IACjE,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC;IAC5D,YAAY,CAAC,EAAE,4BAA4B,CAAC;IAC5C,WAAW,CAAC,EAAE,2BAA2B,CAAC;IAC1C,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACtB;AAED,QAAA,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"UpdatedAnimationContent.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/shared/UpdatedAnimationContent.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,mCAAmC,CAAC;AAE/D,MAAM,WAAW,4BAA4B;IACzC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,YAAY,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACnC,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACxC,OAAO,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC9B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAClC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,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