@e-llm-studio/requirement-ai 0.0.296 → 0.0.297

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("./WebCitationIcon.js"),i=require("./WebCitation.js"),o=require("../../../../CitationRenderer/CitationRenderer.js"),l=require("./Webcitation.module.css.js"),n=require("@mui/material");exports.default=({label:r,url:a,customStyles:s,customIcons:d,fetchOnDemandCitation:c})=>{const u=(null==d?void 0:d.webCitationIcon)||e.jsx(t.default,{});return e.jsx(o.default,{inLineCitation:!0,citationTitle:r,chevronDownComponent:u,chevronUpComponent:u,citationComponent:!a&&c?e.jsxs("div",{className:l.default.citationLoader,style:{...null==s?void 0:s.loadingCitation},children:["Loading Citation",e.jsx(n.CircularProgress,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==s?void 0:s.loadingCitationCircularProgress}})]}):e.jsxs("div",{className:"p-4 border rounded-lg bg-white mt-2",style:null==s?void 0:s.content,children:[e.jsx("p",{className:"text-sm text-gray-600 mb-2",style:null==s?void 0:s.footerText,children:"Source Link:"}),e.jsx(i.default,{label:r,url:a||"",customStyles:s,customIcons:d})]}),additionalCallbackForPillButton:()=>{!a&&c&&(null==c||c())},styles:{pillButton:{margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==s?void 0:s.pill}}})};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("./WebCitationIcon.js"),i=require("./WebCitation.js"),n=require("../../../../CitationRenderer/CitationRenderer.js"),o=require("./Webcitation.module.css.js"),l=require("@mui/material");exports.default=({label:r,url:a,customStyles:s,customIcons:d,fetchOnDemandCitation:c})=>{const u=(null==d?void 0:d.webCitationIcon)||e.jsx(t.default,{});return e.jsx(n.default,{inLineCitation:!0,citationTitle:r,chevronDownComponent:u,chevronUpComponent:u,citationComponent:!a&&c?e.jsxs("div",{className:o.default.citationLoader,style:{...null==s?void 0:s.loadingCitation},children:["Loading Citation",e.jsx(l.CircularProgress,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==s?void 0:s.loadingCitationCircularProgress}})]}):e.jsxs("div",{className:"p-4 border rounded-lg bg-white mt-2",style:null==s?void 0:s.content,children:[e.jsx("p",{className:"text-sm text-gray-600 mb-2",style:null==s?void 0:s.footerText,children:"Source Link:"}),e.jsx(i.default,{label:r,url:a||"",customStyles:s,customIcons:d})]}),additionalCallbackForPillButton:()=>{!a&&c&&(null==c||c())},styles:{pillButton:{margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==s?void 0:s.pill},citationContent:{width:"100%",background:"transparent",marginTop:"10px",...null==s?void 0:s.content}}})};
2
2
  //# sourceMappingURL=WebCitationRenderer.js.map
@@ -1,2 +1,2 @@
1
- import{jsx as t,jsxs as o}from"react/jsx-runtime";import i from"./WebCitationIcon.js";import n from"./WebCitation.js";import e from"../../../../CitationRenderer/CitationRenderer.js";import l from"./Webcitation.module.css.js";import{CircularProgress as r}from"@mui/material";const a=({label:a,url:c,customStyles:s,customIcons:d,fetchOnDemandCitation:m})=>{const p=(null==d?void 0:d.webCitationIcon)||t(i,{});return t(e,{inLineCitation:!0,citationTitle:a,chevronDownComponent:p,chevronUpComponent:p,citationComponent:o("div",!c&&m?{className:l.citationLoader,style:{...null==s?void 0:s.loadingCitation},children:["Loading Citation",t(r,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==s?void 0:s.loadingCitationCircularProgress}})]}:{className:"p-4 border rounded-lg bg-white mt-2",style:null==s?void 0:s.content,children:[t("p",{className:"text-sm text-gray-600 mb-2",style:null==s?void 0:s.footerText,children:"Source Link:"}),t(n,{label:a,url:c||"",customStyles:s,customIcons:d})]}),additionalCallbackForPillButton:()=>{!c&&m&&(null==m||m())},styles:{pillButton:{margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==s?void 0:s.pill}}})};export{a as default};
1
+ import{jsx as t,jsxs as o}from"react/jsx-runtime";import i from"./WebCitationIcon.js";import n from"./WebCitation.js";import e from"../../../../CitationRenderer/CitationRenderer.js";import l from"./Webcitation.module.css.js";import{CircularProgress as r}from"@mui/material";const a=({label:a,url:c,customStyles:s,customIcons:d,fetchOnDemandCitation:m})=>{const p=(null==d?void 0:d.webCitationIcon)||t(i,{});return t(e,{inLineCitation:!0,citationTitle:a,chevronDownComponent:p,chevronUpComponent:p,citationComponent:o("div",!c&&m?{className:l.citationLoader,style:{...null==s?void 0:s.loadingCitation},children:["Loading Citation",t(r,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==s?void 0:s.loadingCitationCircularProgress}})]}:{className:"p-4 border rounded-lg bg-white mt-2",style:null==s?void 0:s.content,children:[t("p",{className:"text-sm text-gray-600 mb-2",style:null==s?void 0:s.footerText,children:"Source Link:"}),t(n,{label:a,url:c||"",customStyles:s,customIcons:d})]}),additionalCallbackForPillButton:()=>{!c&&m&&(null==m||m())},styles:{pillButton:{margin:"0px",padding:"0px 4px",fontSize:"14px",color:"#2546F0",cursor:"pointer",verticalAlign:"middle",display:"inline-flex",alignItems:"center",background:"#E9ECFD",border:"1px solid #D4DBFF",borderRadius:"2px",gap:"4px",...null==s?void 0:s.pill},citationContent:{width:"100%",background:"transparent",marginTop:"10px",...null==s?void 0:s.content}}})};export{a as default};
2
2
  //# sourceMappingURL=WebCitationRenderer.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WebCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAOrF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CAEpC;AAED,QAAA,MAAM,mBAAmB,qEAAqE,MAAM,4CAmEnG,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
1
+ {"version":3,"file":"WebCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../../src/features/RequirementAI/components/citations/web-citation/WebCitationRenderer.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AAOrF,UAAU,MAAM;IACd,KAAK,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,WAAW,CAAC,EAAE,cAAc,CAAA;IAC5B,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CAEpC;AAED,QAAA,MAAM,mBAAmB,qEAAqE,MAAM,4CAyEnG,CAAC;AAEF,eAAe,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e-llm-studio/requirement-ai",
3
- "version": "0.0.296",
3
+ "version": "0.0.297",
4
4
  "author": "Saptyadeep Bhattacharjee",
5
5
  "description": "",
6
6
  "license": "MIT",