@e-llm-studio/requirement-ai 0.0.329 → 0.0.330
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.
- package/dist/cjs/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
- package/dist/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.js +1 -1
- package/dist/types/src/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("react/jsx-runtime"),t=require("../../../CitationRenderer/CitationRenderer.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("react/jsx-runtime"),t=require("../../../CitationRenderer/CitationRenderer.js"),n=require("../../../RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js"),e=require("./pdfCitation.module.css.js"),o=require("@mui/material"),a=require("@e-llm-studio/citation");exports.default=({title:l,citation:r,customIcons:c,customStyles:d,pdfViewHeaderAction:s,fetchOnDemandCitation:u})=>{var m,p,v;const f=null!==(m=null==c?void 0:c.ScannedDocumentIcon)&&void 0!==m?m:i.jsx(n.default,{});return console.log("citation?.customMetadata?.value",null===(p=null==r?void 0:r.customMetadata)||void 0===p?void 0:p.value),i.jsx(t.default,{inLineCitation:!0,citationTitle:l,citationId:`scanned-doc-${r.citation_number}`,citationComponent:r.isLoading&&u?i.jsxs("div",{className:e.default.citationLoader,style:{...null==d?void 0:d.loadingCitation},children:["Loading Citation",i.jsx(o.CircularProgress,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==d?void 0:d.loadingCitationCircularProgress}})]}):i.jsx(a.ScannedDocCitation,{pages:(null===(v=null==r?void 0:r.customMetadata)||void 0===v?void 0:v.value)||[]}),additionalCallbackForPillButton:()=>{r.isLoading&&u&&(null==u||u())},chevronDownComponent:f,chevronUpComponent:f,styles:{pillButton:{fontSize:"14px",margin:"0px",background:"#ffffff",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",border:"none",...null==d?void 0:d.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null==d?void 0:d.content}}})};
|
|
2
2
|
//# sourceMappingURL=ScannedCitationRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as t,jsxs as i}from"react/jsx-runtime";import
|
|
1
|
+
import{jsx as t,jsxs as i}from"react/jsx-runtime";import o from"../../../CitationRenderer/CitationRenderer.js";import n from"../../../RequirementAiCitations/AiReasoning/components/icons/DocumentCitationIcon.js";import e from"./pdfCitation.module.css.js";import{CircularProgress as a}from"@mui/material";import{ScannedDocCitation as l}from"@e-llm-studio/citation";const c=({title:c,citation:r,customIcons:d,customStyles:s,pdfViewHeaderAction:m,fetchOnDemandCitation:u})=>{var p,f,v;const g=null!==(p=null==d?void 0:d.ScannedDocumentIcon)&&void 0!==p?p:t(n,{});return console.log("citation?.customMetadata?.value",null===(f=null==r?void 0:r.customMetadata)||void 0===f?void 0:f.value),t(o,{inLineCitation:!0,citationTitle:c,citationId:`scanned-doc-${r.citation_number}`,citationComponent:r.isLoading&&u?i("div",{className:e.citationLoader,style:{...null==s?void 0:s.loadingCitation},children:["Loading Citation",t(a,{style:{color:"#4c4c4c",width:"20px",height:"20px",...null==s?void 0:s.loadingCitationCircularProgress}})]}):t(l,{pages:(null===(v=null==r?void 0:r.customMetadata)||void 0===v?void 0:v.value)||[]}),additionalCallbackForPillButton:()=>{r.isLoading&&u&&(null==u||u())},chevronDownComponent:g,chevronUpComponent:g,styles:{pillButton:{fontSize:"14px",margin:"0px",background:"#ffffff",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",border:"none",...null==s?void 0:s.pill},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content",...null==s?void 0:s.content}}})};export{c as default};
|
|
2
2
|
//# sourceMappingURL=ScannedCitationRenderer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScannedCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAM7C,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAED,QAAA,MAAM,0BAA0B,+FAO7B,KAAK,
|
|
1
|
+
{"version":3,"file":"ScannedCitationRenderer.d.ts","sourceRoot":"","sources":["../../../../../../../src/features/RequirementAI/components/ai-reasoning/ScannedCitationRenderer.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,kBAAkB,EAClB,cAAc,EACf,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACpB,MAAM,qCAAqC,CAAC;AAM7C,UAAU,KAAK;IACb,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,WAAW,CAAC,EAAE,cAAc,CAAC;IAC7B,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,mBAAmB,CAAC,EAAE,sBAAsB,CAAC;IAC7C,qBAAqB,CAAC,EAAE,MAAM,IAAI,CAAC;CACpC;AAED,QAAA,MAAM,0BAA0B,+FAO7B,KAAK,4CAiEP,CAAC;AAEF,eAAe,0BAA0B,CAAC"}
|