@e-llm-studio/requirement-ai 0.0.171 → 0.0.173

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 (33) hide show
  1. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  2. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  3. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
  4. package/dist/cjs/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
  5. package/dist/cjs/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  6. package/dist/cjs/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +2 -0
  7. package/dist/cjs/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js.map +1 -0
  8. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  9. package/dist/cjs/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  10. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.js +1 -1
  11. package/dist/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.js +1 -1
  12. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.css.js +1 -1
  13. package/dist/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.js +1 -1
  14. package/dist/features/RequirementAI/components/RichTextEditor/RichTextEditor.js +1 -1
  15. package/dist/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js +2 -0
  16. package/dist/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.js.map +1 -0
  17. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.js +1 -1
  18. package/dist/features/RequirementAI/components/UserStoryCard/UserStoryCard.module.css.js +1 -1
  19. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts +10 -0
  20. package/dist/types/src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.d.ts.map +1 -1
  21. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts +2 -2
  22. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.d.ts.map +1 -1
  23. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts +3 -3
  24. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.d.ts.map +1 -1
  25. package/dist/types/src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.d.ts.map +1 -1
  26. package/dist/types/src/features/RequirementAI/components/RichTextEditor/RichTextEditor.d.ts.map +1 -1
  27. package/dist/types/src/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.d.ts +12 -0
  28. package/dist/types/src/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.d.ts.map +1 -0
  29. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts +2 -1
  30. package/dist/types/src/features/RequirementAI/components/UserStoryCard/UserStoryCard.d.ts.map +1 -1
  31. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts +2 -0
  32. package/dist/types/src/features/RequirementAI/interfaces/userstory.interface.d.ts.map +1 -1
  33. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=function(t){function n(e,r){void 0===e&&(e=crypto.randomUUID());var n=t.call(this,r)||this;return n.__reviewId=e,n}return e.__extends(n,t),n.getType=function(){return"delete"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.style.textDecoration="line-through",e.style.textDecorationColor="#dc2626",e.style.textDecorationThickness="2px",e.contentEditable="false",e},n.prototype.updateDOM=function(){return!1},n.importDOM=function(){return{del:function(){return{conversion:r,priority:1}}}},n.prototype.exportDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.style.color="#dc2626",e.style.textDecoration="line-through",e.style.textDecorationColor="#dc2626",e.style.textDecorationThickness="2px",{element:e}},n.importJSON=function(e){return new n(e.reviewId)},n.prototype.exportJSON=function(){return e.__assign(e.__assign({},t.prototype.exportJSON.call(this)),{type:"delete",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n.prototype.canBeEmpty=function(){return!1},n.prototype.canInsertTextBefore=function(){return!1},n.prototype.canInsertTextAfter=function(){return!1},n.prototype.canMergeWith=function(){return!1},n}(require("lexical").ElementNode);function r(e){var r=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new t(r)}}exports.DeleteNode=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=function(t){function n(e,r){void 0===e&&(e=crypto.randomUUID());var n=t.call(this,r)||this;return n.__reviewId=e,n}return e.__extends(n,t),n.getType=function(){return"delete"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__delete-node",e.contentEditable="false",e},n.prototype.exportDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__delete-node",{element:e}},n.prototype.updateDOM=function(){return!1},n.importDOM=function(){return{del:function(){return{conversion:r,priority:1}}}},n.importJSON=function(e){return new n(e.reviewId)},n.prototype.exportJSON=function(){return e.__assign(e.__assign({},t.prototype.exportJSON.call(this)),{type:"delete",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n.prototype.canBeEmpty=function(){return!1},n.prototype.canInsertTextBefore=function(){return!1},n.prototype.canInsertTextAfter=function(){return!1},n.prototype.canMergeWith=function(){return!1},n}(require("lexical").ElementNode);function r(e){var r=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new t(r)}}exports.DeleteNode=t;
2
2
  //# sourceMappingURL=DeleteNode.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=function(t){function n(e,r){void 0===e&&(e=crypto.randomUUID());var n=t.call(this,r)||this;return n.__reviewId=e,n}return e.__extends(n,t),n.getType=function(){return"insert"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(e){var t=document.createElement("ins");return t.setAttribute("data-review-id",this.__reviewId),t.style.backgroundColor="#dbeafe",t.style.color="#1e3a8a",t.style.textDecoration="none",t.style.padding="1px 2px",t.style.borderRadius="2px",t},n.prototype.updateDOM=function(e,t,r){return e.__reviewId!==this.__reviewId},n.importDOM=function(){return{ins:function(){return{conversion:r,priority:1}}}},n.prototype.exportDOM=function(e){var t=document.createElement("ins");return t.setAttribute("data-review-id",this.__reviewId),t.style.backgroundColor="#dbeafe",t.style.color="#1e3a8a",t.style.textDecoration="none",t.style.padding="1px 2px",t.style.borderRadius="2px",{element:t}},n.importJSON=function(e){var t=new n(e.reviewId);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t},n.prototype.exportJSON=function(){return e.__assign(e.__assign({},t.prototype.exportJSON.call(this)),{type:"insert",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n}(require("lexical").ElementNode);function r(e){var r=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new t(r)}}exports.InsertNode=t;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=function(t){function n(e,r){void 0===e&&(e=crypto.randomUUID());var n=t.call(this,r)||this;return n.__reviewId=e,n}return e.__extends(n,t),n.getType=function(){return"insert"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(){var e=document.createElement("ins");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__insert-node",e},n.prototype.exportDOM=function(){var e=document.createElement("ins");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__insert-node",{element:e}},n.prototype.updateDOM=function(e,t,r){return e.__reviewId!==this.__reviewId},n.importDOM=function(){return{ins:function(){return{conversion:r,priority:1}}}},n.importJSON=function(e){var t=new n(e.reviewId);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t},n.prototype.exportJSON=function(){return e.__assign(e.__assign({},t.prototype.exportJSON.call(this)),{type:"insert",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n}(require("lexical").ElementNode);function r(e){var r=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new t(r)}}exports.InsertNode=t;
2
2
  //# sourceMappingURL=InsertNode.js.map
@@ -1,2 +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;
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}.PlaygroundEditorTheme__delete-node{text-decoration:var(--delete-node-text-decoration,line-through);text-decoration-color:var(--delete-node-decoration-color,#dc2626);text-decoration-thickness:var(--delete-node-decoration-thickness,2px)}.PlaygroundEditorTheme__insert-node{background-color:var(--insert-node-bg,#dbeafe);border-radius:var(--insert-node-border-radius,2px);color:var(--insert-node-color,#1e3a8a);padding:var(--insert-node-padding,1px 2px);text-decoration:var(--insert-node-text-decoration,none)}';!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
2
  //# sourceMappingURL=theme.css.js.map
@@ -1,2 +1,2 @@
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"}};
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"},deleteNode:"PlaygroundEditorTheme__delete-node",insertNode:"PlaygroundEditorTheme__insert-node"};
2
2
  //# sourceMappingURL=theme.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),n=require("./Editor/constants/editorConfig.js"),o=require("./Editor/Editor.js"),i=require("../../store/ref.context.js"),u=require("@lexical/html"),a=require("turndown"),l=require("turndown-plugin-gfm");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=new(c(a).default)({headingStyle:"atx",codeBlockStyle:"fenced"});d.keep(["ins","del","mark"]),d.keep(function(e){var t,r;return"A"===e.nodeName&&null!==(r=null===(t=e.getAttribute("href"))||void 0===t?void 0:t.includes("ai_reasoning$"))&&void 0!==r&&r}),d.addRule("md-table-passthrough",{filter:function(e){return"PRE"===e.nodeName&&"true"===e.getAttribute("data-md-table")},replacement:function(e,t){return t.textContent||""}}),d.use(l.tables);exports.default=function(a){var l=a.type,c=a.value,s=a.handleUpdateState,f=a.onBlur,h=a.placeholder,g=a.minHeight,p=a.height,m=a.mode,v=a.doNotShowBorderInViewMode,E=r.useRef(null),b=r.useState({type:l,value:c}),x=b[0],A=b[1],y=r.useState(0),w=y[0],S=y[1],q=i.useRefStore(),_=q.contentRef;q.setContentRef;r.useEffect(function(){A(function(t){return e.__assign(e.__assign({},t),{value:c})})},[c]);return r.useEffect(function(){var e=function(){_&&_.current&&S(_.current.clientHeight-60)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[_]),t.jsx(t.Fragment,{children:t.jsx(o.default,{minHeight:g,height:p,placeholder:h||"Enter some text...",onChange:function(e,t){e.read(function(){var e=u.$generateHtmlFromNodes(t,null),r=(new DOMParser).parseFromString(e,"text/html");r.querySelectorAll("span").forEach(function(e){var t=e.getAttribute("style")||"";t.includes("background-color")&&t.includes("rgb(219, 234, 254)")&&e.setAttribute("data-review","insert"),t.includes("text-decoration")&&t.includes("line-through")&&e.setAttribute("data-review","delete")}),r.querySelectorAll("strong code").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll("code strong").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))});var n=[];r.querySelectorAll("table").forEach(function(e,t){n.push(e.outerHTML);var o=r.createElement("p");o.textContent="%%TABLE_".concat(t,"%%"),e.replaceWith(o)});var o=d.turndown(r.body.innerHTML);n.forEach(function(e,t){o=o.replace("%%TABLE\\_".concat(t,"%%"),"\n\n".concat(e,"\n\n"))}),function(e,t){s(e,t)}("prompt",o=o.replace(/\*{4}([^*]+)\*{4}/g,"**$1**"))})},toolbarConfig:n.DEFAULT_TOOLBAR_CONFIG,editorRef:E,mode:m,initialString:{type:x.type,value:x.value},dynamicHeight:w,onBlur:f,doNotShowBorderInViewMode:v||!1})})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),r=require("react"),n=require("./Editor/constants/editorConfig.js"),o=require("./Editor/Editor.js"),a=require("../../store/ref.context.js"),i=require("@lexical/html"),u=require("turndown"),c=require("turndown-plugin-gfm");function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=new(l(u).default)({headingStyle:"atx",codeBlockStyle:"fenced"});d.keep(["ins","del","mark"]),d.keep(function(e){var t,r;return"A"===e.nodeName&&null!==(r=null===(t=e.getAttribute("href"))||void 0===t?void 0:t.includes("ai_reasoning$"))&&void 0!==r&&r}),d.addRule("md-table-passthrough",{filter:function(e){return"PRE"===e.nodeName&&"true"===e.getAttribute("data-md-table")},replacement:function(e,t){return t.textContent||""}}),d.use(c.tables);exports.default=function(u){var c=u.type,l=u.value,s=u.handleUpdateState,f=u.onBlur,h=u.placeholder,g=u.minHeight,p=u.height,m=u.mode,v=u.doNotShowBorderInViewMode,E=r.useRef(null),A=r.useState({type:c,value:l}),b=A[0],y=A[1],w=r.useState(0),x=w[0],S=w[1],q=a.useRefStore(),_=q.contentRef;q.setContentRef;r.useEffect(function(){y(function(t){return e.__assign(e.__assign({},t),{value:l})})},[l]);return r.useEffect(function(){var e=function(){_&&_.current&&S(_.current.clientHeight-60)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[_]),t.jsx(t.Fragment,{children:t.jsx(o.default,{minHeight:g,height:p,placeholder:h||"Enter some text...",onChange:function(e,t){e.read(function(){var e=i.$generateHtmlFromNodes(t,null),r=(new DOMParser).parseFromString(e,"text/html");function n(e){return Array.from(e.childNodes).map(function(e){if(e.nodeType===Node.TEXT_NODE)return e.textContent||"";if(e.nodeType===Node.ELEMENT_NODE){var t=e,r=t.tagName.toLowerCase(),o=n(t);if("strong"===r||"b"===r)return o.startsWith("<strong>")&&o.endsWith("</strong>")?o:"<strong>".concat(o,"</strong>");if("em"===r||"i"===r)return o.startsWith("<em>")&&o.endsWith("</em>")?o:"<em>".concat(o,"</em>");if("code"===r)return"<code>".concat(o,"</code>");if("u"===r)return"<u>".concat(o,"</u>");if("s"===r)return"<s>".concat(o,"</s>");if("a"===r){var a=t.getAttribute("href")||"";return'<a href="'.concat(a,'">').concat(o,"</a>")}return o}return""}).join("")}r.querySelectorAll("span").forEach(function(e){var t=e.getAttribute("style")||"";t.includes("background-color")&&t.includes("rgb(219, 234, 254)")&&e.setAttribute("data-review","insert"),t.includes("text-decoration")&&t.includes("line-through")&&e.setAttribute("data-review","delete")}),r.querySelectorAll("strong code").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll("code strong").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))}),r.querySelectorAll("ins[data-review-id], del[data-review-id]").forEach(function(e){e.innerHTML=n(e)});var o=[];r.querySelectorAll("ins[data-review-id], del[data-review-id]").forEach(function(e,t){o.push(e.outerHTML);var n=r.createElement("span");n.textContent="%%REVIEW_".concat(t,"%%"),e.replaceWith(n)});var a=[];r.querySelectorAll("table").forEach(function(e,t){a.push(e.outerHTML);var n=r.createElement("p");n.textContent="%%TABLE_".concat(t,"%%"),e.replaceWith(n)});var u=d.turndown(r.body.innerHTML);o.forEach(function(e,t){u=u.replace("%%REVIEW\\_".concat(t,"%%"),e)}),a.forEach(function(e,t){u=u.replace("%%TABLE\\_".concat(t,"%%"),"\n\n".concat(e,"\n\n"))}),function(e,t){s(e,t)}("prompt",u=u.replace(/\*{4}([^*]+)\*{4}/g,"**$1**"))})},toolbarConfig:n.DEFAULT_TOOLBAR_CONFIG,editorRef:E,mode:m,initialString:{type:b.type,value:b.value},dynamicHeight:x,onBlur:f,doNotShowBorderInViewMode:v||!1})})};
2
2
  //# sourceMappingURL=RichTextEditor.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("lucide-react"),i=require("react"),l=require("../UserStoryCard.module.css.js");exports.InlineTitleEditor=function(r){var a=r.title,o=r.onSave,s=r.onCancel,u=r.inputStyle,c=r.confirmButtonStyle,f=r.cancelButtonStyle,d=i.useState(a),p=d[0],y=d[1],m=i.useRef(null);i.useEffect(function(){var e,t;null===(e=m.current)||void 0===e||e.focus(),null===(t=m.current)||void 0===t||t.select()},[]);return t.jsxs("div",e.__assign({className:l.default.inlineTitleEditor,style:u,onClick:function(e){return e.stopPropagation()},onMouseDown:function(e){e.stopPropagation()}},{children:[t.jsx("input",{ref:m,type:"text",value:p,onChange:function(e){return y(e.target.value)},onClick:function(e){e.stopPropagation()},onMouseDown:function(e){e.stopPropagation()},onKeyDown:function(e){if("Enter"===e.key){e.preventDefault();var t=p.trim();t&&o(t)}else"Escape"===e.key&&(e.preventDefault(),s())},className:l.default.inlineTitleInput,style:u,maxLength:200,"aria-label":"Edit title"}),t.jsx("button",e.__assign({type:"button",className:l.default.inlineTitleConfirm,style:c,onClick:function(){var e=p.trim();e&&o(e)},disabled:!p.trim(),"aria-label":"Confirm title",title:"Confirm (Enter)"},{children:t.jsx(n.Check,{size:14})})),t.jsx("button",e.__assign({type:"button",className:l.default.inlineTitleCancel,style:f,onClick:s,"aria-label":"Cancel edit",title:"Cancel (Escape)"},{children:t.jsx(n.X,{size:14})}))]}))};
2
+ //# sourceMappingURL=TitleEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleEditor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),t=require("react"),s=require("lucide-react"),i=require("showdown"),r=require("@mui/material"),o=require("uuid"),l=require("./UserStoryCard.module.css.js"),a=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),d=require("../../shared/AtomicButton.js"),c=require("../RichTextEditor/RichTextEditor.js"),v=require("../userstory-with-citation/UserStoryWithCitation.js"),f=require("../RequirementAIWrapper/RequirementAIWrapper.js"),g=require("../story-screen/BigEnoughPanel.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var _=y(i);function m(t){for(var i,l=[],a=/<learned>(.*?)<\/learned>/g,u=0,d=0;null!==(i=a.exec(t));){var c=i[1],v=i.index;v>u&&l.push(n.jsx("span",{children:t.slice(u,v)},"text-pre-".concat(d++))),l.push(n.jsx(r.Tooltip,e.__assign({title:c,placement:"top"},{children:n.jsx(s.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(o.v4()))),u=a.lastIndex}return u<(null==t?void 0:t.length)&&l.push(n.jsx("span",{children:t.slice(u)},"text-post-".concat(d++))),l}function h(n,t,s){var i;if(!n)return{};if(t)return e.__assign({},n.parentConfig);var r=e.__assign({},n.childConfig);return s&&(null===(i=n.subFeatureOverrides)||void 0===i?void 0:i[s])?e.__assign(e.__assign({},r),n.subFeatureOverrides[s]):r}var p=function(t){var i,r=t.displayName,o=f.useRequirementAI().customStyles,a=null===(i=null==o?void 0:o.userStoryCardStyles)||void 0===i?void 0:i.showDisplayName;return n.jsxs("div",e.__assign({className:l.default.displayName,style:null==a?void 0:a.wrapper},{children:[n.jsx(s.Bookmark,{className:l.default.displayNameIcon,style:null==a?void 0:a.displayNameIcon}),n.jsxs("span",e.__assign({style:null==a?void 0:a.label},{children:[r,":"]}))]}))},x=function(i){var o,y,S,C,I,j,w=i.isUserStoryCurrentlyUpdated,N=i.artifactId,b=i.artifactTitleId,U=i.parentUserStory,D=i.currentUserStory,B=i.onUserStoryChange,M=i.parentIndex,k=i.currentIndex,q=i.enableDownload,A=i.isDiffEditReviewMode,E=i.showUserStoryDiff,R=i.handleDownloadUserStory,P=i.handleOpenSendDialog,T=i.updateUserStoryArtifact,H=i.selectedArtifactId,L=i.isDisplayHighlightControl,W=i.elementDisplayConfig,z=i._resolvedConfig,O=i.showWrapper,F=void 0!==O&&O,V=i.segmentComponentConfig,G=i.actionItemsConfig,Q=f.useRequirementAI(),J=Q.searchQueryList,K=Q.citations,X=Q.customStyles,Y=null==X?void 0:X.userStoryCardStyles,Z=null===(o=null==X?void 0:X.userStoryScreenStyles)||void 0===o?void 0:o.userStoryContentStyles,$=null==Y?void 0:Y.progressHeaderStyles,ee=t.useState(e.__assign(e.__assign({},structuredClone(D)),{value:a.formatMarkdown(D.value)||""})),ne=ee[0],te=ee[1],se=t.useState({userStory:!1}),ie=se[0],re=se[1],oe=f.useRequirementAI(),le=oe.userStory,ae=oe.customIcons,ue=t.useState(""===M||H===D.artifactId),de=ue[0],ce=ue[1],ve=t.useState(!1);ve[0];var fe=ve[1],ge=t.useState(null),ye=ge[0],_e=ge[1],me=t.useState(null),he=me[0],pe=me[1],xe=t.useState(!1),Se=xe[0],Ce=xe[1],Ie=t.useRef(null),je=t.useState(!1);je[0];var we=je[1],Ne=t.useRef(null);t.useEffect(function(){w&&ce(w)},[w]),t.useEffect(function(){te(e.__assign(e.__assign({},structuredClone(D)),{value:a.formatMarkdown(D.value)||""}))},[D]),t.useEffect(function(){J.length>0?ce(!0):H&&ce(H===D.artifactId)},[J,H,D.artifactId]);var be=function(){_e(null)},Ue=function(){pe(null)},De=function(){ce(function(e){return!e})};var Be=null!=(null==D?void 0:D.big_enough)&&!Number.isNaN(D.big_enough)&&!!(null==D?void 0:D.big_enough_decision_factors),Me=null!=z?z:h(W,""===M);return n.jsxs("div",e.__assign({className:l.default.card,style:null==Y?void 0:Y.cardStyle,id:"story-card-".concat(D.title),"data-expanded":de},{children:[n.jsxs("div",e.__assign({className:l.default.titleSection,style:null==Y?void 0:Y.titleSection},{children:[n.jsxs("div",e.__assign({className:l.default.titleRow,style:null==Y?void 0:Y.titleRow,onClick:De},{children:[n.jsxs("div",e.__assign({className:l.default.titleLeft,style:null==Y?void 0:Y.titleLeft,onMouseEnter:function(){return we(!0)},onMouseLeave:function(){return we(!1)}},{children:[n.jsx(p,{displayName:b}),n.jsx("h2",e.__assign({className:l.default.storyTitle,style:null==Y?void 0:Y.storyTitle},{children:m(D.title)}),D.artifactId)]})),n.jsxs("div",e.__assign({className:l.default.titleActions,style:null==Y?void 0:Y.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[(Me.showProgressPercentage||Me.showGapBox)&&F&&n.jsxs("div",e.__assign({className:l.default.progressHeader,style:null==$?void 0:$.wrapper},{children:[Me.showProgressPercentage&&n.jsxs("div",e.__assign({className:l.default.progressPercentage,style:null==$?void 0:$.percentage},{children:[null!==(S=null!==(y=null==D?void 0:D.confidenceScore)&&void 0!==y?y:null==Me?void 0:Me.confidenceValue)&&void 0!==S?S:"0","%"]})),Me.showGapBox&&n.jsxs("div",e.__assign({className:l.default.gapBox,style:null==$?void 0:$.gapBox},{children:[null!==(I=null!==(C=null==D?void 0:D.gapValue)&&void 0!==C?C:null==Me?void 0:Me.gapBoxValue)&&void 0!==I?I:"2"," ","Gaps"]}))]})),Be&&n.jsx(g.BigEnoughPanel,{customIcons:null==ae?void 0:ae.userStoryIcons,customStyles:null==Y?void 0:Y.aiReasoningCitaionStyles,currentUserStory:D,panelStyles:null==Y?void 0:Y.BigEnoughStyles}),!ie.userStory&&n.jsxs(n.Fragment,{children:[!1!==(null==Me?void 0:Me.showShareButton)&&n.jsx("button",e.__assign({className:l.default.iconButton,style:null==Y?void 0:Y.iconButton,onClick:function(e){_e(e.currentTarget)}},{children:n.jsx(s.ExternalLink,{size:16})})),n.jsxs(r.Menu,e.__assign({id:"user-story-share-menu",anchorEl:ye,open:!!ye,onClose:function(){return _e(null)},style:null==Y?void 0:Y.userStoryShareMenu},{children:[q&&n.jsx(r.MenuItem,e.__assign({style:null==Y?void 0:Y.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return fe(!0),R?[4,Promise.all([R("pdf"),R("doc")])]:[2];case 1:return e.sent(),fe(!1),[2]}})})}},{children:n.jsxs("div",e.__assign({ref:Ie,className:l.default.menuItemContent,style:null==Y?void 0:Y.menuItemContent},{children:[n.jsx(s.Download,{size:16,color:null==Y?void 0:Y.menuIconColor}),n.jsx("p",e.__assign({style:null==Y?void 0:Y.menuLabel},{children:"Download"}))]}))})),n.jsx(r.MenuItem,e.__assign({style:null==Y?void 0:Y.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var n;return e.__generator(this,function(t){return n=D,U&&(n=e.__assign(e.__assign({},D),{value:"".concat(u.replaceTitleSection(null==U?void 0:U.value,D.title)," \n").concat(D.value)})),null==P||P(!0,[n],D.artifactId),be(),[2]})})}},{children:n.jsxs("div",e.__assign({style:null==Y?void 0:Y.menuItemContent,className:l.default.menuItemContentPadded},{children:[n.jsx(s.Share2,{size:16,color:null==Y?void 0:Y.menuIconColor}),n.jsx("p",e.__assign({style:null==Y?void 0:Y.menuLabel},{children:"Send"}))]}))})),n.jsx(r.MenuItem,e.__assign({style:null==Y?void 0:Y.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var n,t,s,i,r;return e.__generator(this,function(e){switch(e.label){case 0:n=new _.default.Converter,t=n.makeHtml(a.formatMarkdown(D.value)||D.value),s=function(e){var n=(new _.default.Converter).makeHtml(e),t=document.createElement("div");return t.innerHTML=n,t.textContent||t.innerText||""}(a.formatMarkdown(D.value)||D.value),i=new ClipboardItem({"text/plain":new Blob([s],{type:"text/plain"}),"text/html":new Blob([t],{type:"text/html"})}),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,navigator.clipboard.write([i])];case 2:return e.sent(),console.log("Copied User Story"),[3,5];case 3:return r=e.sent(),console.error("Failed to copy user story:",r),[3,5];case 4:return be(),[7];case 5:return[2]}})})}},{children:n.jsxs("div",e.__assign({style:null==Y?void 0:Y.menuItemContent,className:l.default.menuItemContentPadded},{children:[n.jsx(s.Copy,{size:16,color:null==Y?void 0:Y.menuIconColor}),n.jsx("p",e.__assign({style:null==Y?void 0:Y.menuLabel},{children:"Copy"}))]}))}))]}))]}),ie.userStory&&de?n.jsx(d.default,{type:"outline",children:"Cancel",style:null==Y?void 0:Y.cancelButton,onClick:function(){var n;null===(n=Ne.current)||void 0===n||n.abort(),re(function(n){return e.__assign(e.__assign({},n),{userStory:!1})})}}):n.jsx(n.Fragment,{}),ie.userStory&&de?n.jsx(d.default,{type:"fill",children:Se?n.jsxs("span",e.__assign({className:l.default.savingSpinner,style:null==Y?void 0:Y.savingSpinner},{children:[n.jsx(s.LoaderCircle,{className:l.default.spinAnimation,style:null==Y?void 0:Y.spinAnimation}),n.jsx("span",{children:"Saving..."})]})):"Save",isDisable:Se,style:Se?null==Y?void 0:Y.savingButton:null==Y?void 0:Y.saveButton,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var n;return e.__generator(this,function(t){switch(t.label){case 0:return Ce(!0),"userStory"==="userStory"&&(B(ne),console.log("I am changing RTE editor values",ne)),[4,T(K,le,N,null===(n=Ne.current)||void 0===n?void 0:n.signal)];case 1:return t.sent(),re(function(n){return e.__assign(e.__assign({},n),{userStory:!1})}),Ce(!1),[2]}})})}}):!A&&!E&&de&&!1!==(null==Me?void 0:Me.showEditButton)&&n.jsx("button",e.__assign({className:l.default.iconButton,style:null==Y?void 0:Y.editButton,onClick:function(){return re(function(n){return e.__assign(e.__assign({},n),{userStory:!0})})}},{children:n.jsx(s.PencilIcon,{color:null==Y?void 0:Y.pencilIconColor,size:16})})),(null==Me?void 0:Me.actionItemsButton)&&n.jsxs(n.Fragment,{children:[n.jsx("span",e.__assign({className:l.default.actionItemBtn,style:null==Y?void 0:Y.actionItemBtn,onClick:function(e){e.stopPropagation(),pe(e.currentTarget)}},{children:n.jsx(s.Ellipsis,{})})),n.jsx(r.Menu,e.__assign({id:"user-story-action-menu",anchorEl:he,open:!!he,onClose:Ue,style:null==Y?void 0:Y.userStoryShareMenu},{children:null==G?void 0:G.items.map(function(t,s){return n.jsx(r.MenuItem,e.__assign({style:null==Y?void 0:Y.userStoryMenuItem,onClick:function(){t.onclick(),Ue()}},{children:n.jsxs("div",e.__assign({className:l.default.menuItemContent,style:e.__assign(e.__assign({},null==Y?void 0:Y.menuItemContent),!t.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[n.jsx("span",e.__assign({className:l.default.menuItemIcon,style:null==Y?void 0:Y.menuItemIcon},{children:t.icon})),n.jsx("p",e.__assign({style:null==Y?void 0:Y.menuLabel},{children:t.name})),n.jsx("span",{className:l.default.menuItemRight,style:null==Y?void 0:Y.menuItemRight})]}))}),"action-item-".concat(s,"-").concat(t.name))})}))]}),n.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),De()},style:null==Y?void 0:Y.chevronButton,className:l.default.chevronButton},{children:de?n.jsx(s.ChevronUp,{className:l.default.chevronIcon,color:null==Y?void 0:Y.chevronIconColor}):n.jsx(s.ChevronDown,{className:l.default.chevronIcon,color:null==Y?void 0:Y.chevronIconColor})}))]}))]})),n.jsx("div",{className:l.default.divider,style:null==Y?void 0:Y.dividerStyle})]})),de&&n.jsx("div",e.__assign({className:l.default.cardContent,style:null==Y?void 0:Y.cardContentStyle},{children:n.jsxs("div",e.__assign({className:l.default.contentInner,style:null==Y?void 0:Y.contentInner},{children:[n.jsxs("div",e.__assign({className:l.default.descriptionSection,style:null==Y?void 0:Y.descriptionSection},{children:[n.jsx("div",{className:l.default.justifyBetween,style:null==Y?void 0:Y.justifyBetween}),ie.userStory?n.jsx(c.default,{minHeight:"100%",height:"100%",type:"string",value:a.formatMarkdown(D.value)||"",handleUpdateState:function(n,t){var s=a.indentMarkdown(t);te(function(n){return e.__assign(e.__assign({},n),{value:s||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:ie.userStory?"edit":"readOnly"}):n.jsx(v.default,{showUserStoryDiff:E,isParent:""===M,message:a.formatMarkdown(D.value)||"",artifactId:D.artifactId,customStyles:Z,isDisplayHighlightControl:L,segmentComponentConfig:V})]})),null===(j=ne.sub_features)||void 0===j?void 0:j.map(function(t,s){var i=h(W,!1,t.artifactId);return n.jsx(x,{artifactId:N,isUserStoryCurrentlyUpdated:w,artifactTitleId:"".concat(b,"-").concat(String.fromCharCode(65+s)),parentUserStory:D,parentIndex:"".concat(M).concat(M&&".").concat(k),currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!1,currentUserStory:t,onUserStoryChange:function(n){return function(n,t){var s=e.__spreadArray([],D.sub_features||[],!0);s[n]=t,B(e.__assign(e.__assign({},D),{sub_features:s}))}(s,n)},enableDownload:!0,isDiffEditReviewMode:A,showUserStoryDiff:E,updateUserStoryArtifact:T,handleDownloadUserStory:R,handleOpenSendDialog:P,isDisplayHighlightControl:L,elementDisplayConfig:W,_resolvedConfig:i,segmentComponentConfig:V,actionItemsConfig:G},t.artifactId)})]}))}))]}))};exports.StoryCard=x,exports.UserStoryCardWrapper=function(t){var i=t.artifactTitleIDs,r=t.isDiffEditReviewMode,o=t.showUserStoryDiff,a=t.updateUserStoryArtifact,u=t.isUserStoryCurrentlyUpdated,d=t.artifactId,c=t.handleOpenSendDialog,v=t.handleDownloadUserStory,g=t.selectedArtifactId,y=t.isDisplayHighlightControl,_=t.elementDisplayConfig,m=t.showWrapper,p=t.actionItemsConfig,S=f.useRequirementAI(),C=S.userStory,I=S.setUserStory,j=S.customStyles,w=S.searchQueryList,N=S.currentHighlightIndex,b=S.setCurrentHighlightIndex,U=S.segmentComponentConfig,D=null==j?void 0:j.userStoryCardStyles,B=0===N,M=N===w.length-1;return n.jsxs("div",e.__assign({className:l.default.userStoryCardWrapper,style:y?e.__assign(e.__assign({},null==D?void 0:D.userStoryCardWrapper),{position:"relative"}):null==D?void 0:D.userStoryCardWrapper},{children:[y&&n.jsx(n.Fragment,{children:w.length>0&&n.jsx("div",e.__assign({className:l.default.wrapper},{children:n.jsx("div",e.__assign({className:l.default.highlightNavigation},{children:n.jsxs("div",e.__assign({className:l.default.navigationContainer},{children:[n.jsxs("span",e.__assign({className:l.default.navCounter},{children:[N+1," of ",w.length]})),n.jsxs("div",e.__assign({className:l.default.navButtons},{children:[n.jsx("button",e.__assign({onClick:function(){N>0&&b(function(e){return e-1})},className:l.default.navButton,disabled:B},{children:n.jsx(s.ChevronUpIcon,{size:20,className:l.default.navIcon})})),n.jsx("button",e.__assign({onClick:function(){N<w.length-1&&b(function(e){return e+1})},className:l.default.navButton,disabled:M},{children:n.jsx(s.ChevronDownIcon,{size:20,className:l.default.navIcon})}))]}))]}))}))}))}),C.map(function(t,s){var l=h(_,!0);return n.jsx(x,{isUserStoryCurrentlyUpdated:u,artifactId:d,artifactTitleId:i[s]||"",currentUserStory:t,onUserStoryChange:function(n){I(function(t){return t[s]=n,e.__spreadArray([],t,!0)})},parentIndex:"",currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:r,showUserStoryDiff:o,updateUserStoryArtifact:a,handleOpenSendDialog:c,handleDownloadUserStory:v,selectedArtifactId:g,isDisplayHighlightControl:y,elementDisplayConfig:_,_resolvedConfig:l,showWrapper:m,segmentComponentConfig:U,actionItemsConfig:p},t.artifactId)})]}))},exports.default=x,exports.replaceLearnedTagsWithInfo=m;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),t=require("react/jsx-runtime"),n=require("react"),s=require("lucide-react"),i=require("showdown"),l=require("@mui/material"),o=require("uuid"),r=require("./UserStoryCard.module.css.js"),a=require("../../utils/helpers.js"),u=require("../../utils/user-story.utils.js"),d=require("../../shared/AtomicButton.js"),c=require("../RichTextEditor/RichTextEditor.js"),f=require("../userstory-with-citation/UserStoryWithCitation.js"),v=require("../RequirementAIWrapper/RequirementAIWrapper.js"),_=require("../story-screen/BigEnoughPanel.js"),g=require("./TitleEditor/TitleEditor.js");function y(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var h=y(i);function m(n){for(var i,r=[],a=/<learned>(.*?)<\/learned>/g,u=0,d=0;null!==(i=a.exec(n));){var c=i[1],f=i.index;f>u&&r.push(t.jsx("span",{children:n.slice(u,f)},"text-pre-".concat(d++))),r.push(t.jsx(l.Tooltip,e.__assign({title:c,placement:"top"},{children:t.jsx(s.Info,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(o.v4()))),u=a.lastIndex}return u<(null==n?void 0:n.length)&&r.push(t.jsx("span",{children:n.slice(u)},"text-post-".concat(d++))),r}function p(t,n,s){var i;if(!t)return{};if(n)return e.__assign({},t.parentConfig);var l=e.__assign({},t.childConfig);return s&&(null===(i=t.subFeatureOverrides)||void 0===i?void 0:i[s])?e.__assign(e.__assign({},l),t.subFeatureOverrides[s]):l}var S=function(n){var i,l=n.displayName,o=v.useRequirementAI().customStyles,a=null===(i=null==o?void 0:o.userStoryCardStyles)||void 0===i?void 0:i.showDisplayName;return t.jsxs("div",e.__assign({className:r.default.displayName,style:null==a?void 0:a.wrapper},{children:[t.jsx(s.Bookmark,{className:r.default.displayNameIcon,style:null==a?void 0:a.displayNameIcon}),t.jsxs("span",e.__assign({style:null==a?void 0:a.label},{children:[l,":"]}))]}))},x=function(i){var y,C,I,j,w,b,N,B=i.isUserStoryCurrentlyUpdated,D=i.artifactId,U=i.artifactTitleId,k=i.parentUserStory,E=i.currentUserStory,M=i.onUserStoryChange,A=i.parentIndex,T=i.currentIndex,q=i.enableDownload,P=i.isDiffEditReviewMode,R=i.showUserStoryDiff,L=i.handleDownloadUserStory,H=i.handleOpenSendDialog,W=i.updateUserStoryArtifact,z=i.selectedArtifactId,O=i.isDisplayHighlightControl,F=i.elementDisplayConfig,V=i._resolvedConfig,G=i.showWrapper,Q=void 0!==G&&G,Z=i.segmentComponentConfig,J=i.actionItemsConfig,K=i.onDelete,X=v.useRequirementAI(),Y=X.searchQueryList,$=X.citations,ee=X.customStyles,te=null==ee?void 0:ee.userStoryCardStyles,ne=null===(y=null==ee?void 0:ee.userStoryCardStyles)||void 0===y?void 0:y.userStoryEditStyles,se=null===(C=null==ee?void 0:ee.userStoryScreenStyles)||void 0===C?void 0:C.userStoryContentStyles,ie=null==te?void 0:te.progressHeaderStyles,le=n.useState(e.__assign(e.__assign({},structuredClone(E)),{value:a.formatMarkdown(E.value)||""})),oe=le[0],re=le[1],ae=n.useState({userStory:!!E.isDefaultEdit}),ue=ae[0],de=ae[1],ce=n.useState(!1),fe=ce[0],ve=ce[1],_e=n.useState(null),ge=_e[0],ye=_e[1],he=v.useRequirementAI(),me=he.userStory,pe=he.customIcons,Se=n.useState(""===A||z===E.artifactId||!!E.isDefaultOpen),xe=Se[0],Ce=Se[1],Ie=n.useState(!1);Ie[0];var je=Ie[1],we=n.useState(null),be=we[0],Ne=we[1],Be=n.useState(null),De=Be[0],Ue=Be[1],ke=n.useState(!1),Ee=ke[0],Me=ke[1],Ae=n.useRef(null),Te=n.useState(!1);Te[0];var qe=Te[1],Pe=n.useRef(null);n.useEffect(function(){B&&Ce(B)},[B]),n.useEffect(function(){re(e.__assign(e.__assign({},structuredClone(E)),{value:a.formatMarkdown(E.value)||""}))},[E]),n.useEffect(function(){Y.length>0?Ce(!0):z&&Ce(z===E.artifactId)},[Y,z,E.artifactId]);var Re=function(){Ne(null)},Le=function(){Ue(null)},He=function(){Ce(function(e){return!e})};var We=null!=(null==E?void 0:E.big_enough)&&!Number.isNaN(E.big_enough)&&!!(null==E?void 0:E.big_enough_decision_factors),ze=""===A,Oe=null!=V?V:p(F,ze),Fe=!P&&!R;return n.useEffect(function(){if(ge){var e=setTimeout(function(){var e=document.getElementById("story-card-".concat(ge));null==e||e.scrollIntoView({behavior:"smooth",block:"start"})},100);return function(){return clearTimeout(e)}}},[ge]),n.useEffect(function(){E.isDefaultEdit&&de(function(t){return e.__assign(e.__assign({},t),{userStory:!0})})},[E.isDefaultEdit]),t.jsxs("div",e.__assign({className:r.default.card,style:null==te?void 0:te.cardStyle,id:"story-card-".concat(E.title),"data-expanded":xe},{children:[t.jsxs("div",e.__assign({className:r.default.titleSection,style:null==te?void 0:te.titleSection},{children:[t.jsxs("div",e.__assign({className:r.default.titleRow,style:null==te?void 0:te.titleRow,onClick:He},{children:[t.jsxs("div",e.__assign({className:r.default.titleLeft,style:null==te?void 0:te.titleLeft,onMouseEnter:function(){return qe(!0)},onMouseLeave:function(){return qe(!1)}},{children:[t.jsx(S,{displayName:U}),fe&&Fe?t.jsx(g.InlineTitleEditor,{title:E.title,onSave:function(t){return function(t,n){return e.__awaiter(void 0,void 0,void 0,function(){var s,i;return e.__generator(this,function(l){try{s=e.__assign({},E),E.artifactId===n?s.title=t:s.sub_features=(null===(i=E.sub_features)||void 0===i?void 0:i.map(function(s){return s.artifactId===n?e.__assign(e.__assign({},s),{title:t}):s}))||[],re(s),M(s),ve(!1)}catch(e){console.error("Failed to save title",e)}return[2]})})}(t,E.artifactId)},onCancel:function(){ve(!1)},inputStyle:null==ne?void 0:ne.inlineTitleInput,confirmButtonStyle:null==ne?void 0:ne.inlineTitleConfirm,cancelButtonStyle:null==ne?void 0:ne.inlineTitleCancel},"inline-title-editor"):t.jsxs("div",e.__assign({className:r.default.storyTitleWrapper},{children:[t.jsx("h2",e.__assign({title:E.title,className:r.default.storyTitle,style:null==te?void 0:te.storyTitle},{children:m(E.title)}),E.artifactId),t.jsx("button",e.__assign({type:"button",className:r.default.titleEditButton,style:null==ne?void 0:ne.titleEditButton,onClick:function(e){e.stopPropagation(),ve(!0),xe||Ce(!0)},"aria-label":"Edit title",title:"Edit title"},{children:t.jsx("svg",e.__assign({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:t.jsx("path",{d:"M8.99998 14.9992H15.75M2.25 14.9992H3.50591C3.87279 14.9992 4.05624 14.9992 4.22887 14.9577C4.38192 14.921 4.52824 14.8604 4.66245 14.7782C4.81382 14.6854 4.94354 14.5557 5.20296 14.2962L14.625 4.87419C15.2463 4.25287 15.2463 3.24551 14.625 2.62419C14.0037 2.00287 12.9963 2.00287 12.375 2.62419L2.95295 12.0462C2.69352 12.3057 2.5638 12.4354 2.47104 12.5868C2.3888 12.721 2.32819 12.8673 2.29145 13.0203C2.25 13.193 2.25 13.3764 2.25 13.7433V14.9992Z",stroke:"#94A3B8","stroke-width":"1.54286","stroke-linecap":"round","stroke-linejoin":"round"})}))}))]}))]})),t.jsxs("div",e.__assign({className:r.default.titleActions,style:null==te?void 0:te.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[(Oe.showProgressPercentage||Oe.showGapBox)&&Q&&t.jsxs("div",e.__assign({className:r.default.progressHeader,style:null==ie?void 0:ie.wrapper},{children:[Oe.showProgressPercentage&&t.jsxs("div",e.__assign({className:r.default.progressPercentage,style:null==ie?void 0:ie.percentage},{children:[null!==(j=null!==(I=null==E?void 0:E.confidenceScore)&&void 0!==I?I:null==Oe?void 0:Oe.confidenceValue)&&void 0!==j?j:"0","%"]})),Oe.showGapBox&&t.jsxs("div",e.__assign({className:r.default.gapBox,style:null==ie?void 0:ie.gapBox},{children:[null!==(b=null!==(w=null==E?void 0:E.gapValue)&&void 0!==w?w:null==Oe?void 0:Oe.gapBoxValue)&&void 0!==b?b:"2"," ","Gaps"]}))]})),We&&t.jsx(_.BigEnoughPanel,{customIcons:null==pe?void 0:pe.userStoryIcons,customStyles:null==te?void 0:te.aiReasoningCitaionStyles,currentUserStory:E,panelStyles:null==te?void 0:te.BigEnoughStyles}),!ue.userStory&&t.jsxs(t.Fragment,{children:[!1!==(null==Oe?void 0:Oe.showShareButton)&&t.jsx("button",e.__assign({className:r.default.iconButton,style:null==te?void 0:te.iconButton,onClick:function(e){Ne(e.currentTarget)}},{children:t.jsx(s.ExternalLink,{size:16})})),t.jsxs(l.Menu,e.__assign({id:"user-story-share-menu",anchorEl:be,open:!!be,onClose:function(){return Ne(null)},style:null==te?void 0:te.userStoryShareMenu},{children:[q&&t.jsx(l.MenuItem,e.__assign({style:null==te?void 0:te.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){return e.__generator(this,function(e){switch(e.label){case 0:return je(!0),L?[4,Promise.all([L("pdf"),L("doc")])]:[2];case 1:return e.sent(),je(!1),[2]}})})}},{children:t.jsxs("div",e.__assign({ref:Ae,className:r.default.menuItemContent,style:null==te?void 0:te.menuItemContent},{children:[t.jsx(s.Download,{size:16,color:null==te?void 0:te.menuIconColor}),t.jsx("p",e.__assign({style:null==te?void 0:te.menuLabel},{children:"Download"}))]}))})),t.jsx(l.MenuItem,e.__assign({style:null==te?void 0:te.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){return t=E,k&&(t=e.__assign(e.__assign({},E),{value:"".concat(u.replaceTitleSection(null==k?void 0:k.value,E.title)," \n").concat(E.value)})),null==H||H(!0,[t],E.artifactId),Re(),[2]})})}},{children:t.jsxs("div",e.__assign({style:null==te?void 0:te.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(s.Share2,{size:16,color:null==te?void 0:te.menuIconColor}),t.jsx("p",e.__assign({style:null==te?void 0:te.menuLabel},{children:"Send"}))]}))})),t.jsx(l.MenuItem,e.__assign({style:null==te?void 0:te.userStoryMenuItem,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t,n,s,i,l;return e.__generator(this,function(e){switch(e.label){case 0:t=new h.default.Converter,n=t.makeHtml(a.formatMarkdown(E.value)||E.value),s=function(e){var t=(new h.default.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(a.formatMarkdown(E.value)||E.value),i=new ClipboardItem({"text/plain":new Blob([s],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})}),e.label=1;case 1:return e.trys.push([1,3,4,5]),[4,navigator.clipboard.write([i])];case 2:return e.sent(),console.log("Copied User Story"),[3,5];case 3:return l=e.sent(),console.error("Failed to copy user story:",l),[3,5];case 4:return Re(),[7];case 5:return[2]}})})}},{children:t.jsxs("div",e.__assign({style:null==te?void 0:te.menuItemContent,className:r.default.menuItemContentPadded},{children:[t.jsx(s.Copy,{size:16,color:null==te?void 0:te.menuIconColor}),t.jsx("p",e.__assign({style:null==te?void 0:te.menuLabel},{children:"Copy"}))]}))}))]}))]}),ue.userStory&&xe?t.jsx(d.default,{type:"outline",children:"Cancel",style:null==te?void 0:te.cancelButton,onClick:function(){var t;null===(t=Pe.current)||void 0===t||t.abort(),de(function(t){return e.__assign(e.__assign({},t),{userStory:!1})})}}):t.jsx(t.Fragment,{}),ue.userStory&&xe?t.jsx(d.default,{type:"fill",children:Ee?t.jsxs("span",e.__assign({className:r.default.savingSpinner,style:null==te?void 0:te.savingSpinner},{children:[t.jsx(s.LoaderCircle,{className:r.default.spinAnimation,style:null==te?void 0:te.spinAnimation}),t.jsx("span",{children:"Saving..."})]})):"Save",isDisable:Ee,style:Ee?null==te?void 0:te.savingButton:null==te?void 0:te.saveButton,onClick:function(){return e.__awaiter(void 0,void 0,void 0,function(){var t;return e.__generator(this,function(n){switch(n.label){case 0:return Me(!0),"userStory"==="userStory"&&(M(oe),console.log("I am changing RTE editor values",oe)),[4,W($,me,D,null===(t=Pe.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),M(e.__assign(e.__assign({},oe),{isDefaultEdit:!1})),de(function(t){return e.__assign(e.__assign({},t),{userStory:!1})}),Me(!1),[2]}})})}}):!P&&!R&&xe&&!1!==(null==Oe?void 0:Oe.showEditButton)&&t.jsx("button",e.__assign({className:r.default.iconButton,style:null==te?void 0:te.editButton,onClick:function(){return de(function(t){return e.__assign(e.__assign({},t),{userStory:!0})})}},{children:t.jsx(s.PencilIcon,{color:null==te?void 0:te.pencilIconColor,size:16})})),ze&&xe&&!P&&!R&&!1!==(null==Oe?void 0:Oe.showEditButton)&&t.jsxs("button",e.__assign({type:"button",className:r.default.addSectionButton,style:null==ne?void 0:ne.addSectionButton,onClick:function(t){var n,s,i;t.stopPropagation();var l=(null!==(s=null===(n=E.sub_features)||void 0===n?void 0:n.length)&&void 0!==s?s:0)+1,r={artifactId:o.v4(),title:"New Section ".concat(l),value:"Please add details for this section.",section:"subfeature",isDefaultOpen:!0},a=e.__assign(e.__assign({},E),{sub_features:e.__spreadArray(e.__spreadArray([],null!==(i=E.sub_features)&&void 0!==i?i:[],!0),[r],!1)});re(a),M(a),Ce(!0),ye(r.title)},"aria-label":"Add section",title:"Add section"},{children:[t.jsx(s.Plus,{size:14}),t.jsx("span",e.__assign({className:r.default.addSectionLabel},{children:"Add Section"}))]})),!ze&&!P&&!R&&t.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),null==K||K()},className:r.default.iconButton,style:null==ne?void 0:ne.deleteButton,"aria-label":"Delete section",title:"Delete section"},{children:t.jsx(s.Trash2,{size:16})})),(null==Oe?void 0:Oe.actionItemsButton)&&t.jsxs(t.Fragment,{children:[t.jsx("span",e.__assign({className:r.default.actionItemBtn,style:null==te?void 0:te.actionItemBtn,onClick:function(e){e.stopPropagation(),Ue(e.currentTarget)}},{children:t.jsx(s.Ellipsis,{})})),t.jsx(l.Menu,e.__assign({id:"user-story-action-menu",anchorEl:De,open:!!De,onClose:Le,style:null==te?void 0:te.userStoryShareMenu},{children:null==J?void 0:J.items.map(function(n,s){return t.jsx(l.MenuItem,e.__assign({style:null==te?void 0:te.userStoryMenuItem,onClick:function(){n.onclick(),Le()}},{children:t.jsxs("div",e.__assign({className:r.default.menuItemContent,style:e.__assign(e.__assign({},null==te?void 0:te.menuItemContent),!n.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[t.jsx("span",e.__assign({className:r.default.menuItemIcon,style:null==te?void 0:te.menuItemIcon},{children:n.icon})),t.jsx("p",e.__assign({style:null==te?void 0:te.menuLabel},{children:n.name})),t.jsx("span",{className:r.default.menuItemRight,style:null==te?void 0:te.menuItemRight})]}))}),"action-item-".concat(s,"-").concat(n.name))})}))]}),t.jsx("button",e.__assign({type:"button",onClick:function(e){e.stopPropagation(),He()},style:null==te?void 0:te.chevronButton,className:r.default.chevronButton},{children:xe?t.jsx(s.ChevronUp,{className:r.default.chevronIcon,color:null==te?void 0:te.chevronIconColor}):t.jsx(s.ChevronDown,{className:r.default.chevronIcon,color:null==te?void 0:te.chevronIconColor})}))]}))]})),t.jsx("div",{className:r.default.divider,style:null==te?void 0:te.dividerStyle})]})),xe&&t.jsx("div",e.__assign({className:r.default.cardContent,style:null==te?void 0:te.cardContentStyle},{children:t.jsxs("div",e.__assign({className:r.default.contentInner,style:null==te?void 0:te.contentInner},{children:[t.jsxs("div",e.__assign({className:r.default.descriptionSection,style:null==te?void 0:te.descriptionSection},{children:[t.jsx("div",{className:r.default.justifyBetween,style:null==te?void 0:te.justifyBetween}),ue.userStory?t.jsx(c.default,{minHeight:"100%",height:"100%",type:"string",value:a.formatMarkdown(E.value)||"",handleUpdateState:function(t,n){var s=a.indentMarkdown(n);re(function(t){return e.__assign(e.__assign({},t),{value:s||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:ue.userStory?"edit":"readOnly"}):t.jsx(f.default,{showUserStoryDiff:R,isParent:""===A,message:a.formatMarkdown(E.value)||"",artifactId:E.artifactId,customStyles:se,isDisplayHighlightControl:O,segmentComponentConfig:Z})]})),null===(N=oe.sub_features)||void 0===N?void 0:N.map(function(n,s){var i=p(F,!1,n.artifactId);return t.jsx(x,{artifactId:D,isUserStoryCurrentlyUpdated:B,artifactTitleId:"".concat(U,"-").concat(String.fromCharCode(65+s)),parentUserStory:E,parentIndex:"".concat(A).concat(A&&".").concat(T),currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(t){return function(t,n){var s=e.__spreadArray([],E.sub_features||[],!0);s[t]=n,M(e.__assign(e.__assign({},E),{sub_features:s}))}(s,t)},enableDownload:!0,isDiffEditReviewMode:P,showUserStoryDiff:R,updateUserStoryArtifact:W,handleDownloadUserStory:L,handleOpenSendDialog:H,isDisplayHighlightControl:O,elementDisplayConfig:F,_resolvedConfig:i,segmentComponentConfig:Z,actionItemsConfig:J,onDelete:function(){return function(t){var n=(E.sub_features||[]).filter(function(e,n){return n!==t}),s=e.__assign(e.__assign({},E),{sub_features:n});re(s),M(s)}(s)}},n.artifactId)})]}))}))]}))};exports.StoryCard=x,exports.UserStoryCardWrapper=function(n){var i=n.artifactTitleIDs,l=n.isDiffEditReviewMode,o=n.showUserStoryDiff,a=n.updateUserStoryArtifact,u=n.isUserStoryCurrentlyUpdated,d=n.artifactId,c=n.handleOpenSendDialog,f=n.handleDownloadUserStory,_=n.selectedArtifactId,g=n.isDisplayHighlightControl,y=n.elementDisplayConfig,h=n.showWrapper,m=n.actionItemsConfig,S=v.useRequirementAI(),C=S.userStory,I=S.setUserStory,j=S.customStyles,w=S.searchQueryList,b=S.currentHighlightIndex,N=S.setCurrentHighlightIndex,B=S.segmentComponentConfig,D=null==j?void 0:j.userStoryCardStyles,U=0===b,k=b===w.length-1;return t.jsxs("div",e.__assign({className:r.default.userStoryCardWrapper,style:g?e.__assign(e.__assign({},null==D?void 0:D.userStoryCardWrapper),{position:"relative"}):null==D?void 0:D.userStoryCardWrapper},{children:[g&&t.jsx(t.Fragment,{children:w.length>0&&t.jsx("div",e.__assign({className:r.default.wrapper},{children:t.jsx("div",e.__assign({className:r.default.highlightNavigation},{children:t.jsxs("div",e.__assign({className:r.default.navigationContainer},{children:[t.jsxs("span",e.__assign({className:r.default.navCounter},{children:[b+1," of ",w.length]})),t.jsxs("div",e.__assign({className:r.default.navButtons},{children:[t.jsx("button",e.__assign({onClick:function(){b>0&&N(function(e){return e-1})},className:r.default.navButton,disabled:U},{children:t.jsx(s.ChevronUpIcon,{size:20,className:r.default.navIcon})})),t.jsx("button",e.__assign({onClick:function(){b<w.length-1&&N(function(e){return e+1})},className:r.default.navButton,disabled:k},{children:t.jsx(s.ChevronDownIcon,{size:20,className:r.default.navIcon})}))]}))]}))}))}))}),C.map(function(n,s){var r=p(y,!0);return t.jsx(x,{isUserStoryCurrentlyUpdated:u,artifactId:d,artifactTitleId:i[s]||"",currentUserStory:n,onUserStoryChange:function(t){I(function(n){return n[s]=t,e.__spreadArray([],n,!0)})},parentIndex:"",currentIndex:"".concat(s+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:l,showUserStoryDiff:o,updateUserStoryArtifact:a,handleOpenSendDialog:c,handleDownloadUserStory:f,selectedArtifactId:_,isDisplayHighlightControl:g,elementDisplayConfig:y,_resolvedConfig:r,showWrapper:h,segmentComponentConfig:B,actionItemsConfig:m},n.artifactId)})]}))},exports.default=x,exports.replaceLearnedTagsWithInfo=m;
2
2
  //# sourceMappingURL=UserStoryCard.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const r=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;r&&e.setAttribute("nonce",r),e.appendChild(document.createTextNode(".UserStoryCard-module_card__9pErS{border:1px solid #e5e5e5;border-radius:.75rem;display:flex;flex:1;flex-direction:column;margin-bottom:auto;margin-left:auto;margin-right:auto;position:relative;width:100%}.UserStoryCard-module_titleSection__pGbpL{cursor:pointer;padding:.5rem 1rem;width:100%}.UserStoryCard-module_titleRow__TyEN9{align-items:center;display:flex;justify-content:space-between;margin-top:.5rem;position:relative;width:100%}.UserStoryCard-module_titleLeft__fzF6u{align-items:center;display:flex;font-family:Inter,sans-serif;gap:.5rem;max-width:66.666%}.UserStoryCard-module_titleActions__Dabx1{align-items:center;display:flex;gap:.5rem;width:fit-content}.UserStoryCard-module_divider__xG-FC{background-color:#ffffff4d;border-radius:9999px;height:.25rem;width:4rem}.UserStoryCard-module_displayName__Jj-HK{align-items:center;color:#4b5563;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem}.UserStoryCard-module_displayNameIcon__-SCM3{height:1rem;width:1rem}.UserStoryCard-module_storyTitle__FDX4p{color:#374151;flex:1;font-size:1rem;font-weight:600}.UserStoryCard-module_iconButton__DkfRA{align-items:center;background-color:#fff;border:1px solid #d1d5db;border-radius:.3rem;box-shadow:0 1px 2px #0000000d;cursor:pointer;display:flex;justify-content:center;padding:.4rem .8rem}.UserStoryCard-module_iconButton__DkfRA:hover{background-color:#f9fafb}.UserStoryCard-module_chevronButton__nxxYC{background:none;border:none;cursor:pointer;margin-left:.5rem;padding:.25rem}.UserStoryCard-module_chevronIcon__Azswy{color:#4b5563;height:1.5rem;width:1.5rem}.UserStoryCard-module_cardContent__rR2g3{border-top:1px solid #e5e5e5;max-height:fit-content;opacity:1;padding:1.5rem 2rem 2rem;transition:all .3s ease-in-out;width:100%}.UserStoryCard-module_contentInner__AYQbu{display:flex;flex-direction:column;gap:2.5rem;width:100%}.UserStoryCard-module_descriptionSection__5j6cg{align-items:flex-end;display:flex;flex-direction:column;gap:1rem;width:100%}.UserStoryCard-module_justifyBetween__cD-EG{display:flex;justify-content:space-between}.UserStoryCard-module_savingSpinner__UmbEq{align-items:center;color:#fff;display:flex;flex-direction:row;gap:.5rem}.UserStoryCard-module_spinAnimation__INSou{animation:UserStoryCard-module_spin__afcZ6 1s linear infinite}@keyframes UserStoryCard-module_spin__afcZ6{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.UserStoryCard-module_menuItemContent__U-ZxP{align-items:center;display:flex;flex-direction:row;gap:.5rem;margin-left:.25rem}.UserStoryCard-module_actionItemBtn__3jocB{font-size:18px;line-height:0}.UserStoryCard-module_menuItemIcon__BxrJU{align-items:center;display:inline-flex;margin-right:.5rem}.UserStoryCard-module_menuItemRight__Cjw2j{align-self:center;border-radius:50%;height:8px;margin-left:auto;width:8px}.UserStoryCard-module_wrapper__ahzRY{background-color:#fff;border-bottom:1px solid hsla(0,0%,50%,.126);display:flex;justify-content:flex-end;margin-bottom:4px;padding:5px 10px 5px 0;position:sticky;top:0;width:100%;z-index:1000}.UserStoryCard-module_highlightNavigation__vv8RW{width:max-content}.UserStoryCard-module_navigationContainer__2UcOj{align-items:center;border:1px solid hsla(0,0%,50%,.126);border-radius:10px;display:inline-flex;gap:8px;padding:6px 8px}.UserStoryCard-module_navButton__EWoVi{align-items:center;background:none;border:none;color:#374151;cursor:pointer;display:flex;justify-content:center;padding:2px;transition:color .15s ease}.UserStoryCard-module_navIcon__3ZSIH{height:20px;width:20px}.UserStoryCard-module_navCounter__sIIeS{color:#4b5563;font-size:17px;font-weight:500;letter-spacing:.01em;min-width:28px;text-align:center}.UserStoryCard-module_navButtons__6oLaN{display:flex;gap:0}.UserStoryCard-module_navButton__EWoVi:disabled{cursor:not-allowed;opacity:.4}.UserStoryCard-module_menuItemContentPadded__w6udq{align-items:center;display:flex;flex-direction:row;gap:.5rem;padding-left:.25rem}.UserStoryCard-module_userStoryCardWrapper__0gC-E{width:100%}.UserStoryCard-module_progressHeader__LBMsg{align-items:center;display:flex;gap:8px}.UserStoryCard-module_progressPercentage__brScW{background:#fff;border:1px solid #d0d5dd;border-radius:8px;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_gapBox__LkEiT{background:#fff7e6;border:1px solid #f7d58d;border-radius:8px;color:#b26b00;font-size:14px;font-weight:500;padding:4px 10px}"));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(e)}(),exports.default={card:"UserStoryCard-module_card__9pErS",titleSection:"UserStoryCard-module_titleSection__pGbpL",titleRow:"UserStoryCard-module_titleRow__TyEN9",titleLeft:"UserStoryCard-module_titleLeft__fzF6u",titleActions:"UserStoryCard-module_titleActions__Dabx1",divider:"UserStoryCard-module_divider__xG-FC",displayName:"UserStoryCard-module_displayName__Jj-HK",displayNameIcon:"UserStoryCard-module_displayNameIcon__-SCM3",storyTitle:"UserStoryCard-module_storyTitle__FDX4p",iconButton:"UserStoryCard-module_iconButton__DkfRA",chevronButton:"UserStoryCard-module_chevronButton__nxxYC",chevronIcon:"UserStoryCard-module_chevronIcon__Azswy",cardContent:"UserStoryCard-module_cardContent__rR2g3",contentInner:"UserStoryCard-module_contentInner__AYQbu",descriptionSection:"UserStoryCard-module_descriptionSection__5j6cg",justifyBetween:"UserStoryCard-module_justifyBetween__cD-EG",savingSpinner:"UserStoryCard-module_savingSpinner__UmbEq",spinAnimation:"UserStoryCard-module_spinAnimation__INSou",spin:"UserStoryCard-module_spin__afcZ6",menuItemContent:"UserStoryCard-module_menuItemContent__U-ZxP",actionItemBtn:"UserStoryCard-module_actionItemBtn__3jocB",menuItemIcon:"UserStoryCard-module_menuItemIcon__BxrJU",menuItemRight:"UserStoryCard-module_menuItemRight__Cjw2j",wrapper:"UserStoryCard-module_wrapper__ahzRY",highlightNavigation:"UserStoryCard-module_highlightNavigation__vv8RW",navigationContainer:"UserStoryCard-module_navigationContainer__2UcOj",navButton:"UserStoryCard-module_navButton__EWoVi",navIcon:"UserStoryCard-module_navIcon__3ZSIH",navCounter:"UserStoryCard-module_navCounter__sIIeS",navButtons:"UserStoryCard-module_navButtons__6oLaN",menuItemContentPadded:"UserStoryCard-module_menuItemContentPadded__w6udq",userStoryCardWrapper:"UserStoryCard-module_userStoryCardWrapper__0gC-E",progressHeader:"UserStoryCard-module_progressHeader__LBMsg",progressPercentage:"UserStoryCard-module_progressPercentage__brScW",gapBox:"UserStoryCard-module_gapBox__LkEiT"};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const r=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;r&&e.setAttribute("nonce",r),e.appendChild(document.createTextNode(".UserStoryCard-module_card__9pErS{border:1px solid #e5e5e5;border-radius:.75rem;display:flex;flex:1;flex-direction:column;margin-bottom:auto;margin-left:auto;margin-right:auto;position:relative;width:100%}.UserStoryCard-module_titleSection__pGbpL{cursor:pointer;padding:.5rem 1rem;width:100%}.UserStoryCard-module_titleRow__TyEN9{align-items:center;display:flex;justify-content:space-between;margin-top:.5rem;position:relative;width:100%}.UserStoryCard-module_titleLeft__fzF6u{align-items:center;display:flex;font-family:Inter,sans-serif;gap:.5rem;max-width:66.666%}.UserStoryCard-module_titleActions__Dabx1{align-items:center;display:flex;gap:.5rem;width:fit-content}.UserStoryCard-module_divider__xG-FC{background-color:#ffffff4d;border-radius:9999px;height:.25rem;width:4rem}.UserStoryCard-module_displayName__Jj-HK{align-items:center;color:#4b5563;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem}.UserStoryCard-module_displayNameIcon__-SCM3{height:1rem;width:1rem}.UserStoryCard-module_storyTitle__FDX4p{color:#374151;flex:1;font-size:1rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.UserStoryCard-module_iconButton__DkfRA{align-items:center;background-color:#fff;border:1px solid #d1d5db;border-radius:.3rem;box-shadow:0 1px 2px #0000000d;cursor:pointer;display:flex;justify-content:center;margin-left:.5rem;padding:.4rem .8rem}.UserStoryCard-module_iconButton__DkfRA:hover{background-color:#f9fafb}.UserStoryCard-module_chevronButton__nxxYC{background:none;border:none;cursor:pointer;margin-left:.5rem;padding:.25rem}.UserStoryCard-module_chevronIcon__Azswy{color:#4b5563;height:1.5rem;width:1.5rem}.UserStoryCard-module_cardContent__rR2g3{border-top:1px solid #e5e5e5;max-height:fit-content;opacity:1;padding:1.5rem 2rem 2rem;transition:all .3s ease-in-out;width:100%}.UserStoryCard-module_contentInner__AYQbu{display:flex;flex-direction:column;gap:2.5rem;width:100%}.UserStoryCard-module_descriptionSection__5j6cg{display:flex;flex-direction:column;gap:1rem;width:100%}.UserStoryCard-module_justifyBetween__cD-EG{display:flex;justify-content:space-between}.UserStoryCard-module_savingSpinner__UmbEq{align-items:center;color:#fff;display:flex;flex-direction:row;gap:.5rem}.UserStoryCard-module_spinAnimation__INSou{animation:UserStoryCard-module_spin__afcZ6 1s linear infinite}@keyframes UserStoryCard-module_spin__afcZ6{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.UserStoryCard-module_menuItemContent__U-ZxP{align-items:center;display:flex;flex-direction:row;gap:.5rem;margin-left:.25rem}.UserStoryCard-module_actionItemBtn__3jocB{font-size:18px;line-height:0}.UserStoryCard-module_menuItemIcon__BxrJU{align-items:center;display:inline-flex;margin-right:.5rem}.UserStoryCard-module_menuItemRight__Cjw2j{align-self:center;border-radius:50%;height:8px;margin-left:auto;width:8px}.UserStoryCard-module_wrapper__ahzRY{background-color:#fff;border-bottom:1px solid hsla(0,0%,50%,.126);display:flex;justify-content:flex-end;margin-bottom:4px;padding:5px 10px 5px 0;position:sticky;top:0;width:100%;z-index:1000}.UserStoryCard-module_highlightNavigation__vv8RW{width:max-content}.UserStoryCard-module_navigationContainer__2UcOj{align-items:center;border:1px solid hsla(0,0%,50%,.126);border-radius:10px;display:inline-flex;gap:8px;padding:6px 8px}.UserStoryCard-module_navButton__EWoVi{align-items:center;background:none;border:none;color:#374151;cursor:pointer;display:flex;justify-content:center;padding:2px;transition:color .15s ease}.UserStoryCard-module_navIcon__3ZSIH{height:20px;width:20px}.UserStoryCard-module_navCounter__sIIeS{color:#4b5563;font-size:17px;font-weight:500;letter-spacing:.01em;min-width:28px;text-align:center}.UserStoryCard-module_navButtons__6oLaN{display:flex;gap:0}.UserStoryCard-module_navButton__EWoVi:disabled{cursor:not-allowed;opacity:.4}.UserStoryCard-module_menuItemContentPadded__w6udq{align-items:center;display:flex;flex-direction:row;gap:.5rem;padding-left:.25rem}.UserStoryCard-module_userStoryCardWrapper__0gC-E{width:100%}.UserStoryCard-module_progressHeader__LBMsg{align-items:center;display:flex;gap:8px}.UserStoryCard-module_progressPercentage__brScW{background:#fff;border:1px solid #d0d5dd;border-radius:8px;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_gapBox__LkEiT{background:#fff7e6;border:1px solid #f7d58d;border-radius:8px;color:#b26b00;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_storyTitleWrapper__Ng-Th{align-items:center;display:flex;gap:6px;min-width:0}.UserStoryCard-module_titleEditButton__iJADR{align-items:center;background:#0000;border:none;border-radius:4px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;justify-content:center;opacity:1;padding:3px;transition:opacity .15s ease,background .15s ease,color .15s ease}.UserStoryCard-module_titleEditButton__iJADR:hover{background:var(--color-surface-hover,#f3f4f6);color:var(--color-primary,#4f46e5);opacity:1}.UserStoryCard-module_titleEditButton__iJADR:focus-visible{opacity:1;outline:2px solid var(--color-primary,#4f46e5);outline-offset:1px}.UserStoryCard-module_inlineTitleEditor__rdF-w{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.UserStoryCard-module_inlineTitleInput__Ft6mB{background:var(--color-surface,#fff);border:1.5px solid var(--color-primary,#4f46e5);border-radius:5px;color:var(--color-text-primary,#111827);flex:1;font-size:inherit;font-weight:600;line-height:1.4;min-width:0;outline:none;padding:3px 8px;transition:border-color .15s ease,box-shadow .15s ease}.UserStoryCard-module_inlineTitleInput__Ft6mB:focus{border-color:var(--color-primary,#4f46e5);box-shadow:0 0 0 3px #4f46e526}.UserStoryCard-module_inlineTitleConfirm__YTG-3{align-items:center;background:var(--color-primary,#4f46e5);border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;height:26px;justify-content:center;transition:background .15s ease,transform .1s ease;width:26px}.UserStoryCard-module_inlineTitleConfirm__YTG-3:hover:not(:disabled){background:var(--color-primary-dark,#4338ca)}.UserStoryCard-module_inlineTitleConfirm__YTG-3:active:not(:disabled){transform:scale(.93)}.UserStoryCard-module_inlineTitleConfirm__YTG-3:disabled{cursor:not-allowed;opacity:.45}.UserStoryCard-module_inlineTitleConfirm__YTG-3:focus-visible{outline:2px solid var(--color-primary,#4f46e5);outline-offset:2px}.UserStoryCard-module_inlineTitleCancel__clhBR{align-items:center;background:#0000;border:1.5px solid var(--color-border,#e5e7eb);border-radius:5px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;height:26px;justify-content:center;transition:background .15s ease,color .15s ease,border-color .15s ease;width:26px}.UserStoryCard-module_inlineTitleCancel__clhBR:hover{background:var(--color-surface-hover,#f3f4f6);border-color:var(--color-danger,#ef4444);color:var(--color-danger,#ef4444)}.UserStoryCard-module_inlineTitleCancel__clhBR:focus-visible{outline:2px solid var(--color-danger,#ef4444);outline-offset:2px}.UserStoryCard-module_addSectionButton__lBCWj{align-items:center;background:#0000;border:1.5px dashed var(--color-border,#d1d5db);border-radius:6px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:12px;font-weight:500;gap:5px;padding:6px 10px;transition:border-color .15s ease,color .15s ease,background .15s ease;white-space:nowrap}.UserStoryCard-module_addSectionButton__lBCWj:hover{background:var(--color-primary-subtle,#4f46e50d);border-color:var(--color-primary,#4f46e5);color:var(--color-primary,#4f46e5)}.UserStoryCard-module_addSectionButton__lBCWj:active{transform:scale(.97)}.UserStoryCard-module_addSectionButton__lBCWj:focus-visible{outline:2px solid var(--color-primary,#4f46e5);outline-offset:2px}.UserStoryCard-module_addSectionLabel__kUs2E{display:inline}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}(),exports.default={card:"UserStoryCard-module_card__9pErS",titleSection:"UserStoryCard-module_titleSection__pGbpL",titleRow:"UserStoryCard-module_titleRow__TyEN9",titleLeft:"UserStoryCard-module_titleLeft__fzF6u",titleActions:"UserStoryCard-module_titleActions__Dabx1",divider:"UserStoryCard-module_divider__xG-FC",displayName:"UserStoryCard-module_displayName__Jj-HK",displayNameIcon:"UserStoryCard-module_displayNameIcon__-SCM3",storyTitle:"UserStoryCard-module_storyTitle__FDX4p",iconButton:"UserStoryCard-module_iconButton__DkfRA",chevronButton:"UserStoryCard-module_chevronButton__nxxYC",chevronIcon:"UserStoryCard-module_chevronIcon__Azswy",cardContent:"UserStoryCard-module_cardContent__rR2g3",contentInner:"UserStoryCard-module_contentInner__AYQbu",descriptionSection:"UserStoryCard-module_descriptionSection__5j6cg",justifyBetween:"UserStoryCard-module_justifyBetween__cD-EG",savingSpinner:"UserStoryCard-module_savingSpinner__UmbEq",spinAnimation:"UserStoryCard-module_spinAnimation__INSou",spin:"UserStoryCard-module_spin__afcZ6",menuItemContent:"UserStoryCard-module_menuItemContent__U-ZxP",actionItemBtn:"UserStoryCard-module_actionItemBtn__3jocB",menuItemIcon:"UserStoryCard-module_menuItemIcon__BxrJU",menuItemRight:"UserStoryCard-module_menuItemRight__Cjw2j",wrapper:"UserStoryCard-module_wrapper__ahzRY",highlightNavigation:"UserStoryCard-module_highlightNavigation__vv8RW",navigationContainer:"UserStoryCard-module_navigationContainer__2UcOj",navButton:"UserStoryCard-module_navButton__EWoVi",navIcon:"UserStoryCard-module_navIcon__3ZSIH",navCounter:"UserStoryCard-module_navCounter__sIIeS",navButtons:"UserStoryCard-module_navButtons__6oLaN",menuItemContentPadded:"UserStoryCard-module_menuItemContentPadded__w6udq",userStoryCardWrapper:"UserStoryCard-module_userStoryCardWrapper__0gC-E",progressHeader:"UserStoryCard-module_progressHeader__LBMsg",progressPercentage:"UserStoryCard-module_progressPercentage__brScW",gapBox:"UserStoryCard-module_gapBox__LkEiT",storyTitleWrapper:"UserStoryCard-module_storyTitleWrapper__Ng-Th",titleEditButton:"UserStoryCard-module_titleEditButton__iJADR",inlineTitleEditor:"UserStoryCard-module_inlineTitleEditor__rdF-w",inlineTitleInput:"UserStoryCard-module_inlineTitleInput__Ft6mB",inlineTitleConfirm:"UserStoryCard-module_inlineTitleConfirm__YTG-3",inlineTitleCancel:"UserStoryCard-module_inlineTitleCancel__clhBR",addSectionButton:"UserStoryCard-module_addSectionButton__lBCWj",addSectionLabel:"UserStoryCard-module_addSectionLabel__kUs2E"};
2
2
  //# sourceMappingURL=UserStoryCard.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{__extends as t,__assign as e}from"tslib";import{ElementNode as r}from"lexical";var n=function(r){function n(t,e){void 0===t&&(t=crypto.randomUUID());var n=r.call(this,e)||this;return n.__reviewId=t,n}return t(n,r),n.getType=function(){return"delete"},n.clone=function(t){return new n(t.__reviewId,t.__key)},n.prototype.createDOM=function(){var t=document.createElement("del");return t.setAttribute("data-review-id",this.__reviewId),t.style.textDecoration="line-through",t.style.textDecorationColor="#dc2626",t.style.textDecorationThickness="2px",t.contentEditable="false",t},n.prototype.updateDOM=function(){return!1},n.importDOM=function(){return{del:function(){return{conversion:o,priority:1}}}},n.prototype.exportDOM=function(){var t=document.createElement("del");return t.setAttribute("data-review-id",this.__reviewId),t.style.color="#dc2626",t.style.textDecoration="line-through",t.style.textDecorationColor="#dc2626",t.style.textDecorationThickness="2px",{element:t}},n.importJSON=function(t){return new n(t.reviewId)},n.prototype.exportJSON=function(){return e(e({},r.prototype.exportJSON.call(this)),{type:"delete",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n.prototype.canBeEmpty=function(){return!1},n.prototype.canInsertTextBefore=function(){return!1},n.prototype.canInsertTextAfter=function(){return!1},n.prototype.canMergeWith=function(){return!1},n}(r);function o(t){var e=t.getAttribute("data-review-id")||crypto.randomUUID();return{node:new n(e)}}export{n as DeleteNode};
1
+ import{__extends as e,__assign as t}from"tslib";import{ElementNode as r}from"lexical";var n=function(r){function n(e,t){void 0===e&&(e=crypto.randomUUID());var n=r.call(this,t)||this;return n.__reviewId=e,n}return e(n,r),n.getType=function(){return"delete"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__delete-node",e.contentEditable="false",e},n.prototype.exportDOM=function(){var e=document.createElement("del");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__delete-node",{element:e}},n.prototype.updateDOM=function(){return!1},n.importDOM=function(){return{del:function(){return{conversion:o,priority:1}}}},n.importJSON=function(e){return new n(e.reviewId)},n.prototype.exportJSON=function(){return t(t({},r.prototype.exportJSON.call(this)),{type:"delete",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n.prototype.canBeEmpty=function(){return!1},n.prototype.canInsertTextBefore=function(){return!1},n.prototype.canInsertTextAfter=function(){return!1},n.prototype.canMergeWith=function(){return!1},n}(r);function o(e){var t=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new n(t)}}export{n as DeleteNode};
2
2
  //# sourceMappingURL=DeleteNode.js.map
@@ -1,2 +1,2 @@
1
- import{__extends as e,__assign as t}from"tslib";import{ElementNode as r}from"lexical";var n=function(r){function n(e,t){void 0===e&&(e=crypto.randomUUID());var n=r.call(this,t)||this;return n.__reviewId=e,n}return e(n,r),n.getType=function(){return"insert"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(e){var t=document.createElement("ins");return t.setAttribute("data-review-id",this.__reviewId),t.style.backgroundColor="#dbeafe",t.style.color="#1e3a8a",t.style.textDecoration="none",t.style.padding="1px 2px",t.style.borderRadius="2px",t},n.prototype.updateDOM=function(e,t,r){return e.__reviewId!==this.__reviewId},n.importDOM=function(){return{ins:function(){return{conversion:o,priority:1}}}},n.prototype.exportDOM=function(e){var t=document.createElement("ins");return t.setAttribute("data-review-id",this.__reviewId),t.style.backgroundColor="#dbeafe",t.style.color="#1e3a8a",t.style.textDecoration="none",t.style.padding="1px 2px",t.style.borderRadius="2px",{element:t}},n.importJSON=function(e){var t=new n(e.reviewId);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t},n.prototype.exportJSON=function(){return t(t({},r.prototype.exportJSON.call(this)),{type:"insert",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n}(r);function o(e){var t=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new n(t)}}export{n as InsertNode};
1
+ import{__extends as e,__assign as t}from"tslib";import{ElementNode as r}from"lexical";var n=function(r){function n(e,t){void 0===e&&(e=crypto.randomUUID());var n=r.call(this,t)||this;return n.__reviewId=e,n}return e(n,r),n.getType=function(){return"insert"},n.clone=function(e){return new n(e.__reviewId,e.__key)},n.prototype.createDOM=function(){var e=document.createElement("ins");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__insert-node",e},n.prototype.exportDOM=function(){var e=document.createElement("ins");return e.setAttribute("data-review-id",this.__reviewId),e.className="PlaygroundEditorTheme__insert-node",{element:e}},n.prototype.updateDOM=function(e,t,r){return e.__reviewId!==this.__reviewId},n.importDOM=function(){return{ins:function(){return{conversion:i,priority:1}}}},n.importJSON=function(e){var t=new n(e.reviewId);return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t},n.prototype.exportJSON=function(){return t(t({},r.prototype.exportJSON.call(this)),{type:"insert",version:1,reviewId:this.__reviewId})},n.prototype.isInline=function(){return!0},n}(r);function i(e){var t=e.getAttribute("data-review-id")||crypto.randomUUID();return{node:new n(t)}}export{n as InsertNode};
2
2
  //# sourceMappingURL=InsertNode.js.map
@@ -1,2 +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};
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}.PlaygroundEditorTheme__delete-node{text-decoration:var(--delete-node-text-decoration,line-through);text-decoration-color:var(--delete-node-decoration-color,#dc2626);text-decoration-thickness:var(--delete-node-decoration-thickness,2px)}.PlaygroundEditorTheme__insert-node{background-color:var(--insert-node-bg,#dbeafe);border-radius:var(--insert-node-border-radius,2px);color:var(--insert-node-color,#1e3a8a);padding:var(--insert-node-padding,1px 2px);text-decoration:var(--insert-node-text-decoration,none)}';!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
2
  //# sourceMappingURL=theme.css.js.map
@@ -1,2 +1,2 @@
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};
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"},deleteNode:"PlaygroundEditorTheme__delete-node",insertNode:"PlaygroundEditorTheme__insert-node"};export{e as default};
2
2
  //# sourceMappingURL=theme.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as e}from"tslib";import{jsx as t,Fragment as r}from"react/jsx-runtime";import{useRef as n,useState as o,useEffect as i}from"react";import{DEFAULT_TOOLBAR_CONFIG as a}from"./Editor/constants/editorConfig.js";import l from"./Editor/Editor.js";import{useRefStore as c}from"../../store/ref.context.js";import{$generateHtmlFromNodes as u}from"@lexical/html";import d from"turndown";import{tables as f}from"turndown-plugin-gfm";var m=new d({headingStyle:"atx",codeBlockStyle:"fenced"});m.keep(["ins","del","mark"]),m.keep(function(e){var t,r;return"A"===e.nodeName&&null!==(r=null===(t=e.getAttribute("href"))||void 0===t?void 0:t.includes("ai_reasoning$"))&&void 0!==r&&r}),m.addRule("md-table-passthrough",{filter:function(e){return"PRE"===e.nodeName&&"true"===e.getAttribute("data-md-table")},replacement:function(e,t){return t.textContent||""}}),m.use(f);var s=function(d){var f=d.type,s=d.value,h=d.handleUpdateState,p=d.onBlur,g=d.placeholder,v=d.minHeight,E=d.height,b=d.mode,w=d.doNotShowBorderInViewMode,A=n(null),x=o({type:f,value:s}),y=x[0],S=x[1],C=o(0),B=C[0],H=C[1],L=c(),N=L.contentRef;L.setContentRef;i(function(){S(function(t){return e(e({},t),{value:s})})},[s]);return i(function(){var e=function(){N&&N.current&&H(N.current.clientHeight-60)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[N]),t(r,{children:t(l,{minHeight:v,height:E,placeholder:g||"Enter some text...",onChange:function(e,t){e.read(function(){var e=u(t,null),r=(new DOMParser).parseFromString(e,"text/html");r.querySelectorAll("span").forEach(function(e){var t=e.getAttribute("style")||"";t.includes("background-color")&&t.includes("rgb(219, 234, 254)")&&e.setAttribute("data-review","insert"),t.includes("text-decoration")&&t.includes("line-through")&&e.setAttribute("data-review","delete")}),r.querySelectorAll("strong code").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll("code strong").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))});var n=[];r.querySelectorAll("table").forEach(function(e,t){n.push(e.outerHTML);var o=r.createElement("p");o.textContent="%%TABLE_".concat(t,"%%"),e.replaceWith(o)});var o=m.turndown(r.body.innerHTML);n.forEach(function(e,t){o=o.replace("%%TABLE\\_".concat(t,"%%"),"\n\n".concat(e,"\n\n"))}),function(e,t){h(e,t)}("prompt",o=o.replace(/\*{4}([^*]+)\*{4}/g,"**$1**"))})},toolbarConfig:a,editorRef:A,mode:b,initialString:{type:y.type,value:y.value},dynamicHeight:B,onBlur:p,doNotShowBorderInViewMode:w||!1})})};export{s as default};
1
+ import{__assign as e}from"tslib";import{jsx as t,Fragment as r}from"react/jsx-runtime";import{useRef as n,useState as o,useEffect as i}from"react";import{DEFAULT_TOOLBAR_CONFIG as a}from"./Editor/constants/editorConfig.js";import c from"./Editor/Editor.js";import{useRefStore as u}from"../../store/ref.context.js";import{$generateHtmlFromNodes as l}from"@lexical/html";import d from"turndown";import{tables as f}from"turndown-plugin-gfm";var s=new d({headingStyle:"atx",codeBlockStyle:"fenced"});s.keep(["ins","del","mark"]),s.keep(function(e){var t,r;return"A"===e.nodeName&&null!==(r=null===(t=e.getAttribute("href"))||void 0===t?void 0:t.includes("ai_reasoning$"))&&void 0!==r&&r}),s.addRule("md-table-passthrough",{filter:function(e){return"PRE"===e.nodeName&&"true"===e.getAttribute("data-md-table")},replacement:function(e,t){return t.textContent||""}}),s.use(f);var h=function(d){var f=d.type,h=d.value,m=d.handleUpdateState,p=d.onBlur,g=d.placeholder,v=d.minHeight,E=d.height,A=d.mode,w=d.doNotShowBorderInViewMode,y=n(null),b=o({type:f,value:h}),x=b[0],S=b[1],C=o(0),N=C[0],T=C[1],L=u(),_=L.contentRef;L.setContentRef;i(function(){S(function(t){return e(e({},t),{value:h})})},[h]);return i(function(){var e=function(){_&&_.current&&T(_.current.clientHeight-60)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[_]),t(r,{children:t(c,{minHeight:v,height:E,placeholder:g||"Enter some text...",onChange:function(e,t){e.read(function(){var e=l(t,null),r=(new DOMParser).parseFromString(e,"text/html");function n(e){return Array.from(e.childNodes).map(function(e){if(e.nodeType===Node.TEXT_NODE)return e.textContent||"";if(e.nodeType===Node.ELEMENT_NODE){var t=e,r=t.tagName.toLowerCase(),o=n(t);if("strong"===r||"b"===r)return o.startsWith("<strong>")&&o.endsWith("</strong>")?o:"<strong>".concat(o,"</strong>");if("em"===r||"i"===r)return o.startsWith("<em>")&&o.endsWith("</em>")?o:"<em>".concat(o,"</em>");if("code"===r)return"<code>".concat(o,"</code>");if("u"===r)return"<u>".concat(o,"</u>");if("s"===r)return"<s>".concat(o,"</s>");if("a"===r){var i=t.getAttribute("href")||"";return'<a href="'.concat(i,'">').concat(o,"</a>")}return o}return""}).join("")}r.querySelectorAll("span").forEach(function(e){var t=e.getAttribute("style")||"";t.includes("background-color")&&t.includes("rgb(219, 234, 254)")&&e.setAttribute("data-review","insert"),t.includes("text-decoration")&&t.includes("line-through")&&e.setAttribute("data-review","delete")}),r.querySelectorAll("strong code").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll("code strong").forEach(function(e){var t=e.parentElement;t&&t.replaceChild(document.createTextNode(e.textContent||""),e)}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))}),r.querySelectorAll('a[href*="ai_reasoning$"]').forEach(function(e){var t=e.getAttribute("href")||"";e.setAttribute("href",t.replace(/^https?:\/\//,""))}),r.querySelectorAll("ins[data-review-id], del[data-review-id]").forEach(function(e){e.innerHTML=n(e)});var o=[];r.querySelectorAll("ins[data-review-id], del[data-review-id]").forEach(function(e,t){o.push(e.outerHTML);var n=r.createElement("span");n.textContent="%%REVIEW_".concat(t,"%%"),e.replaceWith(n)});var i=[];r.querySelectorAll("table").forEach(function(e,t){i.push(e.outerHTML);var n=r.createElement("p");n.textContent="%%TABLE_".concat(t,"%%"),e.replaceWith(n)});var a=s.turndown(r.body.innerHTML);o.forEach(function(e,t){a=a.replace("%%REVIEW\\_".concat(t,"%%"),e)}),i.forEach(function(e,t){a=a.replace("%%TABLE\\_".concat(t,"%%"),"\n\n".concat(e,"\n\n"))}),function(e,t){m(e,t)}("prompt",a=a.replace(/\*{4}([^*]+)\*{4}/g,"**$1**"))})},toolbarConfig:a,editorRef:y,mode:A,initialString:{type:x.type,value:x.value},dynamicHeight:N,onBlur:p,doNotShowBorderInViewMode:w||!1})})};export{h as default};
2
2
  //# sourceMappingURL=RichTextEditor.js.map
@@ -0,0 +1,2 @@
1
+ import{__assign as t}from"tslib";import{jsxs as e,jsx as n}from"react/jsx-runtime";import{Check as i,X as o}from"lucide-react";import{useState as l,useRef as r,useEffect as a}from"react";import c from"../UserStoryCard.module.css.js";var u=function(u){var s=u.title,m=u.onSave,p=u.onCancel,f=u.inputStyle,d=u.confirmButtonStyle,y=u.cancelButtonStyle,v=l(s),C=v[0],b=v[1],g=r(null);a(function(){var t,e;null===(t=g.current)||void 0===t||t.focus(),null===(e=g.current)||void 0===e||e.select()},[]);return e("div",t({className:c.inlineTitleEditor,style:f,onClick:function(t){return t.stopPropagation()},onMouseDown:function(t){t.stopPropagation()}},{children:[n("input",{ref:g,type:"text",value:C,onChange:function(t){return b(t.target.value)},onClick:function(t){t.stopPropagation()},onMouseDown:function(t){t.stopPropagation()},onKeyDown:function(t){if("Enter"===t.key){t.preventDefault();var e=C.trim();e&&m(e)}else"Escape"===t.key&&(t.preventDefault(),p())},className:c.inlineTitleInput,style:f,maxLength:200,"aria-label":"Edit title"}),n("button",t({type:"button",className:c.inlineTitleConfirm,style:d,onClick:function(){var t=C.trim();t&&m(t)},disabled:!C.trim(),"aria-label":"Confirm title",title:"Confirm (Enter)"},{children:n(i,{size:14})})),n("button",t({type:"button",className:c.inlineTitleCancel,style:y,onClick:p,"aria-label":"Cancel edit",title:"Cancel (Escape)"},{children:n(o,{size:14})}))]}))};export{u as InlineTitleEditor};
2
+ //# sourceMappingURL=TitleEditor.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleEditor.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- import{__assign as e,__awaiter as n,__generator as t,__spreadArray as o}from"tslib";import{jsxs as r,jsx as i,Fragment as l}from"react/jsx-runtime";import{useState as s,useRef as a,useEffect as u}from"react";import{ExternalLink as c,Download as d,Share2 as v,Copy as m,LoaderCircle as y,PencilIcon as h,Ellipsis as f,ChevronUp as p,ChevronDown as g,ChevronUpIcon as S,ChevronDownIcon as C,Info as I,Bookmark as w}from"lucide-react";import N from"showdown";import{Menu as b,MenuItem as U,Tooltip as B}from"@mui/material";import{v4 as D}from"uuid";import x from"./UserStoryCard.module.css.js";import{formatMarkdown as k,indentMarkdown as M}from"../../utils/helpers.js";import{replaceTitleSection as A}from"../../utils/user-story.utils.js";import E from"../../shared/AtomicButton.js";import R from"../RichTextEditor/RichTextEditor.js";import H from"../userstory-with-citation/UserStoryWithCitation.js";import{useRequirementAI as P}from"../RequirementAIWrapper/RequirementAIWrapper.js";import{BigEnoughPanel as T}from"../story-screen/BigEnoughPanel.js";function j(n){for(var t,o=[],r=/<learned>(.*?)<\/learned>/g,l=0,s=0;null!==(t=r.exec(n));){var a=t[1],u=t.index;u>l&&o.push(i("span",{children:n.slice(l,u)},"text-pre-".concat(s++))),o.push(i(B,e({title:a,placement:"top"},{children:i(I,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(D()))),l=r.lastIndex}return l<(null==n?void 0:n.length)&&o.push(i("span",{children:n.slice(l)},"text-post-".concat(s++))),o}function _(n,t,o){var r;if(!n)return{};if(t)return e({},n.parentConfig);var i=e({},n.childConfig);return o&&(null===(r=n.subFeatureOverrides)||void 0===r?void 0:r[o])?e(e({},i),n.subFeatureOverrides[o]):i}var L=function(n){var t,o=n.displayName,l=P().customStyles,s=null===(t=null==l?void 0:l.userStoryCardStyles)||void 0===t?void 0:t.showDisplayName;return r("div",e({className:x.displayName,style:null==s?void 0:s.wrapper},{children:[i(w,{className:x.displayNameIcon,style:null==s?void 0:s.displayNameIcon}),r("span",e({style:null==s?void 0:s.label},{children:[o,":"]}))]}))},W=function(S){var C,I,w,B,D,z,O=S.isUserStoryCurrentlyUpdated,V=S.artifactId,F=S.artifactTitleId,G=S.parentUserStory,q=S.currentUserStory,Q=S.onUserStoryChange,J=S.parentIndex,K=S.currentIndex,X=S.enableDownload,Y=S.isDiffEditReviewMode,Z=S.showUserStoryDiff,$=S.handleDownloadUserStory,ee=S.handleOpenSendDialog,ne=S.updateUserStoryArtifact,te=S.selectedArtifactId,oe=S.isDisplayHighlightControl,re=S.elementDisplayConfig,ie=S._resolvedConfig,le=S.showWrapper,se=void 0!==le&&le,ae=S.segmentComponentConfig,ue=S.actionItemsConfig,ce=P(),de=ce.searchQueryList,ve=ce.citations,me=ce.customStyles,ye=null==me?void 0:me.userStoryCardStyles,he=null===(C=null==me?void 0:me.userStoryScreenStyles)||void 0===C?void 0:C.userStoryContentStyles,fe=null==ye?void 0:ye.progressHeaderStyles,pe=s(e(e({},structuredClone(q)),{value:k(q.value)||""})),ge=pe[0],Se=pe[1],Ce=s({userStory:!1}),Ie=Ce[0],we=Ce[1],Ne=P(),be=Ne.userStory,Ue=Ne.customIcons,Be=s(""===J||te===q.artifactId),De=Be[0],xe=Be[1],ke=s(!1);ke[0];var Me=ke[1],Ae=s(null),Ee=Ae[0],Re=Ae[1],He=s(null),Pe=He[0],Te=He[1],je=s(!1),_e=je[0],Le=je[1],We=a(null),ze=s(!1);ze[0];var Oe=ze[1],Ve=a(null);u(function(){O&&xe(O)},[O]),u(function(){Se(e(e({},structuredClone(q)),{value:k(q.value)||""}))},[q]),u(function(){de.length>0?xe(!0):te&&xe(te===q.artifactId)},[de,te,q.artifactId]);var Fe=function(){Re(null)},Ge=function(){Te(null)},qe=function(){xe(function(e){return!e})};var Qe=null!=(null==q?void 0:q.big_enough)&&!Number.isNaN(q.big_enough)&&!!(null==q?void 0:q.big_enough_decision_factors),Je=null!=ie?ie:_(re,""===J);return r("div",e({className:x.card,style:null==ye?void 0:ye.cardStyle,id:"story-card-".concat(q.title),"data-expanded":De},{children:[r("div",e({className:x.titleSection,style:null==ye?void 0:ye.titleSection},{children:[r("div",e({className:x.titleRow,style:null==ye?void 0:ye.titleRow,onClick:qe},{children:[r("div",e({className:x.titleLeft,style:null==ye?void 0:ye.titleLeft,onMouseEnter:function(){return Oe(!0)},onMouseLeave:function(){return Oe(!1)}},{children:[i(L,{displayName:F}),i("h2",e({className:x.storyTitle,style:null==ye?void 0:ye.storyTitle},{children:j(q.title)}),q.artifactId)]})),r("div",e({className:x.titleActions,style:null==ye?void 0:ye.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[(Je.showProgressPercentage||Je.showGapBox)&&se&&r("div",e({className:x.progressHeader,style:null==fe?void 0:fe.wrapper},{children:[Je.showProgressPercentage&&r("div",e({className:x.progressPercentage,style:null==fe?void 0:fe.percentage},{children:[null!==(w=null!==(I=null==q?void 0:q.confidenceScore)&&void 0!==I?I:null==Je?void 0:Je.confidenceValue)&&void 0!==w?w:"0","%"]})),Je.showGapBox&&r("div",e({className:x.gapBox,style:null==fe?void 0:fe.gapBox},{children:[null!==(D=null!==(B=null==q?void 0:q.gapValue)&&void 0!==B?B:null==Je?void 0:Je.gapBoxValue)&&void 0!==D?D:"2"," ","Gaps"]}))]})),Qe&&i(T,{customIcons:null==Ue?void 0:Ue.userStoryIcons,customStyles:null==ye?void 0:ye.aiReasoningCitaionStyles,currentUserStory:q,panelStyles:null==ye?void 0:ye.BigEnoughStyles}),!Ie.userStory&&r(l,{children:[!1!==(null==Je?void 0:Je.showShareButton)&&i("button",e({className:x.iconButton,style:null==ye?void 0:ye.iconButton,onClick:function(e){Re(e.currentTarget)}},{children:i(c,{size:16})})),r(b,e({id:"user-story-share-menu",anchorEl:Ee,open:!!Ee,onClose:function(){return Re(null)},style:null==ye?void 0:ye.userStoryShareMenu},{children:[X&&i(U,e({style:null==ye?void 0:ye.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){return t(this,function(e){switch(e.label){case 0:return Me(!0),$?[4,Promise.all([$("pdf"),$("doc")])]:[2];case 1:return e.sent(),Me(!1),[2]}})})}},{children:r("div",e({ref:We,className:x.menuItemContent,style:null==ye?void 0:ye.menuItemContent},{children:[i(d,{size:16,color:null==ye?void 0:ye.menuIconColor}),i("p",e({style:null==ye?void 0:ye.menuLabel},{children:"Download"}))]}))})),i(U,e({style:null==ye?void 0:ye.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var n;return t(this,function(t){return n=q,G&&(n=e(e({},q),{value:"".concat(A(null==G?void 0:G.value,q.title)," \n").concat(q.value)})),null==ee||ee(!0,[n],q.artifactId),Fe(),[2]})})}},{children:r("div",e({style:null==ye?void 0:ye.menuItemContent,className:x.menuItemContentPadded},{children:[i(v,{size:16,color:null==ye?void 0:ye.menuIconColor}),i("p",e({style:null==ye?void 0:ye.menuLabel},{children:"Send"}))]}))})),i(U,e({style:null==ye?void 0:ye.userStoryMenuItem,onClick:function(){return n(void 0,void 0,void 0,function(){var e,n,o,r,i;return t(this,function(t){switch(t.label){case 0:e=new N.Converter,n=e.makeHtml(k(q.value)||q.value),o=function(e){var n=(new N.Converter).makeHtml(e),t=document.createElement("div");return t.innerHTML=n,t.textContent||t.innerText||""}(k(q.value)||q.value),r=new ClipboardItem({"text/plain":new Blob([o],{type:"text/plain"}),"text/html":new Blob([n],{type:"text/html"})}),t.label=1;case 1:return t.trys.push([1,3,4,5]),[4,navigator.clipboard.write([r])];case 2:return t.sent(),console.log("Copied User Story"),[3,5];case 3:return i=t.sent(),console.error("Failed to copy user story:",i),[3,5];case 4:return Fe(),[7];case 5:return[2]}})})}},{children:r("div",e({style:null==ye?void 0:ye.menuItemContent,className:x.menuItemContentPadded},{children:[i(m,{size:16,color:null==ye?void 0:ye.menuIconColor}),i("p",e({style:null==ye?void 0:ye.menuLabel},{children:"Copy"}))]}))}))]}))]}),Ie.userStory&&De?i(E,{type:"outline",children:"Cancel",style:null==ye?void 0:ye.cancelButton,onClick:function(){var n;null===(n=Ve.current)||void 0===n||n.abort(),we(function(n){return e(e({},n),{userStory:!1})})}}):i(l,{}),Ie.userStory&&De?i(E,{type:"fill",children:_e?r("span",e({className:x.savingSpinner,style:null==ye?void 0:ye.savingSpinner},{children:[i(y,{className:x.spinAnimation,style:null==ye?void 0:ye.spinAnimation}),i("span",{children:"Saving..."})]})):"Save",isDisable:_e,style:_e?null==ye?void 0:ye.savingButton:null==ye?void 0:ye.saveButton,onClick:function(){return n(void 0,void 0,void 0,function(){var n;return t(this,function(t){switch(t.label){case 0:return Le(!0),"userStory"==="userStory"&&(Q(ge),console.log("I am changing RTE editor values",ge)),[4,ne(ve,be,V,null===(n=Ve.current)||void 0===n?void 0:n.signal)];case 1:return t.sent(),we(function(n){return e(e({},n),{userStory:!1})}),Le(!1),[2]}})})}}):!Y&&!Z&&De&&!1!==(null==Je?void 0:Je.showEditButton)&&i("button",e({className:x.iconButton,style:null==ye?void 0:ye.editButton,onClick:function(){return we(function(n){return e(e({},n),{userStory:!0})})}},{children:i(h,{color:null==ye?void 0:ye.pencilIconColor,size:16})})),(null==Je?void 0:Je.actionItemsButton)&&r(l,{children:[i("span",e({className:x.actionItemBtn,style:null==ye?void 0:ye.actionItemBtn,onClick:function(e){e.stopPropagation(),Te(e.currentTarget)}},{children:i(f,{})})),i(b,e({id:"user-story-action-menu",anchorEl:Pe,open:!!Pe,onClose:Ge,style:null==ye?void 0:ye.userStoryShareMenu},{children:null==ue?void 0:ue.items.map(function(n,t){return i(U,e({style:null==ye?void 0:ye.userStoryMenuItem,onClick:function(){n.onclick(),Ge()}},{children:r("div",e({className:x.menuItemContent,style:e(e({},null==ye?void 0:ye.menuItemContent),!n.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[i("span",e({className:x.menuItemIcon,style:null==ye?void 0:ye.menuItemIcon},{children:n.icon})),i("p",e({style:null==ye?void 0:ye.menuLabel},{children:n.name})),i("span",{className:x.menuItemRight,style:null==ye?void 0:ye.menuItemRight})]}))}),"action-item-".concat(t,"-").concat(n.name))})}))]}),i("button",e({type:"button",onClick:function(e){e.stopPropagation(),qe()},style:null==ye?void 0:ye.chevronButton,className:x.chevronButton},{children:i(De?p:g,{className:x.chevronIcon,color:null==ye?void 0:ye.chevronIconColor})}))]}))]})),i("div",{className:x.divider,style:null==ye?void 0:ye.dividerStyle})]})),De&&i("div",e({className:x.cardContent,style:null==ye?void 0:ye.cardContentStyle},{children:r("div",e({className:x.contentInner,style:null==ye?void 0:ye.contentInner},{children:[r("div",e({className:x.descriptionSection,style:null==ye?void 0:ye.descriptionSection},{children:[i("div",{className:x.justifyBetween,style:null==ye?void 0:ye.justifyBetween}),Ie.userStory?i(R,{minHeight:"100%",height:"100%",type:"string",value:k(q.value)||"",handleUpdateState:function(n,t){var o=M(t);Se(function(n){return e(e({},n),{value:o||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:Ie.userStory?"edit":"readOnly"}):i(H,{showUserStoryDiff:Z,isParent:""===J,message:k(q.value)||"",artifactId:q.artifactId,customStyles:he,isDisplayHighlightControl:oe,segmentComponentConfig:ae})]})),null===(z=ge.sub_features)||void 0===z?void 0:z.map(function(n,t){var r=_(re,!1,n.artifactId);return i(W,{artifactId:V,isUserStoryCurrentlyUpdated:O,artifactTitleId:"".concat(F,"-").concat(String.fromCharCode(65+t)),parentUserStory:q,parentIndex:"".concat(J).concat(J&&".").concat(K),currentIndex:"".concat(t+1),doNotShowBorderInViewMode:!1,currentUserStory:n,onUserStoryChange:function(n){return function(n,t){var r=o([],q.sub_features||[],!0);r[n]=t,Q(e(e({},q),{sub_features:r}))}(t,n)},enableDownload:!0,isDiffEditReviewMode:Y,showUserStoryDiff:Z,updateUserStoryArtifact:ne,handleDownloadUserStory:$,handleOpenSendDialog:ee,isDisplayHighlightControl:oe,elementDisplayConfig:re,_resolvedConfig:r,segmentComponentConfig:ae,actionItemsConfig:ue},n.artifactId)})]}))}))]}))},z=function(n){var t=n.artifactTitleIDs,s=n.isDiffEditReviewMode,a=n.showUserStoryDiff,u=n.updateUserStoryArtifact,c=n.isUserStoryCurrentlyUpdated,d=n.artifactId,v=n.handleOpenSendDialog,m=n.handleDownloadUserStory,y=n.selectedArtifactId,h=n.isDisplayHighlightControl,f=n.elementDisplayConfig,p=n.showWrapper,g=n.actionItemsConfig,I=P(),w=I.userStory,N=I.setUserStory,b=I.customStyles,U=I.searchQueryList,B=I.currentHighlightIndex,D=I.setCurrentHighlightIndex,k=I.segmentComponentConfig,M=null==b?void 0:b.userStoryCardStyles,A=0===B,E=B===U.length-1;return r("div",e({className:x.userStoryCardWrapper,style:h?e(e({},null==M?void 0:M.userStoryCardWrapper),{position:"relative"}):null==M?void 0:M.userStoryCardWrapper},{children:[h&&i(l,{children:U.length>0&&i("div",e({className:x.wrapper},{children:i("div",e({className:x.highlightNavigation},{children:r("div",e({className:x.navigationContainer},{children:[r("span",e({className:x.navCounter},{children:[B+1," of ",U.length]})),r("div",e({className:x.navButtons},{children:[i("button",e({onClick:function(){B>0&&D(function(e){return e-1})},className:x.navButton,disabled:A},{children:i(S,{size:20,className:x.navIcon})})),i("button",e({onClick:function(){B<U.length-1&&D(function(e){return e+1})},className:x.navButton,disabled:E},{children:i(C,{size:20,className:x.navIcon})}))]}))]}))}))}))}),w.map(function(e,n){var r=_(f,!0);return i(W,{isUserStoryCurrentlyUpdated:c,artifactId:d,artifactTitleId:t[n]||"",currentUserStory:e,onUserStoryChange:function(e){N(function(t){return t[n]=e,o([],t,!0)})},parentIndex:"",currentIndex:"".concat(n+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:s,showUserStoryDiff:a,updateUserStoryArtifact:u,handleOpenSendDialog:v,handleDownloadUserStory:m,selectedArtifactId:y,isDisplayHighlightControl:h,elementDisplayConfig:f,_resolvedConfig:r,showWrapper:p,segmentComponentConfig:k,actionItemsConfig:g},e.artifactId)})]}))};export{W as StoryCard,z as UserStoryCardWrapper,W as default,j as replaceLearnedTagsWithInfo};
1
+ import{__assign as e,__awaiter as t,__generator as n,__spreadArray as o}from"tslib";import{jsxs as i,jsx as l,Fragment as r}from"react/jsx-runtime";import{useState as a,useRef as s,useEffect as u}from"react";import{ExternalLink as c,Download as d,Share2 as v,Copy as m,LoaderCircle as f,PencilIcon as y,Plus as h,Trash2 as p,Ellipsis as S,ChevronUp as g,ChevronDown as C,ChevronUpIcon as I,ChevronDownIcon as w,Info as b,Bookmark as N}from"lucide-react";import B from"showdown";import{Menu as D,MenuItem as U,Tooltip as x}from"@mui/material";import{v4 as E}from"uuid";import k from"./UserStoryCard.module.css.js";import{formatMarkdown as T,indentMarkdown as A}from"../../utils/helpers.js";import{replaceTitleSection as M}from"../../utils/user-story.utils.js";import _ from"../../shared/AtomicButton.js";import P from"../RichTextEditor/RichTextEditor.js";import H from"../userstory-with-citation/UserStoryWithCitation.js";import{useRequirementAI as R}from"../RequirementAIWrapper/RequirementAIWrapper.js";import{BigEnoughPanel as j}from"../story-screen/BigEnoughPanel.js";import{InlineTitleEditor as L}from"./TitleEditor/TitleEditor.js";function z(t){for(var n,o=[],i=/<learned>(.*?)<\/learned>/g,r=0,a=0;null!==(n=i.exec(t));){var s=n[1],u=n.index;u>r&&o.push(l("span",{children:t.slice(r,u)},"text-pre-".concat(a++))),o.push(l(x,e({title:s,placement:"top"},{children:l(b,{size:16,className:"inline-block mx-1 text-blue-500 hover:text-blue-700 cursor"})}),"tooltip-".concat(E()))),r=i.lastIndex}return r<(null==t?void 0:t.length)&&o.push(l("span",{children:t.slice(r)},"text-post-".concat(a++))),o}function W(t,n,o){var i;if(!t)return{};if(n)return e({},t.parentConfig);var l=e({},t.childConfig);return o&&(null===(i=t.subFeatureOverrides)||void 0===i?void 0:i[o])?e(e({},l),t.subFeatureOverrides[o]):l}var O=function(t){var n,o=t.displayName,r=R().customStyles,a=null===(n=null==r?void 0:r.userStoryCardStyles)||void 0===n?void 0:n.showDisplayName;return i("div",e({className:k.displayName,style:null==a?void 0:a.wrapper},{children:[l(N,{className:k.displayNameIcon,style:null==a?void 0:a.displayNameIcon}),i("span",e({style:null==a?void 0:a.label},{children:[o,":"]}))]}))},V=function(I){var w,b,N,x,F,G,q,Q=I.isUserStoryCurrentlyUpdated,Z=I.artifactId,J=I.artifactTitleId,K=I.parentUserStory,X=I.currentUserStory,Y=I.onUserStoryChange,$=I.parentIndex,ee=I.currentIndex,te=I.enableDownload,ne=I.isDiffEditReviewMode,oe=I.showUserStoryDiff,ie=I.handleDownloadUserStory,le=I.handleOpenSendDialog,re=I.updateUserStoryArtifact,ae=I.selectedArtifactId,se=I.isDisplayHighlightControl,ue=I.elementDisplayConfig,ce=I._resolvedConfig,de=I.showWrapper,ve=void 0!==de&&de,me=I.segmentComponentConfig,fe=I.actionItemsConfig,ye=I.onDelete,he=R(),pe=he.searchQueryList,Se=he.citations,ge=he.customStyles,Ce=null==ge?void 0:ge.userStoryCardStyles,Ie=null===(w=null==ge?void 0:ge.userStoryCardStyles)||void 0===w?void 0:w.userStoryEditStyles,we=null===(b=null==ge?void 0:ge.userStoryScreenStyles)||void 0===b?void 0:b.userStoryContentStyles,be=null==Ce?void 0:Ce.progressHeaderStyles,Ne=a(e(e({},structuredClone(X)),{value:T(X.value)||""})),Be=Ne[0],De=Ne[1],Ue=a({userStory:!!X.isDefaultEdit}),xe=Ue[0],Ee=Ue[1],ke=a(!1),Te=ke[0],Ae=ke[1],Me=a(null),_e=Me[0],Pe=Me[1],He=R(),Re=He.userStory,je=He.customIcons,Le=a(""===$||ae===X.artifactId||!!X.isDefaultOpen),ze=Le[0],We=Le[1],Oe=a(!1);Oe[0];var Ve=Oe[1],Fe=a(null),Ge=Fe[0],qe=Fe[1],Qe=a(null),Ze=Qe[0],Je=Qe[1],Ke=a(!1),Xe=Ke[0],Ye=Ke[1],$e=s(null),et=a(!1);et[0];var tt=et[1],nt=s(null);u(function(){Q&&We(Q)},[Q]),u(function(){De(e(e({},structuredClone(X)),{value:T(X.value)||""}))},[X]),u(function(){pe.length>0?We(!0):ae&&We(ae===X.artifactId)},[pe,ae,X.artifactId]);var ot=function(){qe(null)},it=function(){Je(null)},lt=function(){We(function(e){return!e})};var rt=null!=(null==X?void 0:X.big_enough)&&!Number.isNaN(X.big_enough)&&!!(null==X?void 0:X.big_enough_decision_factors),at=""===$,st=null!=ce?ce:W(ue,at),ut=!ne&&!oe;return u(function(){if(_e){var e=setTimeout(function(){var e=document.getElementById("story-card-".concat(_e));null==e||e.scrollIntoView({behavior:"smooth",block:"start"})},100);return function(){return clearTimeout(e)}}},[_e]),u(function(){X.isDefaultEdit&&Ee(function(t){return e(e({},t),{userStory:!0})})},[X.isDefaultEdit]),i("div",e({className:k.card,style:null==Ce?void 0:Ce.cardStyle,id:"story-card-".concat(X.title),"data-expanded":ze},{children:[i("div",e({className:k.titleSection,style:null==Ce?void 0:Ce.titleSection},{children:[i("div",e({className:k.titleRow,style:null==Ce?void 0:Ce.titleRow,onClick:lt},{children:[i("div",e({className:k.titleLeft,style:null==Ce?void 0:Ce.titleLeft,onMouseEnter:function(){return tt(!0)},onMouseLeave:function(){return tt(!1)}},{children:[l(O,{displayName:J}),Te&&ut?l(L,{title:X.title,onSave:function(o){return function(o,i){return t(void 0,void 0,void 0,function(){var t,l;return n(this,function(n){try{t=e({},X),X.artifactId===i?t.title=o:t.sub_features=(null===(l=X.sub_features)||void 0===l?void 0:l.map(function(t){return t.artifactId===i?e(e({},t),{title:o}):t}))||[],De(t),Y(t),Ae(!1)}catch(e){console.error("Failed to save title",e)}return[2]})})}(o,X.artifactId)},onCancel:function(){Ae(!1)},inputStyle:null==Ie?void 0:Ie.inlineTitleInput,confirmButtonStyle:null==Ie?void 0:Ie.inlineTitleConfirm,cancelButtonStyle:null==Ie?void 0:Ie.inlineTitleCancel},"inline-title-editor"):i("div",e({className:k.storyTitleWrapper},{children:[l("h2",e({title:X.title,className:k.storyTitle,style:null==Ce?void 0:Ce.storyTitle},{children:z(X.title)}),X.artifactId),l("button",e({type:"button",className:k.titleEditButton,style:null==Ie?void 0:Ie.titleEditButton,onClick:function(e){e.stopPropagation(),Ae(!0),ze||We(!0)},"aria-label":"Edit title",title:"Edit title"},{children:l("svg",e({width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:l("path",{d:"M8.99998 14.9992H15.75M2.25 14.9992H3.50591C3.87279 14.9992 4.05624 14.9992 4.22887 14.9577C4.38192 14.921 4.52824 14.8604 4.66245 14.7782C4.81382 14.6854 4.94354 14.5557 5.20296 14.2962L14.625 4.87419C15.2463 4.25287 15.2463 3.24551 14.625 2.62419C14.0037 2.00287 12.9963 2.00287 12.375 2.62419L2.95295 12.0462C2.69352 12.3057 2.5638 12.4354 2.47104 12.5868C2.3888 12.721 2.32819 12.8673 2.29145 13.0203C2.25 13.193 2.25 13.3764 2.25 13.7433V14.9992Z",stroke:"#94A3B8","stroke-width":"1.54286","stroke-linecap":"round","stroke-linejoin":"round"})}))}))]}))]})),i("div",e({className:k.titleActions,style:null==Ce?void 0:Ce.titleActions,onClick:function(e){return e.stopPropagation()}},{children:[(st.showProgressPercentage||st.showGapBox)&&ve&&i("div",e({className:k.progressHeader,style:null==be?void 0:be.wrapper},{children:[st.showProgressPercentage&&i("div",e({className:k.progressPercentage,style:null==be?void 0:be.percentage},{children:[null!==(x=null!==(N=null==X?void 0:X.confidenceScore)&&void 0!==N?N:null==st?void 0:st.confidenceValue)&&void 0!==x?x:"0","%"]})),st.showGapBox&&i("div",e({className:k.gapBox,style:null==be?void 0:be.gapBox},{children:[null!==(G=null!==(F=null==X?void 0:X.gapValue)&&void 0!==F?F:null==st?void 0:st.gapBoxValue)&&void 0!==G?G:"2"," ","Gaps"]}))]})),rt&&l(j,{customIcons:null==je?void 0:je.userStoryIcons,customStyles:null==Ce?void 0:Ce.aiReasoningCitaionStyles,currentUserStory:X,panelStyles:null==Ce?void 0:Ce.BigEnoughStyles}),!xe.userStory&&i(r,{children:[!1!==(null==st?void 0:st.showShareButton)&&l("button",e({className:k.iconButton,style:null==Ce?void 0:Ce.iconButton,onClick:function(e){qe(e.currentTarget)}},{children:l(c,{size:16})})),i(D,e({id:"user-story-share-menu",anchorEl:Ge,open:!!Ge,onClose:function(){return qe(null)},style:null==Ce?void 0:Ce.userStoryShareMenu},{children:[te&&l(U,e({style:null==Ce?void 0:Ce.userStoryMenuItem,onClick:function(){return t(void 0,void 0,void 0,function(){return n(this,function(e){switch(e.label){case 0:return Ve(!0),ie?[4,Promise.all([ie("pdf"),ie("doc")])]:[2];case 1:return e.sent(),Ve(!1),[2]}})})}},{children:i("div",e({ref:$e,className:k.menuItemContent,style:null==Ce?void 0:Ce.menuItemContent},{children:[l(d,{size:16,color:null==Ce?void 0:Ce.menuIconColor}),l("p",e({style:null==Ce?void 0:Ce.menuLabel},{children:"Download"}))]}))})),l(U,e({style:null==Ce?void 0:Ce.userStoryMenuItem,onClick:function(){return t(void 0,void 0,void 0,function(){var t;return n(this,function(n){return t=X,K&&(t=e(e({},X),{value:"".concat(M(null==K?void 0:K.value,X.title)," \n").concat(X.value)})),null==le||le(!0,[t],X.artifactId),ot(),[2]})})}},{children:i("div",e({style:null==Ce?void 0:Ce.menuItemContent,className:k.menuItemContentPadded},{children:[l(v,{size:16,color:null==Ce?void 0:Ce.menuIconColor}),l("p",e({style:null==Ce?void 0:Ce.menuLabel},{children:"Send"}))]}))})),l(U,e({style:null==Ce?void 0:Ce.userStoryMenuItem,onClick:function(){return t(void 0,void 0,void 0,function(){var e,t,o,i,l;return n(this,function(n){switch(n.label){case 0:e=new B.Converter,t=e.makeHtml(T(X.value)||X.value),o=function(e){var t=(new B.Converter).makeHtml(e),n=document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""}(T(X.value)||X.value),i=new ClipboardItem({"text/plain":new Blob([o],{type:"text/plain"}),"text/html":new Blob([t],{type:"text/html"})}),n.label=1;case 1:return n.trys.push([1,3,4,5]),[4,navigator.clipboard.write([i])];case 2:return n.sent(),console.log("Copied User Story"),[3,5];case 3:return l=n.sent(),console.error("Failed to copy user story:",l),[3,5];case 4:return ot(),[7];case 5:return[2]}})})}},{children:i("div",e({style:null==Ce?void 0:Ce.menuItemContent,className:k.menuItemContentPadded},{children:[l(m,{size:16,color:null==Ce?void 0:Ce.menuIconColor}),l("p",e({style:null==Ce?void 0:Ce.menuLabel},{children:"Copy"}))]}))}))]}))]}),xe.userStory&&ze?l(_,{type:"outline",children:"Cancel",style:null==Ce?void 0:Ce.cancelButton,onClick:function(){var t;null===(t=nt.current)||void 0===t||t.abort(),Ee(function(t){return e(e({},t),{userStory:!1})})}}):l(r,{}),xe.userStory&&ze?l(_,{type:"fill",children:Xe?i("span",e({className:k.savingSpinner,style:null==Ce?void 0:Ce.savingSpinner},{children:[l(f,{className:k.spinAnimation,style:null==Ce?void 0:Ce.spinAnimation}),l("span",{children:"Saving..."})]})):"Save",isDisable:Xe,style:Xe?null==Ce?void 0:Ce.savingButton:null==Ce?void 0:Ce.saveButton,onClick:function(){return t(void 0,void 0,void 0,function(){var t;return n(this,function(n){switch(n.label){case 0:return Ye(!0),"userStory"==="userStory"&&(Y(Be),console.log("I am changing RTE editor values",Be)),[4,re(Se,Re,Z,null===(t=nt.current)||void 0===t?void 0:t.signal)];case 1:return n.sent(),Y(e(e({},Be),{isDefaultEdit:!1})),Ee(function(t){return e(e({},t),{userStory:!1})}),Ye(!1),[2]}})})}}):!ne&&!oe&&ze&&!1!==(null==st?void 0:st.showEditButton)&&l("button",e({className:k.iconButton,style:null==Ce?void 0:Ce.editButton,onClick:function(){return Ee(function(t){return e(e({},t),{userStory:!0})})}},{children:l(y,{color:null==Ce?void 0:Ce.pencilIconColor,size:16})})),at&&ze&&!ne&&!oe&&!1!==(null==st?void 0:st.showEditButton)&&i("button",e({type:"button",className:k.addSectionButton,style:null==Ie?void 0:Ie.addSectionButton,onClick:function(t){var n,i,l;t.stopPropagation();var r=(null!==(i=null===(n=X.sub_features)||void 0===n?void 0:n.length)&&void 0!==i?i:0)+1,a={artifactId:E(),title:"New Section ".concat(r),value:"Please add details for this section.",section:"subfeature",isDefaultOpen:!0},s=e(e({},X),{sub_features:o(o([],null!==(l=X.sub_features)&&void 0!==l?l:[],!0),[a],!1)});De(s),Y(s),We(!0),Pe(a.title)},"aria-label":"Add section",title:"Add section"},{children:[l(h,{size:14}),l("span",e({className:k.addSectionLabel},{children:"Add Section"}))]})),!at&&!ne&&!oe&&l("button",e({type:"button",onClick:function(e){e.stopPropagation(),null==ye||ye()},className:k.iconButton,style:null==Ie?void 0:Ie.deleteButton,"aria-label":"Delete section",title:"Delete section"},{children:l(p,{size:16})})),(null==st?void 0:st.actionItemsButton)&&i(r,{children:[l("span",e({className:k.actionItemBtn,style:null==Ce?void 0:Ce.actionItemBtn,onClick:function(e){e.stopPropagation(),Je(e.currentTarget)}},{children:l(S,{})})),l(D,e({id:"user-story-action-menu",anchorEl:Ze,open:!!Ze,onClose:it,style:null==Ce?void 0:Ce.userStoryShareMenu},{children:null==fe?void 0:fe.items.map(function(t,n){return l(U,e({style:null==Ce?void 0:Ce.userStoryMenuItem,onClick:function(){t.onclick(),it()}},{children:i("div",e({className:k.menuItemContent,style:e(e({},null==Ce?void 0:Ce.menuItemContent),!t.isActive&&{cursor:"not-allowed",opacity:.5})},{children:[l("span",e({className:k.menuItemIcon,style:null==Ce?void 0:Ce.menuItemIcon},{children:t.icon})),l("p",e({style:null==Ce?void 0:Ce.menuLabel},{children:t.name})),l("span",{className:k.menuItemRight,style:null==Ce?void 0:Ce.menuItemRight})]}))}),"action-item-".concat(n,"-").concat(t.name))})}))]}),l("button",e({type:"button",onClick:function(e){e.stopPropagation(),lt()},style:null==Ce?void 0:Ce.chevronButton,className:k.chevronButton},{children:l(ze?g:C,{className:k.chevronIcon,color:null==Ce?void 0:Ce.chevronIconColor})}))]}))]})),l("div",{className:k.divider,style:null==Ce?void 0:Ce.dividerStyle})]})),ze&&l("div",e({className:k.cardContent,style:null==Ce?void 0:Ce.cardContentStyle},{children:i("div",e({className:k.contentInner,style:null==Ce?void 0:Ce.contentInner},{children:[i("div",e({className:k.descriptionSection,style:null==Ce?void 0:Ce.descriptionSection},{children:[l("div",{className:k.justifyBetween,style:null==Ce?void 0:Ce.justifyBetween}),xe.userStory?l(P,{minHeight:"100%",height:"100%",type:"string",value:T(X.value)||"",handleUpdateState:function(t,n){var o=A(n);De(function(t){return e(e({},t),{value:o||""})})},doNotShowBorderInViewMode:!1,onBlur:function(){},mode:xe.userStory?"edit":"readOnly"}):l(H,{showUserStoryDiff:oe,isParent:""===$,message:T(X.value)||"",artifactId:X.artifactId,customStyles:we,isDisplayHighlightControl:se,segmentComponentConfig:me})]})),null===(q=Be.sub_features)||void 0===q?void 0:q.map(function(t,n){var i=W(ue,!1,t.artifactId);return l(V,{artifactId:Z,isUserStoryCurrentlyUpdated:Q,artifactTitleId:"".concat(J,"-").concat(String.fromCharCode(65+n)),parentUserStory:X,parentIndex:"".concat($).concat($&&".").concat(ee),currentIndex:"".concat(n+1),doNotShowBorderInViewMode:!1,currentUserStory:t,onUserStoryChange:function(t){return function(t,n){var i=o([],X.sub_features||[],!0);i[t]=n,Y(e(e({},X),{sub_features:i}))}(n,t)},enableDownload:!0,isDiffEditReviewMode:ne,showUserStoryDiff:oe,updateUserStoryArtifact:re,handleDownloadUserStory:ie,handleOpenSendDialog:le,isDisplayHighlightControl:se,elementDisplayConfig:ue,_resolvedConfig:i,segmentComponentConfig:me,actionItemsConfig:fe,onDelete:function(){return function(t){var n=(X.sub_features||[]).filter(function(e,n){return n!==t}),o=e(e({},X),{sub_features:n});De(o),Y(o)}(n)}},t.artifactId)})]}))}))]}))},F=function(t){var n=t.artifactTitleIDs,a=t.isDiffEditReviewMode,s=t.showUserStoryDiff,u=t.updateUserStoryArtifact,c=t.isUserStoryCurrentlyUpdated,d=t.artifactId,v=t.handleOpenSendDialog,m=t.handleDownloadUserStory,f=t.selectedArtifactId,y=t.isDisplayHighlightControl,h=t.elementDisplayConfig,p=t.showWrapper,S=t.actionItemsConfig,g=R(),C=g.userStory,b=g.setUserStory,N=g.customStyles,B=g.searchQueryList,D=g.currentHighlightIndex,U=g.setCurrentHighlightIndex,x=g.segmentComponentConfig,E=null==N?void 0:N.userStoryCardStyles,T=0===D,A=D===B.length-1;return i("div",e({className:k.userStoryCardWrapper,style:y?e(e({},null==E?void 0:E.userStoryCardWrapper),{position:"relative"}):null==E?void 0:E.userStoryCardWrapper},{children:[y&&l(r,{children:B.length>0&&l("div",e({className:k.wrapper},{children:l("div",e({className:k.highlightNavigation},{children:i("div",e({className:k.navigationContainer},{children:[i("span",e({className:k.navCounter},{children:[D+1," of ",B.length]})),i("div",e({className:k.navButtons},{children:[l("button",e({onClick:function(){D>0&&U(function(e){return e-1})},className:k.navButton,disabled:T},{children:l(I,{size:20,className:k.navIcon})})),l("button",e({onClick:function(){D<B.length-1&&U(function(e){return e+1})},className:k.navButton,disabled:A},{children:l(w,{size:20,className:k.navIcon})}))]}))]}))}))}))}),C.map(function(e,t){var i=W(h,!0);return l(V,{isUserStoryCurrentlyUpdated:c,artifactId:d,artifactTitleId:n[t]||"",currentUserStory:e,onUserStoryChange:function(e){b(function(n){return n[t]=e,o([],n,!0)})},parentIndex:"",currentIndex:"".concat(t+1),doNotShowBorderInViewMode:!0,enableDownload:!0,isDiffEditReviewMode:a,showUserStoryDiff:s,updateUserStoryArtifact:u,handleOpenSendDialog:v,handleDownloadUserStory:m,selectedArtifactId:f,isDisplayHighlightControl:y,elementDisplayConfig:h,_resolvedConfig:i,showWrapper:p,segmentComponentConfig:x,actionItemsConfig:S},e.artifactId)})]}))};export{V as StoryCard,F as UserStoryCardWrapper,V as default,z as replaceLearnedTagsWithInfo};
2
2
  //# sourceMappingURL=UserStoryCard.js.map
@@ -1,2 +1,2 @@
1
- var e={card:"UserStoryCard-module_card__9pErS",titleSection:"UserStoryCard-module_titleSection__pGbpL",titleRow:"UserStoryCard-module_titleRow__TyEN9",titleLeft:"UserStoryCard-module_titleLeft__fzF6u",titleActions:"UserStoryCard-module_titleActions__Dabx1",divider:"UserStoryCard-module_divider__xG-FC",displayName:"UserStoryCard-module_displayName__Jj-HK",displayNameIcon:"UserStoryCard-module_displayNameIcon__-SCM3",storyTitle:"UserStoryCard-module_storyTitle__FDX4p",iconButton:"UserStoryCard-module_iconButton__DkfRA",chevronButton:"UserStoryCard-module_chevronButton__nxxYC",chevronIcon:"UserStoryCard-module_chevronIcon__Azswy",cardContent:"UserStoryCard-module_cardContent__rR2g3",contentInner:"UserStoryCard-module_contentInner__AYQbu",descriptionSection:"UserStoryCard-module_descriptionSection__5j6cg",justifyBetween:"UserStoryCard-module_justifyBetween__cD-EG",savingSpinner:"UserStoryCard-module_savingSpinner__UmbEq",spinAnimation:"UserStoryCard-module_spinAnimation__INSou",spin:"UserStoryCard-module_spin__afcZ6",menuItemContent:"UserStoryCard-module_menuItemContent__U-ZxP",actionItemBtn:"UserStoryCard-module_actionItemBtn__3jocB",menuItemIcon:"UserStoryCard-module_menuItemIcon__BxrJU",menuItemRight:"UserStoryCard-module_menuItemRight__Cjw2j",wrapper:"UserStoryCard-module_wrapper__ahzRY",highlightNavigation:"UserStoryCard-module_highlightNavigation__vv8RW",navigationContainer:"UserStoryCard-module_navigationContainer__2UcOj",navButton:"UserStoryCard-module_navButton__EWoVi",navIcon:"UserStoryCard-module_navIcon__3ZSIH",navCounter:"UserStoryCard-module_navCounter__sIIeS",navButtons:"UserStoryCard-module_navButtons__6oLaN",menuItemContentPadded:"UserStoryCard-module_menuItemContentPadded__w6udq",userStoryCardWrapper:"UserStoryCard-module_userStoryCardWrapper__0gC-E",progressHeader:"UserStoryCard-module_progressHeader__LBMsg",progressPercentage:"UserStoryCard-module_progressPercentage__brScW",gapBox:"UserStoryCard-module_gapBox__LkEiT"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const r=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;r&&e.setAttribute("nonce",r),e.appendChild(document.createTextNode(".UserStoryCard-module_card__9pErS{border:1px solid #e5e5e5;border-radius:.75rem;display:flex;flex:1;flex-direction:column;margin-bottom:auto;margin-left:auto;margin-right:auto;position:relative;width:100%}.UserStoryCard-module_titleSection__pGbpL{cursor:pointer;padding:.5rem 1rem;width:100%}.UserStoryCard-module_titleRow__TyEN9{align-items:center;display:flex;justify-content:space-between;margin-top:.5rem;position:relative;width:100%}.UserStoryCard-module_titleLeft__fzF6u{align-items:center;display:flex;font-family:Inter,sans-serif;gap:.5rem;max-width:66.666%}.UserStoryCard-module_titleActions__Dabx1{align-items:center;display:flex;gap:.5rem;width:fit-content}.UserStoryCard-module_divider__xG-FC{background-color:#ffffff4d;border-radius:9999px;height:.25rem;width:4rem}.UserStoryCard-module_displayName__Jj-HK{align-items:center;color:#4b5563;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem}.UserStoryCard-module_displayNameIcon__-SCM3{height:1rem;width:1rem}.UserStoryCard-module_storyTitle__FDX4p{color:#374151;flex:1;font-size:1rem;font-weight:600}.UserStoryCard-module_iconButton__DkfRA{align-items:center;background-color:#fff;border:1px solid #d1d5db;border-radius:.3rem;box-shadow:0 1px 2px #0000000d;cursor:pointer;display:flex;justify-content:center;padding:.4rem .8rem}.UserStoryCard-module_iconButton__DkfRA:hover{background-color:#f9fafb}.UserStoryCard-module_chevronButton__nxxYC{background:none;border:none;cursor:pointer;margin-left:.5rem;padding:.25rem}.UserStoryCard-module_chevronIcon__Azswy{color:#4b5563;height:1.5rem;width:1.5rem}.UserStoryCard-module_cardContent__rR2g3{border-top:1px solid #e5e5e5;max-height:fit-content;opacity:1;padding:1.5rem 2rem 2rem;transition:all .3s ease-in-out;width:100%}.UserStoryCard-module_contentInner__AYQbu{display:flex;flex-direction:column;gap:2.5rem;width:100%}.UserStoryCard-module_descriptionSection__5j6cg{align-items:flex-end;display:flex;flex-direction:column;gap:1rem;width:100%}.UserStoryCard-module_justifyBetween__cD-EG{display:flex;justify-content:space-between}.UserStoryCard-module_savingSpinner__UmbEq{align-items:center;color:#fff;display:flex;flex-direction:row;gap:.5rem}.UserStoryCard-module_spinAnimation__INSou{animation:UserStoryCard-module_spin__afcZ6 1s linear infinite}@keyframes UserStoryCard-module_spin__afcZ6{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.UserStoryCard-module_menuItemContent__U-ZxP{align-items:center;display:flex;flex-direction:row;gap:.5rem;margin-left:.25rem}.UserStoryCard-module_actionItemBtn__3jocB{font-size:18px;line-height:0}.UserStoryCard-module_menuItemIcon__BxrJU{align-items:center;display:inline-flex;margin-right:.5rem}.UserStoryCard-module_menuItemRight__Cjw2j{align-self:center;border-radius:50%;height:8px;margin-left:auto;width:8px}.UserStoryCard-module_wrapper__ahzRY{background-color:#fff;border-bottom:1px solid hsla(0,0%,50%,.126);display:flex;justify-content:flex-end;margin-bottom:4px;padding:5px 10px 5px 0;position:sticky;top:0;width:100%;z-index:1000}.UserStoryCard-module_highlightNavigation__vv8RW{width:max-content}.UserStoryCard-module_navigationContainer__2UcOj{align-items:center;border:1px solid hsla(0,0%,50%,.126);border-radius:10px;display:inline-flex;gap:8px;padding:6px 8px}.UserStoryCard-module_navButton__EWoVi{align-items:center;background:none;border:none;color:#374151;cursor:pointer;display:flex;justify-content:center;padding:2px;transition:color .15s ease}.UserStoryCard-module_navIcon__3ZSIH{height:20px;width:20px}.UserStoryCard-module_navCounter__sIIeS{color:#4b5563;font-size:17px;font-weight:500;letter-spacing:.01em;min-width:28px;text-align:center}.UserStoryCard-module_navButtons__6oLaN{display:flex;gap:0}.UserStoryCard-module_navButton__EWoVi:disabled{cursor:not-allowed;opacity:.4}.UserStoryCard-module_menuItemContentPadded__w6udq{align-items:center;display:flex;flex-direction:row;gap:.5rem;padding-left:.25rem}.UserStoryCard-module_userStoryCardWrapper__0gC-E{width:100%}.UserStoryCard-module_progressHeader__LBMsg{align-items:center;display:flex;gap:8px}.UserStoryCard-module_progressPercentage__brScW{background:#fff;border:1px solid #d0d5dd;border-radius:8px;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_gapBox__LkEiT{background:#fff7e6;border:1px solid #f7d58d;border-radius:8px;color:#b26b00;font-size:14px;font-weight:500;padding:4px 10px}"));const t=document.head||document.getElementsByTagName("head")[0]||document.documentElement;t&&t.appendChild(e)}();export{e as default};
1
+ var e={card:"UserStoryCard-module_card__9pErS",titleSection:"UserStoryCard-module_titleSection__pGbpL",titleRow:"UserStoryCard-module_titleRow__TyEN9",titleLeft:"UserStoryCard-module_titleLeft__fzF6u",titleActions:"UserStoryCard-module_titleActions__Dabx1",divider:"UserStoryCard-module_divider__xG-FC",displayName:"UserStoryCard-module_displayName__Jj-HK",displayNameIcon:"UserStoryCard-module_displayNameIcon__-SCM3",storyTitle:"UserStoryCard-module_storyTitle__FDX4p",iconButton:"UserStoryCard-module_iconButton__DkfRA",chevronButton:"UserStoryCard-module_chevronButton__nxxYC",chevronIcon:"UserStoryCard-module_chevronIcon__Azswy",cardContent:"UserStoryCard-module_cardContent__rR2g3",contentInner:"UserStoryCard-module_contentInner__AYQbu",descriptionSection:"UserStoryCard-module_descriptionSection__5j6cg",justifyBetween:"UserStoryCard-module_justifyBetween__cD-EG",savingSpinner:"UserStoryCard-module_savingSpinner__UmbEq",spinAnimation:"UserStoryCard-module_spinAnimation__INSou",spin:"UserStoryCard-module_spin__afcZ6",menuItemContent:"UserStoryCard-module_menuItemContent__U-ZxP",actionItemBtn:"UserStoryCard-module_actionItemBtn__3jocB",menuItemIcon:"UserStoryCard-module_menuItemIcon__BxrJU",menuItemRight:"UserStoryCard-module_menuItemRight__Cjw2j",wrapper:"UserStoryCard-module_wrapper__ahzRY",highlightNavigation:"UserStoryCard-module_highlightNavigation__vv8RW",navigationContainer:"UserStoryCard-module_navigationContainer__2UcOj",navButton:"UserStoryCard-module_navButton__EWoVi",navIcon:"UserStoryCard-module_navIcon__3ZSIH",navCounter:"UserStoryCard-module_navCounter__sIIeS",navButtons:"UserStoryCard-module_navButtons__6oLaN",menuItemContentPadded:"UserStoryCard-module_menuItemContentPadded__w6udq",userStoryCardWrapper:"UserStoryCard-module_userStoryCardWrapper__0gC-E",progressHeader:"UserStoryCard-module_progressHeader__LBMsg",progressPercentage:"UserStoryCard-module_progressPercentage__brScW",gapBox:"UserStoryCard-module_gapBox__LkEiT",storyTitleWrapper:"UserStoryCard-module_storyTitleWrapper__Ng-Th",titleEditButton:"UserStoryCard-module_titleEditButton__iJADR",inlineTitleEditor:"UserStoryCard-module_inlineTitleEditor__rdF-w",inlineTitleInput:"UserStoryCard-module_inlineTitleInput__Ft6mB",inlineTitleConfirm:"UserStoryCard-module_inlineTitleConfirm__YTG-3",inlineTitleCancel:"UserStoryCard-module_inlineTitleCancel__clhBR",addSectionButton:"UserStoryCard-module_addSectionButton__lBCWj",addSectionLabel:"UserStoryCard-module_addSectionLabel__kUs2E"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const r=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;r&&e.setAttribute("nonce",r),e.appendChild(document.createTextNode(".UserStoryCard-module_card__9pErS{border:1px solid #e5e5e5;border-radius:.75rem;display:flex;flex:1;flex-direction:column;margin-bottom:auto;margin-left:auto;margin-right:auto;position:relative;width:100%}.UserStoryCard-module_titleSection__pGbpL{cursor:pointer;padding:.5rem 1rem;width:100%}.UserStoryCard-module_titleRow__TyEN9{align-items:center;display:flex;justify-content:space-between;margin-top:.5rem;position:relative;width:100%}.UserStoryCard-module_titleLeft__fzF6u{align-items:center;display:flex;font-family:Inter,sans-serif;gap:.5rem;max-width:66.666%}.UserStoryCard-module_titleActions__Dabx1{align-items:center;display:flex;gap:.5rem;width:fit-content}.UserStoryCard-module_divider__xG-FC{background-color:#ffffff4d;border-radius:9999px;height:.25rem;width:4rem}.UserStoryCard-module_displayName__Jj-HK{align-items:center;color:#4b5563;display:inline-flex;font-size:.875rem;font-weight:500;gap:.5rem}.UserStoryCard-module_displayNameIcon__-SCM3{height:1rem;width:1rem}.UserStoryCard-module_storyTitle__FDX4p{color:#374151;flex:1;font-size:1rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.UserStoryCard-module_iconButton__DkfRA{align-items:center;background-color:#fff;border:1px solid #d1d5db;border-radius:.3rem;box-shadow:0 1px 2px #0000000d;cursor:pointer;display:flex;justify-content:center;margin-left:.5rem;padding:.4rem .8rem}.UserStoryCard-module_iconButton__DkfRA:hover{background-color:#f9fafb}.UserStoryCard-module_chevronButton__nxxYC{background:none;border:none;cursor:pointer;margin-left:.5rem;padding:.25rem}.UserStoryCard-module_chevronIcon__Azswy{color:#4b5563;height:1.5rem;width:1.5rem}.UserStoryCard-module_cardContent__rR2g3{border-top:1px solid #e5e5e5;max-height:fit-content;opacity:1;padding:1.5rem 2rem 2rem;transition:all .3s ease-in-out;width:100%}.UserStoryCard-module_contentInner__AYQbu{display:flex;flex-direction:column;gap:2.5rem;width:100%}.UserStoryCard-module_descriptionSection__5j6cg{display:flex;flex-direction:column;gap:1rem;width:100%}.UserStoryCard-module_justifyBetween__cD-EG{display:flex;justify-content:space-between}.UserStoryCard-module_savingSpinner__UmbEq{align-items:center;color:#fff;display:flex;flex-direction:row;gap:.5rem}.UserStoryCard-module_spinAnimation__INSou{animation:UserStoryCard-module_spin__afcZ6 1s linear infinite}@keyframes UserStoryCard-module_spin__afcZ6{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.UserStoryCard-module_menuItemContent__U-ZxP{align-items:center;display:flex;flex-direction:row;gap:.5rem;margin-left:.25rem}.UserStoryCard-module_actionItemBtn__3jocB{font-size:18px;line-height:0}.UserStoryCard-module_menuItemIcon__BxrJU{align-items:center;display:inline-flex;margin-right:.5rem}.UserStoryCard-module_menuItemRight__Cjw2j{align-self:center;border-radius:50%;height:8px;margin-left:auto;width:8px}.UserStoryCard-module_wrapper__ahzRY{background-color:#fff;border-bottom:1px solid hsla(0,0%,50%,.126);display:flex;justify-content:flex-end;margin-bottom:4px;padding:5px 10px 5px 0;position:sticky;top:0;width:100%;z-index:1000}.UserStoryCard-module_highlightNavigation__vv8RW{width:max-content}.UserStoryCard-module_navigationContainer__2UcOj{align-items:center;border:1px solid hsla(0,0%,50%,.126);border-radius:10px;display:inline-flex;gap:8px;padding:6px 8px}.UserStoryCard-module_navButton__EWoVi{align-items:center;background:none;border:none;color:#374151;cursor:pointer;display:flex;justify-content:center;padding:2px;transition:color .15s ease}.UserStoryCard-module_navIcon__3ZSIH{height:20px;width:20px}.UserStoryCard-module_navCounter__sIIeS{color:#4b5563;font-size:17px;font-weight:500;letter-spacing:.01em;min-width:28px;text-align:center}.UserStoryCard-module_navButtons__6oLaN{display:flex;gap:0}.UserStoryCard-module_navButton__EWoVi:disabled{cursor:not-allowed;opacity:.4}.UserStoryCard-module_menuItemContentPadded__w6udq{align-items:center;display:flex;flex-direction:row;gap:.5rem;padding-left:.25rem}.UserStoryCard-module_userStoryCardWrapper__0gC-E{width:100%}.UserStoryCard-module_progressHeader__LBMsg{align-items:center;display:flex;gap:8px}.UserStoryCard-module_progressPercentage__brScW{background:#fff;border:1px solid #d0d5dd;border-radius:8px;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_gapBox__LkEiT{background:#fff7e6;border:1px solid #f7d58d;border-radius:8px;color:#b26b00;font-size:14px;font-weight:500;padding:4px 10px}.UserStoryCard-module_storyTitleWrapper__Ng-Th{align-items:center;display:flex;gap:6px;min-width:0}.UserStoryCard-module_titleEditButton__iJADR{align-items:center;background:#0000;border:none;border-radius:4px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;justify-content:center;opacity:1;padding:3px;transition:opacity .15s ease,background .15s ease,color .15s ease}.UserStoryCard-module_titleEditButton__iJADR:hover{background:var(--color-surface-hover,#f3f4f6);color:var(--color-primary,#4f46e5);opacity:1}.UserStoryCard-module_titleEditButton__iJADR:focus-visible{opacity:1;outline:2px solid var(--color-primary,#4f46e5);outline-offset:1px}.UserStoryCard-module_inlineTitleEditor__rdF-w{align-items:center;display:flex;flex:1;gap:4px;min-width:0}.UserStoryCard-module_inlineTitleInput__Ft6mB{background:var(--color-surface,#fff);border:1.5px solid var(--color-primary,#4f46e5);border-radius:5px;color:var(--color-text-primary,#111827);flex:1;font-size:inherit;font-weight:600;line-height:1.4;min-width:0;outline:none;padding:3px 8px;transition:border-color .15s ease,box-shadow .15s ease}.UserStoryCard-module_inlineTitleInput__Ft6mB:focus{border-color:var(--color-primary,#4f46e5);box-shadow:0 0 0 3px #4f46e526}.UserStoryCard-module_inlineTitleConfirm__YTG-3{align-items:center;background:var(--color-primary,#4f46e5);border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-flex;flex-shrink:0;height:26px;justify-content:center;transition:background .15s ease,transform .1s ease;width:26px}.UserStoryCard-module_inlineTitleConfirm__YTG-3:hover:not(:disabled){background:var(--color-primary-dark,#4338ca)}.UserStoryCard-module_inlineTitleConfirm__YTG-3:active:not(:disabled){transform:scale(.93)}.UserStoryCard-module_inlineTitleConfirm__YTG-3:disabled{cursor:not-allowed;opacity:.45}.UserStoryCard-module_inlineTitleConfirm__YTG-3:focus-visible{outline:2px solid var(--color-primary,#4f46e5);outline-offset:2px}.UserStoryCard-module_inlineTitleCancel__clhBR{align-items:center;background:#0000;border:1.5px solid var(--color-border,#e5e7eb);border-radius:5px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;height:26px;justify-content:center;transition:background .15s ease,color .15s ease,border-color .15s ease;width:26px}.UserStoryCard-module_inlineTitleCancel__clhBR:hover{background:var(--color-surface-hover,#f3f4f6);border-color:var(--color-danger,#ef4444);color:var(--color-danger,#ef4444)}.UserStoryCard-module_inlineTitleCancel__clhBR:focus-visible{outline:2px solid var(--color-danger,#ef4444);outline-offset:2px}.UserStoryCard-module_addSectionButton__lBCWj{align-items:center;background:#0000;border:1.5px dashed var(--color-border,#d1d5db);border-radius:6px;color:var(--color-text-secondary,#6b7280);cursor:pointer;display:inline-flex;flex-shrink:0;font-size:12px;font-weight:500;gap:5px;padding:6px 10px;transition:border-color .15s ease,color .15s ease,background .15s ease;white-space:nowrap}.UserStoryCard-module_addSectionButton__lBCWj:hover{background:var(--color-primary-subtle,#4f46e50d);border-color:var(--color-primary,#4f46e5);color:var(--color-primary,#4f46e5)}.UserStoryCard-module_addSectionButton__lBCWj:active{transform:scale(.97)}.UserStoryCard-module_addSectionButton__lBCWj:focus-visible{outline:2px solid var(--color-primary,#4f46e5);outline-offset:2px}.UserStoryCard-module_addSectionLabel__kUs2E{display:inline}"));const o=document.head||document.getElementsByTagName("head")[0]||document.documentElement;o&&o.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=UserStoryCard.module.css.js.map
@@ -250,6 +250,16 @@ export interface RequirementAICustomStyles {
250
250
  percentage?: React.CSSProperties;
251
251
  gapBox?: React.CSSProperties;
252
252
  };
253
+ userStoryEditStyles?: {
254
+ titleEditButton?: React.CSSProperties;
255
+ inlineTitleEditor?: React.CSSProperties;
256
+ inlineTitleInput?: React.CSSProperties;
257
+ inlineTitleConfirm?: React.CSSProperties;
258
+ inlineTitleCancel?: React.CSSProperties;
259
+ addSectionButton?: React.CSSProperties;
260
+ addSectionLabel?: React.CSSProperties;
261
+ deleteButton?: React.CSSProperties;
262
+ };
253
263
  };
254
264
  gapSidebar?: GapSidebarCustomStyles;
255
265
  PartialRequirementContentStyles?: {
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAkC,MAAM,OAAO,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACnF,OAAO,EACL,uBAAuB,EACvB,0BAA0B,EAC1B,wBAAwB,EACxB,uBAAuB,EACvB,wBAAwB,EACxB,uBAAuB,EACvB,kBAAkB,EAClB,kBAAkB,EAClB,mBAAmB,EACnB,oBAAoB,EACpB,qBAAqB,EACrB,0BAA0B,EAC1B,aAAa,EACb,qBAAqB,EACrB,YAAY,EACZ,cAAc,EACd,sBAAsB,EACvB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAE3G,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,8CAA8C,CAAC;AAC7G,OAAO,EAAE,iCAAiC,EAAE,MAAM,kDAAkD,CAAC;AACrG,OAAO,EAAY,uBAAuB,EAAgB,MAAM,0BAA0B,CAAC;AAE3F,MAAM,WAAW,yBAAyB;IACxC,qBAAqB,CAAC,EA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,kBAAkB,CAAC,CAAC,CAAC;IAEvE,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,0BAA0B,EAAE,MAAM,EAAE,CAAC;IAErC,gBAAgB,EAAE,qBAAqB,CAAC,kBAAkB,CAAC,CAAC;IAC5D,YAAY,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAC;IACrD,WAAW,CAAC,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACnD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8BAA8B,CAAC,EAAE,0BAA0B,CAAC;IAC5D,kBAAkB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC5C,2BAA2B,CAAC,EAAE;QAC5B,4BAA4B,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QACrG,sBAAsB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QAC/F,sBAAsB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;KAC/F,CAAA;IACD,sBAAsB,CAAC,EAAE,uBAAuB,CAAA;CACjD;AAID,QAAA,MAAM,oBAAoB,yWAqBvB,yBAAyB,4CAwE3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
1
+ {"version":3,"file":"RequirementAIWrapper.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RequirementAIWrapper/RequirementAIWrapper.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAA6B,SAAS,EAAkC,MAAM,OAAO,CAAC;AACpG,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AACnF,O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CAAC;IAC5D,YAAY,CAAC,EAAE,qBAAqB,CAAC,cAAc,CAAC,CAAC;IACrD,WAAW,CAAC,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAC;IACnD,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,8BAA8B,CAAC,EAAE,0BAA0B,CAAC;IAC5D,kBAAkB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAC;IAC5C,2BAA2B,CAAC,EAAE;QAC5B,4BAA4B,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QACrG,sBAAsB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC;QAC/F,sBAAsB,CAAC,EAAE,CAAC,CAAC,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE,YAAY,KAAK,IAAI,CAAC,GAAG,SAAS,CAAA;KAC/F,CAAA;IACD,sBAAsB,CAAC,EAAE,uBAAuB,CAAA;CACjD;AAID,QAAA,MAAM,oBAAoB,yWAqBvB,yBAAyB,4CAwE3B,CAAC;AAEF,eAAO,MAAM,gBAAgB,6BAU5B,CAAC;AAEF,eAAe,oBAAoB,CAAC"}
@@ -10,11 +10,11 @@ export declare class DeleteNode extends ElementNode {
10
10
  static clone(node: DeleteNode): DeleteNode;
11
11
  constructor(reviewId?: string, key?: NodeKey);
12
12
  createDOM(): HTMLElement;
13
- updateDOM(): false;
14
- static importDOM(): DOMConversionMap | null;
15
13
  exportDOM(): {
16
14
  element: HTMLModElement;
17
15
  };
16
+ updateDOM(): false;
17
+ static importDOM(): DOMConversionMap | null;
18
18
  static importJSON(serializedNode: SerializedDeleteNode): DeleteNode;
19
19
  exportJSON(): SerializedDeleteNode;
20
20
  isInline(): true;
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteNode.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,OAAO,EACP,gBAAgB,EAEhB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU;gBAKxC,QAAQ,GAAE,MAA4B,EACtC,GAAG,CAAC,EAAE,OAAO;IAMf,SAAS,IAAI,WAAW;IAgBxB,SAAS,IAAI,KAAK;IAIlB,MAAM,CAAC,SAAS,IAAI,gBAAgB,GAAG,IAAI;IAS3C,SAAS;;;IAeT,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,oBAAoB,GACnC,UAAU;IAIb,UAAU,IAAI,oBAAoB;IASlC,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,KAAK;IAInB,mBAAmB,IAAI,KAAK;IAI9B,kBAAkB,IAAI,KAAK;IAI3B,YAAY,IAAI,KAAK;CAGpB"}
1
+ {"version":3,"file":"DeleteNode.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/DeleteNode.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,OAAO,EACP,gBAAgB,EAEhB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU;gBAKxC,QAAQ,GAAE,MAA4B,EACtC,GAAG,CAAC,EAAE,OAAO;IAMf,SAAS,IAAI,WAAW;IAQxB,SAAS;;;IAMT,SAAS,IAAI,KAAK;IAIlB,MAAM,CAAC,SAAS,IAAI,gBAAgB,GAAG,IAAI;IAS3C,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,oBAAoB,GACnC,UAAU;IAIb,UAAU,IAAI,oBAAoB;IASlC,QAAQ,IAAI,IAAI;IAIhB,UAAU,IAAI,KAAK;IAInB,mBAAmB,IAAI,KAAK;IAI9B,kBAAkB,IAAI,KAAK;IAI3B,YAAY,IAAI,KAAK;CAGpB"}
@@ -1,4 +1,4 @@
1
- import { ElementNode, NodeKey, SerializedElementNode, DOMConversionMap, EditorConfig, LexicalEditor, DOMExportOutput } from "lexical";
1
+ import { ElementNode, NodeKey, SerializedElementNode, DOMConversionMap, EditorConfig, DOMExportOutput } from "lexical";
2
2
  export type SerializedInsertNode = SerializedElementNode & {
3
3
  type: "insert";
4
4
  version: 1;
@@ -9,10 +9,10 @@ export declare class InsertNode extends ElementNode {
9
9
  static getType(): string;
10
10
  static clone(node: InsertNode): InsertNode;
11
11
  constructor(reviewId?: string, key?: NodeKey);
12
- createDOM(config: EditorConfig): HTMLElement;
12
+ createDOM(): HTMLElement;
13
+ exportDOM(): DOMExportOutput;
13
14
  updateDOM(prevNode: InsertNode, dom: HTMLElement, config: EditorConfig): boolean;
14
15
  static importDOM(): DOMConversionMap | null;
15
- exportDOM(editor: LexicalEditor): DOMExportOutput;
16
16
  static importJSON(serializedNode: SerializedInsertNode): InsertNode;
17
17
  exportJSON(): SerializedInsertNode;
18
18
  isInline(): boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"InsertNode.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,gBAAgB,EAEhB,YAAY,EACZ,aAAa,EACb,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU;gBAKxC,QAAQ,GAAE,MAA4B,EACtC,GAAG,CAAC,EAAE,OAAO;IAUf,SAAS,CAAC,MAAM,EAAE,YAAY,GAAG,WAAW;IAa5C,SAAS,CACP,QAAQ,EAAE,UAAU,EACpB,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,YAAY,GACnB,OAAO;IAQV,MAAM,CAAC,SAAS,IAAI,gBAAgB,GAAG,IAAI;IAa3C,SAAS,CAAC,MAAM,EAAE,aAAa,GAAG,eAAe;IAiBjD,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,oBAAoB,GACnC,UAAU;IAQb,UAAU,IAAI,oBAAoB;IAalC,QAAQ,IAAI,OAAO;CAGpB"}
1
+ {"version":3,"file":"InsertNode.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/plugins/InsertNode.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,gBAAgB,EAEhB,YAAY,EAEZ,eAAe,EAChB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,oBAAoB,GAAG,qBAAqB,GAAG;IACzD,IAAI,EAAE,QAAQ,CAAC;IACf,OAAO,EAAE,CAAC,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF,qBAAa,UAAW,SAAQ,WAAW;IACzC,UAAU,EAAE,MAAM,CAAC;IAEnB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,UAAU,GAAG,UAAU;gBAKxC,QAAQ,GAAE,MAA4B,EACtC,GAAG,CAAC,EAAE,OAAO;IAUf,SAAS,IAAI,WAAW;IAOxB,SAAS,IAAI,eAAe;IAO5B,SAAS,CACP,QAAQ,EAAE,UAAU,EACpB,GAAG,EAAE,WAAW,EAChB,MAAM,EAAE,YAAY,GACnB,OAAO;IAQV,MAAM,CAAC,SAAS,IAAI,gBAAgB,GAAG,IAAI;IAa3C,MAAM,CAAC,UAAU,CACf,cAAc,EAAE,oBAAoB,GACnC,UAAU;IAQb,UAAU,IAAI,oBAAoB;IAalC,QAAQ,IAAI,OAAO;CAGpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,aAAa,CAAC;AAErB,QAAA,MAAM,KAAK,EAAE,kBAqFZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/features/RequirementAI/components/RichTextEditor/Editor/theme/theme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,OAAO,aAAa,CAAC;AAErB,QAAA,MAAM,KAAK,EAAE,kBAuFZ,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AA8BA,UAAU,eAAe;IACvB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC;IACZ,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,MAAM,KAAK,GAAG,UAAU,GAAG,MAAM,CAAA;AAEvC,QAAA,MAAM,cAAc,gHAUjB,eAAe,4CA6IjB,CAAC;AAEF,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"RichTextEditor.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/RichTextEditor/RichTextEditor.tsx"],"names":[],"mappings":"AA8BA,UAAU,eAAe;IACvB,IAAI,EAAE,QAAQ,GAAG,MAAM,CAAC;IACxB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxD,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,CAAC;IACZ,yBAAyB,CAAC,EAAE,OAAO,CAAA;CACpC;AAED,MAAM,MAAM,KAAK,GAAG,UAAU,GAAG,MAAM,CAAA;AAEvC,QAAA,MAAM,cAAc,gHAUjB,eAAe,4CAuMjB,CAAC;AAEF,eAAe,cAAc,CAAC"}
@@ -0,0 +1,12 @@
1
+ /// <reference types="react" />
2
+ interface InlineTitleEditorProps {
3
+ title: string;
4
+ onSave: (newTitle: string) => void;
5
+ onCancel: () => void;
6
+ inputStyle?: React.CSSProperties;
7
+ confirmButtonStyle?: React.CSSProperties;
8
+ cancelButtonStyle?: React.CSSProperties;
9
+ }
10
+ export declare const InlineTitleEditor: ({ title, onSave, onCancel, inputStyle, confirmButtonStyle, cancelButtonStyle, }: InlineTitleEditorProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
12
+ //# sourceMappingURL=TitleEditor.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TitleEditor.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/UserStoryCard/TitleEditor/TitleEditor.tsx"],"names":[],"mappings":";AAKA,UAAU,sBAAsB;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,UAAU,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACjC,kBAAkB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IACzC,iBAAiB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC3C;AAED,eAAO,MAAM,iBAAiB,oFAO3B,sBAAsB,4CA2ExB,CAAC"}
@@ -49,9 +49,10 @@ interface StoryCardProps {
49
49
  showWrapper?: boolean;
50
50
  segmentComponentConfig?: TSegmentComponentConfig;
51
51
  actionItemsConfig?: ActionItemsConfig;
52
+ onDelete?: () => void;
52
53
  }
53
54
  export declare function replaceLearnedTagsWithInfo(content: string): React.ReactNode[];
54
- export declare const StoryCard: ({ isUserStoryCurrentlyUpdated, artifactId, artifactTitleId, parentUserStory, currentUserStory, onUserStoryChange, parentIndex, currentIndex, enableDownload, isDiffEditReviewMode, showUserStoryDiff, handleDownloadUserStory, handleOpenSendDialog, updateUserStoryArtifact, selectedArtifactId, isDisplayHighlightControl, elementDisplayConfig, _resolvedConfig, showWrapper, segmentComponentConfig, actionItemsConfig }: StoryCardProps) => import("react/jsx-runtime").JSX.Element;
55
+ export declare const StoryCard: ({ isUserStoryCurrentlyUpdated, artifactId, artifactTitleId, parentUserStory, currentUserStory, onUserStoryChange, parentIndex, currentIndex, enableDownload, isDiffEditReviewMode, showUserStoryDiff, handleDownloadUserStory, handleOpenSendDialog, updateUserStoryArtifact, selectedArtifactId, isDisplayHighlightControl, elementDisplayConfig, _resolvedConfig, showWrapper, segmentComponentConfig, actionItemsConfig, onDelete, }: StoryCardProps) => import("react/jsx-runtime").JSX.Element;
55
56
  interface IProps {
56
57
  isUserStoryCurrentlyUpdated?: boolean;
57
58
  artifactId: string;
@@ -1 +1 @@
1
- {"version":3,"file":"UserStoryCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/UserStoryCard/UserStoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAoB/D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAY,uBAAuB,EAAgB,MAAM,0BAA0B,CAAC;AAG3F,UAAU,iBAAiB;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAElC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACjC,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,mBAAmB,C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,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACzC;AAED,eAAO,MAAM,oBAAoB,wRAAyR,MAAM,4CAgG/T,CAAA;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"UserStoryCard.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/UserStoryCard/UserStoryCard.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA+B,SAAS,EAAE,MAAM,OAAO,CAAC;AAwB/D,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAOlE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qCAAqC,CAAC;AAGzE,OAAO,EAAY,uBAAuB,EAAgB,MAAM,0BAA0B,CAAC;AAM3F,UAAU,iBAAiB;IACvB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAElC,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC;AAED,MAAM,WAAW,oBAAoB;IACjC,YAAY,CAAC,EAAE,iBAAiB,CAAC;IACjC,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAChC,mBAAmB,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;CAC3D;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,UAAU,EAAE,CAAC;CACrB;AAED,UAAU,cAAc;IACpB,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,EAAE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G,KAAK,CAAC,SAAS,EAAE,CAwC7E;AA+CD,eAAO,MAAM,SAAS,4aAuBnB,cAAc,4CAunBhB,CAAC;AAEF,UAAU,MAAM;IACZ,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,oBAAoB,EAAE,OAAO,CAAC;IAC9B,iBAAiB,EAAE,OAAO,CAAC;IAC3B,uBAAuB,EAAE,CAAC,YAAY,EAAE,kBAAkB,GAAG,IAAI,EAAE,sBAAsB,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAG,WAAW,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;IACpK,oBAAoB,CAAC,EAAE,CAAC,eAAe,EAAE,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,kBAAkB,CAAC,EAAE,MAAM,EAAE,EAAE,aAAa,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IACrK,uBAAuB,CAAC,EAAE,CAAC,QAAQ,EAAE,KAAK,GAAG,KAAK,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACrE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,yBAAyB,CAAC,EAAE,OAAO,CAAC;IACpC,oBAAoB,CAAC,EAAE,oBAAoB,CAAC;IAC5C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;CACzC;AAED,eAAO,MAAM,oBAAoB,wRAAyR,MAAM,4CAgG/T,CAAA;AAED,eAAe,SAAS,CAAC"}
@@ -19,6 +19,8 @@ export interface IUserStory {
19
19
  gapValue?: string;
20
20
  confidenceScore?: string;
21
21
  metadata?: Record<string, unknown>;
22
+ isDefaultEdit?: boolean;
23
+ isDefaultOpen?: boolean;
22
24
  }
23
25
  /**
24
26
  * Represents a single content segment within a user story for approval.
@@ -1 +1 @@
1
- {"version":3,"file":"userstory.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/interfaces/userstory.interface.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAe,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChK,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAElG,MAAM,WAAW,UAAU;IAEzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC;IAG5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,kBAAkB,CAAC;IAC9B,WAAW,CAAC,EAAE,YAAY,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,2BAA2B,CAAC,EAAE,wBAAwB,CAAC;IACvD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,QAAQ,CAAC,EAAC,MAAM,CAAC,MAAM,EAAC,OAAO,CAAC,CAAC;CAClC;AAGD;;;GAGG;AACH,MAAM,WAAW,iBAAiB;IAChC,iDAAiD;IACjD,SAAS,EAAE,MAAM,CAAC;IAClB,iEAAiE;IACjE,OAAO,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,UAAU,EAAE,OAAO,CAAC;CACrB;AAED;;GAEG;AACH,MAAM,MAAM,c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M,WAAW,qBAAqB;IACpC,gBAAgB,EAAE,YAAY,CAAC;IAC/B,YAAY,EAAE,MAAM,EAAE,CAAC;CACxB;AAED,MAAM,MAAM,kBAAkB,GAC1B,OAAO,GACP,kBAAkB,GAClB,UAAU,CAAC;AAEf,MAAM,MAAM,eAAe,GAAG,MAAM,CAClC,kBAAkB,EAClB,qBAAqB,EAAE,CACxB,CAAC;AAEF,MAAM,WAAW,wBAAwB;IACvC,YAAY,EAAE,MAAM,CAAC;IACrB,eAAe,EAAE,MAAM,CAAC;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC"}
1
+ {"version":3,"file":"userstory.interface.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAI/interfaces/userstory.interface.ts"],"names":[],"mappings":";AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,qBAAqB,EAAe,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAChK,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAElG,MAAM,WAAW,UAAU;IAEzB,UAAU,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,UAAU,EAAE,CAAC;IAG5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,GAAG,YAAY,CAAC;IACjC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,kBAAk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.0.173",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",