@e-llm-studio/requirement-ai 0.0.127 → 0.0.129

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"),t=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),r=require("showdown"),i=require("@mui/material"),l=require("uuid"),o=require("./UserStoryCard.module.css.js"),a=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),d=require("../../shared/AtomicButton.js"),c=require("../RichTextEditor/RichTextEditor.js"),f=require("../userstory-with-citation/UserStoryWithCitation.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),y=require("../story-screen/BigEnoughPanel.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=h(r);function g(n){for(var r,o=[],a=/<learned>(.*?)<\/learned>/g,u=0,d=0;null!==(r=a.exec(n));){var c=r[1],f=r.index;f>u&&o.push(t.jsx("span",{children:n.slice(u,f)},"text-pre-".concat(d++))),o.push(t.jsx(i.Tooltip,e.__assign({title:c,placement:"top"},{children:t.jsx(s.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(l.v4()))),u=a.lastIndex}return u<(null==n?void 0:n.length)&&o.push(t.jsx("span",{children:n.slice(u)},"text-post-".concat(d++))),o}var m=function(n){var r,i=n.displayName,l=v.useRequirementAI().customStyles,a=null===(r=null==l?void 0:l.userStoryCardStyles)||void 0===r?void 0:r.showDisplayName;return t.jsxs("div",e.__assign({className:o.default.displayName,style:null==a?void 0:a.wrapper},{children:[t.jsx(s.Bookmark,{className:o.default.displayNameIcon,style:null==a?void 0:a.displayNameIcon}),t.jsxs("span",e.__assign({style:null==a?void 0:a.label},{children:[i,":"]}))]}))},p=function(r){var l,h,S=r.isUserStoryCurrentlyUpdated,x=r.artifactId,j=r.artifactTitleId,C=r.parentUserStory,I=r.currentUserStory,w=r.onUserStoryChange,N=r.parentIndex,b=r.currentIndex,U=r.enableDownload,D=r.isDiffEditReviewMode,B=r.showUserStoryDiff,M=r.handleDownloadUserStory,k=r.handleOpenSendDialog,q=r.updateUserStoryArtifact,A=r.selectedArtifactId,E=r.isDisplayHighlightControl,R=r.elementDisplayConfig,T=v.useRequirementAI(),L=T.searchQueryList,H=T.citations,P=T.customStyles,z=null==P?void 0:P.userStoryCardStyles,W=null===(l=null==P?void 0:P.userStoryScreenStyles)||void 0===l?void 0:l.userStoryContentStyles,O=n.useState(e.__assign(e.__assign({},structuredClone(I)),{value:a.formatMarkdown(I.value)||""})),F=O[0],V=O[1],Q=n.useState({userStory:!1}),G=Q[0],J=Q[1],K=v.useRequirementAI(),X=K.userStory,Y=K.customIcons,Z=n.useState(""===N||A===I.artifactId),$=Z[0],ee=Z[1],te=n.useState(!1);te[0];var ne=te[1],se=n.useState(null),re=se[0],ie=se[1],le=n.useState(!1),oe=le[0],ae=le[1],ue=n.useRef(null),de=n.useState(!1);de[0];var ce=de[1],fe=n.useRef(null);n.useEffect(function(){S&&ee(S)},[S]),n.useEffect(function(){V(e.__assign(e.__assign({},structuredClone(I)),{value:a.formatMarkdown(I.value)||""}))},[I]),n.useEffect(function(){L.length>0?ee(!0):A&&ee(A===I.artifactId)},[L,A,I.artifactId]);var ve=function(){ie(null)},ye=function(){ee(function(e){return!e})};var he=null!=(null==I?void 0:I.big_enough)&&!Number.isNaN(I.big_enough)&&!!(null==I?void 0:I.big_enough_decision_factors);return t.jsxs("div",e.__assign({className:o.default.card,style:null==z?void 0:z.cardStyle},{children:[t.jsxs("div",e.__assign({className:o.default.titleSection,style:null==z?void 0:z.titleSection},{children:[t.jsxs("div",e.__assign({className:o.default.titleRow,style:null==z?void 0:z.titleRow,onClick:ye},{children:[t.jsxs("div",e.__assign({className:o.default.titleLeft,style:null==z?void 0:z.titleLeft,onMouseEnter:function(){return ce(!0)},onMouseLeave:function(){return ce(!1)}},{children:[t.jsx(m,{displayName:j}),t.jsx("h2",e.__assign({className:o.default.storyTitle,style:null==z?void 0:z.storyTitle},{children:g(I.title)}),I.artifactId)]})),t.jsxs("div",e.__assign({className:o.default.titleActions,style:null==z?void 0:z.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[he&&t.jsx(y.BigEnoughPanel,{customIcons:null==Y?void 0:Y.userStoryIcons,customStyles:null==z?void 0:z.aiReasoningCitaionStyles,currentUserStory:I,panelStyles:null==z?void 0:z.BigEnoughStyles}),!G.userStory&&t.jsxs(t.Fragment,{children:[!1!==(null==R?void 0:R.showShareButton)&&t.jsx("button",e.__assign({className:o.default.iconButton,style:null==z?void 0:z.iconButton,onClick:function(e){ie(e.currentTarget)}},{children:t.jsx(s.ExternalLink,{size:16})})),t.jsxs(i.Menu,e.__assign({id:"user-story-share-menu",anchorEl:re,open:!!re,onClose:function(){return ie(null)},style:null==z?void 0:z.userStoryShareMenu},{children:[U&&t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return ne(!0),M?[4,Promise.all([M("pdf"),M("doc")])]:[2];case 1:return e.sent(),ne(!1),[2]}})})}},{children:t.jsxs("div",e.__assign({ref:ue,className:o.default.menuItemContent,style:null==z?void 0:z.menuItemContent},{children:[t.jsx(s.Download,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Download"}))]}))})),t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){return t=I,C&&(t=e.__assign(e.__assign({},I),{value:"".concat(u.replaceTitleSection(null==C?void 0:C.value,I.title)," \n").concat(I.value)})),null==k||k(!0,[t],I.artifactId),ve(),[2]})})}},{children:t.jsxs("div",e.__assign({style:null==z?void 0:z.menuItemContent,className:o.default.menuItemContentPadded},{children:[t.jsx(s.Share2,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Send"}))]}))})),t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,n,s,r,i;return e.__generator(this,function(e){switch(e.label){case 0:t=new _.default.Converter,n=t.makeHtml(a.formatMarkdown(I.value)||I.value),s=function(e){var t=(new _.default.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(a.formatMarkdown(I.value)||I.value),r=new ClipboardItem({"text/plain":new Blob([s],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})}),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,navigator.clipboard.write([r])];case 2:return e.sent(),console.log("Copied User Story"),[3,5];case 3:return i=e.sent(),console.error("Failed to copy user story:",i),[3,5];case 4:return ve(),[7];case 5:return[2]}})})}},{children:t.jsxs("div",e.__assign({style:null==z?void 0:z.menuItemContent,className:o.default.menuItemContentPadded},{children:[t.jsx(s.Copy,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Copy"}))]}))}))]}))]}),G.userStory&&$?t.jsx(d.default,{type:"outline",children:"Cancel",style:null==z?void 0:z.cancelButton,onClick:function(){var t;null===(t=fe.current)||void 0===t||t.abort(),J(function(t){return e.__assign(e.__assign({},t),{userStory:!1})})}}):t.jsx(t.Fragment,{}),G.userStory&&$?t.jsx(d.default,{type:"fill",children:oe?t.jsxs("span",e.__assign({className:o.default.savingSpinner},{children:[t.jsx(s.LoaderCircle,{className:o.default.spinAnimation}),t.jsx("span",{children:"Saving..."})]})):"Save",isDisable:oe,style:oe?null==z?void 0:z.savingButton:null==z?void 0:z.saveButton,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){switch(n.label){case 0:return ae(!0),"userStory"==="userStory"&&(w(F),console.log("I am changing RTE editor values",F)),[4,q(H,X,x,null===(t=fe.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),J(function(t){return e.__assign(e.__assign({},t),{userStory:!1})}),ae(!1),[2]}})})}}):!D&&!B&&$&&!1!==(null==R?void 0:R.showEditButton)&&t.jsx("button",e.__assign({className:o.default.iconButton,style:null==z?void 0:z.editButton,onClick:function(){return J(function(t){return e.__assign(e.__assign({},t),{userStory:!0})})}},{children:t.jsx(s.PencilIcon,{color:null==z?void 0:z.pencilIconColor,size:16})})),t.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),ye()},style:null==z?void 0:z.chevronButton,className:o.default.chevronButton},{children:$?t.jsx(s.ChevronUp,{className:o.default.chevronIcon,color:null==z?void 0:z.chevronIconColor}):t.jsx(s.ChevronDown,{className:o.default.chevronIcon,color:null==z?void 0:z.chevronIconColor})}))]}))]})),t.jsx("div",{className:o.default.divider,style:null==z?void 0:z.dividerStyle})]})),$&&t.jsx("div",e.__assign({className:o.default.cardContent,style:null==z?void 0:z.cardContentStyle},{children:t.jsxs("div",e.__assign({className:o.default.contentInner,style:null==z?void 0:z.contentInner},{children:[t.jsxs("div",e.__assign({className:o.default.descriptionSection,style:null==z?void 0:z.descriptionSection},{children:[t.jsx("div",{className:o.default.justifyBetween,style:null==z?void 0:z.justifyBetween}),G.userStory?t.jsx(c.default,{minHeight:"100%",height:"100%",type:"string",value:a.formatMarkdown(I.value)||"",handleUpdateState:function(t,n){var s=a.indentMarkdown(n);V(function(t){return e.__assign(e.__assign({},t),{value:s||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:G.userStory?"edit":"readOnly"}):t.jsx(f.default,{showUserStoryDiff:B,isParent:""===N,message:a.formatMarkdown(I.value)||"",artifactId:I.artifactId,customStyles:W,isDisplayHighlightControl:E})]})),null===(h=F.sub_features)||void 0===h?void 0:h.map(function(n,s){return t.jsx(p,{artifactId:x,isUserStoryCurrentlyUpdated:S,artifactTitleId:"".concat(j,"-").concat(String.fromCharCode(65+s)),parentUserStory:I,parentIndex:"".concat(N).concat(N&&".").concat(b),currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(t){return function(t,n){var s=e.__spreadArray([],I.sub_features||[],!0);s[t]=n,w(e.__assign(e.__assign({},I),{sub_features:s}))}(s,t)},enableDownload:!0,isDiffEditReviewMode:D,showUserStoryDiff:B,updateUserStoryArtifact:q,handleDownloadUserStory:M,handleOpenSendDialog:k,isDisplayHighlightControl:E,elementDisplayConfig:R},n.artifactId)})]}))}))]}))};exports.StoryCard=p,exports.UserStoryCardWrapper=function(n){var r=n.artifactTitleIDs,i=n.isDiffEditReviewMode,l=n.showUserStoryDiff,a=n.updateUserStoryArtifact,u=n.isUserStoryCurrentlyUpdated,d=n.artifactId,c=n.handleOpenSendDialog,f=n.handleDownloadUserStory,y=n.selectedArtifactId,h=n.isDisplayHighlightControl,_=n.elementDisplayConfig,g=v.useRequirementAI(),m=g.userStory,S=g.setUserStory,x=g.customStyles,j=g.searchQueryList,C=g.currentHighlightIndex,I=g.setCurrentHighlightIndex,w=null==x?void 0:x.userStoryCardStyles,N=0===C,b=C===j.length-1;return t.jsxs("div",e.__assign({className:o.default.userStoryCardWrapper,style:h?e.__assign(e.__assign({},null==w?void 0:w.userStoryCardWrapper),{position:"relative"}):null==w?void 0:w.userStoryCardWrapper},{children:[h&&t.jsx(t.Fragment,{children:j.length>0&&t.jsx("div",e.__assign({className:o.default.wrapper},{children:t.jsx("div",e.__assign({className:o.default.highlightNavigation},{children:t.jsxs("div",e.__assign({className:o.default.navigationContainer},{children:[t.jsxs("span",e.__assign({className:o.default.navCounter},{children:[C+1," of ",j.length]})),t.jsxs("div",e.__assign({className:o.default.navButtons},{children:[t.jsx("button",e.__assign({onClick:function(){C>0&&I(function(e){return e-1})},className:o.default.navButton,disabled:N},{children:t.jsx(s.ChevronUpIcon,{size:20,className:o.default.navIcon})})),t.jsx("button",e.__assign({onClick:function(){C<j.length-1&&I(function(e){return e+1})},className:o.default.navButton,disabled:b},{children:t.jsx(s.ChevronDownIcon,{size:20,className:o.default.navIcon})}))]}))]}))}))}))}),m.map(function(n,s){return t.jsx(p,{isUserStoryCurrentlyUpdated:u,artifactId:d,artifactTitleId:r[s]||"",currentUserStory:n,onUserStoryChange:function(t){S(function(n){return n[s]=t,e.__spreadArray([],n,!0)})},parentIndex:"",currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:i,showUserStoryDiff:l,updateUserStoryArtifact:a,handleOpenSendDialog:c,handleDownloadUserStory:f,selectedArtifactId:y,isDisplayHighlightControl:h,elementDisplayConfig:_},n.artifactId)})]}))},exports.default=p,exports.replaceLearnedTagsWithInfo=g;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),r=require("showdown"),i=require("@mui/material"),l=require("uuid"),o=require("./UserStoryCard.module.css.js"),a=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),d=require("../../shared/AtomicButton.js"),c=require("../RichTextEditor/RichTextEditor.js"),f=require("../userstory-with-citation/UserStoryWithCitation.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),y=require("../story-screen/BigEnoughPanel.js");function h(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=h(r);function g(n){for(var r,o=[],a=/<learned>(.*?)<\/learned>/g,u=0,d=0;null!==(r=a.exec(n));){var c=r[1],f=r.index;f>u&&o.push(t.jsx("span",{children:n.slice(u,f)},"text-pre-".concat(d++))),o.push(t.jsx(i.Tooltip,e.__assign({title:c,placement:"top"},{children:t.jsx(s.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(l.v4()))),u=a.lastIndex}return u<(null==n?void 0:n.length)&&o.push(t.jsx("span",{children:n.slice(u)},"text-post-".concat(d++))),o}var m=function(n){var r,i=n.displayName,l=v.useRequirementAI().customStyles,a=null===(r=null==l?void 0:l.userStoryCardStyles)||void 0===r?void 0:r.showDisplayName;return t.jsxs("div",e.__assign({className:o.default.displayName,style:null==a?void 0:a.wrapper},{children:[t.jsx(s.Bookmark,{className:o.default.displayNameIcon,style:null==a?void 0:a.displayNameIcon}),t.jsxs("span",e.__assign({style:null==a?void 0:a.label},{children:[i,":"]}))]}))},p=function(r){var l,h,S=r.isUserStoryCurrentlyUpdated,x=r.artifactId,j=r.artifactTitleId,C=r.parentUserStory,I=r.currentUserStory,w=r.onUserStoryChange,N=r.parentIndex,b=r.currentIndex,U=r.enableDownload,D=r.isDiffEditReviewMode,B=r.showUserStoryDiff,M=r.handleDownloadUserStory,k=r.handleOpenSendDialog,q=r.updateUserStoryArtifact,A=r.selectedArtifactId,E=r.isDisplayHighlightControl,R=r.elementDisplayConfig,T=v.useRequirementAI(),L=T.searchQueryList,H=T.citations,P=T.customStyles,z=null==P?void 0:P.userStoryCardStyles,W=null===(l=null==P?void 0:P.userStoryScreenStyles)||void 0===l?void 0:l.userStoryContentStyles,O=n.useState(e.__assign(e.__assign({},structuredClone(I)),{value:a.formatMarkdown(I.value)||""})),F=O[0],V=O[1],Q=n.useState({userStory:!1}),G=Q[0],J=Q[1],K=v.useRequirementAI(),X=K.userStory,Y=K.customIcons,Z=n.useState(""===N||A===I.artifactId),$=Z[0],ee=Z[1],te=n.useState(!1);te[0];var ne=te[1],se=n.useState(null),re=se[0],ie=se[1],le=n.useState(!1),oe=le[0],ae=le[1],ue=n.useRef(null),de=n.useState(!1);de[0];var ce=de[1],fe=n.useRef(null);n.useEffect(function(){S&&ee(S)},[S]),n.useEffect(function(){V(e.__assign(e.__assign({},structuredClone(I)),{value:a.formatMarkdown(I.value)||""}))},[I]),n.useEffect(function(){L.length>0?ee(!0):A&&ee(A===I.artifactId)},[L,A,I.artifactId]);var ve=function(){ie(null)},ye=function(){ee(function(e){return!e})};var he=null!=(null==I?void 0:I.big_enough)&&!Number.isNaN(I.big_enough)&&!!(null==I?void 0:I.big_enough_decision_factors);return t.jsxs("div",e.__assign({className:o.default.card,style:null==z?void 0:z.cardStyle},{children:[t.jsxs("div",e.__assign({className:o.default.titleSection,style:null==z?void 0:z.titleSection},{children:[t.jsxs("div",e.__assign({className:o.default.titleRow,style:null==z?void 0:z.titleRow,onClick:ye},{children:[t.jsxs("div",e.__assign({className:o.default.titleLeft,style:null==z?void 0:z.titleLeft,onMouseEnter:function(){return ce(!0)},onMouseLeave:function(){return ce(!1)}},{children:[t.jsx(m,{displayName:j}),t.jsx("h2",e.__assign({className:o.default.storyTitle,style:null==z?void 0:z.storyTitle},{children:g(I.title)}),I.artifactId)]})),t.jsxs("div",e.__assign({className:o.default.titleActions,style:null==z?void 0:z.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[he&&t.jsx(y.BigEnoughPanel,{customIcons:null==Y?void 0:Y.userStoryIcons,customStyles:null==z?void 0:z.aiReasoningCitaionStyles,currentUserStory:I,panelStyles:null==z?void 0:z.BigEnoughStyles}),!G.userStory&&t.jsxs(t.Fragment,{children:[!1!==(null==R?void 0:R.showShareButton)&&t.jsx("button",e.__assign({className:o.default.iconButton,style:null==z?void 0:z.iconButton,onClick:function(e){ie(e.currentTarget)}},{children:t.jsx(s.ExternalLink,{size:16})})),t.jsxs(i.Menu,e.__assign({id:"user-story-share-menu",anchorEl:re,open:!!re,onClose:function(){return ie(null)},style:null==z?void 0:z.userStoryShareMenu},{children:[U&&t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return ne(!0),M?[4,Promise.all([M("pdf"),M("doc")])]:[2];case 1:return e.sent(),ne(!1),[2]}})})}},{children:t.jsxs("div",e.__assign({ref:ue,className:o.default.menuItemContent,style:null==z?void 0:z.menuItemContent},{children:[t.jsx(s.Download,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Download"}))]}))})),t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){return t=I,C&&(t=e.__assign(e.__assign({},I),{value:"".concat(u.replaceTitleSection(null==C?void 0:C.value,I.title)," \n").concat(I.value)})),null==k||k(!0,[t],I.artifactId),ve(),[2]})})}},{children:t.jsxs("div",e.__assign({style:null==z?void 0:z.menuItemContent,className:o.default.menuItemContentPadded},{children:[t.jsx(s.Share2,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Send"}))]}))})),t.jsx(i.MenuItem,e.__assign({style:null==z?void 0:z.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,n,s,r,i;return e.__generator(this,function(e){switch(e.label){case 0:t=new _.default.Converter,n=t.makeHtml(a.formatMarkdown(I.value)||I.value),s=function(e){var t=(new _.default.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(a.formatMarkdown(I.value)||I.value),r=new ClipboardItem({"text/plain":new Blob([s],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})}),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,navigator.clipboard.write([r])];case 2:return e.sent(),console.log("Copied User Story"),[3,5];case 3:return i=e.sent(),console.error("Failed to copy user story:",i),[3,5];case 4:return ve(),[7];case 5:return[2]}})})}},{children:t.jsxs("div",e.__assign({style:null==z?void 0:z.menuItemContent,className:o.default.menuItemContentPadded},{children:[t.jsx(s.Copy,{size:16,color:null==z?void 0:z.menuIconColor}),t.jsx("p",e.__assign({style:null==z?void 0:z.menuLabel},{children:"Copy"}))]}))}))]}))]}),G.userStory&&$?t.jsx(d.default,{type:"outline",children:"Cancel",style:null==z?void 0:z.cancelButton,onClick:function(){var t;null===(t=fe.current)||void 0===t||t.abort(),J(function(t){return e.__assign(e.__assign({},t),{userStory:!1})})}}):t.jsx(t.Fragment,{}),G.userStory&&$?t.jsx(d.default,{type:"fill",children:oe?t.jsxs("span",e.__assign({className:o.default.savingSpinner,style:null==z?void 0:z.savingSpinner},{children:[t.jsx(s.LoaderCircle,{className:o.default.spinAnimation,style:null==z?void 0:z.spinAnimation}),t.jsx("span",{children:"Saving..."})]})):"Save",isDisable:oe,style:oe?null==z?void 0:z.savingButton:null==z?void 0:z.saveButton,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){switch(n.label){case 0:return ae(!0),"userStory"==="userStory"&&(w(F),console.log("I am changing RTE editor values",F)),[4,q(H,X,x,null===(t=fe.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),J(function(t){return e.__assign(e.__assign({},t),{userStory:!1})}),ae(!1),[2]}})})}}):!D&&!B&&$&&!1!==(null==R?void 0:R.showEditButton)&&t.jsx("button",e.__assign({className:o.default.iconButton,style:null==z?void 0:z.editButton,onClick:function(){return J(function(t){return e.__assign(e.__assign({},t),{userStory:!0})})}},{children:t.jsx(s.PencilIcon,{color:null==z?void 0:z.pencilIconColor,size:16})})),t.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),ye()},style:null==z?void 0:z.chevronButton,className:o.default.chevronButton},{children:$?t.jsx(s.ChevronUp,{className:o.default.chevronIcon,color:null==z?void 0:z.chevronIconColor}):t.jsx(s.ChevronDown,{className:o.default.chevronIcon,color:null==z?void 0:z.chevronIconColor})}))]}))]})),t.jsx("div",{className:o.default.divider,style:null==z?void 0:z.dividerStyle})]})),$&&t.jsx("div",e.__assign({className:o.default.cardContent,style:null==z?void 0:z.cardContentStyle},{children:t.jsxs("div",e.__assign({className:o.default.contentInner,style:null==z?void 0:z.contentInner},{children:[t.jsxs("div",e.__assign({className:o.default.descriptionSection,style:null==z?void 0:z.descriptionSection},{children:[t.jsx("div",{className:o.default.justifyBetween,style:null==z?void 0:z.justifyBetween}),G.userStory?t.jsx(c.default,{minHeight:"100%",height:"100%",type:"string",value:a.formatMarkdown(I.value)||"",handleUpdateState:function(t,n){var s=a.indentMarkdown(n);V(function(t){return e.__assign(e.__assign({},t),{value:s||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:G.userStory?"edit":"readOnly"}):t.jsx(f.default,{showUserStoryDiff:B,isParent:""===N,message:a.formatMarkdown(I.value)||"",artifactId:I.artifactId,customStyles:W,isDisplayHighlightControl:E})]})),null===(h=F.sub_features)||void 0===h?void 0:h.map(function(n,s){return t.jsx(p,{artifactId:x,isUserStoryCurrentlyUpdated:S,artifactTitleId:"".concat(j,"-").concat(String.fromCharCode(65+s)),parentUserStory:I,parentIndex:"".concat(N).concat(N&&".").concat(b),currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(t){return function(t,n){var s=e.__spreadArray([],I.sub_features||[],!0);s[t]=n,w(e.__assign(e.__assign({},I),{sub_features:s}))}(s,t)},enableDownload:!0,isDiffEditReviewMode:D,showUserStoryDiff:B,updateUserStoryArtifact:q,handleDownloadUserStory:M,handleOpenSendDialog:k,isDisplayHighlightControl:E,elementDisplayConfig:R},n.artifactId)})]}))}))]}))};exports.StoryCard=p,exports.UserStoryCardWrapper=function(n){var r=n.artifactTitleIDs,i=n.isDiffEditReviewMode,l=n.showUserStoryDiff,a=n.updateUserStoryArtifact,u=n.isUserStoryCurrentlyUpdated,d=n.artifactId,c=n.handleOpenSendDialog,f=n.handleDownloadUserStory,y=n.selectedArtifactId,h=n.isDisplayHighlightControl,_=n.elementDisplayConfig,g=v.useRequirementAI(),m=g.userStory,S=g.setUserStory,x=g.customStyles,j=g.searchQueryList,C=g.currentHighlightIndex,I=g.setCurrentHighlightIndex,w=null==x?void 0:x.userStoryCardStyles,N=0===C,b=C===j.length-1;return t.jsxs("div",e.__assign({className:o.default.userStoryCardWrapper,style:h?e.__assign(e.__assign({},null==w?void 0:w.userStoryCardWrapper),{position:"relative"}):null==w?void 0:w.userStoryCardWrapper},{children:[h&&t.jsx(t.Fragment,{children:j.length>0&&t.jsx("div",e.__assign({className:o.default.wrapper},{children:t.jsx("div",e.__assign({className:o.default.highlightNavigation},{children:t.jsxs("div",e.__assign({className:o.default.navigationContainer},{children:[t.jsxs("span",e.__assign({className:o.default.navCounter},{children:[C+1," of ",j.length]})),t.jsxs("div",e.__assign({className:o.default.navButtons},{children:[t.jsx("button",e.__assign({onClick:function(){C>0&&I(function(e){return e-1})},className:o.default.navButton,disabled:N},{children:t.jsx(s.ChevronUpIcon,{size:20,className:o.default.navIcon})})),t.jsx("button",e.__assign({onClick:function(){C<j.length-1&&I(function(e){return e+1})},className:o.default.navButton,disabled:b},{children:t.jsx(s.ChevronDownIcon,{size:20,className:o.default.navIcon})}))]}))]}))}))}))}),m.map(function(n,s){return t.jsx(p,{isUserStoryCurrentlyUpdated:u,artifactId:d,artifactTitleId:r[s]||"",currentUserStory:n,onUserStoryChange:function(t){S(function(n){return n[s]=t,e.__spreadArray([],n,!0)})},parentIndex:"",currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:i,showUserStoryDiff:l,updateUserStoryArtifact:a,handleOpenSendDialog:c,handleDownloadUserStory:f,selectedArtifactId:y,isDisplayHighlightControl:h,elementDisplayConfig:_},n.artifactId)})]}))},exports.default=p,exports.replaceLearnedTagsWithInfo=g;
2
2
  //# sourceMappingURL=UserStoryCard.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode('.UserStoryWithCitation-module_container__YRdbR{position:relative;width:100%}.UserStoryWithCitation-module_wrapper__wbnqg{border:1px solid #d5d5d5;border-radius:16px;padding:20px}.UserStoryWithCitation-module_heading1__KsWUO{color:#000;font-family:Inter,sans-serif;font-size:1.5rem;margin:.75rem 0 .25rem;padding:0}.UserStoryWithCitation-module_heading2__GHshw{color:#000;font-family:Inter,sans-serif;font-size:1.25rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_heading3__Jm9Xb{color:#000;font-family:Inter,sans-serif;font-size:1.125rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_bold__HenfX{font-family:Inter,sans-serif;font-weight:700}.UserStoryWithCitation-module_paragraph__a1-pc{word-wrap:break-word;display:block;flex-wrap:wrap;font-family:Inter,sans-serif;font-size:1rem;line-height:1.75rem;margin:0;max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:justify;white-space:normal;word-break:break-word}.UserStoryWithCitation-module_orderedList__E5PQa{font-family:Inter,sans-serif;list-style-type:decimal;margin-left:1rem}.UserStoryWithCitation-module_unorderedList__SFvpc{font-family:Inter,sans-serif;list-style-type:disc;margin-left:1rem}.UserStoryWithCitation-module_inlineCode__5014y{background-color:#d633840d;border-radius:.3rem;box-sizing:border-box;color:#d63384;font-family:Source Code Pro,monospace;font-size:.95em;overflow-wrap:break-word;padding:.2rem .5rem;white-space:pre-wrap;width:100%;word-break:break-word}.UserStoryWithCitation-module_blockCode__pmHG5{color:#d63384;display:block;overflow:hidden;white-space:pre-wrap;word-break:break-words}.UserStoryWithCitation-module_learned__0US6d{color:#3b82f6;cursor:pointer;display:inline-block;margin-left:.25rem;margin-right:.25rem}.UserStoryWithCitation-module_linkText__5kBNv:hover{color:#1d4ed8}.UserStoryWithCitation-module_tableWrapper__r94Fx{box-sizing:border-box;max-width:100%;overflow-x:auto;width:100%}.UserStoryWithCitation-module_table__tEyKd{border-collapse:collapse;box-sizing:border-box;margin:20px 0;table-layout:fixed;width:100%}.UserStoryWithCitation-module_scrollContainer__S-BtW{overflow:hidden}.UserStoryWithCitation-module_citationLoader__Op7Sm{bottom:0;left:0;margin-top:12px}.UserStoryWithCitation-module_aiReasoningButton__-tprH{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:2px;padding:2px 4px;vertical-align:middle}.UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6{color:#4b5563;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz{color:#cf4343;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_confidenceScoreContainer__zOE-E{position:absolute;right:12px;top:12px;z-index:10}.UserStoryWithCitation-module_confidenceScore__lhT4p{align-items:center;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:9999px;box-shadow:0 1px 2px #0000000d;color:#166534;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:700;gap:4px;padding:4px 8px}.UserStoryWithCitation-module_orderedList__E5PQa{counter-reset:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa>li{counter-increment:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:childItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:childItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:grandchildItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:grandchildItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) "." counter(grandchildItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}'));const i=document.head||document.getElementsByTagName("head")[0]||document.documentElement;i&&i.appendChild(e)}(),exports.default={container:"UserStoryWithCitation-module_container__YRdbR",wrapper:"UserStoryWithCitation-module_wrapper__wbnqg",heading1:"UserStoryWithCitation-module_heading1__KsWUO",heading2:"UserStoryWithCitation-module_heading2__GHshw",heading3:"UserStoryWithCitation-module_heading3__Jm9Xb",bold:"UserStoryWithCitation-module_bold__HenfX",paragraph:"UserStoryWithCitation-module_paragraph__a1-pc",orderedList:"UserStoryWithCitation-module_orderedList__E5PQa",unorderedList:"UserStoryWithCitation-module_unorderedList__SFvpc",inlineCode:"UserStoryWithCitation-module_inlineCode__5014y",blockCode:"UserStoryWithCitation-module_blockCode__pmHG5",learned:"UserStoryWithCitation-module_learned__0US6d",linkText:"UserStoryWithCitation-module_linkText__5kBNv",tableWrapper:"UserStoryWithCitation-module_tableWrapper__r94Fx",table:"UserStoryWithCitation-module_table__tEyKd",scrollContainer:"UserStoryWithCitation-module_scrollContainer__S-BtW",citationLoader:"UserStoryWithCitation-module_citationLoader__Op7Sm",aiReasoningButton:"UserStoryWithCitation-module_aiReasoningButton__-tprH",aiReasoningIconHighConfidence:"UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6",aiReasoningIconLowConfidence:"UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz",confidenceScoreContainer:"UserStoryWithCitation-module_confidenceScoreContainer__zOE-E",confidenceScore:"UserStoryWithCitation-module_confidenceScore__lhT4p"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode('.UserStoryWithCitation-module_container__YRdbR{position:relative;width:100%}.UserStoryWithCitation-module_wrapper__wbnqg{border:1px solid #d5d5d5;border-radius:16px;padding:20px}.UserStoryWithCitation-module_heading1__KsWUO{color:#000;font-family:Inter,sans-serif;font-size:1.5rem;margin:.75rem 0 .25rem;padding:0}.UserStoryWithCitation-module_heading2__GHshw{color:#000;font-family:Inter,sans-serif;font-size:1.25rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_heading3__Jm9Xb{color:#000;font-family:Inter,sans-serif;font-size:1.125rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_bold__HenfX{font-family:Inter,sans-serif;font-weight:700}.UserStoryWithCitation-module_paragraph__a1-pc{word-wrap:break-word;display:block;flex-wrap:wrap;font-family:Inter,sans-serif;font-size:1rem;line-height:1.75rem;margin:0;max-width:100%;overflow:hidden;overflow:visible;overflow-wrap:break-word;text-align:justify;white-space:normal;word-break:break-word}.UserStoryWithCitation-module_orderedList__E5PQa{font-family:Inter,sans-serif;list-style-type:decimal;margin-left:1rem}.UserStoryWithCitation-module_unorderedList__SFvpc{font-family:Inter,sans-serif;list-style-type:disc;margin-left:1rem}.UserStoryWithCitation-module_inlineCode__5014y{background-color:#d633840d;border-radius:.3rem;box-sizing:border-box;color:#d63384;font-family:Source Code Pro,monospace;font-size:.95em;overflow-wrap:break-word;padding:.2rem .5rem;white-space:pre-wrap;width:100%;word-break:break-word}.UserStoryWithCitation-module_blockCode__pmHG5{color:#d63384;display:block;overflow:hidden;white-space:pre-wrap;word-break:break-words}.UserStoryWithCitation-module_learned__0US6d{color:#3b82f6;cursor:pointer;display:inline-block;margin-left:.25rem;margin-right:.25rem}.UserStoryWithCitation-module_linkText__5kBNv:hover{color:#1d4ed8}.UserStoryWithCitation-module_tableWrapper__r94Fx{box-sizing:border-box;max-width:100%;overflow-x:auto;width:100%}.UserStoryWithCitation-module_table__tEyKd{border-collapse:collapse;box-sizing:border-box;margin:20px 0;table-layout:fixed;width:100%}.UserStoryWithCitation-module_scrollContainer__S-BtW{overflow:hidden}.UserStoryWithCitation-module_citationLoader__Op7Sm{bottom:0;left:0;margin-top:12px}.UserStoryWithCitation-module_aiReasoningButton__-tprH{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:2px;padding:2px 4px;vertical-align:middle}.UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6{color:#4b5563;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz{color:#cf4343;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_confidenceScoreContainer__zOE-E{position:absolute;right:12px;top:12px;z-index:10}.UserStoryWithCitation-module_confidenceScore__lhT4p{align-items:center;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:9999px;box-shadow:0 1px 2px #0000000d;color:#166534;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:700;gap:4px;padding:4px 8px}.UserStoryWithCitation-module_orderedList__E5PQa{counter-reset:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa>li{counter-increment:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:childItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:childItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:grandchildItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:grandchildItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) "." counter(grandchildItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}'));const i=document.head||document.getElementsByTagName("head")[0]||document.documentElement;i&&i.appendChild(e)}(),exports.default={container:"UserStoryWithCitation-module_container__YRdbR",wrapper:"UserStoryWithCitation-module_wrapper__wbnqg",heading1:"UserStoryWithCitation-module_heading1__KsWUO",heading2:"UserStoryWithCitation-module_heading2__GHshw",heading3:"UserStoryWithCitation-module_heading3__Jm9Xb",bold:"UserStoryWithCitation-module_bold__HenfX",paragraph:"UserStoryWithCitation-module_paragraph__a1-pc",orderedList:"UserStoryWithCitation-module_orderedList__E5PQa",unorderedList:"UserStoryWithCitation-module_unorderedList__SFvpc",inlineCode:"UserStoryWithCitation-module_inlineCode__5014y",blockCode:"UserStoryWithCitation-module_blockCode__pmHG5",learned:"UserStoryWithCitation-module_learned__0US6d",linkText:"UserStoryWithCitation-module_linkText__5kBNv",tableWrapper:"UserStoryWithCitation-module_tableWrapper__r94Fx",table:"UserStoryWithCitation-module_table__tEyKd",scrollContainer:"UserStoryWithCitation-module_scrollContainer__S-BtW",citationLoader:"UserStoryWithCitation-module_citationLoader__Op7Sm",aiReasoningButton:"UserStoryWithCitation-module_aiReasoningButton__-tprH",aiReasoningIconHighConfidence:"UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6",aiReasoningIconLowConfidence:"UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz",confidenceScoreContainer:"UserStoryWithCitation-module_confidenceScoreContainer__zOE-E",confidenceScore:"UserStoryWithCitation-module_confidenceScore__lhT4p"};
2
2
  //# sourceMappingURL=UserStoryWithCitation.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e,__spreadArray as t,__awaiter as n,__generator as r}from"tslib";import{jsxs as o,jsx as i,Fragment as l}from"react/jsx-runtime";import{useState as s,useRef as a,useEffect as u}from"react";import{ChevronUpIcon as c,ChevronDownIcon as d,ExternalLink as v,Download as y,Share2 as m,Copy as h,LoaderCircle as f,PencilIcon as p,ChevronUp as S,ChevronDown as C,Info as g,Bookmark as I}from"lucide-react";import N from"showdown";import{Menu as w,MenuItem as b,Tooltip as U}from"@mui/material";import{v4 as D}from"uuid";import x from"./UserStoryCard.module.css.js";import{formatMarkdown as B,indentMarkdown as k}from"../../utils/helpers.js";import{replaceTitleSection as M}from"../../utils/user-story.utils.js";import A from"../../shared/AtomicButton.js";import E from"../RichTextEditor/RichTextEditor.js";import R from"../userstory-with-citation/UserStoryWithCitation.js";import{useRequirementAI as T}from"../RequirementAIWrapper/RequirementAIWrapper.js";import{BigEnoughPanel as j}from"../story-screen/BigEnoughPanel.js";function H(t){for(var n,r=[],o=/<learned>(.*?)<\/learned>/g,l=0,s=0;null!==(n=o.exec(t));){var a=n[1],u=n.index;u>l&&r.push(i("span",{children:t.slice(l,u)},"text-pre-".concat(s++))),r.push(i(U,e({title:a,placement:"top"},{children:i(g,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(D()))),l=o.lastIndex}return l<(null==t?void 0:t.length)&&r.push(i("span",{children:t.slice(l)},"text-post-".concat(s++))),r}var L=function(t){var n,r=t.displayName,l=T().customStyles,s=null===(n=null==l?void 0:l.userStoryCardStyles)||void 0===n?void 0:n.showDisplayName;return o("div",e({className:x.displayName,style:null==s?void 0:s.wrapper},{children:[i(I,{className:x.displayNameIcon,style:null==s?void 0:s.displayNameIcon}),o("span",e({style:null==s?void 0:s.label},{children:[r,":"]}))]}))},z=function(c){var d,g,I=c.isUserStoryCurrentlyUpdated,U=c.artifactId,D=c.artifactTitleId,_=c.parentUserStory,P=c.currentUserStory,W=c.onUserStoryChange,O=c.parentIndex,V=c.currentIndex,q=c.enableDownload,Q=c.isDiffEditReviewMode,F=c.showUserStoryDiff,G=c.handleDownloadUserStory,J=c.handleOpenSendDialog,K=c.updateUserStoryArtifact,X=c.selectedArtifactId,Y=c.isDisplayHighlightControl,Z=c.elementDisplayConfig,$=T(),ee=$.searchQueryList,te=$.citations,ne=$.customStyles,re=null==ne?void 0:ne.userStoryCardStyles,oe=null===(d=null==ne?void 0:ne.userStoryScreenStyles)||void 0===d?void 0:d.userStoryContentStyles,ie=s(e(e({},structuredClone(P)),{value:B(P.value)||""})),le=ie[0],se=ie[1],ae=s({userStory:!1}),ue=ae[0],ce=ae[1],de=T(),ve=de.userStory,ye=de.customIcons,me=s(""===O||X===P.artifactId),he=me[0],fe=me[1],pe=s(!1);pe[0];var Se=pe[1],Ce=s(null),ge=Ce[0],Ie=Ce[1],Ne=s(!1),we=Ne[0],be=Ne[1],Ue=a(null),De=s(!1);De[0];var xe=De[1],Be=a(null);u(function(){I&&fe(I)},[I]),u(function(){se(e(e({},structuredClone(P)),{value:B(P.value)||""}))},[P]),u(function(){ee.length>0?fe(!0):X&&fe(X===P.artifactId)},[ee,X,P.artifactId]);var ke=function(){Ie(null)},Me=function(){fe(function(e){return!e})};var Ae=null!=(null==P?void 0:P.big_enough)&&!Number.isNaN(P.big_enough)&&!!(null==P?void 0:P.big_enough_decision_factors);return o("div",e({className:x.card,style:null==re?void 0:re.cardStyle},{children:[o("div",e({className:x.titleSection,style:null==re?void 0:re.titleSection},{children:[o("div",e({className:x.titleRow,style:null==re?void 0:re.titleRow,onClick:Me},{children:[o("div",e({className:x.titleLeft,style:null==re?void 0:re.titleLeft,onMouseEnter:function(){return xe(!0)},onMouseLeave:function(){return xe(!1)}},{children:[i(L,{displayName:D}),i("h2",e({className:x.storyTitle,style:null==re?void 0:re.storyTitle},{children:H(P.title)}),P.artifactId)]})),o("div",e({className:x.titleActions,style:null==re?void 0:re.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[Ae&&i(j,{customIcons:null==ye?void 0:ye.userStoryIcons,customStyles:null==re?void 0:re.aiReasoningCitaionStyles,currentUserStory:P,panelStyles:null==re?void 0:re.BigEnoughStyles}),!ue.userStory&&o(l,{children:[!1!==(null==Z?void 0:Z.showShareButton)&&i("button",e({className:x.iconButton,style:null==re?void 0:re.iconButton,onClick:function(e){Ie(e.currentTarget)}},{children:i(v,{size:16})})),o(w,e({id:"user-story-share-menu",anchorEl:ge,open:!!ge,onClose:function(){return Ie(null)},style:null==re?void 0:re.userStoryShareMenu},{children:[q&&i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return Se(!0),G?[4,Promise.all([G("pdf"),G("doc")])]:[2];case 1:return e.sent(),Se(!1),[2]}})})}},{children:o("div",e({ref:Ue,className:x.menuItemContent,style:null==re?void 0:re.menuItemContent},{children:[i(y,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Download"}))]}))})),i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var t;return r(this,function(n){return t=P,_&&(t=e(e({},P),{value:"".concat(M(null==_?void 0:_.value,P.title)," \n").concat(P.value)})),null==J||J(!0,[t],P.artifactId),ke(),[2]})})}},{children:o("div",e({style:null==re?void 0:re.menuItemContent,className:x.menuItemContentPadded},{children:[i(m,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Send"}))]}))})),i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var e,t,n,o,i;return r(this,function(r){switch(r.label){case 0:e=new N.Converter,t=e.makeHtml(B(P.value)||P.value),n=function(e){var t=(new N.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(B(P.value)||P.value),o=new ClipboardItem({"text/plain":new Blob([n],{type:"text/plain"}),"text/html":new Blob([t],{type:"text/html"})}),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,navigator.clipboard.write([o])];case 2:return r.sent(),console.log("Copied User Story"),[3,5];case 3:return i=r.sent(),console.error("Failed to copy user story:",i),[3,5];case 4:return ke(),[7];case 5:return[2]}})})}},{children:o("div",e({style:null==re?void 0:re.menuItemContent,className:x.menuItemContentPadded},{children:[i(h,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Copy"}))]}))}))]}))]}),ue.userStory&&he?i(A,{type:"outline",children:"Cancel",style:null==re?void 0:re.cancelButton,onClick:function(){var t;null===(t=Be.current)||void 0===t||t.abort(),ce(function(t){return e(e({},t),{userStory:!1})})}}):i(l,{}),ue.userStory&&he?i(A,{type:"fill",children:we?o("span",e({className:x.savingSpinner},{children:[i(f,{className:x.spinAnimation}),i("span",{children:"Saving..."})]})):"Save",isDisable:we,style:we?null==re?void 0:re.savingButton:null==re?void 0:re.saveButton,onClick:function(){return n(void 0,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return be(!0),"userStory"==="userStory"&&(W(le),console.log("I am changing RTE editor values",le)),[4,K(te,ve,U,null===(t=Be.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),ce(function(t){return e(e({},t),{userStory:!1})}),be(!1),[2]}})})}}):!Q&&!F&&he&&!1!==(null==Z?void 0:Z.showEditButton)&&i("button",e({className:x.iconButton,style:null==re?void 0:re.editButton,onClick:function(){return ce(function(t){return e(e({},t),{userStory:!0})})}},{children:i(p,{color:null==re?void 0:re.pencilIconColor,size:16})})),i("button",e({type:"button",onClick:function(e){e.stopPropagation(),Me()},style:null==re?void 0:re.chevronButton,className:x.chevronButton},{children:i(he?S:C,{className:x.chevronIcon,color:null==re?void 0:re.chevronIconColor})}))]}))]})),i("div",{className:x.divider,style:null==re?void 0:re.dividerStyle})]})),he&&i("div",e({className:x.cardContent,style:null==re?void 0:re.cardContentStyle},{children:o("div",e({className:x.contentInner,style:null==re?void 0:re.contentInner},{children:[o("div",e({className:x.descriptionSection,style:null==re?void 0:re.descriptionSection},{children:[i("div",{className:x.justifyBetween,style:null==re?void 0:re.justifyBetween}),ue.userStory?i(E,{minHeight:"100%",height:"100%",type:"string",value:B(P.value)||"",handleUpdateState:function(t,n){var r=k(n);se(function(t){return e(e({},t),{value:r||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:ue.userStory?"edit":"readOnly"}):i(R,{showUserStoryDiff:F,isParent:""===O,message:B(P.value)||"",artifactId:P.artifactId,customStyles:oe,isDisplayHighlightControl:Y})]})),null===(g=le.sub_features)||void 0===g?void 0:g.map(function(n,r){return i(z,{artifactId:U,isUserStoryCurrentlyUpdated:I,artifactTitleId:"".concat(D,"-").concat(String.fromCharCode(65+r)),parentUserStory:P,parentIndex:"".concat(O).concat(O&&".").concat(V),currentIndex:"".concat(r+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(n){return function(n,r){var o=t([],P.sub_features||[],!0);o[n]=r,W(e(e({},P),{sub_features:o}))}(r,n)},enableDownload:!0,isDiffEditReviewMode:Q,showUserStoryDiff:F,updateUserStoryArtifact:K,handleDownloadUserStory:G,handleOpenSendDialog:J,isDisplayHighlightControl:Y,elementDisplayConfig:Z},n.artifactId)})]}))}))]}))},_=function(n){var r=n.artifactTitleIDs,s=n.isDiffEditReviewMode,a=n.showUserStoryDiff,u=n.updateUserStoryArtifact,v=n.isUserStoryCurrentlyUpdated,y=n.artifactId,m=n.handleOpenSendDialog,h=n.handleDownloadUserStory,f=n.selectedArtifactId,p=n.isDisplayHighlightControl,S=n.elementDisplayConfig,C=T(),g=C.userStory,I=C.setUserStory,N=C.customStyles,w=C.searchQueryList,b=C.currentHighlightIndex,U=C.setCurrentHighlightIndex,D=null==N?void 0:N.userStoryCardStyles,B=0===b,k=b===w.length-1;return o("div",e({className:x.userStoryCardWrapper,style:p?e(e({},null==D?void 0:D.userStoryCardWrapper),{position:"relative"}):null==D?void 0:D.userStoryCardWrapper},{children:[p&&i(l,{children:w.length>0&&i("div",e({className:x.wrapper},{children:i("div",e({className:x.highlightNavigation},{children:o("div",e({className:x.navigationContainer},{children:[o("span",e({className:x.navCounter},{children:[b+1," of ",w.length]})),o("div",e({className:x.navButtons},{children:[i("button",e({onClick:function(){b>0&&U(function(e){return e-1})},className:x.navButton,disabled:B},{children:i(c,{size:20,className:x.navIcon})})),i("button",e({onClick:function(){b<w.length-1&&U(function(e){return e+1})},className:x.navButton,disabled:k},{children:i(d,{size:20,className:x.navIcon})}))]}))]}))}))}))}),g.map(function(e,n){return i(z,{isUserStoryCurrentlyUpdated:v,artifactId:y,artifactTitleId:r[n]||"",currentUserStory:e,onUserStoryChange:function(e){I(function(r){return r[n]=e,t([],r,!0)})},parentIndex:"",currentIndex:"".concat(n+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:s,showUserStoryDiff:a,updateUserStoryArtifact:u,handleOpenSendDialog:m,handleDownloadUserStory:h,selectedArtifactId:f,isDisplayHighlightControl:p,elementDisplayConfig:S},e.artifactId)})]}))};export{z as StoryCard,_ as UserStoryCardWrapper,z as default,H as replaceLearnedTagsWithInfo};
1
+ import{__assign as e,__spreadArray as t,__awaiter as n,__generator as r}from"tslib";import{jsxs as o,jsx as i,Fragment as l}from"react/jsx-runtime";import{useState as s,useRef as a,useEffect as u}from"react";import{ChevronUpIcon as c,ChevronDownIcon as d,ExternalLink as v,Download as y,Share2 as m,Copy as h,LoaderCircle as f,PencilIcon as p,ChevronUp as S,ChevronDown as C,Info as g,Bookmark as I}from"lucide-react";import N from"showdown";import{Menu as w,MenuItem as b,Tooltip as U}from"@mui/material";import{v4 as D}from"uuid";import x from"./UserStoryCard.module.css.js";import{formatMarkdown as B,indentMarkdown as k}from"../../utils/helpers.js";import{replaceTitleSection as A}from"../../utils/user-story.utils.js";import M from"../../shared/AtomicButton.js";import E from"../RichTextEditor/RichTextEditor.js";import R from"../userstory-with-citation/UserStoryWithCitation.js";import{useRequirementAI as T}from"../RequirementAIWrapper/RequirementAIWrapper.js";import{BigEnoughPanel as j}from"../story-screen/BigEnoughPanel.js";function H(t){for(var n,r=[],o=/<learned>(.*?)<\/learned>/g,l=0,s=0;null!==(n=o.exec(t));){var a=n[1],u=n.index;u>l&&r.push(i("span",{children:t.slice(l,u)},"text-pre-".concat(s++))),r.push(i(U,e({title:a,placement:"top"},{children:i(g,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(D()))),l=o.lastIndex}return l<(null==t?void 0:t.length)&&r.push(i("span",{children:t.slice(l)},"text-post-".concat(s++))),r}var L=function(t){var n,r=t.displayName,l=T().customStyles,s=null===(n=null==l?void 0:l.userStoryCardStyles)||void 0===n?void 0:n.showDisplayName;return o("div",e({className:x.displayName,style:null==s?void 0:s.wrapper},{children:[i(I,{className:x.displayNameIcon,style:null==s?void 0:s.displayNameIcon}),o("span",e({style:null==s?void 0:s.label},{children:[r,":"]}))]}))},z=function(c){var d,g,I=c.isUserStoryCurrentlyUpdated,U=c.artifactId,D=c.artifactTitleId,_=c.parentUserStory,P=c.currentUserStory,W=c.onUserStoryChange,O=c.parentIndex,V=c.currentIndex,q=c.enableDownload,Q=c.isDiffEditReviewMode,F=c.showUserStoryDiff,G=c.handleDownloadUserStory,J=c.handleOpenSendDialog,K=c.updateUserStoryArtifact,X=c.selectedArtifactId,Y=c.isDisplayHighlightControl,Z=c.elementDisplayConfig,$=T(),ee=$.searchQueryList,te=$.citations,ne=$.customStyles,re=null==ne?void 0:ne.userStoryCardStyles,oe=null===(d=null==ne?void 0:ne.userStoryScreenStyles)||void 0===d?void 0:d.userStoryContentStyles,ie=s(e(e({},structuredClone(P)),{value:B(P.value)||""})),le=ie[0],se=ie[1],ae=s({userStory:!1}),ue=ae[0],ce=ae[1],de=T(),ve=de.userStory,ye=de.customIcons,me=s(""===O||X===P.artifactId),he=me[0],fe=me[1],pe=s(!1);pe[0];var Se=pe[1],Ce=s(null),ge=Ce[0],Ie=Ce[1],Ne=s(!1),we=Ne[0],be=Ne[1],Ue=a(null),De=s(!1);De[0];var xe=De[1],Be=a(null);u(function(){I&&fe(I)},[I]),u(function(){se(e(e({},structuredClone(P)),{value:B(P.value)||""}))},[P]),u(function(){ee.length>0?fe(!0):X&&fe(X===P.artifactId)},[ee,X,P.artifactId]);var ke=function(){Ie(null)},Ae=function(){fe(function(e){return!e})};var Me=null!=(null==P?void 0:P.big_enough)&&!Number.isNaN(P.big_enough)&&!!(null==P?void 0:P.big_enough_decision_factors);return o("div",e({className:x.card,style:null==re?void 0:re.cardStyle},{children:[o("div",e({className:x.titleSection,style:null==re?void 0:re.titleSection},{children:[o("div",e({className:x.titleRow,style:null==re?void 0:re.titleRow,onClick:Ae},{children:[o("div",e({className:x.titleLeft,style:null==re?void 0:re.titleLeft,onMouseEnter:function(){return xe(!0)},onMouseLeave:function(){return xe(!1)}},{children:[i(L,{displayName:D}),i("h2",e({className:x.storyTitle,style:null==re?void 0:re.storyTitle},{children:H(P.title)}),P.artifactId)]})),o("div",e({className:x.titleActions,style:null==re?void 0:re.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[Me&&i(j,{customIcons:null==ye?void 0:ye.userStoryIcons,customStyles:null==re?void 0:re.aiReasoningCitaionStyles,currentUserStory:P,panelStyles:null==re?void 0:re.BigEnoughStyles}),!ue.userStory&&o(l,{children:[!1!==(null==Z?void 0:Z.showShareButton)&&i("button",e({className:x.iconButton,style:null==re?void 0:re.iconButton,onClick:function(e){Ie(e.currentTarget)}},{children:i(v,{size:16})})),o(w,e({id:"user-story-share-menu",anchorEl:ge,open:!!ge,onClose:function(){return Ie(null)},style:null==re?void 0:re.userStoryShareMenu},{children:[q&&i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){return r(this,function(e){switch(e.label){case 0:return Se(!0),G?[4,Promise.all([G("pdf"),G("doc")])]:[2];case 1:return e.sent(),Se(!1),[2]}})})}},{children:o("div",e({ref:Ue,className:x.menuItemContent,style:null==re?void 0:re.menuItemContent},{children:[i(y,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Download"}))]}))})),i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var t;return r(this,function(n){return t=P,_&&(t=e(e({},P),{value:"".concat(A(null==_?void 0:_.value,P.title)," \n").concat(P.value)})),null==J||J(!0,[t],P.artifactId),ke(),[2]})})}},{children:o("div",e({style:null==re?void 0:re.menuItemContent,className:x.menuItemContentPadded},{children:[i(m,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Send"}))]}))})),i(b,e({style:null==re?void 0:re.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var e,t,n,o,i;return r(this,function(r){switch(r.label){case 0:e=new N.Converter,t=e.makeHtml(B(P.value)||P.value),n=function(e){var t=(new N.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(B(P.value)||P.value),o=new ClipboardItem({"text/plain":new Blob([n],{type:"text/plain"}),"text/html":new Blob([t],{type:"text/html"})}),r.label=1;case 1:return r.trys.push([1,3,4,5]),[4,navigator.clipboard.write([o])];case 2:return r.sent(),console.log("Copied User Story"),[3,5];case 3:return i=r.sent(),console.error("Failed to copy user story:",i),[3,5];case 4:return ke(),[7];case 5:return[2]}})})}},{children:o("div",e({style:null==re?void 0:re.menuItemContent,className:x.menuItemContentPadded},{children:[i(h,{size:16,color:null==re?void 0:re.menuIconColor}),i("p",e({style:null==re?void 0:re.menuLabel},{children:"Copy"}))]}))}))]}))]}),ue.userStory&&he?i(M,{type:"outline",children:"Cancel",style:null==re?void 0:re.cancelButton,onClick:function(){var t;null===(t=Be.current)||void 0===t||t.abort(),ce(function(t){return e(e({},t),{userStory:!1})})}}):i(l,{}),ue.userStory&&he?i(M,{type:"fill",children:we?o("span",e({className:x.savingSpinner,style:null==re?void 0:re.savingSpinner},{children:[i(f,{className:x.spinAnimation,style:null==re?void 0:re.spinAnimation}),i("span",{children:"Saving..."})]})):"Save",isDisable:we,style:we?null==re?void 0:re.savingButton:null==re?void 0:re.saveButton,onClick:function(){return n(void 0,void 0,void 0,function(){var t;return r(this,function(n){switch(n.label){case 0:return be(!0),"userStory"==="userStory"&&(W(le),console.log("I am changing RTE editor values",le)),[4,K(te,ve,U,null===(t=Be.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),ce(function(t){return e(e({},t),{userStory:!1})}),be(!1),[2]}})})}}):!Q&&!F&&he&&!1!==(null==Z?void 0:Z.showEditButton)&&i("button",e({className:x.iconButton,style:null==re?void 0:re.editButton,onClick:function(){return ce(function(t){return e(e({},t),{userStory:!0})})}},{children:i(p,{color:null==re?void 0:re.pencilIconColor,size:16})})),i("button",e({type:"button",onClick:function(e){e.stopPropagation(),Ae()},style:null==re?void 0:re.chevronButton,className:x.chevronButton},{children:i(he?S:C,{className:x.chevronIcon,color:null==re?void 0:re.chevronIconColor})}))]}))]})),i("div",{className:x.divider,style:null==re?void 0:re.dividerStyle})]})),he&&i("div",e({className:x.cardContent,style:null==re?void 0:re.cardContentStyle},{children:o("div",e({className:x.contentInner,style:null==re?void 0:re.contentInner},{children:[o("div",e({className:x.descriptionSection,style:null==re?void 0:re.descriptionSection},{children:[i("div",{className:x.justifyBetween,style:null==re?void 0:re.justifyBetween}),ue.userStory?i(E,{minHeight:"100%",height:"100%",type:"string",value:B(P.value)||"",handleUpdateState:function(t,n){var r=k(n);se(function(t){return e(e({},t),{value:r||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:ue.userStory?"edit":"readOnly"}):i(R,{showUserStoryDiff:F,isParent:""===O,message:B(P.value)||"",artifactId:P.artifactId,customStyles:oe,isDisplayHighlightControl:Y})]})),null===(g=le.sub_features)||void 0===g?void 0:g.map(function(n,r){return i(z,{artifactId:U,isUserStoryCurrentlyUpdated:I,artifactTitleId:"".concat(D,"-").concat(String.fromCharCode(65+r)),parentUserStory:P,parentIndex:"".concat(O).concat(O&&".").concat(V),currentIndex:"".concat(r+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(n){return function(n,r){var o=t([],P.sub_features||[],!0);o[n]=r,W(e(e({},P),{sub_features:o}))}(r,n)},enableDownload:!0,isDiffEditReviewMode:Q,showUserStoryDiff:F,updateUserStoryArtifact:K,handleDownloadUserStory:G,handleOpenSendDialog:J,isDisplayHighlightControl:Y,elementDisplayConfig:Z},n.artifactId)})]}))}))]}))},_=function(n){var r=n.artifactTitleIDs,s=n.isDiffEditReviewMode,a=n.showUserStoryDiff,u=n.updateUserStoryArtifact,v=n.isUserStoryCurrentlyUpdated,y=n.artifactId,m=n.handleOpenSendDialog,h=n.handleDownloadUserStory,f=n.selectedArtifactId,p=n.isDisplayHighlightControl,S=n.elementDisplayConfig,C=T(),g=C.userStory,I=C.setUserStory,N=C.customStyles,w=C.searchQueryList,b=C.currentHighlightIndex,U=C.setCurrentHighlightIndex,D=null==N?void 0:N.userStoryCardStyles,B=0===b,k=b===w.length-1;return o("div",e({className:x.userStoryCardWrapper,style:p?e(e({},null==D?void 0:D.userStoryCardWrapper),{position:"relative"}):null==D?void 0:D.userStoryCardWrapper},{children:[p&&i(l,{children:w.length>0&&i("div",e({className:x.wrapper},{children:i("div",e({className:x.highlightNavigation},{children:o("div",e({className:x.navigationContainer},{children:[o("span",e({className:x.navCounter},{children:[b+1," of ",w.length]})),o("div",e({className:x.navButtons},{children:[i("button",e({onClick:function(){b>0&&U(function(e){return e-1})},className:x.navButton,disabled:B},{children:i(c,{size:20,className:x.navIcon})})),i("button",e({onClick:function(){b<w.length-1&&U(function(e){return e+1})},className:x.navButton,disabled:k},{children:i(d,{size:20,className:x.navIcon})}))]}))]}))}))}))}),g.map(function(e,n){return i(z,{isUserStoryCurrentlyUpdated:v,artifactId:y,artifactTitleId:r[n]||"",currentUserStory:e,onUserStoryChange:function(e){I(function(r){return r[n]=e,t([],r,!0)})},parentIndex:"",currentIndex:"".concat(n+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:s,showUserStoryDiff:a,updateUserStoryArtifact:u,handleOpenSendDialog:m,handleDownloadUserStory:h,selectedArtifactId:f,isDisplayHighlightControl:p,elementDisplayConfig:S},e.artifactId)})]}))};export{z as StoryCard,_ as UserStoryCardWrapper,z as default,H as replaceLearnedTagsWithInfo};
2
2
  //# sourceMappingURL=UserStoryCard.js.map
@@ -1,2 +1,2 @@
1
- var e={container:"UserStoryWithCitation-module_container__YRdbR",wrapper:"UserStoryWithCitation-module_wrapper__wbnqg",heading1:"UserStoryWithCitation-module_heading1__KsWUO",heading2:"UserStoryWithCitation-module_heading2__GHshw",heading3:"UserStoryWithCitation-module_heading3__Jm9Xb",bold:"UserStoryWithCitation-module_bold__HenfX",paragraph:"UserStoryWithCitation-module_paragraph__a1-pc",orderedList:"UserStoryWithCitation-module_orderedList__E5PQa",unorderedList:"UserStoryWithCitation-module_unorderedList__SFvpc",inlineCode:"UserStoryWithCitation-module_inlineCode__5014y",blockCode:"UserStoryWithCitation-module_blockCode__pmHG5",learned:"UserStoryWithCitation-module_learned__0US6d",linkText:"UserStoryWithCitation-module_linkText__5kBNv",tableWrapper:"UserStoryWithCitation-module_tableWrapper__r94Fx",table:"UserStoryWithCitation-module_table__tEyKd",scrollContainer:"UserStoryWithCitation-module_scrollContainer__S-BtW",citationLoader:"UserStoryWithCitation-module_citationLoader__Op7Sm",aiReasoningButton:"UserStoryWithCitation-module_aiReasoningButton__-tprH",aiReasoningIconHighConfidence:"UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6",aiReasoningIconLowConfidence:"UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz",confidenceScoreContainer:"UserStoryWithCitation-module_confidenceScoreContainer__zOE-E",confidenceScore:"UserStoryWithCitation-module_confidenceScore__lhT4p"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode('.UserStoryWithCitation-module_container__YRdbR{position:relative;width:100%}.UserStoryWithCitation-module_wrapper__wbnqg{border:1px solid #d5d5d5;border-radius:16px;padding:20px}.UserStoryWithCitation-module_heading1__KsWUO{color:#000;font-family:Inter,sans-serif;font-size:1.5rem;margin:.75rem 0 .25rem;padding:0}.UserStoryWithCitation-module_heading2__GHshw{color:#000;font-family:Inter,sans-serif;font-size:1.25rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_heading3__Jm9Xb{color:#000;font-family:Inter,sans-serif;font-size:1.125rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_bold__HenfX{font-family:Inter,sans-serif;font-weight:700}.UserStoryWithCitation-module_paragraph__a1-pc{word-wrap:break-word;display:block;flex-wrap:wrap;font-family:Inter,sans-serif;font-size:1rem;line-height:1.75rem;margin:0;max-width:100%;overflow:hidden;overflow-wrap:break-word;text-align:justify;white-space:normal;word-break:break-word}.UserStoryWithCitation-module_orderedList__E5PQa{font-family:Inter,sans-serif;list-style-type:decimal;margin-left:1rem}.UserStoryWithCitation-module_unorderedList__SFvpc{font-family:Inter,sans-serif;list-style-type:disc;margin-left:1rem}.UserStoryWithCitation-module_inlineCode__5014y{background-color:#d633840d;border-radius:.3rem;box-sizing:border-box;color:#d63384;font-family:Source Code Pro,monospace;font-size:.95em;overflow-wrap:break-word;padding:.2rem .5rem;white-space:pre-wrap;width:100%;word-break:break-word}.UserStoryWithCitation-module_blockCode__pmHG5{color:#d63384;display:block;overflow:hidden;white-space:pre-wrap;word-break:break-words}.UserStoryWithCitation-module_learned__0US6d{color:#3b82f6;cursor:pointer;display:inline-block;margin-left:.25rem;margin-right:.25rem}.UserStoryWithCitation-module_linkText__5kBNv:hover{color:#1d4ed8}.UserStoryWithCitation-module_tableWrapper__r94Fx{box-sizing:border-box;max-width:100%;overflow-x:auto;width:100%}.UserStoryWithCitation-module_table__tEyKd{border-collapse:collapse;box-sizing:border-box;margin:20px 0;table-layout:fixed;width:100%}.UserStoryWithCitation-module_scrollContainer__S-BtW{overflow:hidden}.UserStoryWithCitation-module_citationLoader__Op7Sm{bottom:0;left:0;margin-top:12px}.UserStoryWithCitation-module_aiReasoningButton__-tprH{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:2px;padding:2px 4px;vertical-align:middle}.UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6{color:#4b5563;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz{color:#cf4343;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_confidenceScoreContainer__zOE-E{position:absolute;right:12px;top:12px;z-index:10}.UserStoryWithCitation-module_confidenceScore__lhT4p{align-items:center;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:9999px;box-shadow:0 1px 2px #0000000d;color:#166534;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:700;gap:4px;padding:4px 8px}.UserStoryWithCitation-module_orderedList__E5PQa{counter-reset:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa>li{counter-increment:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:childItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:childItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:grandchildItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:grandchildItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) "." counter(grandchildItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}'));const i=document.head||document.getElementsByTagName("head")[0]||document.documentElement;i&&i.appendChild(e)}();export{e as default};
1
+ var e={container:"UserStoryWithCitation-module_container__YRdbR",wrapper:"UserStoryWithCitation-module_wrapper__wbnqg",heading1:"UserStoryWithCitation-module_heading1__KsWUO",heading2:"UserStoryWithCitation-module_heading2__GHshw",heading3:"UserStoryWithCitation-module_heading3__Jm9Xb",bold:"UserStoryWithCitation-module_bold__HenfX",paragraph:"UserStoryWithCitation-module_paragraph__a1-pc",orderedList:"UserStoryWithCitation-module_orderedList__E5PQa",unorderedList:"UserStoryWithCitation-module_unorderedList__SFvpc",inlineCode:"UserStoryWithCitation-module_inlineCode__5014y",blockCode:"UserStoryWithCitation-module_blockCode__pmHG5",learned:"UserStoryWithCitation-module_learned__0US6d",linkText:"UserStoryWithCitation-module_linkText__5kBNv",tableWrapper:"UserStoryWithCitation-module_tableWrapper__r94Fx",table:"UserStoryWithCitation-module_table__tEyKd",scrollContainer:"UserStoryWithCitation-module_scrollContainer__S-BtW",citationLoader:"UserStoryWithCitation-module_citationLoader__Op7Sm",aiReasoningButton:"UserStoryWithCitation-module_aiReasoningButton__-tprH",aiReasoningIconHighConfidence:"UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6",aiReasoningIconLowConfidence:"UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz",confidenceScoreContainer:"UserStoryWithCitation-module_confidenceScoreContainer__zOE-E",confidenceScore:"UserStoryWithCitation-module_confidenceScore__lhT4p"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&e.setAttribute("nonce",t),e.appendChild(document.createTextNode('.UserStoryWithCitation-module_container__YRdbR{position:relative;width:100%}.UserStoryWithCitation-module_wrapper__wbnqg{border:1px solid #d5d5d5;border-radius:16px;padding:20px}.UserStoryWithCitation-module_heading1__KsWUO{color:#000;font-family:Inter,sans-serif;font-size:1.5rem;margin:.75rem 0 .25rem;padding:0}.UserStoryWithCitation-module_heading2__GHshw{color:#000;font-family:Inter,sans-serif;font-size:1.25rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_heading3__Jm9Xb{color:#000;font-family:Inter,sans-serif;font-size:1.125rem;margin:10px 0 0;padding:0}.UserStoryWithCitation-module_bold__HenfX{font-family:Inter,sans-serif;font-weight:700}.UserStoryWithCitation-module_paragraph__a1-pc{word-wrap:break-word;display:block;flex-wrap:wrap;font-family:Inter,sans-serif;font-size:1rem;line-height:1.75rem;margin:0;max-width:100%;overflow:hidden;overflow:visible;overflow-wrap:break-word;text-align:justify;white-space:normal;word-break:break-word}.UserStoryWithCitation-module_orderedList__E5PQa{font-family:Inter,sans-serif;list-style-type:decimal;margin-left:1rem}.UserStoryWithCitation-module_unorderedList__SFvpc{font-family:Inter,sans-serif;list-style-type:disc;margin-left:1rem}.UserStoryWithCitation-module_inlineCode__5014y{background-color:#d633840d;border-radius:.3rem;box-sizing:border-box;color:#d63384;font-family:Source Code Pro,monospace;font-size:.95em;overflow-wrap:break-word;padding:.2rem .5rem;white-space:pre-wrap;width:100%;word-break:break-word}.UserStoryWithCitation-module_blockCode__pmHG5{color:#d63384;display:block;overflow:hidden;white-space:pre-wrap;word-break:break-words}.UserStoryWithCitation-module_learned__0US6d{color:#3b82f6;cursor:pointer;display:inline-block;margin-left:.25rem;margin-right:.25rem}.UserStoryWithCitation-module_linkText__5kBNv:hover{color:#1d4ed8}.UserStoryWithCitation-module_tableWrapper__r94Fx{box-sizing:border-box;max-width:100%;overflow-x:auto;width:100%}.UserStoryWithCitation-module_table__tEyKd{border-collapse:collapse;box-sizing:border-box;margin:20px 0;table-layout:fixed;width:100%}.UserStoryWithCitation-module_scrollContainer__S-BtW{overflow:hidden}.UserStoryWithCitation-module_citationLoader__Op7Sm{bottom:0;left:0;margin-top:12px}.UserStoryWithCitation-module_aiReasoningButton__-tprH{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:2px;padding:2px 4px;vertical-align:middle}.UserStoryWithCitation-module_aiReasoningIconHighConfidence__FmXx6{color:#4b5563;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_aiReasoningIconLowConfidence__TfkJz{color:#cf4343;font-size:12px;transform:translateY(5px)}.UserStoryWithCitation-module_confidenceScoreContainer__zOE-E{position:absolute;right:12px;top:12px;z-index:10}.UserStoryWithCitation-module_confidenceScore__lhT4p{align-items:center;background-color:#f0fdf4;border:1px solid #bbf7d0;border-radius:9999px;box-shadow:0 1px 2px #0000000d;color:#166534;display:inline-flex;font-family:Inter,sans-serif;font-size:12px;font-weight:700;gap:4px;padding:4px 8px}.UserStoryWithCitation-module_orderedList__E5PQa{counter-reset:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa>li{counter-increment:parentItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:childItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:childItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc{counter-reset:grandchildItem;list-style-type:none!important}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li{align-items:baseline;counter-increment:grandchildItem}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li:before{content:counter(parentItem) "." counter(childItem) "." counter(grandchildItem) " ";flex-shrink:0;margin-right:4px}.UserStoryWithCitation-module_orderedList__E5PQa li>.UserStoryWithCitation-module_unorderedList__SFvpc li>.UserStoryWithCitation-module_unorderedList__SFvpc>li>.UserStoryWithCitation-module_paragraph__a1-pc{display:inline}'));const i=document.head||document.getElementsByTagName("head")[0]||document.documentElement;i&&i.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=UserStoryWithCitation.module.css.js.map
@@ -232,6 +232,8 @@ export interface RequirementAICustomStyles {
232
232
  justifyBetween?: React.CSSProperties;
233
233
  aiReasoningCitaionStyles?: AiReasoningContentStyles;
234
234
  BigEnoughStyles?: BigEnoughPanelCustomStyles;
235
+ savingSpinner?: React.CSSProperties;
236
+ spinAnimation?: React.CSSProperties;
235
237
  };
236
238
  gapSidebar?: GapSidebarCustomStyles;
237
239
  PartialRequirementContentStyles?: {
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/Requir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AAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;IAEjE,WAAW,CAAC,EAAE,gBAAgB,EAAG,CAAC;IAElC,mBAAmB,CAAC,EAAE;QACpB,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;QACnC,iBAAiB,CAAC,EAAE,GAAG,CAAC;KACzB,CAAC;IAEF,kBAAkB,CAAC,EAAE;QACnB,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,gBAAgB,CAAC,EAAE,GAAG,CAAC;KACxB,CAAC;IAEF,WAAW,EAAE,YAAY,EAAE,CAAC;IAC5B,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,CAAC,CAAC,CAAC;IAErE,SAAS,EAAE,kBAAkB,CAAC;IAC9B,YAAY,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,kBAAkB,CAAC,CAAC,CAAC;IAEvE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,0BAA0B,EAAE,MAAM,EAAE,CAAC;IAErC,gBAAgB,EAAE,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;IAChC,8BAA8B,CAAC,EAAE,0BAA0B,CAAC;IAC5D,kBAAkB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;CAC7C;AAID,QAAA,MAAM,oBAAoB,oTAmBvB,yBAAyB,4CAsE3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper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ithCitation.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;AAUzI,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAkBlE,MAAM,WAAW,iCAAiC;IAChD,eAAe,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACtC,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACvC,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,QAAQ,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC/B,SAAS,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAChC,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,IAAI,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC3B,cAAc,CAAC,EAAE,4BAA4B,CAAC;IAC9C,mBAAmB,CAAC,EAAE,2BAA2B,CAAC;IAClD,mBAAmB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC1C,eAAe,CAAC,EAAE,KA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AE,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;IAKzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAE1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC,aAAa,CAAC,EAAE;QACd,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,UAAU,EAAE,CAAC;QAC3B,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;QACpE,wBAAwB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;QAC5F,oBAAoB,EAAE,OAAO,CAAC;KAC/B,CAAA;CACF;AA0RD,QAAA,MAAM,sBAAsB,yTA2BzB,2BAA2B,4CAqd7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
1
+ {"version":3,"file":"UserStoryWithCitation.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.tsx"],"names":[],"mappings":";AAWA,OAAO,EAAE,uBAAuB,E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AM,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;IAKzB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1C,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAE1C,yBAAyB,CAAC,EAAE,OAAO,CAAC;IAEpC,aAAa,CAAC,EAAE;QACd,SAAS,EAAE,OAAO,CAAC;QACnB,YAAY,EAAE,UAAU,EAAE,CAAC;QAC3B,eAAe,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC,CAAC,CAAC;QACpE,wBAAwB,CAAC,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,QAAQ,EAAE,WAAW,EAAE,UAAU,EAAE,KAAK,IAAI,CAAC;QAC5F,oBAAoB,EAAE,OAAO,CAAC;KAC/B,CAAA;CACF;AA0RD,QAAA,MAAM,sBAAsB,yTA2BzB,2BAA2B,4CAod7B,CAAC;AAEF,eAAe,sBAAsB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.127",
3
+ "version": "0.0.129",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",