@e-llm-studio/citation 0.0.146 → 0.0.148
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/README.md +2 -1
- package/dist/cjs/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/cjs/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/features/CitationRenderer/CitationRenderer.js +1 -1
- package/dist/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +1 -1
- package/dist/types/src/RequirementAICitationTest.d.ts.map +1 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts +1 -1
- package/dist/types/src/features/CitationRenderer/CitationRenderer.d.ts.map +1 -1
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts +4 -3
- package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map +1 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -800,7 +800,8 @@ import { WebCitationWithImageContent } from '@e-llm-studio/citation/WebCitationW
|
|
|
800
800
|
|
|
801
801
|
| Prop Name | Type | Required | Description |
|
|
802
802
|
|-----------|------|----------|-------------|
|
|
803
|
-
| `title` | `string` |
|
|
803
|
+
| `title` | `string` | ❌ | Title on the main pill |
|
|
804
|
+
| `citationIcon` | `ReactNode` | ❌ | Icon on the main Pill |
|
|
804
805
|
| `aiReason` | `TAIReasoning` | ✅ | Contains `id`, `reason`, `gap`, `relevance_score` |
|
|
805
806
|
| `citationList` | `Citations` | ✅ | Lookup object for all referenced files/images/web |
|
|
806
807
|
| `aiReasoningAccordionProps` | `Object` | ✅ | Must contain `icons: { chevronUp, chevronDown }` |
|
|
@@ -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");exports.default=function(o){var a=o.inLineCitation,s=o.citationTitle,r=o.citationIcon,l=o.chevronUpComponent,c=o.chevronDownComponent,u=o.additionalCallbackForPillButton,d=o.citationComponent,p=o.styles,v=void 0===p?{}:p,f=o.isOpen,_=o.onToggle,m=n.useState(!1),C=m[0],g=m[1],j=void 0!==f?f:C;return e.jsxs(e.Fragment,{children:[e.jsxs("span",t.__assign({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),u&&u(),_?_():void 0===f&&g(function(t){return!t})}(t)},className:i.default.pillButton,style:v.pillButton},{children:[r
|
|
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");exports.default=function(o){var a=o.inLineCitation,s=o.citationTitle,r=o.citationIcon,l=o.chevronUpComponent,c=o.chevronDownComponent,u=o.additionalCallbackForPillButton,d=o.citationComponent,p=o.styles,v=void 0===p?{}:p,f=o.isOpen,_=o.onToggle,m=n.useState(!1),C=m[0],g=m[1],j=void 0!==f?f:C;return e.jsxs(e.Fragment,{children:[e.jsxs("span",t.__assign({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),u&&u(),_?_():void 0===f&&g(function(t){return!t})}(t)},className:i.default.pillButton,style:v.pillButton},{children:[r||(s?e.jsx("span",t.__assign({style:v.citationTitle},{children:s})):null),a&&(j?l:c)]})),a&&j&&e.jsx("div",t.__assign({className:i.default.citationWrapper,style:v.citationWrapper},{children:e.jsx("div",t.__assign({className:i.default.citationContent,style:v.citationContent},{children:d}))}))]})};
|
|
2
2
|
//# sourceMappingURL=CitationRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react/jsx-runtime"),t=require("../../CitationRenderer/CitationRenderer.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var n=require("react/jsx-runtime"),t=require("../../CitationRenderer/CitationRenderer.js"),o=require("./components/AiReasoningCitationContent.js");exports.default=function(e){var i=e.title,r=e.aiReason,s=e.citationList,a=e.citationIcon,c=e.aiReasoningAccordionProps,p=e.projectDetails,l=e.cachingConfig,f=e.titleConfig,u=e.iconConfig,C=e.styles,m=e.citationStyles,g=e.renderCustomComponent,d=e.CustomComponentIcon,x=e.isCustomComponent;return n.jsx(t.default,{inLineCitation:!0,citationTitle:i,citationIcon:a,citationComponent:n.jsx(o.default,{renderCustomComponent:g,CustomComponentIcon:d,isCustomComponent:x,aiReason:r,citationsList:s,projectDetails:p,aiReasoningAccordionProps:c,cachingConfig:l,titleConfig:f,iconConfig:u,styles:C,citationStyles:m}),chevronDownComponent:n.jsx(function(){return n.jsx("i",{className:"pi pi-angle-down",style:{color:"#4B5563"}})},{}),chevronUpComponent:n.jsx(function(){return n.jsx("i",{className:"pi pi-angle-up",style:{color:"#4B5563"}})},{}),styles:{pillButton:{margin:"0px",padding:"2px 6px",fontSize:"15px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"#ffffffff",fontWeight:"700",border:"none"},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};
|
|
2
2
|
//# sourceMappingURL=AiReasoningCitation.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("lucide-react");exports.default=function(
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),i=require("react/jsx-runtime"),n=require("react"),t=require("lucide-react"),r=require("../ChatCitation/components/wrappers/Modal.js");exports.default=function(o){var s=o.images,a=o.highlights,l=o.highlightColor,d=void 0===l?"rgba(255, 220, 0, 0.15)":l,c=o.highlightActiveColor,u=void 0===c?"rgba(255, 220, 0, 0.35)":c,x=o.highlightBorderColor,p=void 0===x?"rgba(200, 160, 0, 0.4)":x,g=o.height,h=void 0===g?"700px":g,b=a.flatMap(function(e,i){return e.bboxes.map(function(n,t){return{bbox:n,pageIndex:e.pageIndex,key:"".concat(i,"-").concat(t)}})}).length,f=n.useState(0),_=f[0],m=f[1],y=n.useState(!1),v=y[0],j=y[1],k=n.useRef(null),C=n.useRef(null),w=n.useRef([]),z=n.useCallback(function(e,i){void 0===i&&(i=!1);var n=Math.max(0,Math.min(b-1,e));m(n);var t=i?C.current:k.current,r=w.current[n];if(t&&r){var o=t.getBoundingClientRect().top,s=r.getBoundingClientRect().top-o+t.scrollTop-t.clientHeight/2+r.clientHeight/2;t.scrollTo({top:s,behavior:"smooth"})}},[b]),R=function(n){return void 0===n&&(n=!1),b>0&&i.jsx("div",e.__assign({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:i.jsxs("div",e.__assign({style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"}},{children:[i.jsxs("span",e.__assign({style:{fontSize:"12px",color:"#888"}},{children:[_+1," / ",b]})),i.jsx("button",e.__assign({onClick:function(){return z(_-1,n)},disabled:_<=0,style:{padding:"2px 8px",fontSize:"12px",cursor:_<=0?"not-allowed":"pointer",opacity:_<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↑"})),i.jsx("button",e.__assign({onClick:function(){return z(_+1,n)},disabled:_>=b-1,style:{padding:"2px 8px",fontSize:"12px",cursor:_>=b-1?"not-allowed":"pointer",opacity:_>=b-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↓"})),i.jsx("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),n?i.jsx(t.X,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return j(!1)}}):i.jsx(t.Maximize2,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return j(!0)}})]}))}))},I=function(){var n=-1;return s.map(function(t,r){var o=a.filter(function(e){return e.pageIndex===r}).flatMap(function(e,i){return e.bboxes.map(function(e,t){return n++,{bbox:e,key:"".concat(r,"-").concat(i,"-").concat(t),globalIndex:n}})});return i.jsxs("div",{children:[i.jsxs("div",e.__assign({style:{fontSize:"12px",color:"#888",marginBottom:"4px"}},{children:["Page ",r+1]})),i.jsx("div",e.__assign({style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0}},{children:i.jsxs("div",e.__assign({style:{position:"absolute",inset:0}},{children:[i.jsx("img",{src:t,alt:"Page ".concat(r+1),style:{display:"block",width:"100%",height:"100%",objectFit:"fill"},draggable:!1}),o.map(function(e){var n=e.bbox,t=e.key,r=e.globalIndex,o=_===r;return i.jsx("div",{ref:function(e){w.current[r]=e},style:{position:"absolute",left:"".concat(100*n.xmin,"%"),top:"".concat(100*n.ymin,"%"),width:"".concat(100*(n.xmax-n.xmin),"%"),height:"".concat(100*(n.ymax-n.ymin),"%"),background:o?u:d,border:o?"1.5px solid ".concat(p):"none",borderRadius:"2px",zIndex:2}},t)})]}))}))]},r)})},M={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",display:"flex",flexDirection:"column",gap:"8px",boxSizing:"border-box"};return i.jsxs(i.Fragment,{children:[i.jsxs("div",e.__assign({style:{width:"100%",maxWidth:"600px",fontFamily:"inherit"}},{children:[R(!1),i.jsx("div",e.__assign({ref:k,style:e.__assign(e.__assign({},M),{height:h})},{children:I()}))]})),i.jsxs(r.Modal,e.__assign({isOpen:v,onClose:function(){return j(!1)}},{children:[R(!0),i.jsx("div",e.__assign({ref:C,style:e.__assign(e.__assign({},M),{flex:1})},{children:I()}))]}))]})};
|
|
2
2
|
//# sourceMappingURL=ScannedDocCitation.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=function(a){var l=a.inLineCitation,c=a.citationTitle,s=a.citationIcon,p=a.chevronUpComponent,m=a.chevronDownComponent,d=a.additionalCallbackForPillButton,u=a.citationComponent,f=a.styles,v=void 0===f?{}:f,C=a.isOpen,h=a.onToggle,y=e(!1),g=y[0],B=y[1],N=void 0!==C?C:g;return n(i,{children:[n("span",t({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),d&&d(),h?h():void 0===C&&B(function(t){return!t})}(t)},className:r.pillButton,style:v.pillButton},{children:[s
|
|
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=function(a){var l=a.inLineCitation,c=a.citationTitle,s=a.citationIcon,p=a.chevronUpComponent,m=a.chevronDownComponent,d=a.additionalCallbackForPillButton,u=a.citationComponent,f=a.styles,v=void 0===f?{}:f,C=a.isOpen,h=a.onToggle,y=e(!1),g=y[0],B=y[1],N=void 0!==C?C:g;return n(i,{children:[n("span",t({onClick:function(t){return function(t){t.preventDefault(),t.stopPropagation(),d&&d(),h?h():void 0===C&&B(function(t){return!t})}(t)},className:r.pillButton,style:v.pillButton},{children:[s||(c?o("span",t({style:v.citationTitle},{children:c})):null),l&&(N?p:m)]})),l&&N&&o("div",t({className:r.citationWrapper,style:v.citationWrapper},{children:o("div",t({className:r.citationContent,style:v.citationContent},{children:u}))}))]})};export{a as default};
|
|
2
2
|
//# sourceMappingURL=CitationRenderer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{jsx as n
|
|
1
|
+
import{jsx as n}from"react/jsx-runtime";import o from"../../CitationRenderer/CitationRenderer.js";import t from"./components/AiReasoningCitationContent.js";var i=function(i){var e=i.title,r=i.aiReason,a=i.citationList,c=i.citationIcon,s=i.aiReasoningAccordionProps,p=i.projectDetails,l=i.cachingConfig,m=i.titleConfig,f=i.iconConfig,C=i.styles,g=i.citationStyles,u=i.renderCustomComponent,d=i.CustomComponentIcon,h=i.isCustomComponent;return n(o,{inLineCitation:!0,citationTitle:e,citationIcon:c,citationComponent:n(t,{renderCustomComponent:u,CustomComponentIcon:d,isCustomComponent:h,aiReason:r,citationsList:a,projectDetails:p,aiReasoningAccordionProps:s,cachingConfig:l,titleConfig:m,iconConfig:f,styles:C,citationStyles:g}),chevronDownComponent:n(function(){return n("i",{className:"pi pi-angle-down",style:{color:"#4B5563"}})},{}),chevronUpComponent:n(function(){return n("i",{className:"pi pi-angle-up",style:{color:"#4B5563"}})},{}),styles:{pillButton:{margin:"0px",padding:"2px 6px",fontSize:"15px",color:"#526eff",cursor:"pointer",verticalAlign:"middle",whiteSpace:"nowrap",display:"inline-flex",alignItems:"center",background:"#ffffffff",fontWeight:"700",border:"none"},citationContent:{width:"100%",background:"transparent",minHeight:"10px",height:"fit-content"}}})};export{i as default};
|
|
2
2
|
//# sourceMappingURL=AiReasoningCitation.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as t}from"tslib";import{jsxs as i,Fragment as e,jsx as n}from"react/jsx-runtime";import{useState as o,useRef as r,useCallback as l}from"react";import{X as d,Maximize2 as a}from"lucide-react";import{Modal as c}from"../ChatCitation/components/wrappers/Modal.js";function p(p){var s=p.images,u=p.highlights,h=p.highlightColor,x=void 0===h?"rgba(255, 220, 0, 0.15)":h,g=p.highlightActiveColor,f=void 0===g?"rgba(255, 220, 0, 0.35)":g,b=p.highlightBorderColor,m=void 0===b?"rgba(200, 160, 0, 0.4)":b,y=p.height,v=void 0===y?"700px":y,k=u.flatMap(function(t,i){return t.bboxes.map(function(e,n){return{bbox:e,pageIndex:t.pageIndex,key:"".concat(i,"-").concat(n)}})}).length,C=o(0),w=C[0],z=C[1],I=o(!1),R=I[0],S=I[1],B=r(null),M=r(null),j=r([]),T=l(function(t,i){void 0===i&&(i=!1);var e=Math.max(0,Math.min(k-1,t));z(e);var n=i?M.current:B.current,o=j.current[e];if(n&&o){var r=n.getBoundingClientRect().top,l=o.getBoundingClientRect().top-r+n.scrollTop-n.clientHeight/2+o.clientHeight/2;n.scrollTo({top:l,behavior:"smooth"})}},[k]),F=function(e){return void 0===e&&(e=!1),k>0&&n("div",t({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:i("div",t({style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"}},{children:[i("span",t({style:{fontSize:"12px",color:"#888"}},{children:[w+1," / ",k]})),n("button",t({onClick:function(){return T(w-1,e)},disabled:w<=0,style:{padding:"2px 8px",fontSize:"12px",cursor:w<=0?"not-allowed":"pointer",opacity:w<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↑"})),n("button",t({onClick:function(){return T(w+1,e)},disabled:w>=k-1,style:{padding:"2px 8px",fontSize:"12px",cursor:w>=k-1?"not-allowed":"pointer",opacity:w>=k-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↓"})),n("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),e?n(d,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return S(!1)}}):n(a,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return S(!0)}})]}))}))},H=function(){var e=-1;return s.map(function(o,r){var l=u.filter(function(t){return t.pageIndex===r}).flatMap(function(t,i){return t.bboxes.map(function(t,n){return e++,{bbox:t,key:"".concat(r,"-").concat(i,"-").concat(n),globalIndex:e}})});return i("div",{children:[i("div",t({style:{fontSize:"12px",color:"#888",marginBottom:"4px"}},{children:["Page ",r+1]})),n("div",t({style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0}},{children:i("div",t({style:{position:"absolute",inset:0}},{children:[n("img",{src:o,alt:"Page ".concat(r+1),style:{display:"block",width:"100%",height:"100%",objectFit:"fill"},draggable:!1}),l.map(function(t){var i=t.bbox,e=t.key,o=t.globalIndex,r=w===o;return n("div",{ref:function(t){j.current[o]=t},style:{position:"absolute",left:"".concat(100*i.xmin,"%"),top:"".concat(100*i.ymin,"%"),width:"".concat(100*(i.xmax-i.xmin),"%"),height:"".concat(100*(i.ymax-i.ymin),"%"),background:r?f:x,border:r?"1.5px solid ".concat(m):"none",borderRadius:"2px",zIndex:2}},e)})]}))}))]},r)})},P={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",display:"flex",flexDirection:"column",gap:"8px",boxSizing:"border-box"};return i(e,{children:[i("div",t({style:{width:"100%",maxWidth:"600px",fontFamily:"inherit"}},{children:[F(!1),n("div",t({ref:B,style:t(t({},P),{height:v})},{children:H()}))]})),i(c,t({isOpen:R,onClose:function(){return S(!1)}},{children:[F(!0),n("div",t({ref:M,style:t(t({},P),{flex:1})},{children:H()}))]}))]})}export{p as default};
|
|
2
2
|
//# sourceMappingURL=ScannedDocCitation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequirementAICitationTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAICitationTest.tsx"],"names":[],"mappings":"AA0BA,QAAA,MAAM,yBAAyB,+
|
|
1
|
+
{"version":3,"file":"RequirementAICitationTest.d.ts","sourceRoot":"","sources":["../../../src/RequirementAICitationTest.tsx"],"names":[],"mappings":"AA0BA,QAAA,MAAM,yBAAyB,+CA0c9B,CAAC;AAEF,eAAe,yBAAyB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import React, { CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
interface CitationRendererProps {
|
|
3
3
|
inLineCitation: boolean;
|
|
4
4
|
citationIcon?: ReactNode;
|
|
5
|
-
citationTitle
|
|
5
|
+
citationTitle?: string;
|
|
6
6
|
chevronUpComponent?: React.ReactNode;
|
|
7
7
|
chevronDownComponent?: React.ReactNode;
|
|
8
8
|
additionalCallbackForPillButton?: any;
|
|
@@ -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;
|
|
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,CAAC,EAAE,MAAM,CAAC;IACvB,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;CACzB;AAED,QAAA,MAAM,gBAAgB,EAAE,KAAK,CAAC,EAAE,CAAC,qBAAqB,CA6DrD,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Citations, IProjectDetails, TAIReasoning } from './types/interface';
|
|
3
3
|
interface IProps {
|
|
4
|
-
title
|
|
4
|
+
title?: string;
|
|
5
5
|
aiReason: TAIReasoning;
|
|
6
|
+
citationIcon?: ReactNode;
|
|
6
7
|
citationList: Citations;
|
|
7
8
|
projectDetails: IProjectDetails[] | null;
|
|
8
9
|
aiReasoningAccordionProps: {
|
|
@@ -119,6 +120,6 @@ interface IProps {
|
|
|
119
120
|
gapIcon?: React.ElementType;
|
|
120
121
|
};
|
|
121
122
|
}
|
|
122
|
-
declare const AiReasoningCitation: ({ title, aiReason, citationList, aiReasoningAccordionProps, projectDetails, cachingConfig, titleConfig, iconConfig, styles, citationStyles, renderCustomComponent, CustomComponentIcon, isCustomComponent }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
123
|
+
declare const AiReasoningCitation: ({ title, aiReason, citationList, citationIcon, aiReasoningAccordionProps, projectDetails, cachingConfig, titleConfig, iconConfig, styles, citationStyles, renderCustomComponent, CustomComponentIcon, isCustomComponent }: IProps) => import("react/jsx-runtime").JSX.Element;
|
|
123
124
|
export default AiReasoningCitation;
|
|
124
125
|
//# sourceMappingURL=AiReasoningCitation.d.ts.map
|
package/dist/types/src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AiReasoningCitation.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"AiReasoningCitation.d.ts","sourceRoot":"","sources":["../../../../../../src/features/RequirementAiCitations/AiReasoning/AiReasoningCitation.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGzC,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG7E,UAAU,MAAM;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,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AAC,aAAa,CAAC;gBAChC,MAAM,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBAC7B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBAC5B,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;gBAC5B,gBAAgB,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;aACxC,CAAC;SACH,CAAC;KACH,CAAC;IACF,WAAW,CAAC,EAAE;QACZ,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,MAAM,CAAC,EAAE;YACP,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;QACF,GAAG,CAAC,EAAE;YACJ,SAAS,CAAC,EAAE,MAAM,CAAC;YACnB,YAAY,CAAC,EAAE,MAAM,CAAC;SACvB,CAAC;KACH,CAAC;IACF,UAAU,CAAC,EAAE;QACX,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;QACjC,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;QAClC,OAAO,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;KAC7B,CAAC;CACH;AAED,QAAA,MAAM,mBAAmB,8NAA2N,MAAM,4CAyDzP,CAAA;AAED,eAAe,mBAAmB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScannedDocCitation.d.ts","sourceRoot":"","sources":["../../../../../src/features/ScannedDocCitation/ScannedDocCitation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScannedDocCitation.d.ts","sourceRoot":"","sources":["../../../../../src/features/ScannedDocCitation/ScannedDocCitation.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,IAAI;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,aAAa;IAC5B,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,IAAI,EAAE,CAAC;CAChB;AAED,MAAM,WAAW,uBAAuB;IACtC,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,UAAU,EAAE,aAAa,EAAE,CAAC;IAC5B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,UAAU,kBAAkB,CAAC,EACzC,MAAM,EACN,UAAU,EACV,cAA0C,EAC1C,oBAAgD,EAChD,oBAA+C,EAC/C,MAAgB,GACjB,EAAE,uBAAuB,2CA0IzB"}
|