@e-llm-studio/requirement-ai 0.0.104 → 0.0.106

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 t=require("tslib"),e=require("react/jsx-runtime"),n=require("react"),i=require("./CitationRenderer.module.css.js"),o=new Map;exports.collapseAllCitations=function(){o.clear()},exports.collapseCitationsByIds=function(t){t.forEach(function(t){return o.delete(t)})},exports.default=function(a){var s=a.inLineCitation,r=a.citationTitle,l=a.citationId,c=a.citationIcon,u=a.chevronUpComponent,d=a.chevronDownComponent,p=a.additionalCallbackForPillButton,f=a.citationComponent,v=a.styles,x=void 0===v?{}:v,C=a.isOpen,_=a.onToggle,g=a.defaultExpanded,h=void 0!==g&&g,m=void 0!==C,j=l||r,y=n.useState(function(){return j&&o.has(j)?o.get(j):h}),q=y[0],B=y[1],b=m?C:q;return e.jsxs(e.Fragment,{children:[e.jsxs("span",t.__assign({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),p&&p(),_?_():m||B(function(t){var e=!t;return j&&o.set(j,e),e})}(t)},className:i.default.pillButton,style:x.pillButton},{children:[c,e.jsx("span",t.__assign({style:x.citationTitle},{children:r})),s&&(b?u:d)]})),s&&b&&e.jsx("div",t.__assign({className:i.default.citationWrapper,style:x.citationWrapper},{children:e.jsx("div",t.__assign({className:i.default.citationContent,style:x.citationContent},{children:f}))}))]})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("react/jsx-runtime"),n=require("react"),i=require("./CitationRenderer.module.css.js"),o=new Map;exports.collapseAllCitations=function(){o.clear()},exports.collapseCitationsByIds=function(t){t.forEach(function(t){return o.delete(t)})},exports.default=function(a){var r=a.inLineCitation,s=a.citationTitle,l=a.citationId,c=a.citationIcon,u=a.chevronUpComponent,p=a.chevronDownComponent,d=a.additionalCallbackForPillButton,f=a.citationComponent,v=a.styles,C=void 0===v?{}:v,x=a.isOpen,g=a.onToggle,_=a.defaultExpanded,h=void 0!==_&&_,m=void 0!==x,j=l||s,y=n.useState(function(){return j&&o.has(j)?o.get(j):h}),q=y[0],B=y[1],P=m?x:q;return e.jsxs(e.Fragment,{children:[e.jsxs("span",t.__assign({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),d&&d(),g?g():m||B(function(t){var e=!t;return j&&o.set(j,e),e})}(t)},className:i.default.pillButton,style:C.pillButton},{children:[c,e.jsx("span",t.__assign({style:C.citationTitle},{children:s})),r&&(P?u:p)]})),r&&P&&e.jsx("div",t.__assign({className:i.default.citationWrapper,style:C.citationWrapper},{children:e.jsx("div",t.__assign({className:i.default.citationContent,style:C.citationContent,onClick:function(t){return t.stopPropagation()}},{children:f}))}))]})};
2
2
  //# sourceMappingURL=CitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),e=require("react/jsx-runtime"),n=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("../../ai-reasoning/BigEnoughComponent.js");exports.default=function(o){var r,s,a,l=(null===(r=o.customIcons)||void 0===r?void 0:r.bigEnoughCitationIcon)||e.jsx(e.Fragment,{});return e.jsx(n.default,{inLineCitation:!0,citationTitle:o.title,citationComponent:e.jsx(i.default,{customStyles:o.customStyles,big_enough_decision_factors:o.citation}),chevronDownComponent:l,chevronUpComponent:l,styles:{pillButton:t.__assign({margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(s=o.customStyles)||void 0===s?void 0:s.pill),citationContent:t.__assign({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(a=o.customStyles)||void 0===a?void 0:a.content)}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("tslib"),n=require("react/jsx-runtime"),e=require("../../../../CitationRenderer/CitationRenderer.js"),i=require("../../ai-reasoning/BigEnoughComponent.js");exports.default=function(o){var r,a,s,c=(null===(r=o.customIcons)||void 0===r?void 0:r.bigEnoughCitationIcon)||n.jsx(n.Fragment,{});return n.jsx(e.default,{inLineCitation:!0,citationTitle:o.title,citationId:"big-enough-".concat(o.citation.citation_number),citationComponent:n.jsx(i.default,{customStyles:o.customStyles,big_enough_decision_factors:o.citation}),chevronDownComponent:c,chevronUpComponent:c,styles:{pillButton:t.__assign({margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(a=o.customStyles)||void 0===a?void 0:a.pill),citationContent:t.__assign({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(s=o.customStyles)||void 0===s?void 0:s.content)}})};
2
2
  //# sourceMappingURL=BigEnoughCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsxs as n,Fragment as i,jsx as o}from"react/jsx-runtime";import{useState as e}from"react";import r from"./CitationRenderer.module.css.js";var a=new Map,c=function(){a.clear()},l=function(t){t.forEach(function(t){return a.delete(t)})},s=function(c){var l=c.inLineCitation,s=c.citationTitle,p=c.citationId,u=c.citationIcon,d=c.chevronUpComponent,f=c.chevronDownComponent,m=c.additionalCallbackForPillButton,v=c.citationComponent,h=c.styles,C=void 0===h?{}:h,y=c.isOpen,g=c.onToggle,x=c.defaultExpanded,B=void 0!==x&&x,N=void 0!==y,T=p||s,b=e(function(){return T&&a.has(T)?a.get(T):B}),j=b[0],k=b[1],w=N?y:j;return n(i,{children:[n("span",t({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),m&&m(),g?g():N||k(function(t){var n=!t;return T&&a.set(T,n),n})}(t)},className:r.pillButton,style:C.pillButton},{children:[u,o("span",t({style:C.citationTitle},{children:s})),l&&(w?d:f)]})),l&&w&&o("div",t({className:r.citationWrapper,style:C.citationWrapper},{children:o("div",t({className:r.citationContent,style:C.citationContent},{children:v}))}))]})};export{c as collapseAllCitations,l as collapseCitationsByIds,s as default};
1
+ import{__assign as t}from"tslib";import{jsxs as n,Fragment as i,jsx as o}from"react/jsx-runtime";import{useState as e}from"react";import r from"./CitationRenderer.module.css.js";var a=new Map,c=function(){a.clear()},l=function(t){t.forEach(function(t){return a.delete(t)})},p=function(c){var l=c.inLineCitation,p=c.citationTitle,s=c.citationId,u=c.citationIcon,d=c.chevronUpComponent,f=c.chevronDownComponent,m=c.additionalCallbackForPillButton,v=c.citationComponent,C=c.styles,h=void 0===C?{}:C,g=c.isOpen,y=c.onToggle,k=c.defaultExpanded,x=void 0!==k&&k,B=void 0!==g,N=s||p,P=e(function(){return N&&a.has(N)?a.get(N):x}),T=P[0],b=P[1],j=B?g:T;return n(i,{children:[n("span",t({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),m&&m(),y?y():B||b(function(t){var n=!t;return N&&a.set(N,n),n})}(t)},className:r.pillButton,style:h.pillButton},{children:[u,o("span",t({style:h.citationTitle},{children:p})),l&&(j?d:f)]})),l&&j&&o("div",t({className:r.citationWrapper,style:h.citationWrapper},{children:o("div",t({className:r.citationContent,style:h.citationContent,onClick:function(t){return t.stopPropagation()}},{children:v}))}))]})};export{c as collapseAllCitations,l as collapseCitationsByIds,p as default};
2
2
  //# sourceMappingURL=CitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- import{__assign as t}from"tslib";import{jsx as n,Fragment as o}from"react/jsx-runtime";import i from"../../../../CitationRenderer/CitationRenderer.js";import e from"../../ai-reasoning/BigEnoughComponent.js";var r=function(r){var a,l,c,s=(null===(a=r.customIcons)||void 0===a?void 0:a.bigEnoughCitationIcon)||n(o,{});return n(i,{inLineCitation:!0,citationTitle:r.title,citationComponent:n(e,{customStyles:r.customStyles,big_enough_decision_factors:r.citation}),chevronDownComponent:s,chevronUpComponent:s,styles:{pillButton:t({margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(l=r.customStyles)||void 0===l?void 0:l.pill),citationContent:t({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(c=r.customStyles)||void 0===c?void 0:c.content)}})};export{r as default};
1
+ import{__assign as t}from"tslib";import{jsx as n,Fragment as i}from"react/jsx-runtime";import o from"../../../../CitationRenderer/CitationRenderer.js";import e from"../../ai-reasoning/BigEnoughComponent.js";var r=function(r){var a,c,l,s=(null===(a=r.customIcons)||void 0===a?void 0:a.bigEnoughCitationIcon)||n(i,{});return n(o,{inLineCitation:!0,citationTitle:r.title,citationId:"big-enough-".concat(r.citation.citation_number),citationComponent:n(e,{customStyles:r.customStyles,big_enough_decision_factors:r.citation}),chevronDownComponent:s,chevronUpComponent:s,styles:{pillButton:t({margin:"0px",padding:"0px",fontSize:"14px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"white",border:"none"},null===(c=r.customStyles)||void 0===c?void 0:c.pill),citationContent:t({width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"},null===(l=r.customStyles)||void 0===l?void 0:l.content)}})};export{r as default};
2
2
  //# sourceMappingURL=BigEnoughCitationRenderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/features/CitationRenderer/CitationRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,UAAU,qBAAqB;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,+BAA+B,CAAC,EAAE,GAAG,CAAC;IACtC,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE;QACL,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAKD;;GAEG;AACH,eAAO,MAAM,oBAAoB,YAEhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAS,MAAM,EAAE,SAEnD,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"CitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/features/CitationRenderer/CitationRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAY,aAAa,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGlE,UAAU,qBAAqB;IAC3B,cAAc,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,+BAA+B,CAAC,EAAE,GAAG,CAAC;IACtC,iBAAiB,CAAC,EAAE,SAAS,CAAA;IAC7B,MAAM,CAAC,EAAE;QACL,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,aAAa,CAAC,EAAE,aAAa,CAAC;QAC9B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC7B;AAKD;;GAEG;AACH,eAAO,MAAM,oBAAoB,YAEhC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,sBAAsB,QAAS,MAAM,EAAE,SAEnD,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA8ErD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BigEnoughCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAI1F,UAAU,MAAM;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,WAAW,CAAC,EAAE,cAAc,CAAA;CAC/B;AAED,QAAA,MAAM,yBAAyB,UAAW,MAAM,4CAwC/C,CAAA;AAED,eAAe,yBAAyB,CAAA"}
1
+ {"version":3,"file":"BigEnoughCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/big-enough/BigEnoughCitationRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC;AAI1F,UAAU,MAAM;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,QAAQ,CAAC;IACnB,YAAY,CAAC,EAAE,uBAAuB,CAAC;IACvC,WAAW,CAAC,EAAE,cAAc,CAAA;CAC/B;AAED,QAAA,MAAM,yBAAyB,UAAW,MAAM,4CAyC/C,CAAA;AAED,eAAe,yBAAyB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.104",
3
+ "version": "0.0.106",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",