@e-llm-studio/requirement-ai 0.0.168 → 0.0.170
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/UserStoryCard/CognitiveComponents/CitationAnchor.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationComponent.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationComponent.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/History.svg.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/History.svg.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js +2 -0
- package/dist/cjs/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/segment/Segment.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js +2 -0
- package/dist/cjs/features/RequirementAI/components/segment/SegmentLoader.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/cjs/features/RequirementAI/components/segment/segment-common.css.js +2 -0
- package/dist/cjs/features/RequirementAI/components/segment/segment-common.css.js.map +1 -0
- package/dist/cjs/features/RequirementAI/components/segment/segment.module.css.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationComponent.css.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationComponent.css.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/History.svg.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/History.svg.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg.js.map +1 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js +2 -0
- package/dist/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js.map +1 -0
- package/dist/features/RequirementAI/components/segment/Segment.js +1 -1
- package/dist/features/RequirementAI/components/segment/SegmentLoader.js +2 -0
- package/dist/features/RequirementAI/components/segment/SegmentLoader.js.map +1 -0
- package/dist/features/RequirementAI/components/segment/SegmentWrapper.js +1 -1
- package/dist/features/RequirementAI/components/segment/segment-common.css.js +2 -0
- package/dist/features/RequirementAI/components/segment/segment-common.css.js.map +1 -0
- package/dist/features/RequirementAI/components/segment/segment.module.css.js +1 -1
- package/dist/index.js +1 -1
- package/dist/types/src/RequirementAiTest.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts +27 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts +11 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts +34 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts +9 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts +58 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts +59 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts +29 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts +50 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts +20 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/ToneToggle.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts +7 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/AiGapIcon.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts +6 -0
- package/dist/types/src/features/RequirementAI/components/UserStoryCard/icons/PdfViewerIcons.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts +2 -0
- package/dist/types/src/features/RequirementAI/components/segment/Segment.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts +9 -0
- package/dist/types/src/features/RequirementAI/components/segment/SegmentLoader.d.ts.map +1 -0
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts +2 -1
- package/dist/types/src/features/RequirementAI/components/segment/SegmentWrapper.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts +12 -0
- package/dist/types/src/features/RequirementAI/types/aiReasoning.type.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts +4 -1
- package/dist/types/src/features/RequirementAI/types/segment.type.d.ts.map +1 -1
- package/dist/types/src/index.d.ts +4 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +33 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as n,jsxs as t}from"react/jsx-runtime";import{useState as o}from"react";import i from"./PopupDefaults.js";import{ReactComponent as r}from"../icons/History.svg.js";import{ReactComponent as a}from"../icons/message-chat-square.svg.js";import{ToneToggle as l}from"./ToneToggle.js";var d=[{id:"chat",icon:n(a,{}),label:"Chat",description:"Type on what basis you want to iterate"},{id:"risk",icon:n(a,{}),label:"Shift the risk",description:"Adjust how aggressive or lenient the language is"},{id:"history",icon:n(r,{}),label:"Historical Recommendations",description:"Pull from past recommended clauses"}],s=[{id:"1",filename:"Mutual_DA2.pdf",excerpt:'"...shall protect Confidential Information using at least the same degree of care as it uses to protect its own confidential information, but no less than reasonable c..."',tab:"Balanced"},{id:"2",filename:"Tech NDA.pdf",excerpt:'"...protect confidential information using reasonable care and appropriate safeguards..."',tab:"Balanced"},{id:"3",filename:"Corp NDA.pdf",excerpt:'"...shall use best efforts to protect any disclosed confidential materials from unauthorised access or disclosure..."',tab:"Aggressive"},{id:"4",filename:"Vendor Agreement.pdf",excerpt:'"...may use disclosed information solely for the stated purpose with no special handling required..."',tab:"Lenient"}],c=["Lenient","Balanced","Aggressive"],f={Lenient:"#1D9E75",Balanced:"#BA7517",Aggressive:"#E24B4A"},p=["Grounded","Innovative"];function g(o){var i=o.chatTitle,r=o.chatBody,a=o.mergedStyles,l=void 0===a?b:a;return n("div",e({style:l.body},{children:t("div",e({style:l.chatBanner},{children:[n("p",e({style:l.chatBannerTitle},{children:i})),n("p",e({style:l.chatBannerBody},{children:r}))]}))}))}function u(i){var r=i.initialTone,a=i.onRiskRegenerate,d=i.riskMode,s=i.toneLevelsConfig,g=void 0===s?c:s,u=i.toneColorsConfig,h=void 0===u?f:u,m=i.riskModesConfig,y=void 0===m?p:m,x=i.mergedStyles,v=void 0===x?b:x,C=g.findIndex(function(e){return e===r});-1===C&&(C=1);var k=o(d||y[0]||"Grounded"),B=k[0],S=k[1],T=o(C),A=T[0],R=T[1],w=o(C)[0],z=g[A],L=h[z]||"#BA7517",D=A!==w||d!==B;return t("div",e({style:v.body},{children:[n("div",e({style:{display:"flex",gap:8,marginBottom:16}},{children:y.map(function(o){return t("button",e({onClick:function(){return S(o)},style:{flex:1,display:"flex",alignItems:"center",gap:8,padding:"10px 12px",borderRadius:10,border:"1px solid ".concat(B===o?"#7c5cbf":"#e0ddd8"),background:"#fff",cursor:"pointer",fontSize:13,fontWeight:500,color:"#1a1a1a"}},{children:[n("span",e({style:{width:16,height:16,borderRadius:"50%",border:"2px solid ".concat(B===o?"#7c5cbf":"#ccc"),display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0}},{children:B===o&&n("span",{style:{width:8,height:8,borderRadius:"50%",background:"#7c5cbf"}})})),o.charAt(0).toUpperCase()+o.slice(1)]}),o)})})),n(l,{onToneChange:function(e){return R(e)},toneColor:L,isDirty:D,toneIndex:A,onClickRegenerate:function(){return null==a?void 0:a({tone:z,mode:B})}})]}))}function h(i){var r=i.onApply,a=i.historicalClausesData,l=void 0===a?s:a,d=i.toneLevelsConfig,f=void 0===d?c:d,p=i.mergedStyles,g=void 0===p?b:p,u=f.length>1?f[1]:f[0]||"Balanced",h=o(u),m=h[0],y=h[1],x=l.filter(function(e){return e.tab===m});return t("div",e({style:g.body},{children:[n("div",e({style:g.segmentedControl},{children:f.map(function(t){return n("button",e({onClick:function(){return y(t)},style:e(e({},g.segmentedBtn),m===t?g.segmentedBtnActive:{})},{children:t.charAt(0).toUpperCase()+t.slice(1)}),t)})})),t("div",e({style:{display:"flex",flexDirection:"column",gap:10,marginTop:12}},{children:[x.map(function(o){return t("button",e({onClick:function(){return null==r?void 0:r({type:"history",value:o.excerpt})},style:g.clauseCard},{children:[n("p",e({style:g.clauseFilename},{children:o.filename})),n("p",e({style:g.clauseExcerpt},{children:o.excerpt}))]}),o.id)}),0===x.length&&n("p",e({style:{fontSize:12,color:"#aaa",textAlign:"center",padding:"12px 0"}},{children:"No clauses for this tone"}))]}))]}))}function m(e){var t=e.type,o=e.onRiskRegenerate,i=e.initialTone,r=e.riskMode,a=e.onApply,l=e.chatTitle,d=e.chatBody,s=e.historicalClausesData,c=e.toneLevelsConfig,f=e.toneColorsConfig,p=e.riskModesConfig,m=e.mergedStyles,y=void 0===m?b:m;return"chat"===t?n(g,{chatTitle:l,chatBody:d,mergedStyles:y}):"risk"===t?n(u,{onRiskRegenerate:o,initialTone:i,riskMode:r,toneLevelsConfig:c,toneColorsConfig:f,riskModesConfig:p,mergedStyles:y}):"history"===t?n(h,{onApply:a,historicalClausesData:s,toneLevelsConfig:c,mergedStyles:y}):null}function y(r){var a=r.onBack,l=r.onChatClick,g=r.onRiskRegenerate,u=r.initialTone,h=r.riskMode,y=r.onApply,x=r.onTabToggle,v=r.menuItemsConfig,C=void 0===v?d:v,k=r.historicalClausesConfig,B=void 0===k?s:k,S=r.chatTitle,T=void 0===S?"Chat mode active":S,A=r.chatBody,R=void 0===A?"You are now chatting about this redline, continue the conversation in the left panel to refine or update it":A,w=r.headerTitle,z=void 0===w?"How would you like to iterate?":w,L=r.customStyles,D=void 0===L?{}:L,I=r.toneLevelsConfig,M=void 0===I?c:I,j=r.toneColorsConfig,F=void 0===j?f:j,H=r.riskModesConfig,W=void 0===H?p:H,E=o(null),G=E[0],N=E[1],q=e(e(e({},i.IterateMenuDefaults.styles),b),D);return t("div",e({style:q.card},{children:[t("div",e({style:q.header},{children:[n("button",e({onClick:a,style:q.backBtn,"aria-label":"Go back"},{children:"‹"})),n("span",e({style:q.headerTitle},{children:z}))]})),C.map(function(o,i){var r=G===o.id;return t("div",e({style:{borderBottom:i<C.length-1?"0.5px solid #e8e7e3":"none"}},{children:[t("button",e({onClick:function(){return e=o.id,N(function(n){return n===e?null:("chat"===e&&(null==l||l()),x&&x(e),e)});var e},style:q.row},{children:[n("div",e({style:q.rowLeft},{children:t("div",{children:[n("p",e({style:q.label},{children:o.label})),n("p",e({style:q.desc},{children:o.description}))]})})),n("span",e({style:e(e({},q.chevron),{transform:r?"rotate(90deg)":"rotate(0deg)"})},{children:"›"}))]})),n("div",e({style:{maxHeight:r?400:0,overflow:"hidden",transition:"max-height 0.25s ease"}},{children:n(m,{type:o.id,onRiskRegenerate:g,initialTone:u,riskMode:h,onApply:y,chatTitle:T,chatBody:R,historicalClausesData:B,toneLevelsConfig:M,toneColorsConfig:F,riskModesConfig:W,mergedStyles:q})}))]}),o.id)})]}))}var b={card:{background:"#fff",border:"0.5px solid #e8e7e3",borderRadius:14,width:300,maxHeight:"350px",overflow:"auto",fontFamily:"system-ui, sans-serif"},header:{display:"flex",alignItems:"center",gap:8,padding:"14px 16px",borderBottom:"0.5px solid #e8e7e3"},backBtn:{background:"none",border:"none",cursor:"pointer",fontSize:20,color:"#888",padding:0,lineHeight:1},headerTitle:{fontSize:14,fontWeight:500,color:"#1a1a1a"},row:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px",cursor:"pointer",border:"none",textAlign:"left",gap:10,boxSizing:"border-box",backgroundColor:"transparent"},rowLeft:{display:"flex",alignItems:"flex-start",gap:10,flex:1},icon:{fontSize:16,color:"#666",marginTop:1,flexShrink:0},label:{margin:0,fontSize:14,fontWeight:500,color:"#1a1a1a"},desc:{margin:"2px 0 0",fontSize:12,color:"#888",lineHeight:1.4},chevron:{fontSize:18,color:"#aaa",flexShrink:0,display:"inline-block",transition:"transform 0.2s"},body:{padding:"0 16px 14px 16px"},chatBanner:{background:"#eef4fd",border:"1px solid #c5d8f7",borderRadius:10,padding:"12px 14px",marginBottom:10},chatBannerTitle:{margin:"0 0 6px",fontSize:14,fontWeight:600,color:"#3a5a8a"},chatBannerBody:{margin:0,fontSize:13,color:"#4a6080",lineHeight:1.5},applyBtn:{display:"flex",padding:"7px 10.5px",justifyContent:"center",alignItems:"center",gap:"7px",marginTop:8,fontSize:13,borderRadius:6,border:"1px solid #2563EB",background:"#2563EB",color:"#fff"},rangeLabel:{fontSize:12,color:"#888"},segmentedControl:{border:"1px solid #F2F4F7",display:"flex",background:"#F9FAFB",borderRadius:4,padding:6,gap:8},segmentedBtn:{flex:1,padding:"7px 0",fontSize:13,fontWeight:500,color:"#888",background:"transparent",border:"none",borderRadius:8,cursor:"pointer",transition:"background 0.15s, color 0.15s"},segmentedBtnActive:{background:"#dce8fa",color:"#2a4a7a",fontWeight:700},clauseCard:{background:"#fff",border:"1px solid #dde5f0",borderRadius:12,padding:"12px 14px",textAlign:"left",cursor:"pointer",width:"100%"},clauseFilename:{margin:"0 0 6px",fontSize:13,fontWeight:600,color:"#2a4a7a"},clauseExcerpt:{margin:0,fontSize:13,color:"#4a5a70",fontStyle:"italic",lineHeight:1.5}};export{y as default};
|
|
2
|
+
//# sourceMappingURL=IterateComponent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IterateComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e={root:{width:"350px",background:"#fff",border:"1px solid #ddd",borderRadius:"8px",padding:"16px",maxHeight:"400px",overflow:"auto"},header:{display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:12},title:{fontSize:11,fontWeight:500,letterSpacing:"0.08em",color:"#E24B4A",textTransform:"uppercase"},bodyText:{fontSize:15,fontWeight:500,margin:"0 0 8px",color:"#111"},summary:{fontSize:13,color:"#666",lineHeight:1.6,margin:"0 0 14px"},impactContainer:{marginBottom:14,borderTop:"0.5px solid #eee",paddingTop:12},actionContainer:{display:"flex",gap:8,marginBottom:18},toneContainer:{borderTop:"0.5px solid #eee",paddingTop:14}},o={styles:{card:{background:"#fff",border:"0.5px solid #e8e7e3",borderRadius:14,width:300,maxHeight:"350px",overflow:"auto",fontFamily:"system-ui, sans-serif"},header:{display:"flex",alignItems:"center",gap:8,padding:"14px 16px",borderBottom:"0.5px solid #e8e7e3"},backBtn:{background:"none",border:"none",cursor:"pointer",fontSize:20,color:"#888",padding:0,lineHeight:1},headerTitle:{fontSize:14,fontWeight:500,color:"#1a1a1a"},row:{width:"100%",display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px",cursor:"pointer",border:"none",textAlign:"left",gap:10,boxSizing:"border-box",backgroundColor:"transparent"},rowLeft:{display:"flex",alignItems:"flex-start",gap:10,flex:1},label:{margin:0,fontSize:14,fontWeight:500,color:"#1a1a1a"},desc:{margin:"2px 0 0",fontSize:12,color:"#888",lineHeight:1.4},chevron:{fontSize:18,color:"#aaa",flexShrink:0,display:"inline-block",transition:"transform 0.2s"},body:{padding:"0 16px 14px 16px"},chatBanner:{background:"#eef4fd",border:"1px solid #c5d8f7",borderRadius:10,padding:"12px 14px",marginBottom:10},chatBannerTitle:{margin:"0 0 6px",fontSize:14,fontWeight:600,color:"#3a5a8a"},chatBannerBody:{margin:0,fontSize:13,color:"#4a6080",lineHeight:1.5},segmentedControl:{border:"1px solid #F2F4F7",display:"flex",background:"#F9FAFB",borderRadius:4,padding:6,gap:8},segmentedBtn:{flex:1,padding:"7px 0",fontSize:13,fontWeight:500,color:"#888",background:"transparent",border:"none",borderRadius:8,cursor:"pointer",transition:"background 0.15s, color 0.15s"},segmentedBtnActive:{background:"#dce8fa",color:"#2a4a7a",fontWeight:700},clauseCard:{background:"#fff",border:"1px solid #dde5f0",borderRadius:12,padding:"12px 14px",textAlign:"left",cursor:"pointer",width:"100%"},clauseFilename:{margin:"0 0 6px",fontSize:13,fontWeight:600,color:"#2a4a7a"},clauseExcerpt:{margin:0,fontSize:13,color:"#4a5a70",fontStyle:"italic",lineHeight:1.5}}},n={root:{animation:"slideIn 0.32s cubic-bezier(0.22,1,0.36,1) both",width:350,background:"#fff",borderRadius:18,boxShadow:"0 8px 48px rgba(0,0,0,0.18), 0 1.5px 6px rgba(0,0,0,0.07)",overflow:"hidden",fontFamily:"'DM Sans', 'Segoe UI', sans-serif"},header:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:"14px 16px",borderBottom:"1.5px solid #e2e8f0"},closeBtn:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:6,display:"flex",alignItems:"center"},body:{padding:"14px 16px",display:"flex",flexDirection:"column",gap:13,overflow:"auto"},meta:{},divider:{height:1,background:"#f1f5f9"},impactText:{margin:"10px 0 0",fontSize:13,lineHeight:1.65,color:"#334155"},secondSection:{marginTop:12,background:"#f8fafc",border:"1.5px solid #e2e8f0",borderRadius:12,padding:"14px 16px",fontSize:13,lineHeight:1.7,color:"#64748b",fontStyle:"italic"},actionsContainer:{display:"flex",justifyContent:"space-between",alignItems:"center",paddingTop:2}},a={container:{background:"#fff"},header:{display:"flex",alignItems:"center",justifyContent:"space-between"},innerHeader:{padding:"8px 12px"},innerBody:{padding:"8px 12px",color:"#4b5563"}},i={DeviationSummaryDefaults:e,IterateMenuDefaults:o,RedlineCardDefaults:n,CitationAccordionDefaults:a};export{a as CitationAccordionDefaults,e as DeviationSummaryDefaults,o as IterateMenuDefaults,n as RedlineCardDefaults,i as default};
|
|
2
|
+
//# sourceMappingURL=PopupDefaults.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PopupDefaults.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as t,jsxs as o}from"react/jsx-runtime";import{Undo2 as n}from"lucide-react";import{useState as r}from"react";import i from"./PopupDefaults.js";function d(e){var t=new Date(e);return isNaN(t.getTime())?e:new Date(e).toLocaleString("en-US",{month:"2-digit",day:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0}).replace(" AM","AM").replace(" PM","PM")}var l=function(){return o("svg",e({width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},{children:[t("circle",{cx:"11",cy:"11",r:"10",stroke:"#22c55e",strokeWidth:"2",fill:"#f0fdf4"}),t("path",{d:"M6.5 11.5l3 3 6-6",stroke:"#22c55e",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}))},c=function(){return o("svg",e({width:"22",height:"22",viewBox:"0 0 22 22",fill:"none"},{children:[t("circle",{cx:"11",cy:"11",r:"10",stroke:"#ef4444",strokeWidth:"2",fill:"#fff1f2"}),t("path",{d:"M7.5 7.5l7 7M14.5 7.5l-7 7",stroke:"#ef4444",strokeWidth:"2",strokeLinecap:"round"})]}))},a=function(){return t("svg",e({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none"},{children:t("path",{d:"M4 4l10 10M14 4L4 14",stroke:"#94a3b8",strokeWidth:"1.8",strokeLinecap:"round"})}))},s=function(){return o("svg",e({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},{children:[t("circle",{cx:"6.5",cy:"5.5",r:"2.5",stroke:"#94a3b8",strokeWidth:"1.4"}),t("path",{d:"M1.5 13.5c0-3.038 2.462-5.5 5-5.5s5 2.462 5 5.5",stroke:"#94a3b8",strokeWidth:"1.4",strokeLinecap:"round"}),t("path",{d:"M11 8.5l1.5 1.5 2.5-2.5",stroke:"#22c55e",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"})]}))},h=function(){return o("svg",e({width:"16",height:"16",viewBox:"0 0 16 16",fill:"none"},{children:[t("circle",{cx:"6.5",cy:"5.5",r:"2.5",stroke:"#94a3b8",strokeWidth:"1.4"}),t("path",{d:"M1.5 13.5c0-3.038 2.462-5.5 5-5.5s5 2.462 5 5.5",stroke:"#94a3b8",strokeWidth:"1.4",strokeLinecap:"round"}),t("path",{d:"M11.5 8l3 3m0-3l-3 3",stroke:"#ef4444",strokeWidth:"1.4",strokeLinecap:"round"})]}))},u=function(o){var n=o.open;return t("svg",e({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",style:{transform:n?"rotate(0deg)":"rotate(180deg)",transition:"transform 0.25s ease"}},{children:t("path",{d:"M4.5 11.25L9 6.75l4.5 4.5",stroke:"#64748b",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})}))},f=function(n){var r=n.color,i=void 0===r?"#3b82f6":r;return o("svg",e({width:"15",height:"15",viewBox:"0 0 16 16",fill:"none"},{children:[t("path",{d:"M1.5 8A6.5 6.5 0 1 0 4 3.2",stroke:i,strokeWidth:"1.5",strokeLinecap:"round"}),t("path",{d:"M1.5 3.5v4h4",stroke:i,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M8 5v3.5l2 1.5",stroke:i,strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]}))},p=function(){return o("svg",e({width:"15",height:"15",viewBox:"0 0 16 16",fill:"none"},{children:[t("path",{d:"M13.5 8a5.5 5.5 0 1 0-1.6 3.9",stroke:"#3b82f6",strokeWidth:"1.5",strokeLinecap:"round"}),t("path",{d:"M13.5 13v-4.5H9",stroke:"#3b82f6",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},k=function(){return o("svg",e({width:"15",height:"15",viewBox:"0 0 16 16",fill:"none"},{children:[t("path",{d:"M2 8h12M10 4l4 4-4 4",stroke:"#64748b",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),t("path",{d:"M4 5l-2 3 2 3",stroke:"#64748b",strokeWidth:"1.3",strokeLinecap:"round",strokeLinejoin:"round"})]}))};function g(n){var r=n.title,i=n.open,d=n.onToggle,l=n.children;return o("div",e({style:{maxHeight:"170px",overflow:"auto"}},{children:[o("div",e({onClick:d,style:{display:"flex",alignItems:"center",justifyContent:"space-between",cursor:"pointer",userSelect:"none",padding:"2px 0"}},{children:[t("span",e({style:{fontSize:14,fontWeight:700,color:"#1e293b",letterSpacing:"-0.01em"}},{children:r})),t(u,{open:i})]})),t("div",e({style:{maxHeight:i?300:0,opacity:i?1:0,overflow:"hidden",transition:"max-height 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.25s"}},{children:l}))]}))}function b(t){var n=t.icon,r=t.label,i=t.onClick,d=t.customStyle,l=e({display:"flex",alignItems:"center",gap:7,padding:"8px 16px",background:"#f8fafc",border:"1.5px solid #e2e8f0",borderRadius:10,cursor:"pointer",fontSize:"12px",fontWeight:600,color:"#475569",fontFamily:"inherit",transition:"background 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.12s",whiteSpace:"nowrap"},void 0===d?{}:d);return o("button",e({onClick:i,style:l,onMouseEnter:function(e){e.currentTarget.style.background="#f1f5f9",e.currentTarget.style.transform="translateY(-1px)",e.currentTarget.style.boxShadow="0 2px 8px rgba(0,0,0,0.07)"},onMouseLeave:function(e){e.currentTarget.style.background="#f8fafc",e.currentTarget.style.transform="",e.currentTarget.style.boxShadow=""}},{children:[n,r]}))}function v(u){var v=u.status,m=u.onClose,y=u.impactText,x=u.secondText,B=u.actionTakenByName,C=u.actionTakenAtTime,L=void 0===C?"NA":C,w=u.onHistory,R=u.onIterate,M=u.onReinstate,W=u.onRevert,S=u.impactTitle,T=void 0===S?"Impact":S,I=u.customConfigs,D=void 0===I?{}:I,j=u.customStyles,z=void 0===j?{}:j,A=r(!0),H=A[0],F=A[1],U=r(!0),E=U[0],N=U[1],P=r(!1),O=P[0],Y=P[1],q={headerBg:"#f0fdf4",headerBorder:"#dcfce7",titleColor:"#166534",label:"Redline Approved",metaLabel:"Approved By",UserIcon:t(s,{}),StatusIcon:t(l,{}),secondTitle:"Original text",secondBg:"#f8fafc",secondBorder:"#e2e8f0",impactBox:!0,actions:[{icon:t(f,{}),label:"History",onClick:w},{icon:t(n,{size:17}),label:"Revert",onClick:W},{icon:t(k,{}),label:"Iterate",onClick:R}]},G={headerBg:"#fff1f2",headerBorder:"#fecdd3",titleColor:"#991b1b",label:"Redline Rejected",metaLabel:"Rejected By",UserIcon:t(h,{}),StatusIcon:t(c,{}),secondTitle:"Rejected Recommendation",secondBg:"#f8fafc",secondBorder:"#e2e8f0",impactBox:!1,actions:[{icon:t(f,{color:"#3b82f6"}),label:"History",onClick:w},{icon:t(p,{}),label:"Reinstate",onClick:M},{icon:t(k,{}),label:"Iterate",onClick:R}]},J={headerBg:"#E2E8F0",headerBorder:"none",titleColor:"#1E293B",label:"Redline Reverted",metaLabel:"Reverted By",UserIcon:t(s,{}),StatusIcon:t(n,{size:17}),secondTitle:"Reverted redline",secondBg:"#F9FAFB",secondBorder:"#D0D5DD",impactBox:!1,actions:[{icon:t(f,{}),label:"History",onClick:w},{icon:t(k,{}),label:"Iterate",onClick:R}]},K=e(e({},"accepted"===v?q:"rejected"===v?G:J),D[v]||{});return o("div",e({style:e(e(e({},i.RedlineCardDefaults.root),{animation:O?"slideOut 0.26s cubic-bezier(0.4,0,1,1) forwards":i.RedlineCardDefaults.root.animation||"slideIn 0.32s cubic-bezier(0.22,1,0.36,1) both"}),z.root)},{children:[o("div",e({style:e(e(e({},i.RedlineCardDefaults.header),{background:K.headerBg,borderBottom:"1.5px solid ".concat(K.headerBorder)}),z.header)},{children:[o("div",e({style:{display:"flex",alignItems:"center",gap:10}},{children:[K.StatusIcon,t("span",e({style:{fontSize:15,fontWeight:700,color:K.titleColor,letterSpacing:"-0.01em"}},{children:K.label}))]})),t("button",e({onClick:function(){Y(!0),m()},style:{background:"none",border:"none",cursor:"pointer",padding:4,borderRadius:6,display:"flex",alignItems:"center"}},{children:t(a,{})}))]})),o("div",e({style:e(e({},i.RedlineCardDefaults.body),z.body)},{children:[o("div",e({style:e(e({},i.RedlineCardDefaults.meta),z.meta)},{children:[o("div",e({style:{display:"flex",alignItems:"center",gap:6,marginBottom:5}},{children:[K.UserIcon,t("span",e({style:{fontSize:12.5,color:"#94a3b8",fontWeight:500}},{children:K.metaLabel}))]})),o("div",e({style:{fontSize:14,fontWeight:700,color:"#1e293b",letterSpacing:"-0.01em"}},{children:[B,", ",d(L)]}))]})),t("div",{style:e(e({},i.RedlineCardDefaults.divider),z.divider)}),t(g,e({title:T,open:H,onToggle:function(){return F(function(e){return!e})}},{children:t("p",e({style:e(e({},i.RedlineCardDefaults.impactText),z.impactText)},{children:y||""}))})),t("div",{style:e(e({},i.RedlineCardDefaults.divider),z.divider)}),t(g,e({title:K.secondTitle,open:E,onToggle:function(){return N(function(e){return!e})}},{children:t("div",e({style:e(e(e({},i.RedlineCardDefaults.secondSection),{background:K.secondBg,border:"1.5px solid ".concat(K.secondBorder)}),z.secondSection)},{children:x||""}))})),t("div",e({style:e(e({},i.RedlineCardDefaults.actionsContainer),z.actionsContainer)},{children:K.actions.map(function(e){return t(b,{icon:e.icon,label:e.label,onClick:e.onClick,customStyle:e.style},e.label)})}))]}))]}))}export{v as RedlineCard,d as formatDate};
|
|
2
|
+
//# sourceMappingURL=RedlineStatusCard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RedlineStatusCard.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as t}from"tslib";import{jsxs as e,Fragment as o,jsx as n}from"react/jsx-runtime";import{RefreshCw as i}from"lucide-react";function r(r){var a=r.toneColor,l=r.toneIndex,s=r.isDirty,d=r.onToneChange,c=r.onClickRegenerate,g=r.toneLabels,u=void 0===g?["Lenient","Balanced","Aggressive"]:g,f=r.gradientColors,p=void 0===f?["#1D9E75","#BA7517","#E24B4A"]:f,h=r.buttonText,m=void 0===h?"Regenerate":h,b=r.customStyles,y=void 0===b?{}:b,v="linear-gradient(to right, ".concat(p.join(", "),")"),x=Math.max(u.length-1,1),C=l/x*100;return e(o,{children:[n("div",t({style:t({width:"100%",height:8,borderRadius:"999px",background:v,marginBottom:8,position:"relative"},y.track)},{children:n("div",{style:t({position:"absolute",top:"50%",transform:"translate(-50%, -50%)",left:"".concat(C,"%"),width:12,height:12,borderRadius:"50%",background:a,border:"2px solid #fff",boxShadow:"0 0 0 1.5px "+a,transition:"left 0.2s, background 0.2s"},y.thumb)})})),n("input",{type:"range",min:0,max:x,step:1,value:l,onChange:function(t){return d(Number(t.target.value))},style:{width:"100%",cursor:"pointer",marginBottom:4,accentColor:a,opacity:0,marginTop:-20,display:"block",position:"relative",zIndex:1}}),n("div",t({style:t({display:"flex",justifyContent:"space-between",marginBottom:10,marginTop:-4},y.labelsContainer)},{children:u.map(function(e){return n("span",t({style:{fontSize:11,color:"#aaa"}},{children:e}),e)})})),n("div",t({style:t({maxHeight:s?60:0,overflow:"hidden",transition:"max-height 0.25s ease"},y.buttonContainer)},{children:e("button",t({style:t({display:"flex",float:"right",alignItems:"center",justifyContent:"center",gap:6,fontSize:13,fontWeight:500,padding:9,borderRadius:8,border:"none",background:"#2563EB",color:"#fff",cursor:"pointer"},y.button),onClick:c},{children:[n(i,{size:16,color:"#fff"}),m]}))}))]})}export{r as ToneToggle};
|
|
2
|
+
//# sourceMappingURL=ToneToggle.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ToneToggle.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as a from"react";var t;function n(){return n=Object.assign?Object.assign.bind():function(a){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var e in n)({}).hasOwnProperty.call(n,e)&&(a[e]=n[e])}return a},n.apply(null,arguments)}const e=e=>a.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"},e),t||(t=a.createElement("path",{fill:"#475569",d:"M5.898 10.323a4.3 4.3 0 0 1-2.74-.94A4.27 4.27 0 0 1 1.61 6.98a.36.36 0 0 1 .073-.338.48.48 0 0 1 .332-.178.53.53 0 0 1 .357.074.5.5 0 0 1 .22.294A3.27 3.27 0 0 0 3.81 8.64q.92.7 2.089.7 1.437 0 2.439-1 1-1.002 1-2.44 0-1.436-1-2.438-1.002-1.002-2.44-1.002-.847 0-1.584.394a3.65 3.65 0 0 0-1.241 1.08h.86q.21 0 .35.142.141.141.141.35 0 .21-.141.35a.48.48 0 0 1-.35.142H1.966a.48.48 0 0 1-.35-.142.48.48 0 0 1-.141-.35V2.46q0-.209.14-.35a.48.48 0 0 1 .351-.141q.21 0 .35.141.141.142.142.35v.664q.625-.787 1.53-1.216a4.4 4.4 0 0 1 1.91-.43q.921 0 1.726.35a4.5 4.5 0 0 1 1.4.946q.596.596.947 1.4a4.3 4.3 0 0 1 .35 1.727 4.3 4.3 0 0 1-.35 1.726 4.5 4.5 0 0 1-.946 1.4 4.5 4.5 0 0 1-1.401.947 4.3 4.3 0 0 1-1.726.35m.491-4.62 1.229 1.229q.135.134.135.344t-.135.344a.47.47 0 0 1-.344.135.47.47 0 0 1-.344-.135L5.554 6.244a.5.5 0 0 1-.148-.357V3.934q0-.21.142-.35a.48.48 0 0 1 .35-.142q.209 0 .35.142.141.14.141.35z"})));export{e as ReactComponent};
|
|
2
|
+
//# sourceMappingURL=History.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"History.svg.js","sources":["../../../../../../src/features/RequirementAI/components/UserStoryCard/icons/History.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M5.89769%2010.3227C4.86564%2010.3227%203.95235%2010.0094%203.15784%209.38281C2.36332%208.75621%201.84729%207.95555%201.60976%206.98084C1.577%206.85797%201.60157%206.74535%201.68348%206.64296C1.76539%206.54058%201.87596%206.48119%202.01521%206.46481C2.14626%206.44843%202.26503%206.473%202.37151%206.53853C2.47799%206.60406%202.55171%206.70235%202.59266%206.8334C2.78925%207.57058%203.19469%208.17261%203.80901%208.63949C4.42333%209.10637%205.11955%209.33981%205.89769%209.33981C6.85602%209.33981%207.66896%209.00603%208.33652%208.33848C9.00408%207.67092%209.33786%206.85797%209.33786%205.89964C9.33786%204.94131%209.00408%204.12836%208.33652%203.4608C7.66896%202.79325%206.85602%202.45947%205.89769%202.45947C5.33252%202.45947%204.8042%202.59052%204.31275%202.85263C3.8213%203.11474%203.40766%203.47514%203.07183%203.93383H3.93187C4.07112%203.93383%204.18784%203.98093%204.28203%204.07512C4.37623%204.16932%204.42333%204.28604%204.42333%204.42528C4.42333%204.56453%204.37623%204.68125%204.28203%204.77544C4.18784%204.86964%204.07112%204.91673%203.93187%204.91673H1.96606C1.82682%204.91673%201.7101%204.86964%201.6159%204.77544C1.52171%204.68125%201.47461%204.56453%201.47461%204.42528V2.45947C1.47461%202.32022%201.52171%202.2035%201.6159%202.10931C1.7101%202.01511%201.82682%201.96802%201.96606%201.96802C2.10531%201.96802%202.22203%202.01511%202.31622%202.10931C2.41042%202.2035%202.45752%202.32022%202.45752%202.45947V3.12293C2.87525%202.59871%203.38513%202.19326%203.98716%201.90658C4.58919%201.6199%205.22603%201.47656%205.89769%201.47656C6.512%201.47656%207.08741%201.59328%207.62392%201.82672C8.16042%202.06016%208.6273%202.37551%209.02456%202.77277C9.42181%203.17003%209.73716%203.63691%209.9706%204.17341C10.204%204.70991%2010.3208%205.28532%2010.3208%205.89964C10.3208%206.51396%2010.204%207.08937%209.9706%207.62587C9.73716%208.16237%209.42181%208.62925%209.02456%209.02651C8.6273%209.42377%208.16042%209.73912%207.62392%209.97256C7.08741%2010.206%206.512%2010.3227%205.89769%2010.3227ZM6.38914%205.70306L7.61777%206.93169C7.70787%207.02179%207.75292%207.13646%207.75292%207.27571C7.75292%207.41495%207.70787%207.52963%207.61777%207.61973C7.52767%207.70982%207.413%207.75487%207.27375%207.75487C7.13451%207.75487%207.01984%207.70982%206.92974%207.61973L5.55367%206.24366C5.50452%206.19451%205.46766%206.13922%205.44309%206.07779C5.41852%206.01636%205.40623%205.95288%205.40623%205.88735V3.93383C5.40623%203.79458%205.45333%203.67786%205.54753%203.58367C5.64172%203.48947%205.75844%203.44237%205.89769%203.44237C6.03693%203.44237%206.15365%203.48947%206.24785%203.58367C6.34204%203.67786%206.38914%203.79458%206.38914%203.93383V5.70306Z%22%20fill%3D%22%23475569%22%2F%3E%3C%2Fsvg%3E\""],"names":["_path","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","SvgHistory","props","React","createElement","xmlns","fill","viewBox","d"],"mappings":"wBAAA,IAAIA,EACJ,SAASC,IAAa,OAAOA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAIF,UAAUD,GAAI,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,IAAO,OAAOL,CAAE,EAAIJ,EAASY,MAAM,KAAMN,UAAa,CAE/Q,MAACO,EAAaC,GAAsBC,EAAMC,cAAc,MAAOhB,EAAS,CAC3EiB,MAAO,6BACPC,KAAM,OACNC,QAAS,aACRL,GAAQf,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,CACpEE,KAAM,UACNE,EAAG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as r}from"tslib";import{jsx as t}from"react/jsx-runtime";var e=function(){return t("svg",r({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#475467",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:t("path",{d:"M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3"})}))},o=function(){return t("svg",r({width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"#475467",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},{children:t("path",{d:"M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3"})}))};export{o as DefaultFullScreenCloseIcon,e as DefaultFullScreenIcon};
|
|
2
|
+
//# sourceMappingURL=PdfViewerIcons.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PdfViewerIcons.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as a from"react";var n;function t(){return t=Object.assign?Object.assign.bind():function(a){for(var n=1;n<arguments.length;n++){var t=arguments[n];for(var e in t)({}).hasOwnProperty.call(t,e)&&(a[e]=t[e])}return a},t.apply(null,arguments)}const e=e=>a.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"},e),n||(n=a.createElement("path",{fill:"#6938EF",d:"M8.749 4.32c-.065-.316-.516-.316-.58 0A4.94 4.94 0 0 1 4.32 8.168c-.315.065-.315.516 0 .58a4.94 4.94 0 0 1 3.848 3.848c.065.316.516.316.58 0a4.94 4.94 0 0 1 3.849-3.848c.316-.064.316-.515 0-.58A4.94 4.94 0 0 1 8.749 4.32M3.374 1.182c-.005-.02-.035-.02-.039 0a2.76 2.76 0 0 1-2.153 2.153c-.02.004-.02.034 0 .038a2.76 2.76 0 0 1 2.153 2.153c.004.02.034.02.039 0a2.76 2.76 0 0 1 2.152-2.153c.021-.004.021-.034 0-.038a2.76 2.76 0 0 1-2.152-2.153"})));export{e as ReactComponent};
|
|
2
|
+
//# sourceMappingURL=aiMagic.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"aiMagic.svg.js","sources":["../../../../../../src/features/RequirementAI/components/UserStoryCard/icons/aiMagic.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2214%22%20height%3D%2214%22%20viewBox%3D%220%200%2014%2014%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M8.74868%204.32005C8.68413%204.00421%208.23286%204.00421%208.16831%204.32005C7.77227%206.25769%206.25802%207.77194%204.32037%208.16798C4.00454%208.23254%204.00454%208.6838%204.32037%208.74836C6.25802%209.1444%207.77227%2010.6587%208.16831%2012.5963C8.23286%2012.9121%208.68413%2012.9121%208.74868%2012.5963C9.14472%2010.6587%2010.659%209.1444%2012.5966%208.74836C12.9125%208.6838%2012.9125%208.23254%2012.5966%208.16798C10.659%207.77194%209.14472%206.25769%208.74868%204.32005Z%22%20fill%3D%22%236938EF%22%2F%3E%3Cpath%20d%3D%22M3.37352%201.18217C3.36925%201.16128%203.33941%201.16128%203.33514%201.18217C3.11358%202.26614%202.26647%203.11326%201.18249%203.33482C1.16161%203.33908%201.16161%203.36892%201.18249%203.37319C2.26647%203.59475%203.11358%204.44187%203.33514%205.52584C3.33941%205.54673%203.36925%205.54673%203.37352%205.52584C3.59507%204.44187%204.44219%203.59475%205.52617%203.37319C5.54705%203.36892%205.54705%203.33908%205.52617%203.33482C4.44219%203.11326%203.59507%202.26614%203.37352%201.18217Z%22%20fill%3D%22%236938EF%22%2F%3E%3C%2Fsvg%3E\""],"names":["_path","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","SvgAiMagic","props","React","createElement","xmlns","fill","viewBox","d"],"mappings":"wBAAA,IAAIA,EACJ,SAASC,IAAa,OAAOA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAIF,UAAUD,GAAI,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,IAAO,OAAOL,CAAE,EAAIJ,EAASY,MAAM,KAAMN,UAAa,CAE/Q,MAACO,EAAaC,GAAsBC,EAAMC,cAAc,MAAOhB,EAAS,CAC3EiB,MAAO,6BACPC,KAAM,OACNC,QAAS,aACRL,GAAQf,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,CACpEE,KAAM,UACNE,EAAG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as e from"react";var a,l;function t(){return t=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var l=arguments[a];for(var t in l)({}).hasOwnProperty.call(l,t)&&(e[t]=l[t])}return e},t.apply(null,arguments)}const n=n=>e.createElement("svg",t({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 17 24"},n),a||(a=e.createElement("g",{fill:"#344054",clipPath:"url(#cognitiveBrain_svg__a)"},e.createElement("path",{fillRule:"evenodd",d:"M1.1 8.972q.358-.62.812-1.163l-.418 1.755c-.256 1.003-.36 1.977-.006 2.766q.079.176.184.33a6.5 6.5 0 0 0 1.013 3.89 6.5 6.5 0 0 0 2.522 2.288.86.86 0 0 1 .464.76v3.474a.852.852 0 1 1-1.704 0V20.1A8.204 8.204 0 0 1 1.1 8.972M3.663 6.24l-.052.213-.639 2.677a6.5 6.5 0 0 1 2.13-1.82l.423-1.626q.056-.207.096-.397a8.2 8.2 0 0 0-1.958.953m3.367-1.286c-.04.358-.117.72-.21 1.064l-.184.71a6.5 6.5 0 0 1 8.024 6.319v5.347a.485.485 0 0 1-.486.485h-2.673a.85.85 0 0 0-.852.852v3.341a.852.852 0 0 0 1.703 0v-2.49h1.822a2.19 2.19 0 0 0 2.189-2.188v-5.346a8.2 8.2 0 0 0-4.195-7.156 8.2 8.2 0 0 0-5.138-.938m-2.357 5.18a4.8 4.8 0 0 0-1.013 2.107c.525-.01 1.034-.114 2.119-.974l.547-.455a.77.77 0 0 0 .241-.718l-.027-.113c-.134-.324-.551-.421-.855-.246a3.7 3.7 0 0 1-1.012.4m3.104-.664a1.8 1.8 0 0 0-.726-.87 4.77 4.77 0 0 1 4.849 1.436c.49.555.354 1.352-.15 1.806-1.483 1.34-3.94 3.076-6.382 3.723-.621.164-1.302-.136-1.53-.777a4.8 4.8 0 0 1-.259-1.207 3.6 3.6 0 0 0 1.547-.316c.6-.267 1.254-.727 2.078-1.444.684-.594.852-1.502.61-2.25l-.016-.052z",clipRule:"evenodd"}),e.createElement("path",{d:"M3.52 12.242c-.72 0-1.249-.444-.745-2.399l.827-3.467c.144-.555.167-.777 0-.777-.615.155-.307.059-.827.28l-.36-.6C4.168 3.793 4.199 3.4 5.062 3.4c.72 0 .84.865.48 2.198l-.946 3.645c-.168.644-.095.866.072.866.365-.083.714-.22 1.036-.406.308-.177.73-.08.865.25.097.3.022.633-.216.84-1.6 1.39-2.165 1.45-2.833 1.45M5.175.003a1.156 1.156 0 0 1 1.243 1.215v-.003A1.63 1.63 0 0 1 4.792 2.77H4.76a1.1 1.1 0 0 1-.908-.324 1.11 1.11 0 0 1-.313-.91A1.593 1.593 0 0 1 5.178.001z"}))),l||(l=e.createElement("defs",null,e.createElement("clipPath",{id:"cognitiveBrain_svg__a"},e.createElement("path",{fill:"#fff",d:"M0 0h16.421v24H0z"})))));export{n as ReactComponent};
|
|
2
|
+
//# sourceMappingURL=cognitiveBrain.svg.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"cognitiveBrain.svg.js","sources":["../../../../../../src/features/RequirementAI/components/UserStoryCard/icons/cognitiveBrain.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2217%22%20height%3D%2224%22%20viewBox%3D%220%200%2017%2024%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cg%20clip-path%3D%22url%28%23clip0_3229_15667%29%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M1.09913%208.97185C1.33766%208.55871%201.61007%208.17001%201.91221%207.80897L1.49423%209.56386C1.23782%2010.5667%201.13475%2011.5413%201.48768%2012.3298C1.54032%2012.4474%201.60187%2012.5579%201.67158%2012.6608C1.65889%2012.8734%201.65664%2013.0873%201.66501%2013.3013C1.71011%2014.4558%202.06208%2015.5773%202.68468%2016.5505C3.30728%2017.5237%204.17801%2018.3133%205.20722%2018.8383C5.34638%2018.9104%205.46315%2019.0193%205.54482%2019.1531C5.6265%2019.2869%205.66998%2019.4405%205.67054%2019.5973V23.0722C5.67054%2023.1841%205.64851%2023.2949%205.60571%2023.3982C5.56291%2023.5015%205.50017%2023.5954%205.42108%2023.6744C5.342%2023.7535%205.24811%2023.8163%205.14477%2023.8591C5.04144%2023.9019%204.93069%2023.9239%204.81885%2023.9239C4.70699%2023.9239%204.59624%2023.9019%204.49291%2023.8591C4.38958%2023.8163%204.29568%2023.7535%204.2166%2023.6744C4.13751%2023.5954%204.07478%2023.5015%204.03197%2023.3982C3.98918%2023.2949%203.96715%2023.1841%203.96715%2023.0722V20.0988C2.12717%2018.9891%200.795965%2017.202%200.259666%2015.1213C-0.276633%2013.0407%200.0247835%2010.8326%201.09913%208.97185ZM3.66437%206.2404C3.64925%206.30482%203.63159%206.37546%203.61155%206.4526L2.97312%209.13013C3.46151%208.48344%204.06839%207.93134%204.76448%207.50487C4.87584%207.43666%204.98902%207.37193%205.10387%207.31074L5.52616%205.68361C5.56333%205.54621%205.59531%205.41383%205.62197%205.28692C4.92522%205.5179%204.26758%205.83968%203.66437%206.2404ZM7.03055%204.95441C6.99087%205.31226%206.91371%205.67321%206.82089%206.01841L6.63664%206.72845C7.09225%206.61859%207.56033%206.55787%208.0329%206.54861C9.188%206.52599%2010.3282%206.81163%2011.3363%207.37612C12.3443%207.94061%2013.1836%208.76357%2013.7679%209.76025C14.3521%2010.7569%2014.6602%2011.8914%2014.6605%2013.0467V18.3941C14.6605%2018.5226%2014.6093%2018.6461%2014.5184%2018.737C14.4273%2018.8281%2014.304%2018.8791%2014.1753%2018.8791H11.5016C11.2757%2018.8791%2011.0591%2018.9689%2010.8994%2019.1286C10.7397%2019.2884%2010.6499%2019.505%2010.6499%2019.7309V23.0722C10.6499%2023.2981%2010.7397%2023.5148%2010.8994%2023.6744C11.0591%2023.8342%2011.2757%2023.9239%2011.5016%2023.9239C11.7275%2023.9239%2011.9441%2023.8342%2012.1039%2023.6744C12.2636%2023.5148%2012.3533%2023.2981%2012.3533%2023.0722V20.5825H14.1753C14.4627%2020.5825%2014.7472%2020.5259%2015.0128%2020.416C15.2783%2020.306%2015.5195%2020.1448%2015.7228%2019.9415C15.926%2019.7383%2016.0872%2019.497%2016.1972%2019.2315C16.3072%2018.966%2016.3638%2018.6814%2016.3638%2018.3941V13.048C16.3636%2011.5902%2015.9748%2010.1588%2015.2376%208.90105C14.5003%207.64337%2013.4413%206.60484%2012.1694%205.89238C10.5962%205.02363%208.79048%204.70011%207.03055%204.95441ZM4.6743%2010.1341C4.32587%2010.5513%204.04861%2011.0282%203.85809%2011.5458C3.7743%2011.7734%203.70844%2012.0059%203.66052%2012.2411C4.18646%2012.2303%204.69539%2012.1266%205.77988%2011.2666L6.32654%2010.8115C6.53221%2010.6327%206.61528%2010.3578%206.56848%2010.0935L6.54102%209.98104C6.4068%209.65656%205.98993%209.55969%205.68571%209.73517C5.37123%209.91657%205.03067%2010.0522%204.6743%2010.1341ZM7.7782%209.46969C7.61375%209.07185%207.35543%208.78681%207.05248%208.59973C7.71332%208.41638%208.41064%208.3764%209.09677%208.48851C10.182%208.66582%2011.1726%209.21264%2011.9009%2010.0364C12.3915%2010.591%2012.2552%2011.3882%2011.751%2011.842C10.2684%2013.1816%207.81138%2014.9177%205.36938%2015.565C4.74798%2015.7285%204.06662%2015.4287%203.83905%2014.7882C3.69989%2014.396%203.61365%2013.9903%203.58029%2013.5813C3.98406%2013.5793%204.48811%2013.549%205.12728%2013.2649C5.7279%2012.998%206.38097%2012.5377%207.20538%2011.8211C7.88886%2011.2268%208.05659%2010.3194%207.81482%209.57039L7.79912%209.51938L7.7782%209.46969Z%22%20fill%3D%22%23344054%22%2F%3E%3Cpath%20d%3D%22M3.5192%2012.242C2.79949%2012.242%202.27105%2011.7976%202.77508%209.84336L3.60151%206.37644C3.74567%205.82133%203.76895%205.5994%203.60151%205.5994C2.98678%205.75436%203.2954%205.65803%202.77501%205.87979L2.41577%205.27983C4.16739%203.79159%204.19839%203.39824%205.06114%203.39824C5.78086%203.39824%205.90119%204.2644%205.54077%205.59714L4.59515%209.2417C4.42714%209.88592%204.49979%2010.1078%204.66666%2010.1078C5.03183%2010.0251%205.38102%209.88806%205.703%209.70234C6.01124%209.52453%206.43256%209.62247%206.56842%209.95137C6.66536%2010.2515%206.59007%2010.5846%206.35206%2010.7915C4.75255%2012.1819%204.18663%2012.242%203.5192%2012.242ZM5.17589%200.00338336C5.33991%20-0.00919309%205.50472%200.0133821%205.65933%200.0696008C5.81393%200.12582%205.95476%200.214387%206.0724%200.329385C6.19004%200.444383%206.28177%200.583162%206.34148%200.736452C6.40119%200.88974%206.4275%201.05401%206.41864%201.21828V1.21518C6.39927%201.63352%206.21951%202.02834%205.91666%202.31761C5.61384%202.6069%205.21122%202.76842%204.79242%202.76864L4.75888%202.76812C4.59263%202.78623%204.426%202.76653%204.26843%202.71049C4.11088%202.65446%203.96802%202.56354%203.85054%202.44452C3.73307%202.32551%203.64402%202.18148%203.59004%202.02321C3.53648%201.86617%203.51882%201.69915%203.53835%201.5344C3.55428%201.11464%203.73535%200.718127%204.0422%200.431183C4.34935%200.143948%204.7576%20-0.010199%205.17794%200.00235129L5.17589%200.00338336Z%22%20fill%3D%22%23344054%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22clip0_3229_15667%22%3E%3Crect%20width%3D%2216.4211%22%20height%3D%2224%22%20fill%3D%22white%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E\""],"names":["_g","_defs","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","SvgCognitiveBrain","props","React","createElement","xmlns","fill","viewBox","clipPath","fillRule","d","clipRule","id"],"mappings":"wBAAA,IAAIA,EAAIC,EACR,SAASC,IAAa,OAAOA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAIF,UAAUD,GAAI,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,IAAO,OAAOL,CAAE,EAAIJ,EAASY,MAAM,KAAMN,UAAa,CAE/Q,MAACO,EAAoBC,GAAsBC,EAAMC,cAAc,MAAOhB,EAAS,CAClFiB,MAAO,6BACPC,KAAM,OACNC,QAAS,aACRL,GAAQhB,IAAOA,EAAkBiB,EAAMC,cAAc,IAAK,CAC3DE,KAAM,UACNE,SAAU,+BACIL,EAAMC,cAAc,OAAQ,CAC1CK,SAAU,UACVC,EAAG,4gCACHC,SAAU,YACKR,EAAMC,cAAc,OAAQ,CAC3CM,EAAG,ydACCvB,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,KAAmBD,EAAMC,cAAc,WAAY,CAClHQ,GAAI,yBACUT,EAAMC,cAAc,OAAQ,CAC1CE,KAAM,OACNI,EAAG"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import*as c from"react";var e;function n(){return n=Object.assign?Object.assign.bind():function(c){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var t in n)({}).hasOwnProperty.call(n,t)&&(c[t]=n[t])}return c},n.apply(null,arguments)}const t=t=>c.createElement("svg",n({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"},t),e||(e=c.createElement("path",{stroke:"#475569",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:.983,d:"m4.914 7.373-1.511 1.53c-.211.214-.317.32-.407.328a.25.25 0 0 1-.207-.085c-.06-.069-.06-.219-.06-.519v-.766c0-.27-.22-.464-.486-.503A1.47 1.47 0 0 1 .998 6.113c-.016-.107-.016-.234-.016-.487V3.343c0-.825 0-1.238.161-1.554.141-.277.367-.503.644-.644.316-.16.729-.16 1.554-.16h3.637c.826 0 1.239 0 1.554.16.278.141.503.367.644.644.161.316.161.729.161 1.554v2.064m0 5.406-1.07-.743c-.15-.105-.225-.157-.307-.194a1 1 0 0 0-.227-.071c-.089-.017-.18-.017-.363-.017h-.883c-.55 0-.826 0-1.036-.107a1 1 0 0 1-.43-.43c-.107-.21-.107-.485-.107-1.035V6.98c0-.55 0-.826.107-1.036a1 1 0 0 1 .43-.43c.21-.107.485-.107 1.036-.107h2.752c.55 0 .826 0 1.036.108a1 1 0 0 1 .43.43c.107.21.107.485.107 1.035v1.334c0 .458 0 .687-.075.868a.98.98 0 0 1-.532.532c-.18.074-.41.074-.868.074z"})));export{t as ReactComponent};
|
|
2
|
+
//# sourceMappingURL=message-chat-square.svg.js.map
|
package/dist/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message-chat-square.svg.js","sources":["../../../../../../src/features/RequirementAI/components/UserStoryCard/icons/message-chat-square.svg"],"sourcesContent":["export default \"data:image/svg+xml,%3Csvg%20width%3D%2220%22%20height%3D%2220%22%20viewBox%3D%220%200%2012%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M4.91405%207.37326L3.4027%208.9035C3.19189%209.11695%203.08648%209.22367%202.99588%209.2312C2.91728%209.23773%202.84032%209.20613%202.78898%209.14625C2.72981%209.07723%202.72981%208.92723%202.72981%208.62722V7.8606C2.72981%207.59145%202.5094%207.39671%202.2431%207.3577C1.59858%207.26329%201.0924%206.75711%200.997989%206.11259C0.982422%206.00631%200.982422%205.8795%200.982422%205.62587V3.34335C0.982422%202.51763%200.982422%202.10477%201.14312%201.78939C1.28447%201.51197%201.51002%201.28642%201.78744%201.14507C2.10282%200.984375%202.51568%200.984375%203.3414%200.984375H6.97815C7.80387%200.984375%208.21673%200.984375%208.53211%201.14507C8.80953%201.28642%209.03508%201.51197%209.17643%201.78939C9.33712%202.10477%209.33712%202.51763%209.33712%203.34335V5.40745M9.33712%2010.8134L8.26752%2010.0698C8.11717%209.96528%208.04199%209.91301%207.96017%209.87595C7.88755%209.84307%207.81121%209.81913%207.73281%209.80468C7.64448%209.7884%207.55292%209.7884%207.3698%209.7884H6.4867C5.93622%209.7884%205.66098%209.7884%205.45072%209.68127C5.26578%209.58704%205.11541%209.43667%205.02118%209.25173C4.91405%209.04147%204.91405%208.76623%204.91405%208.21576V6.9801C4.91405%206.42962%204.91405%206.15438%205.02118%205.94413C5.11541%205.75918%205.26578%205.60882%205.45072%205.51458C5.66098%205.40745%205.93622%205.40745%206.4867%205.40745H9.23883C9.78931%205.40745%2010.0646%205.40745%2010.2748%205.51458C10.4598%205.60882%2010.6101%205.75918%2010.7044%205.94413C10.8115%206.15438%2010.8115%206.42962%2010.8115%206.9801V8.31405C10.8115%208.77202%2010.8115%209.00101%2010.7367%209.18164C10.6369%209.42248%2010.4456%209.61383%2010.2047%209.71359C10.0241%209.7884%209.7951%209.7884%209.33712%209.7884V10.8134Z%22%20stroke%3D%22%23475569%22%20stroke-width%3D%220.982906%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E\""],"names":["_path","_extends","Object","assign","bind","n","e","arguments","length","t","r","hasOwnProperty","call","apply","SvgMessageChatSquare","props","React","createElement","xmlns","fill","viewBox","stroke","strokeLinecap","strokeLinejoin","strokeWidth","d"],"mappings":"wBAAA,IAAIA,EACJ,SAASC,IAAa,OAAOA,EAAWC,OAAOC,OAASD,OAAOC,OAAOC,OAAS,SAAUC,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CAAE,IAAIG,EAAIF,UAAUD,GAAI,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEE,eAAeC,KAAKH,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,IAAO,OAAOL,CAAE,EAAIJ,EAASY,MAAM,KAAMN,UAAa,CAE/Q,MAACO,EAAuBC,GAAsBC,EAAMC,cAAc,MAAOhB,EAAS,CACrFiB,MAAO,6BACPC,KAAM,OACNC,QAAS,aACRL,GAAQf,IAAUA,EAAqBgB,EAAMC,cAAc,OAAQ,CACpEI,OAAQ,UACRC,cAAe,QACfC,eAAgB,QAChBC,YAAa,KACbC,EAAG"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as
|
|
1
|
+
import{__assign as e,__awaiter as n,__generator as t}from"tslib";import{jsxs as o,jsx as a}from"react/jsx-runtime";import s from"react";import{ChevronDown as l}from"lucide-react";import{cn as i}from"../../../UserStoryImport/lib/cn.js";import r from"./segment.module.css.js";import c from"./ExampleComponentWrapper.js";import m from"../ai-reasoning/AiReasoningCitationContent.js";import u from"./SegmentLoader.js";import"./segment-common.css.js";var d=function(d){var p=d.id,g=void 0===p?"Segment":p,v=d.label,f=d.originalValue;d.decisionStrength;var S=d.aiReason,h=d.customStyles,y=d.customIcons,C=d.aiReasoningCitationCustomStyles,b=d.segmentExampleComponent,x=d.handleViewGlossary,E=d.isUpdatedSegment,j=d.onOpen,I=s.useState(!1),N=I[0],R=I[1],w=s.useState(!1),V=w[0],L=w[1],U=s.useState(!1),W=U[0],k=U[1];return o("div",e({className:"".concat(r.segmentWrapper),style:e({},null==h?void 0:h.segmentWrapper)},{children:[o("div",e({className:"segment-".concat(g,"-container segmentContainer ").concat(E?"updatedSegmentContainer":""),style:e({},null==h?void 0:h.container)},{children:[a("span",e({className:"segment-".concat(g," segmentLabel ").concat(E?"updatedSegmentLabel":""),style:e({},null==h?void 0:h.label)},{children:E?f:v})),a("button",e({className:"".concat(r.segmentExplanationButtonContainer),style:e({},null==h?void 0:h.buttonContainer),onClick:function(){return n(void 0,void 0,void 0,function(){var e;return t(this,function(n){switch(n.label){case 0:if(e=!N,L(!1),!e||(null==S?void 0:S.reason))return[3,5];k(!0),n.label=1;case 1:return n.trys.push([1,,3,4]),[4,null==j?void 0:j()];case 2:return n.sent(),[3,4];case 3:return k(!1),R(!0),[7];case 4:return[3,6];case 5:R(e),n.label=6;case 6:return[2]}})})}},{children:a(l,{className:i(E&&"".concat(r.updatedChevronIcon),"".concat(r.cheveronIcon),N&&"".concat(r.cheveronIconRotated)),style:e({},null==h?void 0:h.cheveronIcon)})}))]})),V&&!E?a(c,{label:null!=v?v:"",segmentExampleComponent:b,customStyles:null==h?void 0:h.segmentExample,handleCancelExample:function(){L(!1)}}):N&&(W?a(u,{customStyles:null==h?void 0:h.loadingSkeleton}):a(m,{aiReason:S,customStyles:C,customIcons:y,isSegmentExplanation:!0,handleViewGlossary:x?function(){R(!1),null==x||x(g)}:void 0,handleViewExample:b?function(){L(!0)}:void 0,isUpdatedSegment:E}))]}))};export{d as default};
|
|
2
2
|
//# sourceMappingURL=Segment.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as l}from"tslib";import{jsx as e,jsxs as n}from"react/jsx-runtime";import t from"./segment.module.css.js";var o=function(o){var a=o.customStyles;return e("div",l({className:t.loaderWrapper,style:null==a?void 0:a.wrapper},{children:n("div",l({className:t.loaderContainer,style:null==a?void 0:a.container},{children:[n("div",l({className:t.loaderHeader,style:null==a?void 0:a.header},{children:[e("div",{className:"".concat(t.skeleton," ").concat(t.title),style:null==a?void 0:a.titleSkeleton}),e("div",{className:"".concat(t.skeleton," ").concat(t.icon),style:null==a?void 0:a.iconSkeleton})]})),e("div",{className:"".concat(t.skeleton," ").concat(t.lineFull),style:null==a?void 0:a.lineFull}),e("div",{className:"".concat(t.skeleton," ").concat(t.line90),style:null==a?void 0:a.line90}),e("div",{className:"".concat(t.skeleton," ").concat(t.line75),style:null==a?void 0:a.line75}),e("div",{className:"".concat(t.skeleton," ").concat(t.line60),style:null==a?void 0:a.line60})]}))}))};export{o as default};
|
|
2
|
+
//# sourceMappingURL=SegmentLoader.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SegmentLoader.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{__awaiter as e,__generator as n}from"tslib";import{jsx as t}from"react/jsx-runtime";import o from"./Segment.js";import i from"dompurify";var l=function(l){var d,a,r,s,u,m,v,g,c,p,S,f,h=l.children,b=l.props,x=l.segmentComponentConfig,y=l.customStyles,C=l.customIcons,_=l.extractText,I=l.isUpdatedSegment,D=void 0!==I&&I,E=(null==b?void 0:b.id)||"Segment",L=(null==b?void 0:b.decisionstrength)||"80",U=x||{},w=U.segmentDataList,F=U.getSegmentExampleComponent,R=U.handleViewGlossary,V=U.upadatedSegmentDataList,j=U.handleFetchUpdatedSegmentDetails,k=U.handleFetchSegmentDetails,G=D?null==V?void 0:V.find(function(e){return String(e.segment_id)===String(E)}):null==w?void 0:w.find(function(e){return String(e.segment_id)===String(E)}),O={id:E,reason:null!==(d=null==G?void 0:G.reason)&&void 0!==d?d:"",gap:null!==(a=null==G?void 0:G.gap)&&void 0!==a?a:"",explanation:null!==(r=null==G?void 0:G.explanation)&&void 0!==r?r:"",relevance_score:null!==(s=null==G?void 0:G.relevance_score)&&void 0!==s?s:0,isOpen:!1},T=void 0,W=_(h),z=b["data-table"],H="";if(z&&!D)try{H=decodeURIComponent(atob(z))}catch(e){console.error("Failed to decode data-table for segment",E,e)}var M=i.sanitize(H);return E&&G&&F&&!D&&(T=z?t(function(){return t("div",{dangerouslySetInnerHTML:{__html:M}})},{}):F(E,W,G.segment_type)),t(o,{id:E,label:null==G?void 0:G.label,originalValue:W,decisionStrength:L,aiReason:O,customIcons:C,aiReasoningCitationCustomStyles:y,segmentExampleComponent:T,handleViewGlossary:R,customStyles:{segmentWrapper:null===(u=null==y?void 0:y.segment)||void 0===u?void 0:u.segmentWrapper,container:null===(m=null==y?void 0:y.segment)||void 0===m?void 0:m.container,label:null===(v=null==y?void 0:y.segment)||void 0===v?void 0:v.label,decisionStrength:null===(g=null==y?void 0:y.segment)||void 0===g?void 0:g.decisionStrength,buttonContainer:null===(c=null==y?void 0:y.segment)||void 0===c?void 0:c.buttonContainer,cheveronIcon:null===(p=null==y?void 0:y.segment)||void 0===p?void 0:p.cheveronIcon,segmentExample:null===(S=null==y?void 0:y.segment)||void 0===S?void 0:S.segmentExample,loadingSkeleton:null===(f=null==y?void 0:y.segment)||void 0===f?void 0:f.SegmentLoadingSkeletonStyles},isUpdatedSegment:D,onOpen:function(){return e(void 0,void 0,void 0,function(){return n(this,function(e){switch(e.label){case 0:return G?[3,4]:D?[4,null==j?void 0:j(E)]:[3,2];case 1:return e.sent(),[3,4];case 2:return[4,null==k?void 0:k(E)];case 3:e.sent(),e.label=4;case 4:return[2]}})})}},E)};export{l as default};
|
|
2
2
|
//# sourceMappingURL=SegmentWrapper.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
var e=".segmentContainer{align-items:center;background-color:#eff6ff;border:1px dashed #bfdbfe;border-radius:4px;color:#3b82f6;display:flex;gap:8px;padding:8px;width:fit-content}.updatedSegmentContainer{background-color:#f0fdf4;border:1px solid #bbf7d0;color:#16a34a}.segmentLabel{color:#3b82f6;font-size:14px;font-weight:600;line-height:21px;text-transform:uppercase}.updatedSegmentLabel{color:#16a34a}";!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const n=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;n&&t.setAttribute("nonce",n),t.appendChild(document.createTextNode(e));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(t)}();export{e as default};
|
|
2
|
+
//# sourceMappingURL=segment-common.css.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"segment-common.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={segmentWrapper:"segment-module_segmentWrapper__PVOuq",
|
|
1
|
+
var e={segmentWrapper:"segment-module_segmentWrapper__PVOuq",segmentButtonContainer:"segment-module_segmentButtonContainer__X76sx",cheveronIcon:"segment-module_cheveronIcon__1njFy",updatedChevronIcon:"segment-module_updatedChevronIcon__8vN-t",cheveronIconRotated:"segment-module_cheveronIconRotated__qDYj7",exampleWrapper:"segment-module_exampleWrapper__ptZzj",uppercase:"segment-module_uppercase__hjgxG",exampleContainer:"segment-module_exampleContainer__9tMXx",exampleHeader:"segment-module_exampleHeader__9P11O",loaderWrapper:"segment-module_loaderWrapper__SwIof",loaderContainer:"segment-module_loaderContainer__5Mhyz",loaderHeader:"segment-module_loaderHeader__J2JnY",skeleton:"segment-module_skeleton__2uZEf",pulse:"segment-module_pulse__A17cR",title:"segment-module_title__fW93U",icon:"segment-module_icon__Dvee3",lineFull:"segment-module_lineFull__MMmOD",line90:"segment-module_line90__OFStl",line75:"segment-module_line75__9r6Xp",line60:"segment-module_line60__bLRec",exampleHeaderText:"segment-module_exampleHeaderText__MWMG0",cancelButton:"segment-module_cancelButton__-F5aZ"};!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(".segment-module_segmentWrapper__PVOuq{display:flex;flex-direction:column;gap:8px}.segment-module_segmentButtonContainer__X76sx{background-color:initial;border:none;cursor:pointer;padding:0}.segment-module_cheveronIcon__1njFy{color:#3b82f6;height:16px;transition:all .2s ease-in-out;width:16px}.segment-module_updatedChevronIcon__8vN-t{color:#16a34a}.segment-module_cheveronIconRotated__qDYj7{transform:rotate(180deg)}.segment-module_exampleWrapper__ptZzj{align-items:flex-start;display:flex;flex-direction:column;gap:12px}.segment-module_uppercase__hjgxG{text-transform:uppercase}.segment-module_exampleContainer__9tMXx{align-items:flex-start;border:2px dashed #e2e8f0;border-radius:8px;display:flex;flex-direction:column;gap:8px;padding:16px;width:100%}.segment-module_exampleHeader__9P11O{align-items:center;align-self:stretch;display:flex;justify-content:space-between}.segment-module_loaderContainer__5Mhyz,.segment-module_loaderWrapper__SwIof{border:1px solid #e5e7eb;border-radius:8px;padding:12px}.segment-module_loaderHeader__J2JnY{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.segment-module_skeleton__2uZEf{animation:segment-module_pulse__A17cR 1.5s ease-in-out infinite;background:#e5e7eb;border-radius:6px}.segment-module_title__fW93U{height:18px;width:100px}.segment-module_icon__Dvee3{height:18px;width:18px}.segment-module_lineFull__MMmOD{height:14px;margin-bottom:10px;width:100%}.segment-module_line90__OFStl{height:14px;margin-bottom:10px;width:90%}.segment-module_line75__9r6Xp{height:14px;margin-bottom:10px;width:75%}.segment-module_line60__bLRec{height:14px;width:60%}@keyframes segment-module_pulse__A17cR{0%{opacity:1}50%{opacity:.5}to{opacity:1}}.segment-module_exampleHeaderText__MWMG0{color:#334155;font-size:14px;font-weight:600;line-height:21px;margin:0}.segment-module_cancelButton__-F5aZ{align-items:center;align-self:stretch;background-color:initial;border:none;color:#334155;cursor:pointer;display:flex;height:fit-content;justify-content:space-between;padding:4px;transition:all .2s ease-in-out}.segment-module_cancelButton__-F5aZ:hover{background-color:#eff6ff}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
|
|
2
2
|
//# sourceMappingURL=segment.module.css.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{UserStoryPickerRoot as e}from"./features/UserStoryImport/UserStoryPicker.js";import{Header as t}from"./features/UserStoryImport/components/Header.js";import{Toolbar as r}from"./features/UserStoryImport/components/Toolbar.js";import{SearchInput as o}from"./features/UserStoryImport/components/SearchInput.js";import{BrowseProjectsButton as s}from"./features/UserStoryImport/components/BrowseProjectsButton.js";import{SectionHeading as a}from"./features/UserStoryImport/components/SectionHeading.js";import{CardGrid as n}from"./features/UserStoryImport/components/CardGrid.js";import{UserStoryCard as i}from"./features/UserStoryImport/components/UserStoryCard.js";import{ProjectCard as m}from"./features/UserStoryImport/components/ProjectCard.js";import{Badge as p}from"./features/UserStoryImport/components/Badge.js";import{BackNav as u}from"./features/UserStoryImport/components/BackNav.js";import{SortDropdown as f}from"./features/UserStoryImport/components/SortDropdown.js";import{ShowMore as
|
|
1
|
+
import{UserStoryPickerRoot as e}from"./features/UserStoryImport/UserStoryPicker.js";import{Header as t}from"./features/UserStoryImport/components/Header.js";import{Toolbar as r}from"./features/UserStoryImport/components/Toolbar.js";import{SearchInput as o}from"./features/UserStoryImport/components/SearchInput.js";import{BrowseProjectsButton as s}from"./features/UserStoryImport/components/BrowseProjectsButton.js";import{SectionHeading as a}from"./features/UserStoryImport/components/SectionHeading.js";import{CardGrid as n}from"./features/UserStoryImport/components/CardGrid.js";import{UserStoryCard as i}from"./features/UserStoryImport/components/UserStoryCard.js";import{ProjectCard as m}from"./features/UserStoryImport/components/ProjectCard.js";import{Badge as p}from"./features/UserStoryImport/components/Badge.js";import{BackNav as u}from"./features/UserStoryImport/components/BackNav.js";import{SortDropdown as f}from"./features/UserStoryImport/components/SortDropdown.js";import{ShowMore as d}from"./features/UserStoryImport/components/ShowMore.js";import{ProceedButton as c}from"./features/UserStoryImport/components/ProceedButton.js";import{Footer as S}from"./features/UserStoryImport/components/Footer.js";import{SplitLayout as l}from"./features/UserStoryImport/components/SplitLayout.js";import{Sidebar as R}from"./features/UserStoryImport/components/Sidebar.js";import{SidebarSection as I}from"./features/UserStoryImport/components/SidebarSection.js";import{SidebarProjectList as C}from"./features/UserStoryImport/components/SidebarProjectList.js";import{SidebarFavoritesList as j}from"./features/UserStoryImport/components/SidebarFavoritesList.js";import{ContentArea as y}from"./features/UserStoryImport/components/ContentArea.js";import{NavRow as A}from"./features/UserStoryImport/components/NavRow.js";import{UserStoryImportDialog as U}from"./features/UserStoryImport/components/UserStoryImportDialog.js";export{UserStoryImportDialog}from"./features/UserStoryImport/components/UserStoryImportDialog.js";import{ResizeHandle as x}from"./features/UserStoryImport/components/ResizeHandle.js";export{ResizeHandle}from"./features/UserStoryImport/components/ResizeHandle.js";import{ScopeDropdown as q}from"./features/UserStoryImport/components/ScopeDropdown.js";import{TypeDropdown as b}from"./features/UserStoryImport/components/TypeDropdown.js";export{default as ReadFileCitationRenderer}from"./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js";export{default as ReadFileCitationContent}from"./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js";export{default as RCACitationRenderer}from"./features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js";export{default as RCACitationContent}from"./features/RequirementAI/components/citations/rca-citation/RCACitationContent.js";export{default as AppModCitationRenderer}from"./features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js";export{default as AppModCitationContent}from"./features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js";export{default as RequirementAIWrapper,useRequirementAI}from"./features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js";export{default as UserStoryScreen}from"./features/RequirementAI/components/story-screen/UserStoryScreen.js";export{default as UserStoryApprovalScreen}from"./features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js";export{default as RichTextEditor}from"./features/RequirementAI/components/RichTextEditor/RichTextEditor.js";export{default as UserStoryWithCitation}from"./features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js";export{default as SubFeatureBlock}from"./features/RequirementAI/components/story-screen/SubfeatureBlock.js";export{default as AtomicButton}from"./features/RequirementAI/shared/AtomicButton.js";export{SidebarOpenIcon}from"./features/RequirementAI/icons/SidebarOpenIcon.js";export{SidebarCloseIcon}from"./features/RequirementAI/icons/SidebarCloseIcon.js";export{default as StreamingScreenSidebar}from"./features/RequirementAI/components/story-screen/StreamingScreenSidebar.js";export{default as AiReasoningCitationContent}from"./features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js";export{useStreamContentHandler}from"./features/RequirementAI/hooks/useStreamContentHandler.js";export{extractBlockStreams,extractDescription,processAIReasoningFromBlocks,processUserStoryValue}from"./features/RequirementAI/utils/proccess-stream.utils.js";export{PartialRequirementContent}from"./features/RequirementAI/components/cra/PartialRequirementContent.js";export{handleAcceptAllChanges,handleDiffEditApplied,handleDiscardAll}from"./features/RequirementAI/utils/diff-edit.utils.js";export{GapFilterBlock}from"./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js";export{hasAnyUpdatedTags,hasUpdatedTagsInMarkdown,useDiffEditReviewMode}from"./features/RequirementAI/hooks/useDiffEditReviewMode.js";export{StoryCard,UserStoryCardWrapper}from"./features/RequirementAI/components/UserStoryCard/UserStoryCard.js";export{default as IterateMenu}from"./features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.js";export{RedlineCard}from"./features/RequirementAI/components/UserStoryCard/Popups/RedlineStatusCard.js";export{default as DeviationSummary}from"./features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.js";export{default as CitationAccordion}from"./features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.js";export{default as FileCitationRender}from"./features/RequirementAI/components/citations/file-citation/FileCitationRender.js";export{default as WebCitationWithImageRenderer}from"./features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js";export{default as WebCitationRenderer}from"./features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js";export{default as StormeeCitationRenderer}from"./features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js";export{default as WaveformCitationRenderer}from"./features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js";export{default as ImageCitationRenderer}from"./features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js";export{default as GapRiskSidebar,NoGapsFound,useGapRiskSidebar}from"./features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js";export{buildStoryWithGap,updateGapInRawData,updateGapStory}from"./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js";export{buildStoryWithRisk,updateRiskInRawData,updateStory}from"./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js";export{cloneUserStories,createUserStoriesForApproval,splitByHeaders,transformApprovalToUserStory}from"./features/RequirementAI/utils/userstory-approval-transform.utils.js";export{useUSPContext}from"./features/UserStoryImport/UserStoryPicker.context.js";export{useUSPData}from"./features/UserStoryImport/hooks/useUSPData.js";export{usePanelResize}from"./features/UserStoryImport/components/usePanelResize.js";export{darkTheme,lightTheme,themeToStyle,uspColorPalette,uspVSCodeLightTheme,vscodeTheme}from"./features/UserStoryImport/UserStoryPicker.theme.js";export{default as CitationRenderer,collapseAllCitations,collapseCitationsByIds}from"./features/CitationRenderer/CitationRenderer.js";export{default as CustomPopover}from"./features/RequirementAI/components/CustomPopover/CustomPopover.js";var h=Object.assign(e,{Header:t,Toolbar:r,SearchInput:o,BrowseProjectsButton:s,SectionHeading:a,CardGrid:n,UserStoryCard:i,ProjectCard:m,Badge:p,BackNav:u,SortDropdown:f,ScopeDropdown:q,TypeDropdown:b,ShowMore:d,ProceedButton:c,Footer:S,SplitLayout:l,Sidebar:R,SidebarSection:I,SidebarProjectList:C,SidebarFavoritesList:j,ContentArea:y,NavRow:A,UserStoryImportDialog:U,ResizeHandle:x});export{h as UserStoryPicker};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA8BA,OAAO,EAA2B,cAAc,EAAE,aAAa,EAAE,MAAM,+EAA+E,CAAC;AAKvJ,QAAA,MAAM,iBAAiB,+
|
|
1
|
+
{"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA8BA,OAAO,EAA2B,cAAc,EAAE,aAAa,EAAE,MAAM,+EAA+E,CAAC;AAKvJ,QAAA,MAAM,iBAAiB,+CAioHtB,CAAC;AAiVF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAoH7C,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,aAAa,EAoV3C,CAAC;AAGF,eAAO,MAAM,mBAAmB,YACrB,cAAc,EAAE,GAAG,aAAa,EAAE;;;;;CA0B5C,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React, { CSSProperties } from "react";
|
|
2
|
+
interface CitationAnchorProps {
|
|
3
|
+
href: string;
|
|
4
|
+
children: any;
|
|
5
|
+
chevronUpComponent?: React.ReactNode;
|
|
6
|
+
chevronDownComponent?: React.ReactNode;
|
|
7
|
+
customStyle?: {
|
|
8
|
+
citationButtonWrapper?: CSSProperties;
|
|
9
|
+
arrow?: CSSProperties;
|
|
10
|
+
citationButton?: CSSProperties;
|
|
11
|
+
expandableContent?: CSSProperties;
|
|
12
|
+
bookHeader?: CSSProperties;
|
|
13
|
+
relative?: CSSProperties;
|
|
14
|
+
pageColor?: CSSProperties;
|
|
15
|
+
highlightedText?: CSSProperties;
|
|
16
|
+
expandedWrapper?: CSSProperties;
|
|
17
|
+
expandableContainer?: CSSProperties;
|
|
18
|
+
bookBodyContent?: CSSProperties;
|
|
19
|
+
customScrollbarClass?: CSSProperties;
|
|
20
|
+
relativeWrapper?: CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
defaultState?: boolean;
|
|
23
|
+
metaData?: any;
|
|
24
|
+
}
|
|
25
|
+
declare const CitationAnchor: React.FC<CitationAnchorProps>;
|
|
26
|
+
export default CitationAnchor;
|
|
27
|
+
//# sourceMappingURL=CitationAnchor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationAnchor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationAnchor.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,EACV,aAAa,EAIhB,MAAM,OAAO,CAAC;AAKf,UAAU,mBAAmB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE;QACV,qBAAqB,CAAC,EAAE,aAAa,CAAC;QACtC,KAAK,CAAC,EAAE,aAAa,CAAC;QACtB,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAClC,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,QAAQ,CAAC,EAAE,aAAa,CAAC;QACzB,SAAS,CAAC,EAAE,aAAa,CAAC;QAC1B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,mBAAmB,CAAC,EAAE,aAAa,CAAC;QACpC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,oBAAoB,CAAC,EAAE,aAAa,CAAC;QACrC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAoFD,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAwJjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
title?: string;
|
|
3
|
+
content?: string;
|
|
4
|
+
citations?: Record<string, any>;
|
|
5
|
+
styles?: Record<string, any>;
|
|
6
|
+
docData?: Record<string, any> | null;
|
|
7
|
+
open: boolean;
|
|
8
|
+
};
|
|
9
|
+
declare function CitationRenderer({ content, title, citations, styles, docData, open }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export default CitationRenderer;
|
|
11
|
+
//# sourceMappingURL=CitationRenderer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CitationRenderer.tsx"],"names":[],"mappings":"AAIA,KAAK,KAAK,GAAG;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC5B,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,CAAC;IACrC,IAAI,EAAE,OAAO,CAAA;CAChB,CAAA;AAED,iBAAS,gBAAgB,CAAC,EACtB,OAAY,EACZ,KAAU,EACV,SAAc,EACd,MAAW,EACX,OAAmC,EACnC,IAAI,EACP,EAAE,KAAK,2CAyDP;AAED,eAAe,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./CitationComponent.css";
|
|
3
|
+
type Section = {
|
|
4
|
+
id?: string;
|
|
5
|
+
title: string;
|
|
6
|
+
content: string | React.ReactNode;
|
|
7
|
+
item?: any;
|
|
8
|
+
show?: boolean;
|
|
9
|
+
bodyClassName?: string;
|
|
10
|
+
};
|
|
11
|
+
type Props = {
|
|
12
|
+
item?: any;
|
|
13
|
+
title?: string;
|
|
14
|
+
relevanceScore?: number;
|
|
15
|
+
showRelevanceScore?: boolean;
|
|
16
|
+
reason?: string;
|
|
17
|
+
impact?: string;
|
|
18
|
+
gap?: string;
|
|
19
|
+
fetching?: boolean;
|
|
20
|
+
accordion?: boolean;
|
|
21
|
+
explaination?: string;
|
|
22
|
+
onClose?: () => void;
|
|
23
|
+
onAccept?: () => void;
|
|
24
|
+
onReject?: () => void;
|
|
25
|
+
showResolveBtns?: boolean;
|
|
26
|
+
sections?: Section[];
|
|
27
|
+
leftIcon?: React.ElementType | React.ReactNode;
|
|
28
|
+
scoreIcon?: React.ElementType | React.ReactNode;
|
|
29
|
+
className?: string;
|
|
30
|
+
customStyles?: Record<string, React.CSSProperties>;
|
|
31
|
+
};
|
|
32
|
+
export default function CitationAccordion({ item, title, relevanceScore, showRelevanceScore, reason, impact, explaination, gap, onClose, onAccept, onReject, showResolveBtns, sections, leftIcon, scoreIcon, className, customStyles, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=CognitiveComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CognitiveComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/CognitiveComponent.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkB,MAAM,OAAO,CAAC;AAIvC,OAAO,yBAAyB,CAAC;AAQjC,KAAK,OAAO,GAAG;IACX,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,GAAG,KAAK,CAAC,SAAS,CAAC;IAClC,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,KAAK,KAAK,GAAG;IAET,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;IAG1B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,QAAQ,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC;IAC/C,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,SAAS,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,aAAa,CAAC,CAAC;CACtD,CAAC;AAyCF,MAAM,CAAC,OAAO,UAAU,iBAAiB,CAAC,EACtC,IAAI,EACJ,KAAkC,EAClC,cAAkB,EAClB,kBAAyB,EACzB,MAAiC,EACjC,MAA8B,EAC9B,YAA0C,EAC1C,GAAY,EACZ,OAAkB,EAClB,QAAQ,EACR,QAAQ,EACR,eAAuB,EACvB,QAAQ,EACR,QAAQ,EACR,SAAS,EACT,SAAS,EACT,YAAiB,GACpB,EAAE,KAAK,2CAsJP"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
interface ResizableSplitPaneProps {
|
|
3
|
+
leftComponent?: ReactNode;
|
|
4
|
+
rightComponent?: ReactNode;
|
|
5
|
+
isFullscreen?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare const ResizableSplitPane: React.FC<ResizableSplitPaneProps>;
|
|
8
|
+
export default ResizableSplitPane;
|
|
9
|
+
//# sourceMappingURL=ResizableSplitPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizableSplitPane.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/CognitiveComponents/ResizableSplitPane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACV,SAAS,EAIZ,MAAM,OAAO,CAAC;AAEf,UAAU,uBAAuB;IAC7B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;IAC3B,YAAY,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAiIzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.d.ts
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TAIReasoning } from '../../../types/aiReasoning.type';
|
|
3
|
+
type ToneType = 'Lenient' | 'Balanced' | 'Aggressive' | string;
|
|
4
|
+
export interface DialIconConfig {
|
|
5
|
+
color: string;
|
|
6
|
+
angle: number;
|
|
7
|
+
arcD: string;
|
|
8
|
+
}
|
|
9
|
+
export interface DeviationSummaryLabels {
|
|
10
|
+
summaryHeader?: string;
|
|
11
|
+
impactHeader?: string;
|
|
12
|
+
fallbackImpact?: string;
|
|
13
|
+
toneHeader?: string;
|
|
14
|
+
toneDescription?: string;
|
|
15
|
+
btnIterate?: string;
|
|
16
|
+
btnAccept?: string;
|
|
17
|
+
btnReject?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface DeviationSummaryProps {
|
|
20
|
+
onClose: () => void;
|
|
21
|
+
aiReason: TAIReasoning | null;
|
|
22
|
+
onAccept: () => void;
|
|
23
|
+
onReject: () => void;
|
|
24
|
+
onIterate: () => void;
|
|
25
|
+
initialTone?: ToneType;
|
|
26
|
+
onRegenerate?: (tone: string) => void;
|
|
27
|
+
labels?: DeviationSummaryLabels;
|
|
28
|
+
toneLevelsConfig?: ToneType[];
|
|
29
|
+
toneColorsConfig?: Record<string, string>;
|
|
30
|
+
dialConfigs?: DialIconConfig[];
|
|
31
|
+
customStyles?: {
|
|
32
|
+
DeviationSummaryStyles?: {
|
|
33
|
+
root?: React.CSSProperties;
|
|
34
|
+
header?: React.CSSProperties;
|
|
35
|
+
bodyText?: React.CSSProperties;
|
|
36
|
+
impactContainer?: React.CSSProperties;
|
|
37
|
+
actionContainer?: React.CSSProperties;
|
|
38
|
+
toneContainer?: React.CSSProperties;
|
|
39
|
+
title?: React.CSSProperties;
|
|
40
|
+
summary?: React.CSSProperties;
|
|
41
|
+
impactToggle?: React.CSSProperties;
|
|
42
|
+
impactToggleLabel?: React.CSSProperties;
|
|
43
|
+
actionBtn?: React.CSSProperties;
|
|
44
|
+
closeBtn?: React.CSSProperties;
|
|
45
|
+
toneToggleBtn?: React.CSSProperties;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
severityChipStyles?: Record<string, React.CSSProperties>;
|
|
49
|
+
customIcons?: {
|
|
50
|
+
summaryIcon?: ReactNode;
|
|
51
|
+
iterateIcon?: ReactNode;
|
|
52
|
+
acceptIcon?: ReactNode;
|
|
53
|
+
rejectIcon?: ReactNode;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
declare function DeviationSummary({ onClose, aiReason, onAccept, onReject, onIterate, initialTone, onRegenerate, labels, toneLevelsConfig, toneColorsConfig, dialConfigs, customStyles, severityChipStyles, customIcons }: DeviationSummaryProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
export default DeviationSummary;
|
|
58
|
+
//# sourceMappingURL=DeviationSummary.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeviationSummary.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/Popups/DeviationSummary.tsx"],"names":[],"mappings":"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"}
|
package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type ItemId = "chat" | "risk" | "history" | string;
|
|
3
|
+
type RiskMode = "Grounded" | "Innovative" | string;
|
|
4
|
+
interface MenuItem {
|
|
5
|
+
id: ItemId;
|
|
6
|
+
icon: any;
|
|
7
|
+
iconType?: "png" | "svg";
|
|
8
|
+
label: string;
|
|
9
|
+
description: string;
|
|
10
|
+
}
|
|
11
|
+
interface ApplyPayload {
|
|
12
|
+
type: ItemId;
|
|
13
|
+
value: string | number;
|
|
14
|
+
}
|
|
15
|
+
interface IterateMenuProps {
|
|
16
|
+
onBack?: () => void;
|
|
17
|
+
onApply?: (payload: ApplyPayload) => void;
|
|
18
|
+
onChatClick?: () => void;
|
|
19
|
+
onRiskRegenerate?: AccordionContentProps["onRiskRegenerate"];
|
|
20
|
+
initialTone?: RiskTab;
|
|
21
|
+
riskMode?: RiskMode;
|
|
22
|
+
menuItemsConfig?: MenuItem[];
|
|
23
|
+
historicalClausesConfig?: HistoricalClause[];
|
|
24
|
+
chatTitle?: string;
|
|
25
|
+
chatBody?: string;
|
|
26
|
+
headerTitle?: string;
|
|
27
|
+
customStyles?: Record<string, React.CSSProperties>;
|
|
28
|
+
toneLevelsConfig?: RiskTab[];
|
|
29
|
+
toneColorsConfig?: Record<string, string>;
|
|
30
|
+
riskModesConfig?: RiskMode[];
|
|
31
|
+
onTabToggle?: (id: ItemId) => void;
|
|
32
|
+
}
|
|
33
|
+
interface AccordionContentProps {
|
|
34
|
+
type: ItemId;
|
|
35
|
+
onApply?: (payload: ApplyPayload) => void;
|
|
36
|
+
onRiskRegenerate?: ({ tone, mode }: {
|
|
37
|
+
tone: string;
|
|
38
|
+
mode: string;
|
|
39
|
+
}) => void;
|
|
40
|
+
initialTone?: RiskTab;
|
|
41
|
+
riskMode?: RiskMode;
|
|
42
|
+
chatTitle?: string;
|
|
43
|
+
chatBody?: string;
|
|
44
|
+
historicalClausesData?: HistoricalClause[];
|
|
45
|
+
mergedStyles?: Record<string, React.CSSProperties>;
|
|
46
|
+
toneLevelsConfig?: RiskTab[];
|
|
47
|
+
toneColorsConfig?: Record<string, string>;
|
|
48
|
+
riskModesConfig?: RiskMode[];
|
|
49
|
+
}
|
|
50
|
+
type RiskTab = "Lenient" | "Balanced" | "Aggressive" | string;
|
|
51
|
+
interface HistoricalClause {
|
|
52
|
+
id: string;
|
|
53
|
+
filename: string;
|
|
54
|
+
excerpt: string;
|
|
55
|
+
tab: RiskTab;
|
|
56
|
+
}
|
|
57
|
+
export default function IterateMenu({ onBack, onChatClick, onRiskRegenerate, initialTone, riskMode, onApply, onTabToggle, menuItemsConfig, historicalClausesConfig, chatTitle, chatBody, headerTitle, customStyles, toneLevelsConfig, toneColorsConfig, riskModesConfig }: IterateMenuProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
+
export {};
|
|
59
|
+
//# sourceMappingURL=IterateComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IterateComponent.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/Popups/IterateComponent.tsx"],"names":[],"mappings":"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"}
|
package/dist/types/src/features/RequirementAI/components/UserStoryCard/Popups/PopupDefaults.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CSSProperties } from 'react';
|
|
2
|
+
export declare const DeviationSummaryDefaults: {
|
|
3
|
+
[k: string]: CSSProperties;
|
|
4
|
+
};
|
|
5
|
+
export declare const IterateMenuDefaults: {
|
|
6
|
+
styles: Record<string, CSSProperties>;
|
|
7
|
+
};
|
|
8
|
+
export declare const RedlineCardDefaults: {
|
|
9
|
+
[k: string]: CSSProperties;
|
|
10
|
+
};
|
|
11
|
+
export declare const CitationAccordionDefaults: {
|
|
12
|
+
[k: string]: CSSProperties;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: {
|
|
15
|
+
DeviationSummaryDefaults: {
|
|
16
|
+
[k: string]: CSSProperties;
|
|
17
|
+
};
|
|
18
|
+
IterateMenuDefaults: {
|
|
19
|
+
styles: Record<string, CSSProperties>;
|
|
20
|
+
};
|
|
21
|
+
RedlineCardDefaults: {
|
|
22
|
+
[k: string]: CSSProperties;
|
|
23
|
+
};
|
|
24
|
+
CitationAccordionDefaults: {
|
|
25
|
+
[k: string]: CSSProperties;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
29
|
+
//# sourceMappingURL=PopupDefaults.d.ts.map
|