@e-llm-studio/requirement-ai 0.0.54 → 0.0.55

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.
Files changed (57) hide show
  1. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.css.js +2 -0
  2. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.css.js.map +1 -0
  3. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.css.js +2 -0
  5. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.css.js.map +1 -0
  6. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
  7. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.css.js +2 -0
  8. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.css.js.map +1 -0
  9. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
  10. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.css.js +2 -0
  11. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.css.js.map +1 -0
  12. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
  13. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js +2 -0
  14. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js.map +1 -0
  15. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
  16. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.css.js +2 -0
  17. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.css.js.map +1 -0
  18. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
  19. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +2 -0
  20. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js.map +1 -0
  21. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
  22. package/dist/cjs/features/UserStoryImport/index.js +1 -1
  23. package/dist/cjs/index.js +1 -1
  24. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.css.js +2 -0
  25. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.css.js.map +1 -0
  26. package/dist/features/RequirementAI/components/RichTextEditor/Editor/Editor.js +1 -1
  27. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.css.js +2 -0
  28. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.css.js.map +1 -0
  29. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorContainer/EditorContainer.js +1 -1
  30. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.css.js +2 -0
  31. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.css.js.map +1 -0
  32. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorPlaceholder/EditorPlaceholder.js +1 -1
  33. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.css.js +2 -0
  34. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.css.js.map +1 -0
  35. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/EditorToolbar.js +1 -1
  36. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js +2 -0
  37. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js.map +1 -0
  38. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarButton/ToolbarButton.js +1 -1
  39. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.css.js +2 -0
  40. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.css.js.map +1 -0
  41. package/dist/features/RequirementAI/components/RichTextEditor/Editor/components/EditorToolbar/components/ToolbarDivider/ToolbarDivider.js +1 -1
  42. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +2 -0
  43. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js.map +1 -0
  44. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
  45. package/dist/features/UserStoryImport/index.js +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/types/src/features/UserStoryImport/index.d.ts +0 -1
  48. package/dist/types/src/features/UserStoryImport/index.d.ts.map +1 -1
  49. package/dist/types/src/index.d.ts +0 -1
  50. package/dist/types/src/index.d.ts.map +1 -1
  51. package/package.json +2 -2
  52. package/dist/cjs/features/UserStoryImport/demo.js +0 -2
  53. package/dist/cjs/features/UserStoryImport/demo.js.map +0 -1
  54. package/dist/features/UserStoryImport/demo.js +0 -2
  55. package/dist/features/UserStoryImport/demo.js.map +0 -1
  56. package/dist/types/src/features/UserStoryImport/demo.d.ts +0 -10
  57. package/dist/types/src/features/UserStoryImport/demo.d.ts.map +0 -1
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='@import "./theme/colors.css";.lexical_editor_wrapper{background:#fff;border-radius:12px;box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;text-align:left}.lexical_editor_wrapper_box{border:1px solid var(--color-border-grey)}.lexical_editor_wrapper *{box-sizing:inherit}.context-menu{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 5px #0003;position:absolute;z-index:1000}.context-menu button{background:none;border:none;cursor:pointer;display:block;padding:8px 12px;text-align:left;width:100%}.context-menu button:hover{background-color:#f0f0f0}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}(),exports.default=e;
2
+ //# sourceMappingURL=Editor.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Editor.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("react"),o=require("@lexical/react/LexicalComposer"),r=require("@lexical/react/LexicalHistoryPlugin"),n=require("@lexical/react/LexicalOnChangePlugin"),l=require("@lexical/react/LexicalTabIndentationPlugin"),a=require("@lexical/list"),u=require("@lexical/react/LexicalListPlugin"),c=require("@lexical/react/LexicalLinkPlugin"),s=require("@lexical/link"),d=require("@lexical/rich-text"),g=require("@lexical/react/LexicalTablePlugin"),x=require("@lexical/table"),p=require("lexical"),m=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),f=require("./components/EditorContainer/EditorContainer.js"),C=require("./components/EditorToolbar/EditorToolbar.js"),q=require("./plugins/LayoutPlugin.js"),h=require("./theme/theme.js"),j=require("./components/Context/ContextMenu.js"),b=require("@lexical/mark"),L=require("./plugins/CommentPlugin/HTMLNode.js"),T=require("./constants/editorConfig.js"),_=require("./plugins/InitialHtml.js");function v(e){console.log(e)}exports.default=function(P){var y,N=P.minHeight,S=P.height,R=P.placeholder,I=P.onFocus,E=P.onBlur,H=P.onChange,k=P.onToolbarButtonClick,w=P.toolbarConfig,B=void 0===w?T.DEFAULT_TOOLBAR_CONFIG:w,M=P.editorRef,O=P.editorState,A=P.initialString,F=P.customToolbar,$=P.plugins;P.nodes,P.dynamicHeight,P.artifactContext,P.commentsPanelState;var W=P.mode,D=P.doNotShowBorderInViewMode,V=t.useRef(null),G={namespace:"MyEditor",theme:h.default,onError:v,nodes:[p.TextNode,a.ListNode,a.ListItemNode,s.LinkNode,d.QuoteNode,d.HeadingNode,x.TableNode,x.TableRowNode,x.TableCellNode,b.MarkNode,L.default],editorState:O},Q=t.useState(null),U=Q[0],X=Q[1],Y=t.useState(!1),z=Y[0],J=Y[1],K=m.useRequirementAI().customStyles,Z=function(e){var i;null===(i=M.current)||void 0===i||i.update(function(){var i=p.$getSelection();p.$isRangeSelection(i)&&i.getNodes().forEach(function(i){p.$isTextNode(i)&&i.setStyle("color: ".concat(e))})})};return document.getElementById("lexical_editor_wrapper"),i.jsxs("div",e.__assign({ref:V,className:"w-full lexical_editor_wrapper ".concat(D&&"readOnly"===W?"":"lexical_editor_wrapper_box"),id:"lexical_editor_wrapper",onContextMenu:function(e){var i;e.preventDefault(),null===(i=M.current)||void 0===i||i.update(function(){var i=p.$getSelection();p.$isRangeSelection(i)&&!i.isCollapsed()?(J(!0),X({x:e.clientX,y:e.clientY})):(J(!1),X(null))})},style:e.__assign({minHeight:N,height:S},null===(y=null==K?void 0:K.textEditorStyles)||void 0===y?void 0:y.textArea)},{children:[i.jsxs(o.LexicalComposer,e.__assign({initialConfig:G},{children:[" ","edit"===W&&i.jsx(C.default,{onToolbarButtonClick:k,editorWrapperRef:V,toolbarConfig:B,customToolbar:F,editorRef:M}),i.jsx(f.default,{placeholder:R}),i.jsx(l.TabIndentationPlugin,{}),i.jsx(r.HistoryPlugin,{}),i.jsx(u.ListPlugin,{}),i.jsx(c.LinkPlugin,{}),i.jsx(g.TablePlugin,{}),i.jsx(q.LayoutPlugin,{onFocus:I,onBlur:E,editorRef:M}),i.jsx(n.OnChangePlugin,{ignoreSelectionChange:!0,ignoreHistoryMergeTagChange:!0,onChange:function(e,i,t){H&&H(e,i,t)}}),A&&i.jsx(_.InitialHtml,{initialValue:A.value,initialFormat:A.type,mode:W}),$&&$]})),U&&z&&"edit"===W&&i.jsx(j.default,{position:U,options:[{label:"Change Color to Red",action:function(){return Z("red")}},{label:"Change Color to Blue",action:function(){return Z("blue")}}],onClose:function(){X(null)}})]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),t=require("react"),o=require("@lexical/react/LexicalComposer"),r=require("@lexical/react/LexicalHistoryPlugin"),n=require("@lexical/react/LexicalOnChangePlugin"),l=require("@lexical/react/LexicalTabIndentationPlugin"),a=require("@lexical/list"),u=require("@lexical/react/LexicalListPlugin"),s=require("@lexical/react/LexicalLinkPlugin"),c=require("@lexical/link"),d=require("@lexical/rich-text"),g=require("@lexical/react/LexicalTablePlugin"),x=require("@lexical/table"),p=require("lexical");require("./components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js");var m=require("../../RequirementAIWrapper/RequirementAIWrapper.js"),f=require("./components/EditorContainer/EditorContainer.js"),q=require("./components/EditorToolbar/EditorToolbar.js"),C=require("./plugins/LayoutPlugin.js"),h=require("./theme/theme.js");require("./theme/theme.css.js"),require("./Editor.css.js");var j=require("./components/Context/ContextMenu.js"),b=require("@lexical/mark"),T=require("./plugins/CommentPlugin/HTMLNode.js"),L=require("./constants/editorConfig.js"),v=require("./plugins/InitialHtml.js");function _(e){console.log(e)}exports.default=function(P){var y,N=P.minHeight,S=P.height,R=P.placeholder,E=P.onFocus,I=P.onBlur,B=P.onChange,H=P.onToolbarButtonClick,k=P.toolbarConfig,w=void 0===k?L.DEFAULT_TOOLBAR_CONFIG:k,M=P.editorRef,O=P.editorState,A=P.initialString,F=P.customToolbar,$=P.plugins;P.nodes,P.dynamicHeight,P.artifactContext,P.commentsPanelState;var W=P.mode,D=P.doNotShowBorderInViewMode,V=t.useRef(null),G={namespace:"MyEditor",theme:h.default,onError:_,nodes:[p.TextNode,a.ListNode,a.ListItemNode,c.LinkNode,d.QuoteNode,d.HeadingNode,x.TableNode,x.TableRowNode,x.TableCellNode,b.MarkNode,T.default],editorState:O},Q=t.useState(null),U=Q[0],X=Q[1],Y=t.useState(!1),z=Y[0],J=Y[1],K=m.useRequirementAI().customStyles,Z=function(e){var i;null===(i=M.current)||void 0===i||i.update(function(){var i=p.$getSelection();p.$isRangeSelection(i)&&i.getNodes().forEach(function(i){p.$isTextNode(i)&&i.setStyle("color: ".concat(e))})})};return document.getElementById("lexical_editor_wrapper"),i.jsxs("div",e.__assign({ref:V,className:"w-full lexical_editor_wrapper ".concat(D&&"readOnly"===W?"":"lexical_editor_wrapper_box"),id:"lexical_editor_wrapper",onContextMenu:function(e){var i;e.preventDefault(),null===(i=M.current)||void 0===i||i.update(function(){var i=p.$getSelection();p.$isRangeSelection(i)&&!i.isCollapsed()?(J(!0),X({x:e.clientX,y:e.clientY})):(J(!1),X(null))})},style:e.__assign({minHeight:N,height:S},null===(y=null==K?void 0:K.textEditorStyles)||void 0===y?void 0:y.textArea)},{children:[i.jsxs(o.LexicalComposer,e.__assign({initialConfig:G},{children:[" ","edit"===W&&i.jsx(q.default,{onToolbarButtonClick:H,editorWrapperRef:V,toolbarConfig:w,customToolbar:F,editorRef:M}),i.jsx(f.default,{placeholder:R}),i.jsx(l.TabIndentationPlugin,{}),i.jsx(r.HistoryPlugin,{}),i.jsx(u.ListPlugin,{}),i.jsx(s.LinkPlugin,{}),i.jsx(g.TablePlugin,{}),i.jsx(C.LayoutPlugin,{onFocus:E,onBlur:I,editorRef:M}),i.jsx(n.OnChangePlugin,{ignoreSelectionChange:!0,ignoreHistoryMergeTagChange:!0,onChange:function(e,i,t){B&&B(e,i,t)}}),A&&i.jsx(v.InitialHtml,{initialValue:A.value,initialFormat:A.type,mode:W}),$&&$]})),U&&z&&"edit"===W&&i.jsx(j.default,{position:U,options:[{label:"Change Color to Red",action:function(){return Z("red")}},{label:"Change Color to Blue",action:function(){return Z("blue")}}],onClose:function(){X(null)}})]}))};
2
2
  //# sourceMappingURL=Editor.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=".lexical_editor_container{height:calc(100% - 65px);position:relative}.lexical_editor_content{height:100%!important;max-height:100%;max-width:100%;min-height:100px;min-width:100%;overflow:auto;padding:1rem;position:relative;resize:both;text-align:left;width:100%}.lexical_editor_content:focus-visible{outline:none}";!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)}(),exports.default=e;
2
+ //# sourceMappingURL=EditorContainer.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorContainer.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),l=require("@lexical/react/LexicalContentEditable"),i=require("@lexical/react/LexicalErrorBoundary"),t=require("@lexical/react/LexicalRichTextPlugin"),a=require("../EditorPlaceholder/EditorPlaceholder.js");exports.default=function(c){var n=c.placeholder;return r.jsx("div",e.__assign({className:"lexical_editor_container"},{children:r.jsx(t.RichTextPlugin,{contentEditable:r.jsx(l.ContentEditable,{className:"lexical_editor_content",id:"lexical_editor_content"}),placeholder:n?function(){return r.jsx(a.default,{placeholder:n})}:null,ErrorBoundary:i.LexicalErrorBoundary})}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@lexical/react/LexicalContentEditable"),l=require("@lexical/react/LexicalErrorBoundary"),t=require("@lexical/react/LexicalRichTextPlugin"),a=require("../EditorPlaceholder/EditorPlaceholder.js");require("./EditorContainer.css.js");exports.default=function(c){var n=c.placeholder;return r.jsx("div",e.__assign({className:"lexical_editor_container"},{children:r.jsx(t.RichTextPlugin,{contentEditable:r.jsx(i.ContentEditable,{className:"lexical_editor_content",id:"lexical_editor_content"}),placeholder:n?function(){return r.jsx(a.default,{placeholder:n})}:null,ErrorBoundary:l.LexicalErrorBoundary})}))};
2
2
  //# sourceMappingURL=EditorContainer.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=".lexical_editor_placeholder{left:1.4rem;opacity:.5;pointer-events:none;position:absolute;top:1rem}";!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)}(),exports.default=e;
2
+ //# sourceMappingURL=EditorPlaceholder.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorPlaceholder.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime");exports.default=function(t){var i=t.placeholder;return r.jsx("div",e.__assign({className:"lexical_editor_placeholder"},{children:i}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime");require("./EditorPlaceholder.css.js");exports.default=function(s){var i=s.placeholder;return r.jsx("div",e.__assign({className:"lexical_editor_placeholder"},{children:i}))};
2
2
  //# sourceMappingURL=EditorPlaceholder.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='@import "./../../theme/colors.css";.lexical_editor_toolbar{align-items:center;background:#fff;border-bottom:1px solid var(--color-border-grey);border-radius:12px 12px 0 0;display:flex;flex-wrap:wrap;overflow-x:auto;overflow-y:hidden;padding:.2rem;top:0;z-index:2}.lexical_editor_toolbar_container{height:100%}';!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}(),exports.default=e;
2
+ //# sourceMappingURL=EditorToolbar.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorToolbar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),o=require("react"),r=require("lexical"),n=require("@lexical/selection"),i=require("@lexical/rich-text"),a=require("@lexical/list"),l=require("@lexical/react/LexicalComposerContext"),s=require("@lexical/utils"),u=require("@lexical/link"),c=require("@lexical/code"),d=require("./components/ToolbarButton/ToolbarButton.js"),g=require("./components/ToolbarDivider/ToolbarDivider.js"),f=require("./components/UndoRedo/UndoRedo.js"),p=require("../../constants/objects.js"),v=require("../../utils/getSelectedNode.js"),C=require("../Icons/Icon.js"),S=require("../../../../RequirementAIWrapper/RequirementAIWrapper.js");exports.default=function(T){var _;T.editorWrapperRef;var m=T.onToolbarButtonClick,x=T.toolbarConfig,N=T.customToolbar;T.editorRef;var R=l.useLexicalComposerContext()[0],$=o.useState(p.ACTIVE_FORMATS),y=$[0],A=$[1],b=o.useState("15px");b[0];var h=b[1],q=o.useState("Arial");q[0];var M=q[1],O=o.useState("");O[0];var I=O[1],j=o.useState(!1),k=j[0],L=j[1],E=o.useState("paragraph"),D=E[0],F=E[1],B=o.useState(null);B[0];var P=B[1],U=o.useState("");U[0];var K=U[1],G=o.useState(!1),V=G[0],W=G[1],z=o.useState(!1),H=z[0],Y=z[1],w=o.useRef(null),Q=S.useRequirementAI().customStyles,X=o.useCallback(function(){var t,o=r.$getSelection();if(r.$isRangeSelection(o)){var l=o.anchor.getNode(),d="root"===l.getKey()?l:l.getTopLevelElementOrThrow(),g=d.getKey();if(null!==R.getElementByKey(g))if(P(g),a.$isListNode(d)){var f=s.$getNearestNodeOfType(l,a.ListNode),C=f?f.getTag():d.getTag();F(C)}else{C=i.$isHeadingNode(d)?d.getTag():d.getType();F(C),c.$isCodeNode(d)&&K(d.getLanguage()||c.getDefaultCodeLanguage())}Object.keys(p.ACTIVE_FORMATS).forEach(function(t){o.hasFormat(t)?A(function(o){var r;return e.__assign(e.__assign({},o),((r={})[t]=!0,r))}):A(function(o){var r;return e.__assign(e.__assign({},o),((r={})[t]=!1,r))})});var S=v.getSelectedNode(o),T=S.getParent();u.$isLinkNode(T)||u.$isLinkNode(S)?L(!0):L(!1),h(n.$getSelectionStyleValueForProperty(o,"font-size","15px")),M(n.$getSelectionStyleValueForProperty(o,"font-family","Arial"));var _=null===(t=o.anchor.getNode().getParent())||void 0===t?void 0:t.getFormatType();I(_)}},[R]);o.useEffect(function(){return s.mergeRegister(R.registerUpdateListener(function(e){e.editorState.read(function(){X()})}),R.registerCommand(r.CAN_UNDO_COMMAND,function(e){return W(e),!1},r.COMMAND_PRIORITY_CRITICAL),R.registerCommand(r.CAN_REDO_COMMAND,function(e){return Y(e),!1},r.COMMAND_PRIORITY_CRITICAL))},[R,X]);var J=o.useCallback(function(e,t){R.dispatchCommand(r.FORMAT_TEXT_COMMAND,t)},[R]);o.useCallback(function(e,t){["left","center","right","justify"].includes(t)&&R.dispatchCommand(r.FORMAT_ELEMENT_COMMAND,t)},[R]),o.useCallback(function(e,t){R.update(function(){var e,o=r.$getSelection();r.$isRangeSelection(o)&&n.$patchStyleText(o,((e={})["font-size"]=t,e))})},[R]);return o.useCallback(function(e,t){var o;"h1"!==t&&"h2"!==t&&"h3"!==t||D!==(o=t)&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&n.$setBlocksType(e,function(){return i.$createHeadingNode(o)})}),"paragraph"===t&&"paragraph"!==D&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&n.$setBlocksType(e,function(){return r.$createParagraphNode()})}),"quote"===t&&"quote"!==D&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&n.$setBlocksType(e,function(){return i.$createQuoteNode()})})},[R,D]),o.useCallback(function(e,t){R.update(function(){var e,o=r.$getSelection();r.$isRangeSelection(o)&&n.$patchStyleText(o,((e={})["font-family"]=t,e))})},[R]),o.useCallback(function(){k?R.dispatchCommand(u.TOGGLE_LINK_COMMAND,null):R.dispatchCommand(u.TOGGLE_LINK_COMMAND,"https://")},[R,k]),t.jsxs("div",e.__assign({className:"lexical_editor_toolbar",id:"lexical_editor_toolbar",ref:w,style:e.__assign({},null===(_=null==Q?void 0:Q.textEditorStyles)||void 0===_?void 0:_.tooltextArea)},{children:[(null==x?void 0:x.undoRedo.display)&&t.jsx(f.UndoRedo,{canUndo:V,canRedo:H}),(null==x?void 0:x.inline.display)&&t.jsxs(t.Fragment,{children:[x.inline.options.map(function(e){var o;return t.jsx(d.default,{toolbarItem:e,active:y[e],onClick:J,icon:t.jsx(C.Icon,{icon:e,iconColors:null===(o=null==Q?void 0:Q.textEditorStyles)||void 0===o?void 0:o.toolIconColors}),onToolbarButtonClick:m},e)}),t.jsx(g.ToolbarDivider,{})]}),N&&N]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),o=require("react"),r=require("lexical"),i=require("@lexical/selection"),n=require("@lexical/rich-text"),a=require("@lexical/list"),l=require("@lexical/react/LexicalComposerContext"),s=require("@lexical/utils"),u=require("@lexical/link"),c=require("@lexical/code"),d=require("./components/ToolbarButton/ToolbarButton.js"),g=require("./components/ToolbarDivider/ToolbarDivider.js"),f=require("./components/UndoRedo/UndoRedo.js");require("./EditorToolbar.css.js");var p=require("../../constants/objects.js"),v=require("../../utils/getSelectedNode.js"),C=require("../Icons/Icon.js"),T=require("../../../../RequirementAIWrapper/RequirementAIWrapper.js");exports.default=function(S){var _;S.editorWrapperRef;var m=S.onToolbarButtonClick,x=S.toolbarConfig,N=S.customToolbar;S.editorRef;var R=l.useLexicalComposerContext()[0],$=o.useState(p.ACTIVE_FORMATS),y=$[0],b=$[1],q=o.useState("15px");q[0];var A=q[1],h=o.useState("Arial");h[0];var M=h[1],O=o.useState("");O[0];var I=O[1],j=o.useState(!1),k=j[0],L=j[1],E=o.useState("paragraph"),D=E[0],F=E[1],B=o.useState(null);B[0];var P=B[1],U=o.useState("");U[0];var K=U[1],G=o.useState(!1),V=G[0],W=G[1],z=o.useState(!1),H=z[0],Y=z[1],w=o.useRef(null),Q=T.useRequirementAI().customStyles,X=o.useCallback(function(){var t,o=r.$getSelection();if(r.$isRangeSelection(o)){var l=o.anchor.getNode(),d="root"===l.getKey()?l:l.getTopLevelElementOrThrow(),g=d.getKey();if(null!==R.getElementByKey(g))if(P(g),a.$isListNode(d)){var f=s.$getNearestNodeOfType(l,a.ListNode),C=f?f.getTag():d.getTag();F(C)}else{C=n.$isHeadingNode(d)?d.getTag():d.getType();F(C),c.$isCodeNode(d)&&K(d.getLanguage()||c.getDefaultCodeLanguage())}Object.keys(p.ACTIVE_FORMATS).forEach(function(t){o.hasFormat(t)?b(function(o){var r;return e.__assign(e.__assign({},o),((r={})[t]=!0,r))}):b(function(o){var r;return e.__assign(e.__assign({},o),((r={})[t]=!1,r))})});var T=v.getSelectedNode(o),S=T.getParent();u.$isLinkNode(S)||u.$isLinkNode(T)?L(!0):L(!1),A(i.$getSelectionStyleValueForProperty(o,"font-size","15px")),M(i.$getSelectionStyleValueForProperty(o,"font-family","Arial"));var _=null===(t=o.anchor.getNode().getParent())||void 0===t?void 0:t.getFormatType();I(_)}},[R]);o.useEffect(function(){return s.mergeRegister(R.registerUpdateListener(function(e){e.editorState.read(function(){X()})}),R.registerCommand(r.CAN_UNDO_COMMAND,function(e){return W(e),!1},r.COMMAND_PRIORITY_CRITICAL),R.registerCommand(r.CAN_REDO_COMMAND,function(e){return Y(e),!1},r.COMMAND_PRIORITY_CRITICAL))},[R,X]);var J=o.useCallback(function(e,t){R.dispatchCommand(r.FORMAT_TEXT_COMMAND,t)},[R]);o.useCallback(function(e,t){["left","center","right","justify"].includes(t)&&R.dispatchCommand(r.FORMAT_ELEMENT_COMMAND,t)},[R]),o.useCallback(function(e,t){R.update(function(){var e,o=r.$getSelection();r.$isRangeSelection(o)&&i.$patchStyleText(o,((e={})["font-size"]=t,e))})},[R]);return o.useCallback(function(e,t){var o;"h1"!==t&&"h2"!==t&&"h3"!==t||D!==(o=t)&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&i.$setBlocksType(e,function(){return n.$createHeadingNode(o)})}),"paragraph"===t&&"paragraph"!==D&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&i.$setBlocksType(e,function(){return r.$createParagraphNode()})}),"quote"===t&&"quote"!==D&&R.update(function(){var e=r.$getSelection();r.$isRangeSelection(e)&&i.$setBlocksType(e,function(){return n.$createQuoteNode()})})},[R,D]),o.useCallback(function(e,t){R.update(function(){var e,o=r.$getSelection();r.$isRangeSelection(o)&&i.$patchStyleText(o,((e={})["font-family"]=t,e))})},[R]),o.useCallback(function(){k?R.dispatchCommand(u.TOGGLE_LINK_COMMAND,null):R.dispatchCommand(u.TOGGLE_LINK_COMMAND,"https://")},[R,k]),t.jsxs("div",e.__assign({className:"lexical_editor_toolbar",id:"lexical_editor_toolbar",ref:w,style:e.__assign({},null===(_=null==Q?void 0:Q.textEditorStyles)||void 0===_?void 0:_.tooltextArea)},{children:[(null==x?void 0:x.undoRedo.display)&&t.jsx(f.UndoRedo,{canUndo:V,canRedo:H}),(null==x?void 0:x.inline.display)&&t.jsxs(t.Fragment,{children:[x.inline.options.map(function(e){var o;return t.jsx(d.default,{toolbarItem:e,active:y[e],onClick:J,icon:t.jsx(C.Icon,{icon:e,iconColors:null===(o=null==Q?void 0:Q.textEditorStyles)||void 0===o?void 0:o.toolIconColors}),onToolbarButtonClick:m},e)}),t.jsx(g.ToolbarDivider,{})]}),N&&N]}))};
2
2
  //# sourceMappingURL=EditorToolbar.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='@import "./../../../../theme/colors.css";.lexical_editor_toolbar_button{align-items:center;background:none;border:0;border-radius:4px;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin:0 2px;min-width:34px;width:34px}.lexical_editor_toolbar_button:hover{background-color:var(--color-hover-grey)}.lexical_editor_toolbar_button__active{background-color:var(--color-active-grey)}.lexical_editor_toolbar_button__active:hover{background-color:var(--color-active-grey);border:1px solid #7d8c94}.lexical_editor_toolbar_button:disabled{cursor:default;opacity:.3}.lexical_editor_toolbar_button:disabled:hover{background:none}.lexical_editor_toolbar_button_icon{background-position:50%;background-repeat:no-repeat;background-size:24px 24px;display:inline-block;height:24px;width:24px}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(o)}(),exports.default=e;
2
+ //# sourceMappingURL=ToolbarButton.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarButton.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("react/jsx-runtime"),o=require("react"),i=require("../../../../../../RequirementAIWrapper/RequirementAIWrapper.js");exports.default=function(r){var n,l,u,s,a=r.toolbarItem,d=r.active,c=r.onClick,v=r.icon,_=r.disabled,b=r.onToolbarButtonClick,x=i.useRequirementAI().customStyles,f=o.useState(!1),m=f[0],p=f[1],q=d?null===(n=null==x?void 0:x.textEditorStyles)||void 0===n?void 0:n.activeToolButton:null===(l=null==x?void 0:x.textEditorStyles)||void 0===l?void 0:l.toolbarButton,y=null===(u=null==x?void 0:x.textEditorStyles)||void 0===u?void 0:u.toolbarButtonHover,S=null===(s=null==x?void 0:x.textEditorStyles)||void 0===s?void 0:s.toolbarButtonDisabled,B=t.__assign(t.__assign(t.__assign({},q),m&&!_?y:{}),_?S:{});return e.jsx("button",t.__assign({className:"lexical_editor_toolbar_button ".concat(d?"lexical_editor_toolbar_button__active":""),onClick:function(t){return function(t,e){c(t,e),b&&b()}(t,a)},disabled:_,style:B,onMouseEnter:function(){return p(!0)},onMouseLeave:function(){return p(!1)}},{children:v}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("react/jsx-runtime"),o=require("react");require("./ToolbarButton.css.js");var r=require("../../../../../../RequirementAIWrapper/RequirementAIWrapper.js");exports.default=function(i){var n,l,u,s,a=i.toolbarItem,d=i.active,c=i.onClick,v=i.icon,_=i.disabled,b=i.onToolbarButtonClick,x=r.useRequirementAI().customStyles,q=o.useState(!1),f=q[0],m=q[1],p=d?null===(n=null==x?void 0:x.textEditorStyles)||void 0===n?void 0:n.activeToolButton:null===(l=null==x?void 0:x.textEditorStyles)||void 0===l?void 0:l.toolbarButton,y=null===(u=null==x?void 0:x.textEditorStyles)||void 0===u?void 0:u.toolbarButtonHover,B=null===(s=null==x?void 0:x.textEditorStyles)||void 0===s?void 0:s.toolbarButtonDisabled,S=t.__assign(t.__assign(t.__assign({},p),f&&!_?y:{}),_?B:{});return e.jsx("button",t.__assign({className:"lexical_editor_toolbar_button ".concat(d?"lexical_editor_toolbar_button__active":""),onClick:function(t){return function(t,e){c(t,e),b&&b()}(t,a)},disabled:_,style:S,onMouseEnter:function(){return m(!0)},onMouseLeave:function(){return m(!1)}},{children:v}))};
2
2
  //# sourceMappingURL=ToolbarButton.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='@import "./../../../../theme/colors.css";.lexical-editor_toolbar_divider{border-left:1px solid var(--color-border-grey);height:20px;margin:0 2px;width:1px}';!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}(),exports.default=e;
2
+ //# sourceMappingURL=ToolbarDivider.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarDivider.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");exports.ToolbarDivider=function(){return e.jsx("div",{className:"lexical-editor_toolbar_divider"})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("./ToolbarDivider.css.js");exports.ToolbarDivider=function(){return e.jsx("div",{className:"lexical-editor_toolbar_divider"})};
2
2
  //# sourceMappingURL=ToolbarDivider.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e='.PlaygroundEditorTheme__ltr{text-align:left}.PlaygroundEditorTheme__rtl{text-align:right}.PlaygroundEditorTheme__paragraph{font-family:Inter,sans-serif;line-height:28px;margin:0 0 8px;position:relative}.PlaygroundEditorTheme__paragraph:last-child{margin-bottom:0}.PlaygroundEditorTheme__quote{border-left:4px solid #ced0d4;color:#65676b;font-size:15px;margin:0 0 10px 20px;padding-left:16px}.PlaygroundEditorTheme__h1{font-family:Inter,sans-serif;font-size:24px;margin:12px 0 4px;padding:0}.PlaygroundEditorTheme__h2{font-size:20px}.PlaygroundEditorTheme__h2,.PlaygroundEditorTheme__h3{font-family:Inter,sans-serif;margin:10px 0 0;padding:0}.PlaygroundEditorTheme__h3{font-size:18px;text-transform:uppercase}.PlaygroundEditorTheme__textBold{font-family:Inter,sans-serif;font-weight:700}.PlaygroundEditorTheme__textItalic{font-style:italic}.PlaygroundEditorTheme__textUnderline{text-decoration:underline}.PlaygroundEditorTheme__textStrikethrough{text-decoration:line-through}.PlaygroundEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.PlaygroundEditorTheme__textSubscript{font-size:.8em;vertical-align:sub!important}.PlaygroundEditorTheme__textSuperscript{font-size:.8em;vertical-align:super}.PlaygroundEditorTheme__textCode{background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;font-size:94%;padding:1px .25rem}.PlaygroundEditorTheme__hashtag{background-color:#5890ff26;border-bottom:1px solid #5890ff4d}.PlaygroundEditorTheme__link{color:#216fdb;text-decoration:none}.PlaygroundEditorTheme__link:hover{text-decoration:underline}.PlaygroundEditorTheme__code{background-color:#f0f2f5;display:block;font-family:Menlo,Consolas,Monaco,monospace;font-size:13px;line-height:1.53;margin:8px 0;overflow-x:auto;padding:8px 8px 8px 52px;position:relative;tab-size:2}.PlaygroundEditorTheme__code:before{background-color:#eee;border-right:1px solid #ccc;color:#777;content:attr(data-gutter);left:0;min-width:25px;padding:8px;position:absolute;text-align:right;top:0;white-space:pre-wrap}.PlaygroundEditorTheme__code:after{color:#00000080;content:attr(data-highlight-language);font-size:10px;padding:3px;position:absolute;right:3px;text-transform:uppercase;top:0}.PlaygroundEditorTheme__table{border-collapse:collapse;border-spacing:0;max-width:100%;overflow-y:scroll;table-layout:fixed;width:100%}.PlaygroundEditorTheme__tableCell{border:1px solid #000;min-width:75px;padding:6px 8px;text-align:start;vertical-align:top}.PlaygroundEditorTheme__tableCellHeader{background-color:#f2f3f5;text-align:start}.PlaygroundEditorTheme__characterLimit{background-color:#fbb!important;display:inline}.PlaygroundEditorTheme__ul{list-style-type:disc}.PlaygroundEditorTheme__ol1,.PlaygroundEditorTheme__ul{list-style-position:outside;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol1{list-style-type:decimal}.PlaygroundEditorTheme__ol2{list-style-position:outside;list-style-type:upper-alpha;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol3{list-style-position:outside;list-style-type:lower-alpha;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol4{list-style-position:outside;list-style-type:upper-roman;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol5{list-style-position:outside;list-style-type:lower-roman;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__listItem{display:list-item;margin:8px 24px 8px 8px;padding:0 8px}.PlaygroundEditorTheme__nestedListItem{list-style-type:inherit;margin-left:16px}ol .PlaygroundEditorTheme__nestedListItem{list-style-type:none}.PlaygroundEditorTheme__listItemChecked,.PlaygroundEditorTheme__listItemUnchecked{list-style-type:none;margin-left:8px;margin-right:8px;outline:none;padding-left:24px;padding-right:24px;position:relative}.PlaygroundEditorTheme__listItemChecked{text-decoration:line-through}.PlaygroundEditorTheme__listItemChecked:before,.PlaygroundEditorTheme__listItemUnchecked:before{background-size:cover;content:"";cursor:pointer;display:block;height:16px;left:0;position:absolute;top:2px;width:16px}.PlaygroundEditorTheme__listItemChecked[dir=rtl]:before,.PlaygroundEditorTheme__listItemUnchecked[dir=rtl]:before{left:auto;right:0}.PlaygroundEditorTheme__listItemChecked:focus:before,.PlaygroundEditorTheme__listItemUnchecked:focus:before{border-radius:2px;box-shadow:0 0 0 2px #a6cdfe}.PlaygroundEditorTheme__tokenComment{color:#708090}.PlaygroundEditorTheme__tokenPunctuation{color:#999}.PlaygroundEditorTheme__tokenProperty{color:#905}.PlaygroundEditorTheme__tokenSelector{color:#690}.PlaygroundEditorTheme__tokenOperator{color:#9a6e3a}.PlaygroundEditorTheme__tokenAttr{color:#07a}.PlaygroundEditorTheme__tokenVariable{color:#e90}.PlaygroundEditorTheme__tokenFunction{color:#dd4a68}.PlaygroundEditorTheme__mark{background:#ffd40024;border-bottom:2px solid #ffd4004d;padding-bottom:2px}.PlaygroundEditorTheme__markOverlap{background:#ffd4004d;border-bottom:2px solid #ffd400b3}.PlaygroundEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid #ffd400}.PlaygroundEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid #ffd400b3}.PlaygroundEditorTheme__embedBlock{user-select:none}.PlaygroundEditorTheme__embedBlockFocus{outline:2px solid #3c84f4}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(o)}(),exports.default=e;
2
+ //# sourceMappingURL=theme.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={characterLimit:"PlaygroundEditorTheme__characterLimit",code:"PlaygroundEditorTheme__code",codeHighlight:{atrule:"PlaygroundEditorTheme__tokenAttr",attr:"PlaygroundEditorTheme__tokenAttr",boolean:"PlaygroundEditorTheme__tokenProperty",builtin:"PlaygroundEditorTheme__tokenSelector",cdata:"PlaygroundEditorTheme__tokenComment",char:"PlaygroundEditorTheme__tokenSelector",class:"PlaygroundEditorTheme__tokenFunction","class-name":"PlaygroundEditorTheme__tokenFunction",comment:"PlaygroundEditorTheme__tokenComment",constant:"PlaygroundEditorTheme__tokenProperty",deleted:"PlaygroundEditorTheme__tokenProperty",doctype:"PlaygroundEditorTheme__tokenComment",entity:"PlaygroundEditorTheme__tokenOperator",function:"PlaygroundEditorTheme__tokenFunction",important:"PlaygroundEditorTheme__tokenVariable",inserted:"PlaygroundEditorTheme__tokenSelector",keyword:"PlaygroundEditorTheme__tokenAttr",namespace:"PlaygroundEditorTheme__tokenVariable",number:"PlaygroundEditorTheme__tokenProperty",operator:"PlaygroundEditorTheme__tokenOperator",prolog:"PlaygroundEditorTheme__tokenComment",property:"PlaygroundEditorTheme__tokenProperty",punctuation:"PlaygroundEditorTheme__tokenPunctuation",regex:"PlaygroundEditorTheme__tokenVariable",selector:"PlaygroundEditorTheme__tokenSelector",string:"PlaygroundEditorTheme__tokenSelector",symbol:"PlaygroundEditorTheme__tokenProperty",tag:"PlaygroundEditorTheme__tokenProperty",url:"PlaygroundEditorTheme__tokenOperator",variable:"PlaygroundEditorTheme__tokenVariable"},embedBlock:{base:"PlaygroundEditorTheme__embedBlock",focus:"PlaygroundEditorTheme__embedBlockFocus"},hashtag:"PlaygroundEditorTheme__hashtag",heading:{h1:"PlaygroundEditorTheme__h1",h2:"PlaygroundEditorTheme__h2",h3:"PlaygroundEditorTheme__h3",h4:"PlaygroundEditorTheme__h4",h5:"PlaygroundEditorTheme__h5",h6:"PlaygroundEditorTheme__h6"},image:"editor-image",link:"PlaygroundEditorTheme__link",list:{listitem:"PlaygroundEditorTheme__listItem",listitemChecked:"PlaygroundEditorTheme__listItemChecked",listitemUnchecked:"PlaygroundEditorTheme__listItemUnchecked",nested:{listitem:"PlaygroundEditorTheme__nestedListItem"},olDepth:["PlaygroundEditorTheme__ol1","PlaygroundEditorTheme__ol2","PlaygroundEditorTheme__ol3","PlaygroundEditorTheme__ol4","PlaygroundEditorTheme__ol5"],ul:"PlaygroundEditorTheme__ul"},ltr:"PlaygroundEditorTheme__ltr",mark:"PlaygroundEditorTheme__mark",markOverlap:"PlaygroundEditorTheme__markOverlap",paragraph:"PlaygroundEditorTheme__paragraph",quote:"PlaygroundEditorTheme__quote",rtl:"PlaygroundEditorTheme__rtl",table:"PlaygroundEditorTheme__table",tableCell:"PlaygroundEditorTheme__tableCell",tableCellHeader:"PlaygroundEditorTheme__tableCellHeader",text:{bold:"PlaygroundEditorTheme__textBold",code:"PlaygroundEditorTheme__textCode",italic:"PlaygroundEditorTheme__textItalic",strikethrough:"PlaygroundEditorTheme__textStrikethrough",subscript:"PlaygroundEditorTheme__textSubscript",superscript:"PlaygroundEditorTheme__textSuperscript",underline:"PlaygroundEditorTheme__textUnderline",underlineStrikethrough:"PlaygroundEditorTheme__textUnderlineStrikethrough"}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),require("./theme.css.js");exports.default={characterLimit:"PlaygroundEditorTheme__characterLimit",code:"PlaygroundEditorTheme__code",codeHighlight:{atrule:"PlaygroundEditorTheme__tokenAttr",attr:"PlaygroundEditorTheme__tokenAttr",boolean:"PlaygroundEditorTheme__tokenProperty",builtin:"PlaygroundEditorTheme__tokenSelector",cdata:"PlaygroundEditorTheme__tokenComment",char:"PlaygroundEditorTheme__tokenSelector",class:"PlaygroundEditorTheme__tokenFunction","class-name":"PlaygroundEditorTheme__tokenFunction",comment:"PlaygroundEditorTheme__tokenComment",constant:"PlaygroundEditorTheme__tokenProperty",deleted:"PlaygroundEditorTheme__tokenProperty",doctype:"PlaygroundEditorTheme__tokenComment",entity:"PlaygroundEditorTheme__tokenOperator",function:"PlaygroundEditorTheme__tokenFunction",important:"PlaygroundEditorTheme__tokenVariable",inserted:"PlaygroundEditorTheme__tokenSelector",keyword:"PlaygroundEditorTheme__tokenAttr",namespace:"PlaygroundEditorTheme__tokenVariable",number:"PlaygroundEditorTheme__tokenProperty",operator:"PlaygroundEditorTheme__tokenOperator",prolog:"PlaygroundEditorTheme__tokenComment",property:"PlaygroundEditorTheme__tokenProperty",punctuation:"PlaygroundEditorTheme__tokenPunctuation",regex:"PlaygroundEditorTheme__tokenVariable",selector:"PlaygroundEditorTheme__tokenSelector",string:"PlaygroundEditorTheme__tokenSelector",symbol:"PlaygroundEditorTheme__tokenProperty",tag:"PlaygroundEditorTheme__tokenProperty",url:"PlaygroundEditorTheme__tokenOperator",variable:"PlaygroundEditorTheme__tokenVariable"},embedBlock:{base:"PlaygroundEditorTheme__embedBlock",focus:"PlaygroundEditorTheme__embedBlockFocus"},hashtag:"PlaygroundEditorTheme__hashtag",heading:{h1:"PlaygroundEditorTheme__h1",h2:"PlaygroundEditorTheme__h2",h3:"PlaygroundEditorTheme__h3",h4:"PlaygroundEditorTheme__h4",h5:"PlaygroundEditorTheme__h5",h6:"PlaygroundEditorTheme__h6"},image:"editor-image",link:"PlaygroundEditorTheme__link",list:{listitem:"PlaygroundEditorTheme__listItem",listitemChecked:"PlaygroundEditorTheme__listItemChecked",listitemUnchecked:"PlaygroundEditorTheme__listItemUnchecked",nested:{listitem:"PlaygroundEditorTheme__nestedListItem"},olDepth:["PlaygroundEditorTheme__ol1","PlaygroundEditorTheme__ol2","PlaygroundEditorTheme__ol3","PlaygroundEditorTheme__ol4","PlaygroundEditorTheme__ol5"],ul:"PlaygroundEditorTheme__ul"},ltr:"PlaygroundEditorTheme__ltr",mark:"PlaygroundEditorTheme__mark",markOverlap:"PlaygroundEditorTheme__markOverlap",paragraph:"PlaygroundEditorTheme__paragraph",quote:"PlaygroundEditorTheme__quote",rtl:"PlaygroundEditorTheme__rtl",table:"PlaygroundEditorTheme__table",tableCell:"PlaygroundEditorTheme__tableCell",tableCellHeader:"PlaygroundEditorTheme__tableCellHeader",text:{bold:"PlaygroundEditorTheme__textBold",code:"PlaygroundEditorTheme__textCode",italic:"PlaygroundEditorTheme__textItalic",strikethrough:"PlaygroundEditorTheme__textStrikethrough",subscript:"PlaygroundEditorTheme__textSubscript",superscript:"PlaygroundEditorTheme__textSuperscript",underline:"PlaygroundEditorTheme__textUnderline",underlineStrikethrough:"PlaygroundEditorTheme__textUnderlineStrikethrough"}};
2
2
  //# sourceMappingURL=theme.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./UserStoryPicker.js"),o=require("./components/Header.js"),r=require("./components/Toolbar.js"),t=require("./components/SearchInput.js"),s=require("./components/BrowseProjectsButton.js"),n=require("./components/SectionHeading.js"),i=require("./components/CardGrid.js"),a=require("./components/UserStoryCard.js"),p=require("./components/ProjectCard.js"),c=require("./components/Badge.js"),d=require("./components/BackNav.js"),S=require("./components/SortDropdown.js"),u=require("./components/ShowMore.js"),m=require("./components/ProceedButton.js"),j=require("./components/Footer.js"),q=require("./components/SplitLayout.js"),P=require("./components/Sidebar.js"),l=require("./components/SidebarSection.js"),y=require("./components/SidebarProjectList.js"),U=require("./components/SidebarFavoritesList.js"),h=require("./components/ContentArea.js"),w=require("./components/NavRow.js"),D=require("./components/UserStoryImportDialog.js"),x=require("./components/ResizeHandle.js"),C=require("./components/ScopeDropdown.js"),b=require("./components/TypeDropdown.js"),g=require("./components/UserStoryScopeDropdown.js"),T=require("./UserStoryPicker.context.js"),B=require("./hooks/useUSPData.js"),v=require("./components/usePanelResize.js"),R=require("./demo.js"),k=require("./UserStoryPicker.theme.js"),H=Object.assign(e.UserStoryPickerRoot,{Header:o.Header,Toolbar:r.Toolbar,SearchInput:t.SearchInput,BrowseProjectsButton:s.BrowseProjectsButton,SectionHeading:n.SectionHeading,CardGrid:i.CardGrid,UserStoryCard:a.UserStoryCard,ProjectCard:p.ProjectCard,Badge:c.Badge,BackNav:d.BackNav,SortDropdown:S.SortDropdown,ScopeDropdown:C.ScopeDropdown,TypeDropdown:b.TypeDropdown,UserStoryScopeDropdown:g.UserStoryScopeDropdown,ShowMore:u.ShowMore,ProceedButton:m.ProceedButton,Footer:j.Footer,SplitLayout:q.SplitLayout,Sidebar:P.Sidebar,SidebarSection:l.SidebarSection,SidebarProjectList:y.SidebarProjectList,SidebarFavoritesList:U.SidebarFavoritesList,ContentArea:h.ContentArea,NavRow:w.NavRow,UserStoryImportDialog:D.UserStoryImportDialog,ResizeHandle:x.ResizeHandle});exports.UserStoryImportDialog=D.UserStoryImportDialog,exports.ResizeHandle=x.ResizeHandle,exports.useUSPContext=T.useUSPContext,exports.useUSPData=B.useUSPData,exports.usePanelResize=v.usePanelResize,exports.demoProjects=R.demoProjects,exports.demoUserStories=R.demoUserStories,exports.darkTheme=k.darkTheme,exports.lightTheme=k.lightTheme,exports.themeToStyle=k.themeToStyle,exports.uspColorPalette=k.uspColorPalette,exports.uspVSCodeLightTheme=k.uspVSCodeLightTheme,exports.vscodeTheme=k.vscodeTheme,exports.UserStoryPicker=H;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./UserStoryPicker.js"),o=require("./components/Header.js"),r=require("./components/Toolbar.js"),t=require("./components/SearchInput.js"),s=require("./components/BrowseProjectsButton.js"),n=require("./components/SectionHeading.js"),i=require("./components/CardGrid.js"),a=require("./components/UserStoryCard.js"),p=require("./components/ProjectCard.js"),c=require("./components/Badge.js"),d=require("./components/BackNav.js"),S=require("./components/SortDropdown.js"),u=require("./components/ShowMore.js"),m=require("./components/ProceedButton.js"),j=require("./components/Footer.js"),q=require("./components/SplitLayout.js"),l=require("./components/Sidebar.js"),P=require("./components/SidebarSection.js"),y=require("./components/SidebarProjectList.js"),h=require("./components/SidebarFavoritesList.js"),w=require("./components/ContentArea.js"),U=require("./components/NavRow.js"),D=require("./components/UserStoryImportDialog.js"),C=require("./components/ResizeHandle.js"),b=require("./components/ScopeDropdown.js"),g=require("./components/TypeDropdown.js"),x=require("./components/UserStoryScopeDropdown.js"),T=require("./UserStoryPicker.context.js"),B=require("./hooks/useUSPData.js"),v=require("./components/usePanelResize.js"),R=require("./UserStoryPicker.theme.js"),k=Object.assign(e.UserStoryPickerRoot,{Header:o.Header,Toolbar:r.Toolbar,SearchInput:t.SearchInput,BrowseProjectsButton:s.BrowseProjectsButton,SectionHeading:n.SectionHeading,CardGrid:i.CardGrid,UserStoryCard:a.UserStoryCard,ProjectCard:p.ProjectCard,Badge:c.Badge,BackNav:d.BackNav,SortDropdown:S.SortDropdown,ScopeDropdown:b.ScopeDropdown,TypeDropdown:g.TypeDropdown,UserStoryScopeDropdown:x.UserStoryScopeDropdown,ShowMore:u.ShowMore,ProceedButton:m.ProceedButton,Footer:j.Footer,SplitLayout:q.SplitLayout,Sidebar:l.Sidebar,SidebarSection:P.SidebarSection,SidebarProjectList:y.SidebarProjectList,SidebarFavoritesList:h.SidebarFavoritesList,ContentArea:w.ContentArea,NavRow:U.NavRow,UserStoryImportDialog:D.UserStoryImportDialog,ResizeHandle:C.ResizeHandle});exports.UserStoryImportDialog=D.UserStoryImportDialog,exports.ResizeHandle=C.ResizeHandle,exports.useUSPContext=T.useUSPContext,exports.useUSPData=B.useUSPData,exports.usePanelResize=v.usePanelResize,exports.darkTheme=R.darkTheme,exports.lightTheme=R.lightTheme,exports.themeToStyle=R.themeToStyle,exports.uspColorPalette=R.uspColorPalette,exports.uspVSCodeLightTheme=R.uspVSCodeLightTheme,exports.vscodeTheme=R.vscodeTheme,exports.UserStoryPicker=k;
2
2
  //# sourceMappingURL=index.js.map
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js"),r=require("./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js"),t=require("./features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js"),o=require("./features/RequirementAI/components/citations/rca-citation/RCACitationContent.js"),s=require("./features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js"),i=require("./features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js"),a=require("./features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js"),n=require("./features/RequirementAI/components/story-screen/UserStoryScreen.js"),p=require("./features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js"),u=require("./features/RequirementAI/components/RichTextEditor/RichTextEditor.js"),d=require("./features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js"),c=require("./features/RequirementAI/components/story-screen/SubfeatureBlock.js"),m=require("./features/RequirementAI/shared/AtomicButton.js"),S=require("./features/RequirementAI/icons/SidebarOpenIcon.js"),l=require("./features/RequirementAI/icons/SidebarCloseIcon.js"),f=require("./features/RequirementAI/components/story-screen/StreamingScreenSidebar.js"),q=require("./features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js"),R=require("./features/RequirementAI/hooks/useStreamContentHandler.js"),I=require("./features/RequirementAI/utils/proccess-stream.utils.js"),y=require("./features/RequirementAI/utils/diff-edit.utils.js"),j=require("./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js"),x=require("./features/RequirementAI/hooks/useDiffEditReviewMode.js"),A=require("./features/RequirementAI/components/UserStoryCard/UserStoryCard.js"),U=require("./features/RequirementAI/components/citations/file-citation/FileCitationRender.js"),C=require("./features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js"),h=require("./features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js"),b=require("./features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js"),k=require("./features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js"),g=require("./features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js"),D=require("./features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js"),P=require("./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js"),w=require("./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js"),B=require("./features/RequirementAI/utils/userstory-approval-transform.utils.js"),v=require("./features/UserStoryImport/UserStoryPicker.js"),T=require("./features/UserStoryImport/components/Header.js"),F=require("./features/UserStoryImport/components/Toolbar.js"),G=require("./features/UserStoryImport/components/SearchInput.js"),W=require("./features/UserStoryImport/components/BrowseProjectsButton.js"),H=require("./features/UserStoryImport/components/SectionHeading.js"),L=require("./features/UserStoryImport/components/CardGrid.js"),M=require("./features/UserStoryImport/components/UserStoryCard.js"),z=require("./features/UserStoryImport/components/ProjectCard.js"),E=require("./features/UserStoryImport/components/Badge.js"),N=require("./features/UserStoryImport/components/BackNav.js"),O=require("./features/UserStoryImport/components/SortDropdown.js"),V=require("./features/UserStoryImport/components/ShowMore.js"),_=require("./features/UserStoryImport/components/ProceedButton.js"),J=require("./features/UserStoryImport/components/Footer.js"),K=require("./features/UserStoryImport/components/SplitLayout.js"),Q=require("./features/UserStoryImport/components/Sidebar.js"),X=require("./features/UserStoryImport/components/SidebarSection.js"),Y=require("./features/UserStoryImport/components/SidebarProjectList.js"),Z=require("./features/UserStoryImport/components/SidebarFavoritesList.js"),$=require("./features/UserStoryImport/components/ContentArea.js"),ee=require("./features/UserStoryImport/components/NavRow.js"),re=require("./features/UserStoryImport/components/UserStoryImportDialog.js"),te=require("./features/UserStoryImport/components/ResizeHandle.js"),oe=require("./features/UserStoryImport/components/ScopeDropdown.js"),se=require("./features/UserStoryImport/components/TypeDropdown.js"),ie=require("./features/UserStoryImport/UserStoryPicker.context.js"),ae=require("./features/UserStoryImport/hooks/useUSPData.js"),ne=require("./features/UserStoryImport/components/usePanelResize.js"),pe=require("./features/UserStoryImport/demo.js"),ue=require("./features/UserStoryImport/UserStoryPicker.theme.js"),de=Object.assign(v.UserStoryPickerRoot,{Header:T.Header,Toolbar:F.Toolbar,SearchInput:G.SearchInput,BrowseProjectsButton:W.BrowseProjectsButton,SectionHeading:H.SectionHeading,CardGrid:L.CardGrid,UserStoryCard:M.UserStoryCard,ProjectCard:z.ProjectCard,Badge:E.Badge,BackNav:N.BackNav,SortDropdown:O.SortDropdown,ScopeDropdown:oe.ScopeDropdown,TypeDropdown:se.TypeDropdown,ShowMore:V.ShowMore,ProceedButton:_.ProceedButton,Footer:J.Footer,SplitLayout:K.SplitLayout,Sidebar:Q.Sidebar,SidebarSection:X.SidebarSection,SidebarProjectList:Y.SidebarProjectList,SidebarFavoritesList:Z.SidebarFavoritesList,ContentArea:$.ContentArea,NavRow:ee.NavRow,UserStoryImportDialog:re.UserStoryImportDialog,ResizeHandle:te.ResizeHandle});exports.ReadFileCitationRenderer=e.default,exports.ReadFileCitationContent=r.default,exports.RCACitationRenderer=t.default,exports.RCACitationContent=o.default,exports.AppModCitationRenderer=s.default,exports.AppModCitationContent=i.default,exports.RequirementAIWrapper=a.default,exports.useRequirementAI=a.useRequirementAI,exports.UserStoryScreen=n.default,exports.UserStoryApprovalScreen=p.default,exports.RichTextEditor=u.default,exports.UserStoryWithCitation=d.default,exports.SubFeatureBlock=c.default,exports.AtomicButton=m.default,exports.SidebarOpenIcon=S.SidebarOpenIcon,exports.SidebarCloseIcon=l.SidebarCloseIcon,exports.StreamingScreenSidebar=f.default,exports.AiReasoningCitationContent=q.default,exports.useStreamContentHandler=R.useStreamContentHandler,exports.extractBlockStreams=I.extractBlockStreams,exports.extractDescription=I.extractDescription,exports.processAIReasoningFromBlocks=I.processAIReasoningFromBlocks,exports.processUserStoryValue=I.processUserStoryValue,exports.handleAcceptAllChanges=y.handleAcceptAllChanges,exports.handleDiffEditApplied=y.handleDiffEditApplied,exports.handleDiscardAll=y.handleDiscardAll,exports.GapFilterBlock=j.GapFilterBlock,exports.hasAnyUpdatedTags=x.hasAnyUpdatedTags,exports.useDiffEditReviewMode=x.useDiffEditReviewMode,exports.UserStoryCardWrapper=A.UserStoryCardWrapper,exports.FileCitationRender=U.default,exports.WebCitationWithImageRenderer=C.default,exports.WebCitationRenderer=h.default,exports.StormeeCitationRenderer=b.default,exports.WaveformCitationRenderer=k.default,exports.ImageCitationRenderer=g.default,exports.GapRiskSidebar=D.default,exports.NoGapsFound=D.NoGapsFound,exports.useGapRiskSidebar=D.useGapRiskSidebar,exports.buildStoryWithGap=P.buildStoryWithGap,exports.updateGapInRawData=P.updateGapInRawData,exports.updateGapStory=P.updateGapStory,exports.buildStoryWithRisk=w.buildStoryWithRisk,exports.updateRiskInRawData=w.updateRiskInRawData,exports.updateStory=w.updateStory,exports.cloneUserStories=B.cloneUserStories,exports.createUserStoriesForApproval=B.createUserStoriesForApproval,exports.splitByHeaders=B.splitByHeaders,exports.transformApprovalToUserStory=B.transformApprovalToUserStory,exports.UserStoryImportDialog=re.UserStoryImportDialog,exports.ResizeHandle=te.ResizeHandle,exports.useUSPContext=ie.useUSPContext,exports.useUSPData=ae.useUSPData,exports.usePanelResize=ne.usePanelResize,exports.demoProjects=pe.demoProjects,exports.demoUserStories=pe.demoUserStories,exports.darkTheme=ue.darkTheme,exports.lightTheme=ue.lightTheme,exports.themeToStyle=ue.themeToStyle,exports.uspColorPalette=ue.uspColorPalette,exports.uspVSCodeLightTheme=ue.uspVSCodeLightTheme,exports.vscodeTheme=ue.vscodeTheme,exports.UserStoryPicker=de;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationRenderer.js"),r=require("./features/RequirementAI/components/citations/readfile-citation/ReadFileCitationContent.js"),t=require("./features/RequirementAI/components/citations/rca-citation/RCACitationRenderer.js"),o=require("./features/RequirementAI/components/citations/rca-citation/RCACitationContent.js"),s=require("./features/RequirementAI/components/citations/appmod-citation/AppmodCitationRenderer.js"),i=require("./features/RequirementAI/components/citations/appmod-citation/AppmodCitationContent.js"),a=require("./features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.js"),n=require("./features/RequirementAI/components/story-screen/UserStoryScreen.js"),p=require("./features/RequirementAI/components/userstory-approval-screen/UserStoryApprovalScreen.js"),u=require("./features/RequirementAI/components/RichTextEditor/RichTextEditor.js"),d=require("./features/RequirementAI/components/userstory-with-citation/UserStoryWithCitation.js"),c=require("./features/RequirementAI/components/story-screen/SubfeatureBlock.js"),m=require("./features/RequirementAI/shared/AtomicButton.js"),S=require("./features/RequirementAI/icons/SidebarOpenIcon.js"),l=require("./features/RequirementAI/icons/SidebarCloseIcon.js"),f=require("./features/RequirementAI/components/story-screen/StreamingScreenSidebar.js"),R=require("./features/RequirementAI/components/ai-reasoning/AiReasoningCitationContent.js"),q=require("./features/RequirementAI/hooks/useStreamContentHandler.js"),I=require("./features/RequirementAI/utils/proccess-stream.utils.js"),y=require("./features/RequirementAI/utils/diff-edit.utils.js"),j=require("./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js"),x=require("./features/RequirementAI/hooks/useDiffEditReviewMode.js"),A=require("./features/RequirementAI/components/UserStoryCard/UserStoryCard.js"),C=require("./features/RequirementAI/components/citations/file-citation/FileCitationRender.js"),U=require("./features/RequirementAI/components/citations/web-citation/WebCitationWithImageRenderer.js"),h=require("./features/RequirementAI/components/citations/web-citation/WebCitationRenderer.js"),b=require("./features/RequirementAI/components/citations/stormee-citation/StormeeCitationRenderer.js"),k=require("./features/RequirementAI/components/citations/audio-citation/WaveformCitationRenderer.js"),g=require("./features/RequirementAI/components/citations/image-citation/ImageCitationRenderer.js"),D=require("./features/RequirementAI/components/GapRiskSidebar/GapRiskSidebar.js"),w=require("./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithGap.js"),B=require("./features/RequirementAI/components/GapRiskSidebar/utils/buildStoryWithRisk.js"),P=require("./features/RequirementAI/utils/userstory-approval-transform.utils.js"),v=require("./features/UserStoryImport/UserStoryPicker.js"),T=require("./features/UserStoryImport/components/Header.js"),F=require("./features/UserStoryImport/components/Toolbar.js"),G=require("./features/UserStoryImport/components/SearchInput.js"),W=require("./features/UserStoryImport/components/BrowseProjectsButton.js"),H=require("./features/UserStoryImport/components/SectionHeading.js"),L=require("./features/UserStoryImport/components/CardGrid.js"),M=require("./features/UserStoryImport/components/UserStoryCard.js"),z=require("./features/UserStoryImport/components/ProjectCard.js"),E=require("./features/UserStoryImport/components/Badge.js"),N=require("./features/UserStoryImport/components/BackNav.js"),O=require("./features/UserStoryImport/components/SortDropdown.js"),V=require("./features/UserStoryImport/components/ShowMore.js"),_=require("./features/UserStoryImport/components/ProceedButton.js"),J=require("./features/UserStoryImport/components/Footer.js"),K=require("./features/UserStoryImport/components/SplitLayout.js"),Q=require("./features/UserStoryImport/components/Sidebar.js"),X=require("./features/UserStoryImport/components/SidebarSection.js"),Y=require("./features/UserStoryImport/components/SidebarProjectList.js"),Z=require("./features/UserStoryImport/components/SidebarFavoritesList.js"),$=require("./features/UserStoryImport/components/ContentArea.js"),ee=require("./features/UserStoryImport/components/NavRow.js"),re=require("./features/UserStoryImport/components/UserStoryImportDialog.js"),te=require("./features/UserStoryImport/components/ResizeHandle.js"),oe=require("./features/UserStoryImport/components/ScopeDropdown.js"),se=require("./features/UserStoryImport/components/TypeDropdown.js"),ie=require("./features/UserStoryImport/UserStoryPicker.context.js"),ae=require("./features/UserStoryImport/hooks/useUSPData.js"),ne=require("./features/UserStoryImport/components/usePanelResize.js"),pe=require("./features/UserStoryImport/UserStoryPicker.theme.js"),ue=Object.assign(v.UserStoryPickerRoot,{Header:T.Header,Toolbar:F.Toolbar,SearchInput:G.SearchInput,BrowseProjectsButton:W.BrowseProjectsButton,SectionHeading:H.SectionHeading,CardGrid:L.CardGrid,UserStoryCard:M.UserStoryCard,ProjectCard:z.ProjectCard,Badge:E.Badge,BackNav:N.BackNav,SortDropdown:O.SortDropdown,ScopeDropdown:oe.ScopeDropdown,TypeDropdown:se.TypeDropdown,ShowMore:V.ShowMore,ProceedButton:_.ProceedButton,Footer:J.Footer,SplitLayout:K.SplitLayout,Sidebar:Q.Sidebar,SidebarSection:X.SidebarSection,SidebarProjectList:Y.SidebarProjectList,SidebarFavoritesList:Z.SidebarFavoritesList,ContentArea:$.ContentArea,NavRow:ee.NavRow,UserStoryImportDialog:re.UserStoryImportDialog,ResizeHandle:te.ResizeHandle});exports.ReadFileCitationRenderer=e.default,exports.ReadFileCitationContent=r.default,exports.RCACitationRenderer=t.default,exports.RCACitationContent=o.default,exports.AppModCitationRenderer=s.default,exports.AppModCitationContent=i.default,exports.RequirementAIWrapper=a.default,exports.useRequirementAI=a.useRequirementAI,exports.UserStoryScreen=n.default,exports.UserStoryApprovalScreen=p.default,exports.RichTextEditor=u.default,exports.UserStoryWithCitation=d.default,exports.SubFeatureBlock=c.default,exports.AtomicButton=m.default,exports.SidebarOpenIcon=S.SidebarOpenIcon,exports.SidebarCloseIcon=l.SidebarCloseIcon,exports.StreamingScreenSidebar=f.default,exports.AiReasoningCitationContent=R.default,exports.useStreamContentHandler=q.useStreamContentHandler,exports.extractBlockStreams=I.extractBlockStreams,exports.extractDescription=I.extractDescription,exports.processAIReasoningFromBlocks=I.processAIReasoningFromBlocks,exports.processUserStoryValue=I.processUserStoryValue,exports.handleAcceptAllChanges=y.handleAcceptAllChanges,exports.handleDiffEditApplied=y.handleDiffEditApplied,exports.handleDiscardAll=y.handleDiscardAll,exports.GapFilterBlock=j.GapFilterBlock,exports.hasAnyUpdatedTags=x.hasAnyUpdatedTags,exports.useDiffEditReviewMode=x.useDiffEditReviewMode,exports.UserStoryCardWrapper=A.UserStoryCardWrapper,exports.FileCitationRender=C.default,exports.WebCitationWithImageRenderer=U.default,exports.WebCitationRenderer=h.default,exports.StormeeCitationRenderer=b.default,exports.WaveformCitationRenderer=k.default,exports.ImageCitationRenderer=g.default,exports.GapRiskSidebar=D.default,exports.NoGapsFound=D.NoGapsFound,exports.useGapRiskSidebar=D.useGapRiskSidebar,exports.buildStoryWithGap=w.buildStoryWithGap,exports.updateGapInRawData=w.updateGapInRawData,exports.updateGapStory=w.updateGapStory,exports.buildStoryWithRisk=B.buildStoryWithRisk,exports.updateRiskInRawData=B.updateRiskInRawData,exports.updateStory=B.updateStory,exports.cloneUserStories=P.cloneUserStories,exports.createUserStoriesForApproval=P.createUserStoriesForApproval,exports.splitByHeaders=P.splitByHeaders,exports.transformApprovalToUserStory=P.transformApprovalToUserStory,exports.UserStoryImportDialog=re.UserStoryImportDialog,exports.ResizeHandle=te.ResizeHandle,exports.useUSPContext=ie.useUSPContext,exports.useUSPData=ae.useUSPData,exports.usePanelResize=ne.usePanelResize,exports.darkTheme=pe.darkTheme,exports.lightTheme=pe.lightTheme,exports.themeToStyle=pe.themeToStyle,exports.uspColorPalette=pe.uspColorPalette,exports.uspVSCodeLightTheme=pe.uspVSCodeLightTheme,exports.vscodeTheme=pe.vscodeTheme,exports.UserStoryPicker=ue;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ var e='@import "./theme/colors.css";.lexical_editor_wrapper{background:#fff;border-radius:12px;box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;text-align:left}.lexical_editor_wrapper_box{border:1px solid var(--color-border-grey)}.lexical_editor_wrapper *{box-sizing:inherit}.context-menu{background-color:#fff;border:1px solid #ccc;border-radius:4px;box-shadow:0 2px 5px #0003;position:absolute;z-index:1000}.context-menu button{background:none;border:none;cursor:pointer;display:block;padding:8px 12px;text-align:left;width:100%}.context-menu button:hover{background-color:#f0f0f0}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(o)}();export{e as default};
2
+ //# sourceMappingURL=Editor.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Editor.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useRef as i,useState as r}from"react";import{LexicalComposer as n}from"@lexical/react/LexicalComposer";import{HistoryPlugin as l}from"@lexical/react/LexicalHistoryPlugin";import{OnChangePlugin as a}from"@lexical/react/LexicalOnChangePlugin";import{TabIndentationPlugin as c}from"@lexical/react/LexicalTabIndentationPlugin";import{ListNode as m,ListItemNode as u}from"@lexical/list";import{ListPlugin as p}from"@lexical/react/LexicalListPlugin";import{LinkPlugin as d}from"@lexical/react/LexicalLinkPlugin";import{LinkNode as f}from"@lexical/link";import{QuoteNode as s,HeadingNode as g}from"@lexical/rich-text";import{TablePlugin as x}from"@lexical/react/LexicalTablePlugin";import{TableNode as C,TableRowNode as h,TableCellNode as b}from"@lexical/table";import{TextNode as v,$getSelection as y,$isRangeSelection as L,$isTextNode as j}from"lexical";import{useRequirementAI as T}from"../../RequirementAIWrapper/RequirementAIWrapper.js";import E from"./components/EditorContainer/EditorContainer.js";import P from"./components/EditorToolbar/EditorToolbar.js";import{LayoutPlugin as S}from"./plugins/LayoutPlugin.js";import _ from"./theme/theme.js";import w from"./components/Context/ContextMenu.js";import{MarkNode as B}from"@lexical/mark";import H from"./plugins/CommentPlugin/HTMLNode.js";import{DEFAULT_TOOLBAR_CONFIG as R}from"./constants/editorConfig.js";import{InitialHtml as I}from"./plugins/InitialHtml.js";function M(o){console.log(o)}function k(k){var N,A=k.minHeight,F=k.height,W=k.placeholder,q=k.onFocus,O=k.onBlur,V=k.onChange,D=k.onToolbarButtonClick,X=k.toolbarConfig,Y=void 0===X?R:X,z=k.editorRef,G=k.editorState,J=k.initialString,K=k.customToolbar,Q=k.plugins;k.nodes,k.dynamicHeight,k.artifactContext,k.commentsPanelState;var U=k.mode,Z=k.doNotShowBorderInViewMode,$=i(null),oo={namespace:"MyEditor",theme:_,onError:M,nodes:[v,m,u,f,s,g,C,h,b,B,H],editorState:G},eo=r(null),to=eo[0],io=eo[1],ro=r(!1),no=ro[0],lo=ro[1],ao=T().customStyles,co=function(o){var e;null===(e=z.current)||void 0===e||e.update(function(){var e=y();L(e)&&e.getNodes().forEach(function(e){j(e)&&e.setStyle("color: ".concat(o))})})};return document.getElementById("lexical_editor_wrapper"),e("div",o({ref:$,className:"w-full lexical_editor_wrapper ".concat(Z&&"readOnly"===U?"":"lexical_editor_wrapper_box"),id:"lexical_editor_wrapper",onContextMenu:function(o){var e;o.preventDefault(),null===(e=z.current)||void 0===e||e.update(function(){var e=y();L(e)&&!e.isCollapsed()?(lo(!0),io({x:o.clientX,y:o.clientY})):(lo(!1),io(null))})},style:o({minHeight:A,height:F},null===(N=null==ao?void 0:ao.textEditorStyles)||void 0===N?void 0:N.textArea)},{children:[e(n,o({initialConfig:oo},{children:[" ","edit"===U&&t(P,{onToolbarButtonClick:D,editorWrapperRef:$,toolbarConfig:Y,customToolbar:K,editorRef:z}),t(E,{placeholder:W}),t(c,{}),t(l,{}),t(p,{}),t(d,{}),t(x,{}),t(S,{onFocus:q,onBlur:O,editorRef:z}),t(a,{ignoreSelectionChange:!0,ignoreHistoryMergeTagChange:!0,onChange:function(o,e,t){V&&V(o,e,t)}}),J&&t(I,{initialValue:J.value,initialFormat:J.type,mode:U}),Q&&Q]})),to&&no&&"edit"===U&&t(w,{position:to,options:[{label:"Change Color to Red",action:function(){return co("red")}},{label:"Change Color to Blue",action:function(){return co("blue")}}],onClose:function(){io(null)}})]}))}export{k as default};
1
+ import{__assign as o}from"tslib";import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useRef as i,useState as r}from"react";import{LexicalComposer as n}from"@lexical/react/LexicalComposer";import{HistoryPlugin as l}from"@lexical/react/LexicalHistoryPlugin";import{OnChangePlugin as a}from"@lexical/react/LexicalOnChangePlugin";import{TabIndentationPlugin as m}from"@lexical/react/LexicalTabIndentationPlugin";import{ListNode as c,ListItemNode as p}from"@lexical/list";import{ListPlugin as u}from"@lexical/react/LexicalListPlugin";import{LinkPlugin as s}from"@lexical/react/LexicalLinkPlugin";import{LinkNode as d}from"@lexical/link";import{QuoteNode as f,HeadingNode as g}from"@lexical/rich-text";import{TablePlugin as x}from"@lexical/react/LexicalTablePlugin";import{TableNode as h,TableRowNode as C,TableCellNode as b}from"@lexical/table";import{TextNode as v,$getSelection as j,$isRangeSelection as y,$isTextNode as T}from"lexical";import"./components/EditorToolbar/components/ToolbarButton/ToolbarButton.css.js";import{useRequirementAI as E}from"../../RequirementAIWrapper/RequirementAIWrapper.js";import L from"./components/EditorContainer/EditorContainer.js";import B from"./components/EditorToolbar/EditorToolbar.js";import{LayoutPlugin as P}from"./plugins/LayoutPlugin.js";import S from"./theme/theme.js";import"./theme/theme.css.js";import"./Editor.css.js";import _ from"./components/Context/ContextMenu.js";import{MarkNode as w}from"@lexical/mark";import H from"./plugins/CommentPlugin/HTMLNode.js";import{DEFAULT_TOOLBAR_CONFIG as R}from"./constants/editorConfig.js";import{InitialHtml as I}from"./plugins/InitialHtml.js";function M(o){console.log(o)}function k(k){var N,A=k.minHeight,F=k.height,W=k.placeholder,q=k.onFocus,O=k.onBlur,V=k.onChange,D=k.onToolbarButtonClick,X=k.toolbarConfig,Y=void 0===X?R:X,z=k.editorRef,G=k.editorState,J=k.initialString,K=k.customToolbar,Q=k.plugins;k.nodes,k.dynamicHeight,k.artifactContext,k.commentsPanelState;var U=k.mode,Z=k.doNotShowBorderInViewMode,$=i(null),oo={namespace:"MyEditor",theme:S,onError:M,nodes:[v,c,p,d,f,g,h,C,b,w,H],editorState:G},to=r(null),eo=to[0],io=to[1],ro=r(!1),no=ro[0],lo=ro[1],ao=E().customStyles,mo=function(o){var t;null===(t=z.current)||void 0===t||t.update(function(){var t=j();y(t)&&t.getNodes().forEach(function(t){T(t)&&t.setStyle("color: ".concat(o))})})};return document.getElementById("lexical_editor_wrapper"),t("div",o({ref:$,className:"w-full lexical_editor_wrapper ".concat(Z&&"readOnly"===U?"":"lexical_editor_wrapper_box"),id:"lexical_editor_wrapper",onContextMenu:function(o){var t;o.preventDefault(),null===(t=z.current)||void 0===t||t.update(function(){var t=j();y(t)&&!t.isCollapsed()?(lo(!0),io({x:o.clientX,y:o.clientY})):(lo(!1),io(null))})},style:o({minHeight:A,height:F},null===(N=null==ao?void 0:ao.textEditorStyles)||void 0===N?void 0:N.textArea)},{children:[t(n,o({initialConfig:oo},{children:[" ","edit"===U&&e(B,{onToolbarButtonClick:D,editorWrapperRef:$,toolbarConfig:Y,customToolbar:K,editorRef:z}),e(L,{placeholder:W}),e(m,{}),e(l,{}),e(u,{}),e(s,{}),e(x,{}),e(P,{onFocus:q,onBlur:O,editorRef:z}),e(a,{ignoreSelectionChange:!0,ignoreHistoryMergeTagChange:!0,onChange:function(o,t,e){V&&V(o,t,e)}}),J&&e(I,{initialValue:J.value,initialFormat:J.type,mode:U}),Q&&Q]})),eo&&no&&"edit"===U&&e(_,{position:eo,options:[{label:"Change Color to Red",action:function(){return mo("red")}},{label:"Change Color to Blue",action:function(){return mo("blue")}}],onClose:function(){io(null)}})]}))}export{k as default};
2
2
  //# sourceMappingURL=Editor.js.map
@@ -0,0 +1,2 @@
1
+ var e=".lexical_editor_container{height:calc(100% - 65px);position:relative}.lexical_editor_content{height:100%!important;max-height:100%;max-width:100%;min-height:100px;min-width:100%;overflow:auto;padding:1rem;position:relative;resize:both;text-align:left;width:100%}.lexical_editor_content:focus-visible{outline:none}";!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=EditorContainer.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorContainer.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{ContentEditable as l}from"@lexical/react/LexicalContentEditable";import{LexicalErrorBoundary as t}from"@lexical/react/LexicalErrorBoundary";import{RichTextPlugin as o}from"@lexical/react/LexicalRichTextPlugin";import i from"../EditorPlaceholder/EditorPlaceholder.js";var a=function(a){var c=a.placeholder;return e("div",r({className:"lexical_editor_container"},{children:e(o,{contentEditable:e(l,{className:"lexical_editor_content",id:"lexical_editor_content"}),placeholder:c?function(){return e(i,{placeholder:c})}:null,ErrorBoundary:t})}))};export{a as default};
1
+ import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{ContentEditable as t}from"@lexical/react/LexicalContentEditable";import{LexicalErrorBoundary as o}from"@lexical/react/LexicalErrorBoundary";import{RichTextPlugin as i}from"@lexical/react/LexicalRichTextPlugin";import l from"../EditorPlaceholder/EditorPlaceholder.js";import"./EditorContainer.css.js";var a=function(a){var c=a.placeholder;return e("div",r({className:"lexical_editor_container"},{children:e(i,{contentEditable:e(t,{className:"lexical_editor_content",id:"lexical_editor_content"}),placeholder:c?function(){return e(l,{placeholder:c})}:null,ErrorBoundary:o})}))};export{a as default};
2
2
  //# sourceMappingURL=EditorContainer.js.map
@@ -0,0 +1,2 @@
1
+ var e=".lexical_editor_placeholder{left:1.4rem;opacity:.5;pointer-events:none;position:absolute;top:1rem}";!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=EditorPlaceholder.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorPlaceholder.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";var a=function(a){var l=a.placeholder;return e("div",r({className:"lexical_editor_placeholder"},{children:l}))};export{a as default};
1
+ import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import"./EditorPlaceholder.css.js";var l=function(l){var o=l.placeholder;return e("div",r({className:"lexical_editor_placeholder"},{children:o}))};export{l as default};
2
2
  //# sourceMappingURL=EditorPlaceholder.js.map
@@ -0,0 +1,2 @@
1
+ var e='@import "./../../theme/colors.css";.lexical_editor_toolbar{align-items:center;background:#fff;border-bottom:1px solid var(--color-border-grey);border-radius:12px 12px 0 0;display:flex;flex-wrap:wrap;overflow-x:auto;overflow-y:hidden;padding:.2rem;top:0;z-index:2}.lexical_editor_toolbar_container{height:100%}';!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}();export{e as default};
2
+ //# sourceMappingURL=EditorToolbar.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EditorToolbar.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as o}from"tslib";import{jsxs as t,jsx as r,Fragment as e}from"react/jsx-runtime";import{useState as n,useRef as i,useCallback as a,useEffect as l}from"react";import{$getSelection as c,$isRangeSelection as u,CAN_UNDO_COMMAND as m,COMMAND_PRIORITY_CRITICAL as f,CAN_REDO_COMMAND as d,FORMAT_TEXT_COMMAND as p,FORMAT_ELEMENT_COMMAND as s,$createParagraphNode as v}from"lexical";import{$getSelectionStyleValueForProperty as g,$patchStyleText as h,$setBlocksType as x}from"@lexical/selection";import{$isHeadingNode as y,$createHeadingNode as b,$createQuoteNode as C}from"@lexical/rich-text";import{$isListNode as T,ListNode as j}from"@lexical/list";import{useLexicalComposerContext as R}from"@lexical/react/LexicalComposerContext";import{$getNearestNodeOfType as I,mergeRegister as k}from"@lexical/utils";import{$isLinkNode as A,TOGGLE_LINK_COMMAND as B}from"@lexical/link";import{$isCodeNode as E,getDefaultCodeLanguage as S}from"@lexical/code";import q from"./components/ToolbarButton/ToolbarButton.js";import{ToolbarDivider as L}from"./components/ToolbarDivider/ToolbarDivider.js";import{UndoRedo as N}from"./components/UndoRedo/UndoRedo.js";import{ACTIVE_FORMATS as U}from"../../constants/objects.js";import{getSelectedNode as _}from"../../utils/getSelectedNode.js";import{Icon as K}from"../Icons/Icon.js";import{useRequirementAI as W}from"../../../../RequirementAIWrapper/RequirementAIWrapper.js";var z=function(z){var D;z.editorWrapperRef;var F=z.onToolbarButtonClick,O=z.toolbarConfig,P=z.customToolbar;z.editorRef;var w=R()[0],G=n(U),H=G[0],J=G[1],M=n("15px");M[0];var Q=M[1],V=n("Arial");V[0];var X=V[1],Y=n("");Y[0];var Z=Y[1],$=n(!1),oo=$[0],to=$[1],ro=n("paragraph"),eo=ro[0],no=ro[1],io=n(null);io[0];var ao=io[1],lo=n("");lo[0];var co=lo[1],uo=n(!1),mo=uo[0],fo=uo[1],po=n(!1),so=po[0],vo=po[1],go=i(null),ho=W().customStyles,xo=a(function(){var t,r=c();if(u(r)){var e=r.anchor.getNode(),n="root"===e.getKey()?e:e.getTopLevelElementOrThrow(),i=n.getKey();if(null!==w.getElementByKey(i))if(ao(i),T(n)){var a=I(e,j),l=a?a.getTag():n.getTag();no(l)}else{l=y(n)?n.getTag():n.getType();no(l),E(n)&&co(n.getLanguage()||S())}Object.keys(U).forEach(function(t){r.hasFormat(t)?J(function(r){var e;return o(o({},r),((e={})[t]=!0,e))}):J(function(r){var e;return o(o({},r),((e={})[t]=!1,e))})});var m=_(r),f=m.getParent();A(f)||A(m)?to(!0):to(!1),Q(g(r,"font-size","15px")),X(g(r,"font-family","Arial"));var d=null===(t=r.anchor.getNode().getParent())||void 0===t?void 0:t.getFormatType();Z(d)}},[w]);l(function(){return k(w.registerUpdateListener(function(o){o.editorState.read(function(){xo()})}),w.registerCommand(m,function(o){return fo(o),!1},f),w.registerCommand(d,function(o){return vo(o),!1},f))},[w,xo]);var yo=a(function(o,t){w.dispatchCommand(p,t)},[w]);a(function(o,t){["left","center","right","justify"].includes(t)&&w.dispatchCommand(s,t)},[w]),a(function(o,t){w.update(function(){var o,r=c();u(r)&&h(r,((o={})["font-size"]=t,o))})},[w]);return a(function(o,t){var r;"h1"!==t&&"h2"!==t&&"h3"!==t||eo!==(r=t)&&w.update(function(){var o=c();u(o)&&x(o,function(){return b(r)})}),"paragraph"===t&&"paragraph"!==eo&&w.update(function(){var o=c();u(o)&&x(o,function(){return v()})}),"quote"===t&&"quote"!==eo&&w.update(function(){var o=c();u(o)&&x(o,function(){return C()})})},[w,eo]),a(function(o,t){w.update(function(){var o,r=c();u(r)&&h(r,((o={})["font-family"]=t,o))})},[w]),a(function(){oo?w.dispatchCommand(B,null):w.dispatchCommand(B,"https://")},[w,oo]),t("div",o({className:"lexical_editor_toolbar",id:"lexical_editor_toolbar",ref:go,style:o({},null===(D=null==ho?void 0:ho.textEditorStyles)||void 0===D?void 0:D.tooltextArea)},{children:[(null==O?void 0:O.undoRedo.display)&&r(N,{canUndo:mo,canRedo:so}),(null==O?void 0:O.inline.display)&&t(e,{children:[O.inline.options.map(function(o){var t;return r(q,{toolbarItem:o,active:H[o],onClick:yo,icon:r(K,{icon:o,iconColors:null===(t=null==ho?void 0:ho.textEditorStyles)||void 0===t?void 0:t.toolIconColors}),onToolbarButtonClick:F},o)}),r(L,{})]}),P&&P]}))};export{z as default};
1
+ import{__assign as o}from"tslib";import{jsxs as t,jsx as r,Fragment as e}from"react/jsx-runtime";import{useState as n,useRef as i,useCallback as a,useEffect as l}from"react";import{$getSelection as c,$isRangeSelection as u,CAN_UNDO_COMMAND as m,COMMAND_PRIORITY_CRITICAL as f,CAN_REDO_COMMAND as d,FORMAT_TEXT_COMMAND as p,FORMAT_ELEMENT_COMMAND as s,$createParagraphNode as v}from"lexical";import{$getSelectionStyleValueForProperty as g,$patchStyleText as h,$setBlocksType as x}from"@lexical/selection";import{$isHeadingNode as y,$createHeadingNode as b,$createQuoteNode as T}from"@lexical/rich-text";import{$isListNode as C,ListNode as j}from"@lexical/list";import{useLexicalComposerContext as R}from"@lexical/react/LexicalComposerContext";import{$getNearestNodeOfType as E,mergeRegister as I}from"@lexical/utils";import{$isLinkNode as k,TOGGLE_LINK_COMMAND as A}from"@lexical/link";import{$isCodeNode as B,getDefaultCodeLanguage as S}from"@lexical/code";import q from"./components/ToolbarButton/ToolbarButton.js";import{ToolbarDivider as L}from"./components/ToolbarDivider/ToolbarDivider.js";import{UndoRedo as N}from"./components/UndoRedo/UndoRedo.js";import"./EditorToolbar.css.js";import{ACTIVE_FORMATS as U}from"../../constants/objects.js";import{getSelectedNode as _}from"../../utils/getSelectedNode.js";import{Icon as K}from"../Icons/Icon.js";import{useRequirementAI as W}from"../../../../RequirementAIWrapper/RequirementAIWrapper.js";var z=function(z){var D;z.editorWrapperRef;var F=z.onToolbarButtonClick,O=z.toolbarConfig,P=z.customToolbar;z.editorRef;var w=R()[0],G=n(U),H=G[0],J=G[1],M=n("15px");M[0];var Q=M[1],V=n("Arial");V[0];var X=V[1],Y=n("");Y[0];var Z=Y[1],$=n(!1),oo=$[0],to=$[1],ro=n("paragraph"),eo=ro[0],no=ro[1],io=n(null);io[0];var ao=io[1],lo=n("");lo[0];var co=lo[1],uo=n(!1),mo=uo[0],fo=uo[1],po=n(!1),so=po[0],vo=po[1],go=i(null),ho=W().customStyles,xo=a(function(){var t,r=c();if(u(r)){var e=r.anchor.getNode(),n="root"===e.getKey()?e:e.getTopLevelElementOrThrow(),i=n.getKey();if(null!==w.getElementByKey(i))if(ao(i),C(n)){var a=E(e,j),l=a?a.getTag():n.getTag();no(l)}else{l=y(n)?n.getTag():n.getType();no(l),B(n)&&co(n.getLanguage()||S())}Object.keys(U).forEach(function(t){r.hasFormat(t)?J(function(r){var e;return o(o({},r),((e={})[t]=!0,e))}):J(function(r){var e;return o(o({},r),((e={})[t]=!1,e))})});var m=_(r),f=m.getParent();k(f)||k(m)?to(!0):to(!1),Q(g(r,"font-size","15px")),X(g(r,"font-family","Arial"));var d=null===(t=r.anchor.getNode().getParent())||void 0===t?void 0:t.getFormatType();Z(d)}},[w]);l(function(){return I(w.registerUpdateListener(function(o){o.editorState.read(function(){xo()})}),w.registerCommand(m,function(o){return fo(o),!1},f),w.registerCommand(d,function(o){return vo(o),!1},f))},[w,xo]);var yo=a(function(o,t){w.dispatchCommand(p,t)},[w]);a(function(o,t){["left","center","right","justify"].includes(t)&&w.dispatchCommand(s,t)},[w]),a(function(o,t){w.update(function(){var o,r=c();u(r)&&h(r,((o={})["font-size"]=t,o))})},[w]);return a(function(o,t){var r;"h1"!==t&&"h2"!==t&&"h3"!==t||eo!==(r=t)&&w.update(function(){var o=c();u(o)&&x(o,function(){return b(r)})}),"paragraph"===t&&"paragraph"!==eo&&w.update(function(){var o=c();u(o)&&x(o,function(){return v()})}),"quote"===t&&"quote"!==eo&&w.update(function(){var o=c();u(o)&&x(o,function(){return T()})})},[w,eo]),a(function(o,t){w.update(function(){var o,r=c();u(r)&&h(r,((o={})["font-family"]=t,o))})},[w]),a(function(){oo?w.dispatchCommand(A,null):w.dispatchCommand(A,"https://")},[w,oo]),t("div",o({className:"lexical_editor_toolbar",id:"lexical_editor_toolbar",ref:go,style:o({},null===(D=null==ho?void 0:ho.textEditorStyles)||void 0===D?void 0:D.tooltextArea)},{children:[(null==O?void 0:O.undoRedo.display)&&r(N,{canUndo:mo,canRedo:so}),(null==O?void 0:O.inline.display)&&t(e,{children:[O.inline.options.map(function(o){var t;return r(q,{toolbarItem:o,active:H[o],onClick:yo,icon:r(K,{icon:o,iconColors:null===(t=null==ho?void 0:ho.textEditorStyles)||void 0===t?void 0:t.toolIconColors}),onToolbarButtonClick:F},o)}),r(L,{})]}),P&&P]}))};export{z as default};
2
2
  //# sourceMappingURL=EditorToolbar.js.map
@@ -0,0 +1,2 @@
1
+ var e='@import "./../../../../theme/colors.css";.lexical_editor_toolbar_button{align-items:center;background:none;border:0;border-radius:4px;cursor:pointer;display:inline-flex;height:32px;justify-content:center;margin:0 2px;min-width:34px;width:34px}.lexical_editor_toolbar_button:hover{background-color:var(--color-hover-grey)}.lexical_editor_toolbar_button__active{background-color:var(--color-active-grey)}.lexical_editor_toolbar_button__active:hover{background-color:var(--color-active-grey);border:1px solid #7d8c94}.lexical_editor_toolbar_button:disabled{cursor:default;opacity:.3}.lexical_editor_toolbar_button:disabled:hover{background:none}.lexical_editor_toolbar_button_icon{background-position:50%;background-repeat:no-repeat;background-size:24px 24px;display:inline-block;height:24px;width:24px}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(o)}();export{e as default};
2
+ //# sourceMappingURL=ToolbarButton.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarButton.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as o}from"react/jsx-runtime";import{useState as e}from"react";import{useRequirementAI as i}from"../../../../../../RequirementAIWrapper/RequirementAIWrapper.js";var l=function(l){var r,n,u,a,d=l.toolbarItem,c=l.active,v=l.onClick,s=l.icon,b=l.disabled,m=l.onToolbarButtonClick,f=i().customStyles,p=e(!1),x=p[0],_=p[1],y=c?null===(r=null==f?void 0:f.textEditorStyles)||void 0===r?void 0:r.activeToolButton:null===(n=null==f?void 0:f.textEditorStyles)||void 0===n?void 0:n.toolbarButton,B=null===(u=null==f?void 0:f.textEditorStyles)||void 0===u?void 0:u.toolbarButtonHover,E=null===(a=null==f?void 0:f.textEditorStyles)||void 0===a?void 0:a.toolbarButtonDisabled,S=t(t(t({},y),x&&!b?B:{}),b?E:{});return o("button",t({className:"lexical_editor_toolbar_button ".concat(c?"lexical_editor_toolbar_button__active":""),onClick:function(t){return function(t,o){v(t,o),m&&m()}(t,d)},disabled:b,style:S,onMouseEnter:function(){return _(!0)},onMouseLeave:function(){return _(!1)}},{children:s}))};export{l as default};
1
+ import{__assign as t}from"tslib";import{jsx as o}from"react/jsx-runtime";import{useState as e}from"react";import"./ToolbarButton.css.js";import{useRequirementAI as r}from"../../../../../../RequirementAIWrapper/RequirementAIWrapper.js";var i=function(i){var l,n,u,a,d=i.toolbarItem,c=i.active,s=i.onClick,v=i.icon,b=i.disabled,m=i.onToolbarButtonClick,f=r().customStyles,p=e(!1),x=p[0],_=p[1],y=c?null===(l=null==f?void 0:f.textEditorStyles)||void 0===l?void 0:l.activeToolButton:null===(n=null==f?void 0:f.textEditorStyles)||void 0===n?void 0:n.toolbarButton,B=null===(u=null==f?void 0:f.textEditorStyles)||void 0===u?void 0:u.toolbarButtonHover,E=null===(a=null==f?void 0:f.textEditorStyles)||void 0===a?void 0:a.toolbarButtonDisabled,S=t(t(t({},y),x&&!b?B:{}),b?E:{});return o("button",t({className:"lexical_editor_toolbar_button ".concat(c?"lexical_editor_toolbar_button__active":""),onClick:function(t){return function(t,o){s(t,o),m&&m()}(t,d)},disabled:b,style:S,onMouseEnter:function(){return _(!0)},onMouseLeave:function(){return _(!1)}},{children:v}))};export{i as default};
2
2
  //# sourceMappingURL=ToolbarButton.js.map
@@ -0,0 +1,2 @@
1
+ var e='@import "./../../../../theme/colors.css";.lexical-editor_toolbar_divider{border-left:1px solid var(--color-border-grey);height:20px;margin:0 2px;width:1px}';!function(){if("undefined"==typeof document)return;const t=document.createElement("style");t.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&t.setAttribute("nonce",o),t.appendChild(document.createTextNode(e));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(t)}();export{e as default};
2
+ //# sourceMappingURL=ToolbarDivider.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToolbarDivider.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{jsx as r}from"react/jsx-runtime";var e=function(){return r("div",{className:"lexical-editor_toolbar_divider"})};export{e as ToolbarDivider};
1
+ import{jsx as r}from"react/jsx-runtime";import"./ToolbarDivider.css.js";var i=function(){return r("div",{className:"lexical-editor_toolbar_divider"})};export{i as ToolbarDivider};
2
2
  //# sourceMappingURL=ToolbarDivider.js.map
@@ -0,0 +1,2 @@
1
+ var e='.PlaygroundEditorTheme__ltr{text-align:left}.PlaygroundEditorTheme__rtl{text-align:right}.PlaygroundEditorTheme__paragraph{font-family:Inter,sans-serif;line-height:28px;margin:0 0 8px;position:relative}.PlaygroundEditorTheme__paragraph:last-child{margin-bottom:0}.PlaygroundEditorTheme__quote{border-left:4px solid #ced0d4;color:#65676b;font-size:15px;margin:0 0 10px 20px;padding-left:16px}.PlaygroundEditorTheme__h1{font-family:Inter,sans-serif;font-size:24px;margin:12px 0 4px;padding:0}.PlaygroundEditorTheme__h2{font-size:20px}.PlaygroundEditorTheme__h2,.PlaygroundEditorTheme__h3{font-family:Inter,sans-serif;margin:10px 0 0;padding:0}.PlaygroundEditorTheme__h3{font-size:18px;text-transform:uppercase}.PlaygroundEditorTheme__textBold{font-family:Inter,sans-serif;font-weight:700}.PlaygroundEditorTheme__textItalic{font-style:italic}.PlaygroundEditorTheme__textUnderline{text-decoration:underline}.PlaygroundEditorTheme__textStrikethrough{text-decoration:line-through}.PlaygroundEditorTheme__textUnderlineStrikethrough{text-decoration:underline line-through}.PlaygroundEditorTheme__textSubscript{font-size:.8em;vertical-align:sub!important}.PlaygroundEditorTheme__textSuperscript{font-size:.8em;vertical-align:super}.PlaygroundEditorTheme__textCode{background-color:#f0f2f5;font-family:Menlo,Consolas,Monaco,monospace;font-size:94%;padding:1px .25rem}.PlaygroundEditorTheme__hashtag{background-color:#5890ff26;border-bottom:1px solid #5890ff4d}.PlaygroundEditorTheme__link{color:#216fdb;text-decoration:none}.PlaygroundEditorTheme__link:hover{text-decoration:underline}.PlaygroundEditorTheme__code{background-color:#f0f2f5;display:block;font-family:Menlo,Consolas,Monaco,monospace;font-size:13px;line-height:1.53;margin:8px 0;overflow-x:auto;padding:8px 8px 8px 52px;position:relative;tab-size:2}.PlaygroundEditorTheme__code:before{background-color:#eee;border-right:1px solid #ccc;color:#777;content:attr(data-gutter);left:0;min-width:25px;padding:8px;position:absolute;text-align:right;top:0;white-space:pre-wrap}.PlaygroundEditorTheme__code:after{color:#00000080;content:attr(data-highlight-language);font-size:10px;padding:3px;position:absolute;right:3px;text-transform:uppercase;top:0}.PlaygroundEditorTheme__table{border-collapse:collapse;border-spacing:0;max-width:100%;overflow-y:scroll;table-layout:fixed;width:100%}.PlaygroundEditorTheme__tableCell{border:1px solid #000;min-width:75px;padding:6px 8px;text-align:start;vertical-align:top}.PlaygroundEditorTheme__tableCellHeader{background-color:#f2f3f5;text-align:start}.PlaygroundEditorTheme__characterLimit{background-color:#fbb!important;display:inline}.PlaygroundEditorTheme__ul{list-style-type:disc}.PlaygroundEditorTheme__ol1,.PlaygroundEditorTheme__ul{list-style-position:outside;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol1{list-style-type:decimal}.PlaygroundEditorTheme__ol2{list-style-position:outside;list-style-type:upper-alpha;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol3{list-style-position:outside;list-style-type:lower-alpha;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol4{list-style-position:outside;list-style-type:upper-roman;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__ol5{list-style-position:outside;list-style-type:lower-roman;margin:0 0 0 24px;padding:0}.PlaygroundEditorTheme__listItem{display:list-item;margin:8px 24px 8px 8px;padding:0 8px}.PlaygroundEditorTheme__nestedListItem{list-style-type:inherit;margin-left:16px}ol .PlaygroundEditorTheme__nestedListItem{list-style-type:none}.PlaygroundEditorTheme__listItemChecked,.PlaygroundEditorTheme__listItemUnchecked{list-style-type:none;margin-left:8px;margin-right:8px;outline:none;padding-left:24px;padding-right:24px;position:relative}.PlaygroundEditorTheme__listItemChecked{text-decoration:line-through}.PlaygroundEditorTheme__listItemChecked:before,.PlaygroundEditorTheme__listItemUnchecked:before{background-size:cover;content:"";cursor:pointer;display:block;height:16px;left:0;position:absolute;top:2px;width:16px}.PlaygroundEditorTheme__listItemChecked[dir=rtl]:before,.PlaygroundEditorTheme__listItemUnchecked[dir=rtl]:before{left:auto;right:0}.PlaygroundEditorTheme__listItemChecked:focus:before,.PlaygroundEditorTheme__listItemUnchecked:focus:before{border-radius:2px;box-shadow:0 0 0 2px #a6cdfe}.PlaygroundEditorTheme__tokenComment{color:#708090}.PlaygroundEditorTheme__tokenPunctuation{color:#999}.PlaygroundEditorTheme__tokenProperty{color:#905}.PlaygroundEditorTheme__tokenSelector{color:#690}.PlaygroundEditorTheme__tokenOperator{color:#9a6e3a}.PlaygroundEditorTheme__tokenAttr{color:#07a}.PlaygroundEditorTheme__tokenVariable{color:#e90}.PlaygroundEditorTheme__tokenFunction{color:#dd4a68}.PlaygroundEditorTheme__mark{background:#ffd40024;border-bottom:2px solid #ffd4004d;padding-bottom:2px}.PlaygroundEditorTheme__markOverlap{background:#ffd4004d;border-bottom:2px solid #ffd400b3}.PlaygroundEditorTheme__mark.selected{background:#ffd40080;border-bottom:2px solid #ffd400}.PlaygroundEditorTheme__markOverlap.selected{background:#ffd400b3;border-bottom:2px solid #ffd400b3}.PlaygroundEditorTheme__embedBlock{user-select:none}.PlaygroundEditorTheme__embedBlockFocus{outline:2px solid #3c84f4}';!function(){if("undefined"==typeof document)return;const o=document.createElement("style");o.type="text/css";const t=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;t&&o.setAttribute("nonce",t),o.appendChild(document.createTextNode(e));const r=document.head||document.getElementsByTagName("head")[0]||document.documentElement;r&&r.appendChild(o)}();export{e as default};
2
+ //# sourceMappingURL=theme.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"theme.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- var e={characterLimit:"PlaygroundEditorTheme__characterLimit",code:"PlaygroundEditorTheme__code",codeHighlight:{atrule:"PlaygroundEditorTheme__tokenAttr",attr:"PlaygroundEditorTheme__tokenAttr",boolean:"PlaygroundEditorTheme__tokenProperty",builtin:"PlaygroundEditorTheme__tokenSelector",cdata:"PlaygroundEditorTheme__tokenComment",char:"PlaygroundEditorTheme__tokenSelector",class:"PlaygroundEditorTheme__tokenFunction","class-name":"PlaygroundEditorTheme__tokenFunction",comment:"PlaygroundEditorTheme__tokenComment",constant:"PlaygroundEditorTheme__tokenProperty",deleted:"PlaygroundEditorTheme__tokenProperty",doctype:"PlaygroundEditorTheme__tokenComment",entity:"PlaygroundEditorTheme__tokenOperator",function:"PlaygroundEditorTheme__tokenFunction",important:"PlaygroundEditorTheme__tokenVariable",inserted:"PlaygroundEditorTheme__tokenSelector",keyword:"PlaygroundEditorTheme__tokenAttr",namespace:"PlaygroundEditorTheme__tokenVariable",number:"PlaygroundEditorTheme__tokenProperty",operator:"PlaygroundEditorTheme__tokenOperator",prolog:"PlaygroundEditorTheme__tokenComment",property:"PlaygroundEditorTheme__tokenProperty",punctuation:"PlaygroundEditorTheme__tokenPunctuation",regex:"PlaygroundEditorTheme__tokenVariable",selector:"PlaygroundEditorTheme__tokenSelector",string:"PlaygroundEditorTheme__tokenSelector",symbol:"PlaygroundEditorTheme__tokenProperty",tag:"PlaygroundEditorTheme__tokenProperty",url:"PlaygroundEditorTheme__tokenOperator",variable:"PlaygroundEditorTheme__tokenVariable"},embedBlock:{base:"PlaygroundEditorTheme__embedBlock",focus:"PlaygroundEditorTheme__embedBlockFocus"},hashtag:"PlaygroundEditorTheme__hashtag",heading:{h1:"PlaygroundEditorTheme__h1",h2:"PlaygroundEditorTheme__h2",h3:"PlaygroundEditorTheme__h3",h4:"PlaygroundEditorTheme__h4",h5:"PlaygroundEditorTheme__h5",h6:"PlaygroundEditorTheme__h6"},image:"editor-image",link:"PlaygroundEditorTheme__link",list:{listitem:"PlaygroundEditorTheme__listItem",listitemChecked:"PlaygroundEditorTheme__listItemChecked",listitemUnchecked:"PlaygroundEditorTheme__listItemUnchecked",nested:{listitem:"PlaygroundEditorTheme__nestedListItem"},olDepth:["PlaygroundEditorTheme__ol1","PlaygroundEditorTheme__ol2","PlaygroundEditorTheme__ol3","PlaygroundEditorTheme__ol4","PlaygroundEditorTheme__ol5"],ul:"PlaygroundEditorTheme__ul"},ltr:"PlaygroundEditorTheme__ltr",mark:"PlaygroundEditorTheme__mark",markOverlap:"PlaygroundEditorTheme__markOverlap",paragraph:"PlaygroundEditorTheme__paragraph",quote:"PlaygroundEditorTheme__quote",rtl:"PlaygroundEditorTheme__rtl",table:"PlaygroundEditorTheme__table",tableCell:"PlaygroundEditorTheme__tableCell",tableCellHeader:"PlaygroundEditorTheme__tableCellHeader",text:{bold:"PlaygroundEditorTheme__textBold",code:"PlaygroundEditorTheme__textCode",italic:"PlaygroundEditorTheme__textItalic",strikethrough:"PlaygroundEditorTheme__textStrikethrough",subscript:"PlaygroundEditorTheme__textSubscript",superscript:"PlaygroundEditorTheme__textSuperscript",underline:"PlaygroundEditorTheme__textUnderline",underlineStrikethrough:"PlaygroundEditorTheme__textUnderlineStrikethrough"}};export{e as default};
1
+ import"./theme.css.js";var e={characterLimit:"PlaygroundEditorTheme__characterLimit",code:"PlaygroundEditorTheme__code",codeHighlight:{atrule:"PlaygroundEditorTheme__tokenAttr",attr:"PlaygroundEditorTheme__tokenAttr",boolean:"PlaygroundEditorTheme__tokenProperty",builtin:"PlaygroundEditorTheme__tokenSelector",cdata:"PlaygroundEditorTheme__tokenComment",char:"PlaygroundEditorTheme__tokenSelector",class:"PlaygroundEditorTheme__tokenFunction","class-name":"PlaygroundEditorTheme__tokenFunction",comment:"PlaygroundEditorTheme__tokenComment",constant:"PlaygroundEditorTheme__tokenProperty",deleted:"PlaygroundEditorTheme__tokenProperty",doctype:"PlaygroundEditorTheme__tokenComment",entity:"PlaygroundEditorTheme__tokenOperator",function:"PlaygroundEditorTheme__tokenFunction",important:"PlaygroundEditorTheme__tokenVariable",inserted:"PlaygroundEditorTheme__tokenSelector",keyword:"PlaygroundEditorTheme__tokenAttr",namespace:"PlaygroundEditorTheme__tokenVariable",number:"PlaygroundEditorTheme__tokenProperty",operator:"PlaygroundEditorTheme__tokenOperator",prolog:"PlaygroundEditorTheme__tokenComment",property:"PlaygroundEditorTheme__tokenProperty",punctuation:"PlaygroundEditorTheme__tokenPunctuation",regex:"PlaygroundEditorTheme__tokenVariable",selector:"PlaygroundEditorTheme__tokenSelector",string:"PlaygroundEditorTheme__tokenSelector",symbol:"PlaygroundEditorTheme__tokenProperty",tag:"PlaygroundEditorTheme__tokenProperty",url:"PlaygroundEditorTheme__tokenOperator",variable:"PlaygroundEditorTheme__tokenVariable"},embedBlock:{base:"PlaygroundEditorTheme__embedBlock",focus:"PlaygroundEditorTheme__embedBlockFocus"},hashtag:"PlaygroundEditorTheme__hashtag",heading:{h1:"PlaygroundEditorTheme__h1",h2:"PlaygroundEditorTheme__h2",h3:"PlaygroundEditorTheme__h3",h4:"PlaygroundEditorTheme__h4",h5:"PlaygroundEditorTheme__h5",h6:"PlaygroundEditorTheme__h6"},image:"editor-image",link:"PlaygroundEditorTheme__link",list:{listitem:"PlaygroundEditorTheme__listItem",listitemChecked:"PlaygroundEditorTheme__listItemChecked",listitemUnchecked:"PlaygroundEditorTheme__listItemUnchecked",nested:{listitem:"PlaygroundEditorTheme__nestedListItem"},olDepth:["PlaygroundEditorTheme__ol1","PlaygroundEditorTheme__ol2","PlaygroundEditorTheme__ol3","PlaygroundEditorTheme__ol4","PlaygroundEditorTheme__ol5"],ul:"PlaygroundEditorTheme__ul"},ltr:"PlaygroundEditorTheme__ltr",mark:"PlaygroundEditorTheme__mark",markOverlap:"PlaygroundEditorTheme__markOverlap",paragraph:"PlaygroundEditorTheme__paragraph",quote:"PlaygroundEditorTheme__quote",rtl:"PlaygroundEditorTheme__rtl",table:"PlaygroundEditorTheme__table",tableCell:"PlaygroundEditorTheme__tableCell",tableCellHeader:"PlaygroundEditorTheme__tableCellHeader",text:{bold:"PlaygroundEditorTheme__textBold",code:"PlaygroundEditorTheme__textCode",italic:"PlaygroundEditorTheme__textItalic",strikethrough:"PlaygroundEditorTheme__textStrikethrough",subscript:"PlaygroundEditorTheme__textSubscript",superscript:"PlaygroundEditorTheme__textSuperscript",underline:"PlaygroundEditorTheme__textUnderline",underlineStrikethrough:"PlaygroundEditorTheme__textUnderlineStrikethrough"}};export{e as default};
2
2
  //# sourceMappingURL=theme.js.map
@@ -1,2 +1,2 @@
1
- import{UserStoryPickerRoot as o}from"./UserStoryPicker.js";import{Header as r}from"./components/Header.js";import{Toolbar as e}from"./components/Toolbar.js";import{SearchInput as t}from"./components/SearchInput.js";import{BrowseProjectsButton as s}from"./components/BrowseProjectsButton.js";import{SectionHeading as m}from"./components/SectionHeading.js";import{CardGrid as n}from"./components/CardGrid.js";import{UserStoryCard as p}from"./components/UserStoryCard.js";import{ProjectCard as i}from"./components/ProjectCard.js";import{Badge as c}from"./components/Badge.js";import{BackNav as a}from"./components/BackNav.js";import{SortDropdown as d}from"./components/SortDropdown.js";import{ShowMore as j}from"./components/ShowMore.js";import{ProceedButton as S}from"./components/ProceedButton.js";import{Footer as f}from"./components/Footer.js";import{SplitLayout as l}from"./components/SplitLayout.js";import{Sidebar as P}from"./components/Sidebar.js";import{SidebarSection as y}from"./components/SidebarSection.js";import{SidebarProjectList as u}from"./components/SidebarProjectList.js";import{SidebarFavoritesList as U}from"./components/SidebarFavoritesList.js";import{ContentArea as w}from"./components/ContentArea.js";import{NavRow as D}from"./components/NavRow.js";import{UserStoryImportDialog as h}from"./components/UserStoryImportDialog.js";export{UserStoryImportDialog}from"./components/UserStoryImportDialog.js";import{ResizeHandle as b}from"./components/ResizeHandle.js";export{ResizeHandle}from"./components/ResizeHandle.js";import{ScopeDropdown as g}from"./components/ScopeDropdown.js";import{TypeDropdown as C}from"./components/TypeDropdown.js";import{UserStoryScopeDropdown as x}from"./components/UserStoryScopeDropdown.js";export{useUSPContext}from"./UserStoryPicker.context.js";export{useUSPData}from"./hooks/useUSPData.js";export{usePanelResize}from"./components/usePanelResize.js";export{demoProjects,demoUserStories}from"./demo.js";export{darkTheme,lightTheme,themeToStyle,uspColorPalette,uspVSCodeLightTheme,vscodeTheme}from"./UserStoryPicker.theme.js";var B=Object.assign(o,{Header:r,Toolbar:e,SearchInput:t,BrowseProjectsButton:s,SectionHeading:m,CardGrid:n,UserStoryCard:p,ProjectCard:i,Badge:c,BackNav:a,SortDropdown:d,ScopeDropdown:g,TypeDropdown:C,UserStoryScopeDropdown:x,ShowMore:j,ProceedButton:S,Footer:f,SplitLayout:l,Sidebar:P,SidebarSection:y,SidebarProjectList:u,SidebarFavoritesList:U,ContentArea:w,NavRow:D,UserStoryImportDialog:h,ResizeHandle:b});export{B as UserStoryPicker};
1
+ import{UserStoryPickerRoot as o}from"./UserStoryPicker.js";import{Header as r}from"./components/Header.js";import{Toolbar as e}from"./components/Toolbar.js";import{SearchInput as t}from"./components/SearchInput.js";import{BrowseProjectsButton as s}from"./components/BrowseProjectsButton.js";import{SectionHeading as m}from"./components/SectionHeading.js";import{CardGrid as n}from"./components/CardGrid.js";import{UserStoryCard as p}from"./components/UserStoryCard.js";import{ProjectCard as i}from"./components/ProjectCard.js";import{Badge as c}from"./components/Badge.js";import{BackNav as a}from"./components/BackNav.js";import{SortDropdown as j}from"./components/SortDropdown.js";import{ShowMore as S}from"./components/ShowMore.js";import{ProceedButton as d}from"./components/ProceedButton.js";import{Footer as f}from"./components/Footer.js";import{SplitLayout as l}from"./components/SplitLayout.js";import{Sidebar as P}from"./components/Sidebar.js";import{SidebarSection as y}from"./components/SidebarSection.js";import{SidebarProjectList as u}from"./components/SidebarProjectList.js";import{SidebarFavoritesList as w}from"./components/SidebarFavoritesList.js";import{ContentArea as D}from"./components/ContentArea.js";import{NavRow as U}from"./components/NavRow.js";import{UserStoryImportDialog as h}from"./components/UserStoryImportDialog.js";export{UserStoryImportDialog}from"./components/UserStoryImportDialog.js";import{ResizeHandle as b}from"./components/ResizeHandle.js";export{ResizeHandle}from"./components/ResizeHandle.js";import{ScopeDropdown as g}from"./components/ScopeDropdown.js";import{TypeDropdown as C}from"./components/TypeDropdown.js";import{UserStoryScopeDropdown as B}from"./components/UserStoryScopeDropdown.js";export{useUSPContext}from"./UserStoryPicker.context.js";export{useUSPData}from"./hooks/useUSPData.js";export{usePanelResize}from"./components/usePanelResize.js";export{darkTheme,lightTheme,themeToStyle,uspColorPalette,uspVSCodeLightTheme,vscodeTheme}from"./UserStoryPicker.theme.js";var x=Object.assign(o,{Header:r,Toolbar:e,SearchInput:t,BrowseProjectsButton:s,SectionHeading:m,CardGrid:n,UserStoryCard:p,ProjectCard:i,Badge:c,BackNav:a,SortDropdown:j,ScopeDropdown:g,TypeDropdown:C,UserStoryScopeDropdown:B,ShowMore:S,ProceedButton:d,Footer:f,SplitLayout:l,Sidebar:P,SidebarSection:y,SidebarProjectList:u,SidebarFavoritesList:w,ContentArea:D,NavRow:U,UserStoryImportDialog:h,ResizeHandle:b});export{x as UserStoryPicker};
2
2
  //# sourceMappingURL=index.js.map
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- 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{handleAcceptAllChanges,handleDiffEditApplied,handleDiscardAll}from"./features/RequirementAI/utils/diff-edit.utils.js";export{GapFilterBlock}from"./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js";export{hasAnyUpdatedTags,useDiffEditReviewMode}from"./features/RequirementAI/hooks/useDiffEditReviewMode.js";export{UserStoryCardWrapper}from"./features/RequirementAI/components/UserStoryCard/UserStoryCard.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";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 c}from"./features/UserStoryImport/components/ShowMore.js";import{ProceedButton as d}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 j}from"./features/UserStoryImport/components/SidebarProjectList.js";import{SidebarFavoritesList as y}from"./features/UserStoryImport/components/SidebarFavoritesList.js";import{ContentArea as A}from"./features/UserStoryImport/components/ContentArea.js";import{NavRow as U}from"./features/UserStoryImport/components/NavRow.js";import{UserStoryImportDialog as C}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{useUSPContext}from"./features/UserStoryImport/UserStoryPicker.context.js";export{useUSPData}from"./features/UserStoryImport/hooks/useUSPData.js";export{usePanelResize}from"./features/UserStoryImport/components/usePanelResize.js";export{demoProjects,demoUserStories}from"./features/UserStoryImport/demo.js";export{darkTheme,lightTheme,themeToStyle,uspColorPalette,uspVSCodeLightTheme,vscodeTheme}from"./features/UserStoryImport/UserStoryPicker.theme.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:c,ProceedButton:d,Footer:S,SplitLayout:l,Sidebar:R,SidebarSection:I,SidebarProjectList:j,SidebarFavoritesList:y,ContentArea:A,NavRow:U,UserStoryImportDialog:C,ResizeHandle:x});export{h as UserStoryPicker};
1
+ 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{handleAcceptAllChanges,handleDiffEditApplied,handleDiscardAll}from"./features/RequirementAI/utils/diff-edit.utils.js";export{GapFilterBlock}from"./features/RequirementAI/components/lsc-reason-gap/GapFilterBlock.js";export{hasAnyUpdatedTags,useDiffEditReviewMode}from"./features/RequirementAI/hooks/useDiffEditReviewMode.js";export{UserStoryCardWrapper}from"./features/RequirementAI/components/UserStoryCard/UserStoryCard.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";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 c}from"./features/UserStoryImport/components/ShowMore.js";import{ProceedButton as d}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 j}from"./features/UserStoryImport/components/SidebarProjectList.js";import{SidebarFavoritesList as y}from"./features/UserStoryImport/components/SidebarFavoritesList.js";import{ContentArea as A}from"./features/UserStoryImport/components/ContentArea.js";import{NavRow as C}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{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";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:c,ProceedButton:d,Footer:S,SplitLayout:l,Sidebar:R,SidebarSection:I,SidebarProjectList:j,SidebarFavoritesList:y,ContentArea:A,NavRow:C,UserStoryImportDialog:U,ResizeHandle:x});export{h as UserStoryPicker};
2
2
  //# sourceMappingURL=index.js.map
@@ -61,7 +61,6 @@ export { ResizeHandle } from './components/ResizeHandle';
61
61
  export { usePanelResize } from './components/usePanelResize';
62
62
  export { UserStoryImportDialog } from './components/UserStoryImportDialog';
63
63
  export type { UserStoryImportChoice, UserStoryImportDialogProps } from './components/UserStoryImportDialog';
64
- export { demoProjects, demoUserStories } from './demo';
65
64
  export type { USPTheme, USPThemeColors, USPColorPaletteKey } from './UserStoryPicker.theme';
66
65
  export { uspColorPalette, darkTheme, lightTheme, vscodeTheme, uspVSCodeLightTheme, themeToStyle, } from './UserStoryPicker.theme';
67
66
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/features/UserStoryImport/index.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,OAAO,EAAE,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAC7D,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,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MAAM,oBAAoB,CAAC;AAGxD,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,6BAA6B,CAAC;AAG7D,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,YAAY,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,oCAAoC,CAAC;AAG5G,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAC5F,OAAO,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,YAAY,GACb,MAAM,yBAAyB,CAAC"}
@@ -107,7 +107,6 @@ export { ResizeHandle } from './features/UserStoryImport/components/ResizeHandle
107
107
  export { usePanelResize } from './features/UserStoryImport/components/usePanelResize';
108
108
  export { UserStoryImportDialog } from './features/UserStoryImport/components/UserStoryImportDialog';
109
109
  export type { UserStoryImportChoice, UserStoryImportDialogProps } from './features/UserStoryImport/components/UserStoryImportDialog';
110
- export { demoProjects, demoUserStories } from './features/UserStoryImport/demo';
111
110
  export type { USPTheme, USPThemeColors, USPColorPaletteKey } from './features/UserStoryImport/UserStoryPicker.theme';
112
111
  export { uspColorPalette, darkTheme, lightTheme, vscodeTheme, uspVSCodeLightTheme, themeToStyle, } from './features/UserStoryImport/UserStoryPicker.theme';
113
112
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAkCA,OAAO,EAAE,OAAO,IAAI,wBAAwB,EAAE,MAAM,0FAA0F,CAAC;AAC/I,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,yFAAyF,CAAC;AAC7I,YAAY,EACV,6BAA6B,EAC7B,sBAAsB,EACtB,4BAA4B,EAC5B,4BAA4B,GAC7B,MAAM,uEAAuE,CAAC;AAC/E,OAAO,EAAE,OAA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,cAAc,CAAC;IACtC,kBAAkB,EAAE,OAAO,kBAAkB,CAAC;IAC9C,oBAAoB,EAAE,OAAO,oBAAoB,CAAC;IAClD,WAAW,EAAE,OAAO,WAAW,CAAC;IAChC,MAAM,EAAE,OAAO,MAAM,CAAC;IACtB,qBAAqB,EAAE,OAAO,qBAAqB,CAAC;IACpD,YAAY,EAAE,OAAO,YAAY,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,mBA0B5B,CAAC;AAGH,YAAY,EACV,YAAY,EACZ,UAAU,EACV,WAAW,EACX,aAAa,EACb,aAAa,EACb,cAAc,EACd,YAAY,EACZ,QAAQ,EACR,SAAS,EACT,UAAU,EACV,WAAW,EACX,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,GACjB,MAAM,kDAAkD,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,oDAAoD,CAAC;AAGnF,OAAO,EAAE,UAAU,EAAE,MAAM,6CAA6C,CAAC;AACzE,YAAY,EAAE,aAAa,EAAE,MAAM,6CAA6C,CAAC;AAGjF,OAAO,EAAE,YAAY,EAAE,MAAM,oDAAoD,CAAC;AAClF,OAAO,EAAE,cAAc,EAAE,MAAM,sDAAsD,CAAC;AAGtF,OAAO,EAAE,qBAAqB,EAAE,MAAM,6DAA6D,CAAC;AACpG,YAAY,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,6DAA6D,CAAC;AAGrI,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,kDAAkD,CAAC;AACrH,OAAO,EACL,eAAe,EACf,SAAS,EACT,UAAU,EACV,WAAW,EACX,mBAAmB,EACnB,YAAY,GACb,MAAM,kDAAkD,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.54",
3
+ "version": "0.0.55",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",
7
7
  "main": "dist/cjs/index.js",
8
8
  "module": "dist/index.js",
9
- "sideEffects": false,
9
+ "sideEffects": ["**/*.css", "**/*.css.js"],
10
10
  "types": "dist/types/src/index.d.ts",
11
11
  "publishConfig": {
12
12
  "access": "public"
@@ -1,2 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.demoProjects=[{id:"proj-stormee-ecg",name:"Stormee ECG",description:"Stormee ECG project for enterprise code generation.",artifactCount:12,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-ecg",name:"ECG",description:"Core ECG project.",artifactCount:5,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-ecg-federation",name:"ECG Federation",description:"Federated ECG project across multiple domains.",artifactCount:8,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-us-appmod",name:"User Story - Appmod",description:"User story management for Appmod.",artifactCount:3,lastUpdated:"2026-03-09T00:00:00.000Z"}],exports.demoUserStories=[{storyId:"ECG-101",title:"Federated Authentication Module",description:"Implement federated authentication to support enterprise SSO across multiple identity providers.",projectName:"ECG Federation",projectId:"proj-ecg-federation",lastUpdated:"2026-03-07T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-101"},{storyId:"ILF-002",title:"A2A Agent Discovery and Registry System",description:"Build a discovery and registry system for A2A agents to enable seamless agent-to-agent communication.",projectName:"Stormee ECG",projectId:"proj-stormee-ecg",lastUpdated:"2026-03-09T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ILF-002",isNew:!0},{storyId:"A-087",title:"ADRS: Code Sync for Project Analysis",description:"Automated dependency resolution system that syncs code changes across project modules for real-time analysis.",projectName:"Stormee ECG",projectId:"proj-stormee-ecg",lastUpdated:"2026-03-09T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"A-087"},{storyId:"ECG-205",title:"Real-time Code Review Pipeline",description:"Build a real-time pipeline for automated code review using static analysis and AI suggestions.",projectName:"ECG",projectId:"proj-ecg",lastUpdated:"2026-03-05T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-205"},{storyId:"AM-033",title:"User Story Import & Mapping Engine",description:"Design an engine to import user stories from external tools and map them to internal project structures.",projectName:"User Story - Appmod",projectId:"proj-us-appmod",lastUpdated:"2026-03-04T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"AM-033",isNew:!0},{storyId:"ECG-210",title:"Multi-tenant Workspace Isolation",description:"Implement workspace-level isolation for multi-tenant deployments to ensure data and process separation.",projectName:"ECG",projectId:"proj-ecg",lastUpdated:"2026-03-03T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-210"}];
2
- //# sourceMappingURL=demo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- var e=[{id:"proj-stormee-ecg",name:"Stormee ECG",description:"Stormee ECG project for enterprise code generation.",artifactCount:12,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-ecg",name:"ECG",description:"Core ECG project.",artifactCount:5,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-ecg-federation",name:"ECG Federation",description:"Federated ECG project across multiple domains.",artifactCount:8,lastUpdated:"2026-03-09T00:00:00.000Z"},{id:"proj-us-appmod",name:"User Story - Appmod",description:"User story management for Appmod.",artifactCount:3,lastUpdated:"2026-03-09T00:00:00.000Z"}],t=[{storyId:"ECG-101",title:"Federated Authentication Module",description:"Implement federated authentication to support enterprise SSO across multiple identity providers.",projectName:"ECG Federation",projectId:"proj-ecg-federation",lastUpdated:"2026-03-07T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-101"},{storyId:"ILF-002",title:"A2A Agent Discovery and Registry System",description:"Build a discovery and registry system for A2A agents to enable seamless agent-to-agent communication.",projectName:"Stormee ECG",projectId:"proj-stormee-ecg",lastUpdated:"2026-03-09T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ILF-002",isNew:!0},{storyId:"A-087",title:"ADRS: Code Sync for Project Analysis",description:"Automated dependency resolution system that syncs code changes across project modules for real-time analysis.",projectName:"Stormee ECG",projectId:"proj-stormee-ecg",lastUpdated:"2026-03-09T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"A-087"},{storyId:"ECG-205",title:"Real-time Code Review Pipeline",description:"Build a real-time pipeline for automated code review using static analysis and AI suggestions.",projectName:"ECG",projectId:"proj-ecg",lastUpdated:"2026-03-05T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-205"},{storyId:"AM-033",title:"User Story Import & Mapping Engine",description:"Design an engine to import user stories from external tools and map them to internal project structures.",projectName:"User Story - Appmod",projectId:"proj-us-appmod",lastUpdated:"2026-03-04T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"AM-033",isNew:!0},{storyId:"ECG-210",title:"Multi-tenant Workspace Isolation",description:"Implement workspace-level isolation for multi-tenant deployments to ensure data and process separation.",projectName:"ECG",projectId:"proj-ecg",lastUpdated:"2026-03-03T00:00:00.000Z",gs_util_url:"",artifact_id:"",user_story_id:"ECG-210"}];export{e as demoProjects,t as demoUserStories};
2
- //# sourceMappingURL=demo.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- /**
2
- * Demo / fallback data for the UserStoryPicker library.
3
- *
4
- * Used by useUSPData while real API data is unavailable (loading, unauthenticated, empty).
5
- * Also useful for Storybook, unit tests, and local development.
6
- */
7
- import type { USPProject, USPUserStory } from './UserStoryPicker.types';
8
- export declare const demoProjects: USPProject[];
9
- export declare const demoUserStories: USPUserStory[];
10
- //# sourceMappingURL=demo.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"demo.d.ts","sourceRoot":"","sources":["../../../../../src/features/UserStoryImport/demo.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAExE,eAAO,MAAM,YAAY,EAAE,UAAU,EA6BpC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,YAAY,EA2EzC,CAAC"}