@e-llm-studio/requirement-ai 0.0.236 → 0.0.237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("react"),o=require("../ai-reasoning/AiReasoningCitationContent.js"),n=require("./CompletionPanel.module.css.js"),s=require("../../icons/CDIcon.js"),i=require("lucide-react"),a=require("react-dom");const l=({customIcons:l,customStyles:r,currentUserStory:c,panelStyles:d,showPanel:u=!1,children:p,onToggleStateChange:m,completionPanelConfig:g})=>{var v,j,f,x,h;const[C,k]=t.useState(!!u),y=null!==(v=null==c?void 0:c.completion_percentage)&&void 0!==v?v:0,b=t.useRef(null),P=t.useRef(null),{isMarkingComplete:w=!1,markedComplete:_=!1,onMarkAsComplete:O}=null!=g?g:{},S=()=>{k(!1),null==m||m(!1)},I=e=>{e.stopPropagation(),k(e=>{const t=!e;return null==m||m(t),t})};return t.useEffect(()=>{if(!C)return;const e=e=>{"Escape"===e.key&&S()},t=e=>{P.current&&!P.current.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),S())};return document.addEventListener("keydown",e),document.addEventListener("pointerdown",t,!0),()=>{document.removeEventListener("keydown",e),document.removeEventListener("pointerdown",t,!0)}},[C]),e.jsxs(e.Fragment,{children:[C&&a.createPortal(e.jsx("div",{style:{position:"fixed",inset:0,zIndex:9998,background:"rgba(0,0,0,0.3)",pointerEvents:"none"},"aria-hidden":"true"}),document.body),e.jsxs("div",Object.assign({ref:P,className:n.default.triggerWrapper,style:Object.assign(Object.assign({},null==d?void 0:d.triggerWrapperStyle),C&&{position:"relative",zIndex:9999})},{children:[!u&&e.jsx(e.Fragment,{children:p?e.jsx("div",Object.assign({className:n.default.completionButton,style:null==d?void 0:d.completionButtonStyle,onClick:I},{children:p})):e.jsx("button",Object.assign({ref:b,className:n.default.completionIconButton,style:null==d?void 0:d.completionIconButtonStyle,onClick:I},{children:e.jsx(s.default,{})}))}),C&&e.jsx("div",Object.assign({className:`${n.default.dropdown} ${u?n.default.showPanelDropdown:""}`,style:Object.assign(Object.assign({},null==d?void 0:d.dropdownStyle),u?null==d?void 0:d.showPanelDropdownStyle:{}),onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation()},{children:e.jsx(o.default,{aiReason:{explanation:(null===(j=c.completion_decision_factors)||void 0===j?void 0:j.explanation)||"",relevance_score:(null===(f=c.completion_decision_factors)||void 0===f?void 0:f.relevance_score)||0,reason:(null===(x=c.completion_decision_factors)||void 0===x?void 0:x.score_reason)||"",gap:(null===(h=c.completion_decision_factors)||void 0===h?void 0:h.gap)||"",id:"completion-cd"},customIcons:l,customStyles:r,footer:e.jsxs("div",Object.assign({className:n.default.markCompleteContainer},{children:[e.jsx("h4",Object.assign({className:n.default.markCompleteTitle},{children:"Mark this section as complete?"})),e.jsxs("p",Object.assign({className:n.default.markCompleteDescription},{children:["AI estimates this section is"," ",y,"% complete. If you're satisfied with the content, you can mark it as complete."]})),e.jsxs("button",Object.assign({className:n.default.markCompleteButton,disabled:w||_,onClick:e=>{e.stopPropagation(),null==O||O(),S()}},{children:[w?e.jsx(i.Loader2,{size:18,className:n.default.markCompleteSpinner}):e.jsx(i.Check,{size:18,strokeWidth:3,className:n.default.markCompleteIcon}),e.jsx("span",{children:_?"Marked Complete":"Mark as Complete"})]}))]}))})}))]}))]})};exports.CompletionPanel=l,exports.default=l;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),o=require("react"),t=require("../ai-reasoning/AiReasoningCitationContent.js"),n=require("./CompletionPanel.module.css.js"),s=require("../../icons/CDIcon.js"),l=require("lucide-react");const a=({customIcons:a,customStyles:i,currentUserStory:r,panelStyles:c,showPanel:d=!1,children:u,onToggleStateChange:m,completionPanelConfig:p})=>{var g,f,v,j,C;const[h,k]=o.useState(!!d),x=null!==(g=null==r?void 0:r.completion_percentage)&&void 0!==g?g:0,y=o.useRef(null),b=o.useRef(null),{isMarkingComplete:w=!1,markedComplete:_=!1,onMarkAsComplete:P}=null!=p?p:{},S=()=>{k(!1),null==m||m(!1)},O=e=>{e.stopPropagation(),k(e=>{const o=!e;return null==m||m(o),o})};return o.useEffect(()=>{if(!h)return;const e=e=>{b.current&&!b.current.contains(e.target)&&S()},o=e=>{"Escape"===e.key&&(k(!1),null==m||m(!1))};return document.addEventListener("mousedown",e,!0),document.addEventListener("keydown",o),()=>{document.removeEventListener("mousedown",e,!0),document.removeEventListener("keydown",o)}},[h,m]),e.jsxs("div",Object.assign({ref:b,className:n.default.triggerWrapper,style:null==c?void 0:c.triggerWrapperStyle},{children:[!d&&e.jsx(e.Fragment,{children:u?e.jsx("div",Object.assign({className:n.default.completionButton,style:null==c?void 0:c.completionButtonStyle,onClick:O},{children:u})):e.jsx("button",Object.assign({ref:y,className:n.default.completionIconButton,style:null==c?void 0:c.completionIconButtonStyle,onClick:O},{children:e.jsx(s.default,{})}))}),h&&e.jsx("div",Object.assign({className:`${n.default.dropdown} ${d?n.default.showPanelDropdown:""}`,style:Object.assign(Object.assign({},null==c?void 0:c.dropdownStyle),d?null==c?void 0:c.showPanelDropdownStyle:{}),onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation()},{children:e.jsx(t.default,{aiReason:{explanation:(null===(f=r.completion_decision_factors)||void 0===f?void 0:f.explanation)||"",relevance_score:(null===(v=r.completion_decision_factors)||void 0===v?void 0:v.relevance_score)||0,reason:(null===(j=r.completion_decision_factors)||void 0===j?void 0:j.score_reason)||"",gap:(null===(C=r.completion_decision_factors)||void 0===C?void 0:C.gap)||"",id:"completion-cd"},customIcons:a,customStyles:i,footer:e.jsxs("div",Object.assign({className:n.default.markCompleteContainer},{children:[e.jsx("h4",Object.assign({className:n.default.markCompleteTitle},{children:"Mark this section as complete?"})),e.jsxs("p",Object.assign({className:n.default.markCompleteDescription},{children:["AI estimates this section is"," ",x,"% complete. If you're satisfied with the content, you can mark it as complete."]})),e.jsxs("button",Object.assign({className:n.default.markCompleteButton,disabled:w||_,onClick:e=>{e.stopPropagation(),null==P||P(),S()}},{children:[w?e.jsx(l.Loader2,{size:18,className:n.default.markCompleteSpinner}):e.jsx(l.Check,{size:18,strokeWidth:3,className:n.default.markCompleteIcon}),e.jsx("span",{children:_?"Marked Complete":"Mark as Complete"})]}))]}))})}))]}))};exports.CompletionPanel=a,exports.default=a;
2
2
  //# sourceMappingURL=CompletionPanel.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 o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CompletionPanel-module_completionButton__ORlGC{align-items:center;cursor:pointer;display:inline-flex;gap:4px}.CompletionPanel-module_triggerWrapper__PdQj6{align-items:center;display:inline-flex;position:relative}.CompletionPanel-module_chevron__XDcBW{color:#64748b;flex-shrink:0;transition:transform .2s ease}.CompletionPanel-module_dropdown__7iQ-8{background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 4px 12px #0f172a14,0 2px 4px #0f172a0a;left:0;max-width:660px;min-width:660px;overflow:hidden;position:absolute;top:calc(100% + 6px);width:660px;z-index:1000}.CompletionPanel-module_showPanelDropdown__LhOPy{left:0;max-width:100%;position:relative;top:0;width:100%}.CompletionPanel-module_completionIconButton__sI9MX{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:4px;height:28px;justify-content:center;min-width:28px;padding:0}.CompletionPanel-module_markCompleteContainer__9q--o{background:#f9fafb;border-top:1px solid #e5e7eb;padding:20px 24px}.CompletionPanel-module_markCompleteTitle__EM4s4{color:#111827;font-size:16px;font-weight:600;margin:0}.CompletionPanel-module_markCompleteDescription__FqRzk{color:#6b7280;font-size:15px;line-height:1.5;margin:10px 0 18px}.CompletionPanel-module_markCompleteButton__Xh2IV{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;gap:8px;padding:10px 18px;transition:background .2s}.CompletionPanel-module_markCompleteButton__Xh2IV:hover{background:#15803d}.CompletionPanel-module_markCompleteButton__Xh2IV:disabled{cursor:not-allowed;opacity:.6}.CompletionPanel-module_markCompleteIcon__1O7Zs{flex-shrink:0}.CompletionPanel-module_markCompleteSpinner__t-6yz{animation:CompletionPanel-module_spin__s8-Bm 1s linear infinite;flex-shrink:0}@keyframes CompletionPanel-module_spin__s8-Bm{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CompletionPanel-module_app-disabled__otFKJ{pointer-events:none}.CompletionPanel-module_panel-wrapper__BHrC9{pointer-events:auto}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={completionButton:"CompletionPanel-module_completionButton__ORlGC",triggerWrapper:"CompletionPanel-module_triggerWrapper__PdQj6",chevron:"CompletionPanel-module_chevron__XDcBW",dropdown:"CompletionPanel-module_dropdown__7iQ-8",showPanelDropdown:"CompletionPanel-module_showPanelDropdown__LhOPy",completionIconButton:"CompletionPanel-module_completionIconButton__sI9MX",markCompleteContainer:"CompletionPanel-module_markCompleteContainer__9q--o",markCompleteTitle:"CompletionPanel-module_markCompleteTitle__EM4s4",markCompleteDescription:"CompletionPanel-module_markCompleteDescription__FqRzk",markCompleteButton:"CompletionPanel-module_markCompleteButton__Xh2IV",markCompleteIcon:"CompletionPanel-module_markCompleteIcon__1O7Zs",markCompleteSpinner:"CompletionPanel-module_markCompleteSpinner__t-6yz",spin:"CompletionPanel-module_spin__s8-Bm","app-disabled":"CompletionPanel-module_app-disabled__otFKJ","panel-wrapper":"CompletionPanel-module_panel-wrapper__BHrC9"};
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 o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CompletionPanel-module_completionButton__ORlGC{align-items:center;cursor:pointer;display:inline-flex;gap:4px}.CompletionPanel-module_triggerWrapper__PdQj6{align-items:center;display:inline-flex;position:relative}.CompletionPanel-module_chevron__XDcBW{color:#64748b;flex-shrink:0;transition:transform .2s ease}.CompletionPanel-module_dropdown__7iQ-8{background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 4px 12px #0f172a14,0 2px 4px #0f172a0a;left:0;max-width:660px;min-width:660px;overflow:hidden;position:absolute;top:calc(100% + 6px);width:660px;z-index:1000}.CompletionPanel-module_showPanelDropdown__LhOPy{left:0;max-width:100%;position:relative;top:0;width:100%}.CompletionPanel-module_completionIconButton__sI9MX{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:4px;height:28px;justify-content:center;min-width:28px;padding:0}.CompletionPanel-module_markCompleteContainer__9q--o{background:#f9fafb;border-top:1px solid #e5e7eb;padding:20px 24px}.CompletionPanel-module_markCompleteTitle__EM4s4{color:#111827;font-size:16px;font-weight:600;margin:0}.CompletionPanel-module_markCompleteDescription__FqRzk{color:#6b7280;font-size:15px;line-height:1.5;margin:10px 0 18px}.CompletionPanel-module_markCompleteButton__Xh2IV{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;gap:8px;padding:10px 18px;transition:background .2s}.CompletionPanel-module_markCompleteButton__Xh2IV:hover{background:#15803d}.CompletionPanel-module_markCompleteButton__Xh2IV:disabled{cursor:not-allowed;opacity:.6}.CompletionPanel-module_markCompleteIcon__1O7Zs{flex-shrink:0}.CompletionPanel-module_markCompleteSpinner__t-6yz{animation:CompletionPanel-module_spin__s8-Bm 1s linear infinite;flex-shrink:0}@keyframes CompletionPanel-module_spin__s8-Bm{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}(),exports.default={completionButton:"CompletionPanel-module_completionButton__ORlGC",triggerWrapper:"CompletionPanel-module_triggerWrapper__PdQj6",chevron:"CompletionPanel-module_chevron__XDcBW",dropdown:"CompletionPanel-module_dropdown__7iQ-8",showPanelDropdown:"CompletionPanel-module_showPanelDropdown__LhOPy",completionIconButton:"CompletionPanel-module_completionIconButton__sI9MX",markCompleteContainer:"CompletionPanel-module_markCompleteContainer__9q--o",markCompleteTitle:"CompletionPanel-module_markCompleteTitle__EM4s4",markCompleteDescription:"CompletionPanel-module_markCompleteDescription__FqRzk",markCompleteButton:"CompletionPanel-module_markCompleteButton__Xh2IV",markCompleteIcon:"CompletionPanel-module_markCompleteIcon__1O7Zs",markCompleteSpinner:"CompletionPanel-module_markCompleteSpinner__t-6yz",spin:"CompletionPanel-module_spin__s8-Bm"};
2
2
  //# sourceMappingURL=CompletionPanel.module.css.js.map
@@ -1,2 +1,2 @@
1
- import{jsxs as e,Fragment as o,jsx as n}from"react/jsx-runtime";import{useState as t,useRef as i,useEffect as s}from"react";import r from"../ai-reasoning/AiReasoningCitationContent.js";import l from"./CompletionPanel.module.css.js";import a from"../../icons/CDIcon.js";import{Loader2 as c,Check as d}from"lucide-react";import{createPortal as m}from"react-dom";const p=({customIcons:p,customStyles:u,currentUserStory:g,panelStyles:v,showPanel:h=!1,children:k,onToggleStateChange:C,completionPanelConfig:f})=>{var y,b,j,w,O;const[P,_]=t(!!h),S=null!==(y=null==g?void 0:g.completion_percentage)&&void 0!==y?y:0,I=i(null),N=i(null),{isMarkingComplete:x=!1,markedComplete:D=!1,onMarkAsComplete:E}=null!=f?f:{},M=()=>{_(!1),null==C||C(!1)},B=e=>{e.stopPropagation(),_(e=>{const o=!e;return null==C||C(o),o})};return s(()=>{if(!P)return;const e=e=>{"Escape"===e.key&&M()},o=e=>{N.current&&!N.current.contains(e.target)&&(e.preventDefault(),e.stopPropagation(),M())};return document.addEventListener("keydown",e),document.addEventListener("pointerdown",o,!0),()=>{document.removeEventListener("keydown",e),document.removeEventListener("pointerdown",o,!0)}},[P]),e(o,{children:[P&&m(n("div",{style:{position:"fixed",inset:0,zIndex:9998,background:"rgba(0,0,0,0.3)",pointerEvents:"none"},"aria-hidden":"true"}),document.body),e("div",Object.assign({ref:N,className:l.triggerWrapper,style:Object.assign(Object.assign({},null==v?void 0:v.triggerWrapperStyle),P&&{position:"relative",zIndex:9999})},{children:[!h&&n(o,{children:k?n("div",Object.assign({className:l.completionButton,style:null==v?void 0:v.completionButtonStyle,onClick:B},{children:k})):n("button",Object.assign({ref:I,className:l.completionIconButton,style:null==v?void 0:v.completionIconButtonStyle,onClick:B},{children:n(a,{})}))}),P&&n("div",Object.assign({className:`${l.dropdown} ${h?l.showPanelDropdown:""}`,style:Object.assign(Object.assign({},null==v?void 0:v.dropdownStyle),h?null==v?void 0:v.showPanelDropdownStyle:{}),onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation()},{children:n(r,{aiReason:{explanation:(null===(b=g.completion_decision_factors)||void 0===b?void 0:b.explanation)||"",relevance_score:(null===(j=g.completion_decision_factors)||void 0===j?void 0:j.relevance_score)||0,reason:(null===(w=g.completion_decision_factors)||void 0===w?void 0:w.score_reason)||"",gap:(null===(O=g.completion_decision_factors)||void 0===O?void 0:O.gap)||"",id:"completion-cd"},customIcons:p,customStyles:u,footer:e("div",Object.assign({className:l.markCompleteContainer},{children:[n("h4",Object.assign({className:l.markCompleteTitle},{children:"Mark this section as complete?"})),e("p",Object.assign({className:l.markCompleteDescription},{children:["AI estimates this section is"," ",S,"% complete. If you're satisfied with the content, you can mark it as complete."]})),e("button",Object.assign({className:l.markCompleteButton,disabled:x||D,onClick:e=>{e.stopPropagation(),null==E||E(),M()}},{children:[x?n(c,{size:18,className:l.markCompleteSpinner}):n(d,{size:18,strokeWidth:3,className:l.markCompleteIcon}),n("span",{children:D?"Marked Complete":"Mark as Complete"})]}))]}))})}))]}))]})};export{p as CompletionPanel,p as default};
1
+ import{jsxs as e,jsx as o,Fragment as n}from"react/jsx-runtime";import{useState as t,useRef as i,useEffect as s}from"react";import l from"../ai-reasoning/AiReasoningCitationContent.js";import a from"./CompletionPanel.module.css.js";import r from"../../icons/CDIcon.js";import{Loader2 as c,Check as m}from"lucide-react";const d=({customIcons:d,customStyles:p,currentUserStory:u,panelStyles:g,showPanel:v=!1,children:C,onToggleStateChange:h,completionPanelConfig:k})=>{var f,y,j,w,b;const[_,P]=t(!!v),S=null!==(f=null==u?void 0:u.completion_percentage)&&void 0!==f?f:0,N=i(null),O=i(null),{isMarkingComplete:I=!1,markedComplete:D=!1,onMarkAsComplete:M}=null!=k?k:{},B=()=>{P(!1),null==h||h(!1)},E=e=>{e.stopPropagation(),P(e=>{const o=!e;return null==h||h(o),o})};return s(()=>{if(!_)return;const e=e=>{O.current&&!O.current.contains(e.target)&&B()},o=e=>{"Escape"===e.key&&(P(!1),null==h||h(!1))};return document.addEventListener("mousedown",e,!0),document.addEventListener("keydown",o),()=>{document.removeEventListener("mousedown",e,!0),document.removeEventListener("keydown",o)}},[_,h]),e("div",Object.assign({ref:O,className:a.triggerWrapper,style:null==g?void 0:g.triggerWrapperStyle},{children:[!v&&o(n,{children:C?o("div",Object.assign({className:a.completionButton,style:null==g?void 0:g.completionButtonStyle,onClick:E},{children:C})):o("button",Object.assign({ref:N,className:a.completionIconButton,style:null==g?void 0:g.completionIconButtonStyle,onClick:E},{children:o(r,{})}))}),_&&o("div",Object.assign({className:`${a.dropdown} ${v?a.showPanelDropdown:""}`,style:Object.assign(Object.assign({},null==g?void 0:g.dropdownStyle),v?null==g?void 0:g.showPanelDropdownStyle:{}),onClick:e=>e.stopPropagation(),onMouseDown:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation()},{children:o(l,{aiReason:{explanation:(null===(y=u.completion_decision_factors)||void 0===y?void 0:y.explanation)||"",relevance_score:(null===(j=u.completion_decision_factors)||void 0===j?void 0:j.relevance_score)||0,reason:(null===(w=u.completion_decision_factors)||void 0===w?void 0:w.score_reason)||"",gap:(null===(b=u.completion_decision_factors)||void 0===b?void 0:b.gap)||"",id:"completion-cd"},customIcons:d,customStyles:p,footer:e("div",Object.assign({className:a.markCompleteContainer},{children:[o("h4",Object.assign({className:a.markCompleteTitle},{children:"Mark this section as complete?"})),e("p",Object.assign({className:a.markCompleteDescription},{children:["AI estimates this section is"," ",S,"% complete. If you're satisfied with the content, you can mark it as complete."]})),e("button",Object.assign({className:a.markCompleteButton,disabled:I||D,onClick:e=>{e.stopPropagation(),null==M||M(),B()}},{children:[I?o(c,{size:18,className:a.markCompleteSpinner}):o(m,{size:18,strokeWidth:3,className:a.markCompleteIcon}),o("span",{children:D?"Marked Complete":"Mark as Complete"})]}))]}))})}))]}))};export{d as CompletionPanel,d as default};
2
2
  //# sourceMappingURL=CompletionPanel.js.map
@@ -1,2 +1,2 @@
1
- var e={completionButton:"CompletionPanel-module_completionButton__ORlGC",triggerWrapper:"CompletionPanel-module_triggerWrapper__PdQj6",chevron:"CompletionPanel-module_chevron__XDcBW",dropdown:"CompletionPanel-module_dropdown__7iQ-8",showPanelDropdown:"CompletionPanel-module_showPanelDropdown__LhOPy",completionIconButton:"CompletionPanel-module_completionIconButton__sI9MX",markCompleteContainer:"CompletionPanel-module_markCompleteContainer__9q--o",markCompleteTitle:"CompletionPanel-module_markCompleteTitle__EM4s4",markCompleteDescription:"CompletionPanel-module_markCompleteDescription__FqRzk",markCompleteButton:"CompletionPanel-module_markCompleteButton__Xh2IV",markCompleteIcon:"CompletionPanel-module_markCompleteIcon__1O7Zs",markCompleteSpinner:"CompletionPanel-module_markCompleteSpinner__t-6yz",spin:"CompletionPanel-module_spin__s8-Bm","app-disabled":"CompletionPanel-module_app-disabled__otFKJ","panel-wrapper":"CompletionPanel-module_panel-wrapper__BHrC9"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CompletionPanel-module_completionButton__ORlGC{align-items:center;cursor:pointer;display:inline-flex;gap:4px}.CompletionPanel-module_triggerWrapper__PdQj6{align-items:center;display:inline-flex;position:relative}.CompletionPanel-module_chevron__XDcBW{color:#64748b;flex-shrink:0;transition:transform .2s ease}.CompletionPanel-module_dropdown__7iQ-8{background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 4px 12px #0f172a14,0 2px 4px #0f172a0a;left:0;max-width:660px;min-width:660px;overflow:hidden;position:absolute;top:calc(100% + 6px);width:660px;z-index:1000}.CompletionPanel-module_showPanelDropdown__LhOPy{left:0;max-width:100%;position:relative;top:0;width:100%}.CompletionPanel-module_completionIconButton__sI9MX{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:4px;height:28px;justify-content:center;min-width:28px;padding:0}.CompletionPanel-module_markCompleteContainer__9q--o{background:#f9fafb;border-top:1px solid #e5e7eb;padding:20px 24px}.CompletionPanel-module_markCompleteTitle__EM4s4{color:#111827;font-size:16px;font-weight:600;margin:0}.CompletionPanel-module_markCompleteDescription__FqRzk{color:#6b7280;font-size:15px;line-height:1.5;margin:10px 0 18px}.CompletionPanel-module_markCompleteButton__Xh2IV{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;gap:8px;padding:10px 18px;transition:background .2s}.CompletionPanel-module_markCompleteButton__Xh2IV:hover{background:#15803d}.CompletionPanel-module_markCompleteButton__Xh2IV:disabled{cursor:not-allowed;opacity:.6}.CompletionPanel-module_markCompleteIcon__1O7Zs{flex-shrink:0}.CompletionPanel-module_markCompleteSpinner__t-6yz{animation:CompletionPanel-module_spin__s8-Bm 1s linear infinite;flex-shrink:0}@keyframes CompletionPanel-module_spin__s8-Bm{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.CompletionPanel-module_app-disabled__otFKJ{pointer-events:none}.CompletionPanel-module_panel-wrapper__BHrC9{pointer-events:auto}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
1
+ var e={completionButton:"CompletionPanel-module_completionButton__ORlGC",triggerWrapper:"CompletionPanel-module_triggerWrapper__PdQj6",chevron:"CompletionPanel-module_chevron__XDcBW",dropdown:"CompletionPanel-module_dropdown__7iQ-8",showPanelDropdown:"CompletionPanel-module_showPanelDropdown__LhOPy",completionIconButton:"CompletionPanel-module_completionIconButton__sI9MX",markCompleteContainer:"CompletionPanel-module_markCompleteContainer__9q--o",markCompleteTitle:"CompletionPanel-module_markCompleteTitle__EM4s4",markCompleteDescription:"CompletionPanel-module_markCompleteDescription__FqRzk",markCompleteButton:"CompletionPanel-module_markCompleteButton__Xh2IV",markCompleteIcon:"CompletionPanel-module_markCompleteIcon__1O7Zs",markCompleteSpinner:"CompletionPanel-module_markCompleteSpinner__t-6yz",spin:"CompletionPanel-module_spin__s8-Bm"};!function(){if("undefined"==typeof document)return;const e=document.createElement("style");e.type="text/css";const o=window.__CSP_NONCE__||document.querySelector('meta[name="csp-nonce"]')?.content;o&&e.setAttribute("nonce",o),e.appendChild(document.createTextNode(".CompletionPanel-module_completionButton__ORlGC{align-items:center;cursor:pointer;display:inline-flex;gap:4px}.CompletionPanel-module_triggerWrapper__PdQj6{align-items:center;display:inline-flex;position:relative}.CompletionPanel-module_chevron__XDcBW{color:#64748b;flex-shrink:0;transition:transform .2s ease}.CompletionPanel-module_dropdown__7iQ-8{background:#fff;border:1px solid #cbd5e1;border-radius:12px;box-shadow:0 4px 12px #0f172a14,0 2px 4px #0f172a0a;left:0;max-width:660px;min-width:660px;overflow:hidden;position:absolute;top:calc(100% + 6px);width:660px;z-index:1000}.CompletionPanel-module_showPanelDropdown__LhOPy{left:0;max-width:100%;position:relative;top:0;width:100%}.CompletionPanel-module_completionIconButton__sI9MX{align-items:center;background:#0000;border:none;cursor:pointer;display:inline-flex;gap:4px;height:28px;justify-content:center;min-width:28px;padding:0}.CompletionPanel-module_markCompleteContainer__9q--o{background:#f9fafb;border-top:1px solid #e5e7eb;padding:20px 24px}.CompletionPanel-module_markCompleteTitle__EM4s4{color:#111827;font-size:16px;font-weight:600;margin:0}.CompletionPanel-module_markCompleteDescription__FqRzk{color:#6b7280;font-size:15px;line-height:1.5;margin:10px 0 18px}.CompletionPanel-module_markCompleteButton__Xh2IV{align-items:center;background:#16a34a;border:none;border-radius:8px;color:#fff;cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;gap:8px;padding:10px 18px;transition:background .2s}.CompletionPanel-module_markCompleteButton__Xh2IV:hover{background:#15803d}.CompletionPanel-module_markCompleteButton__Xh2IV:disabled{cursor:not-allowed;opacity:.6}.CompletionPanel-module_markCompleteIcon__1O7Zs{flex-shrink:0}.CompletionPanel-module_markCompleteSpinner__t-6yz{animation:CompletionPanel-module_spin__s8-Bm 1s linear infinite;flex-shrink:0}@keyframes CompletionPanel-module_spin__s8-Bm{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}"));const n=document.head||document.getElementsByTagName("head")[0]||document.documentElement;n&&n.appendChild(e)}();export{e as default};
2
2
  //# sourceMappingURL=CompletionPanel.module.css.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA8BA,OAAO,EAA2B,cAAc,EAAE,aAAa,EAAE,MAAM,+EAA+E,CAAC;AAQvJ,QAAA,MAAM,iBAAiB,+CAgmItB,CAAC;AAiVF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAoH7C,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,aAAa,EAoV3C,CAAC;AAGF,eAAO,MAAM,mBAAmB,YACrB,cAAc,EAAE,GAAG,aAAa,EAAE;;;;;CA0B5C,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
1
+ {"version":3,"file":"RequirementAiTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAiTest.tsx"],"names":[],"mappings":"AA8BA,OAAO,EAA2B,cAAc,EAAE,aAAa,EAAE,MAAM,+EAA+E,CAAC;AAQvJ,QAAA,MAAM,iBAAiB,+CAgqHtB,CAAC;AAiVF,eAAO,MAAM,iBAAiB,EAAE,cAAc,EAoH7C,CAAC;AAGF,eAAO,MAAM,gBAAgB,EAAE,aAAa,EAoV3C,CAAC;AAGF,eAAO,MAAM,mBAAmB,YACrB,cAAc,EAAE,GAAG,aAAa,EAAE;;;;;CA0B5C,CAAC;AAGF,eAAe,iBAAiB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CompletionPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/story-screen/CompletionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAC/D,OAAO,EACH,UAAU,EACV,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACH,uBAAuB,EACvB,cAAc,EACjB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,2BAA2B,EAC9B,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAGvE,eAAO,MAAM,eAAe;iBAUX,cAAc;kBACb,uBAAuB;sBACnB,qBAAqB,GAAG,UAAU;;;eAGzC,SAAS;oCACW,OAAO,KAAK,IAAI;;6CAmOlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
1
+ {"version":3,"file":"CompletionPanel.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/story-screen/CompletionPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAC/D,OAAO,EACH,UAAU,EACV,qBAAqB,EACxB,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACH,uBAAuB,EACvB,cAAc,EACjB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACH,2BAA2B,EAC9B,MAAM,8CAA8C,CAAC;AAItD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAEvE,eAAO,MAAM,eAAe;iBAUX,cAAc;kBACb,uBAAuB;sBACnB,qBAAqB,GAAG,UAAU;;;eAGzC,SAAS;oCACW,OAAO,KAAK,IAAI;;6CA6LlD,CAAC;AAEF,eAAe,eAAe,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.236",
3
+ "version": "0.0.237",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",