@e-llm-studio/citation 0.0.143 → 0.0.144
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 +97 -0
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
- package/dist/cjs/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
- package/dist/cjs/index.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js +2 -0
- package/dist/features/ScannedDocCitation/ScannedDocCitation.js.map +1 -0
- package/dist/index.js +1 -1
- package/dist/types/src/ScannedDocCitationTest.d.ts +2 -0
- package/dist/types/src/ScannedDocCitationTest.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts +24 -0
- package/dist/types/src/features/ScannedDocCitation/ScannedDocCitation.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +1 -0
- package/dist/types/src/index.d.ts.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
- [CitationsViewer](#citationsviewer) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/CitationViewer/CitationViewerReadme.md)
|
|
17
17
|
- [PdfEditorCitation](#pdfeditorcitation) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/PdfEditorCitation/README.md)
|
|
18
18
|
- [RequirementAICitation](#requirementaicitation) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/RequirementAiCitations/RequirementAiCitationsReadme.md)
|
|
19
|
+
- [ScannedDocCitation](#scanneddoccitation) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/ScannedDocCitation/README.md)
|
|
19
20
|
- [Other Components](#other-components)
|
|
20
21
|
- [Bookemon](#bookemon) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/Bookemon/BookemonReadme.md)
|
|
21
22
|
- [DatagestMon](#datagestmon) [<img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" width="18" height="18">](https://github.com/Techolution/e-llm-studio-lib/blob/dev/citation/src/features/DatagestMon/README.md)
|
|
@@ -863,6 +864,102 @@ npm install react-markdown rehype-raw @react-pdf-viewer/core @material-ui/core
|
|
|
863
864
|
|
|
864
865
|
---
|
|
865
866
|
|
|
867
|
+
## ScannedDocCitation
|
|
868
|
+
|
|
869
|
+
### Overview
|
|
870
|
+
|
|
871
|
+
ScannedDocCitation is a React component for displaying scanned documents with interactive bounding box highlight overlays. It supports multi-page scrolling, highlight navigation via arrows, and a fullscreen view.
|
|
872
|
+
|
|
873
|
+
### Features
|
|
874
|
+
|
|
875
|
+
- **Multi-page scrolling** - All pages stacked vertically inside a fixed-height scrollable container
|
|
876
|
+
- **Bounding box highlights** - Overlay highlights on document pages using normalized pixel coordinates
|
|
877
|
+
- **Highlight navigation** - Jump between highlights using ↑↓ arrows, auto-scrolls to active highlight
|
|
878
|
+
- **Fullscreen modal** - Expand to a larger view for detailed examination
|
|
879
|
+
- **Customizable highlight colors** - Control highlight color, active color, and border color
|
|
880
|
+
- **Pixel coordinate normalization** - Accepts raw pixel coordinates and normalizes using page dimensions
|
|
881
|
+
|
|
882
|
+
### Usage
|
|
883
|
+
```tsx
|
|
884
|
+
import ScannedDocCitation from '@e-llm-studio/citation/ScannedDocCitation'
|
|
885
|
+
|
|
886
|
+
<ScannedDocCitation
|
|
887
|
+
images={[
|
|
888
|
+
'https://example.com/page1.png',
|
|
889
|
+
'https://example.com/page2.png'
|
|
890
|
+
]}
|
|
891
|
+
highlights={[
|
|
892
|
+
{
|
|
893
|
+
pageIndex: 0,
|
|
894
|
+
dimensions: { width: 1275, height: 1650 },
|
|
895
|
+
bboxes: [
|
|
896
|
+
{ xmin: 127, ymin: 132, xmax: 1147, ymax: 297 }
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
pageIndex: 1,
|
|
901
|
+
dimensions: { width: 1275, height: 1650 },
|
|
902
|
+
bboxes: [
|
|
903
|
+
{ xmin: 89, ymin: 742, xmax: 1147, ymax: 891 }
|
|
904
|
+
]
|
|
905
|
+
}
|
|
906
|
+
]}
|
|
907
|
+
height="700px"
|
|
908
|
+
/>
|
|
909
|
+
```
|
|
910
|
+
|
|
911
|
+
**With Custom Highlight Colors**:
|
|
912
|
+
```tsx
|
|
913
|
+
<ScannedDocCitation
|
|
914
|
+
images={imageUrls}
|
|
915
|
+
highlights={highlights}
|
|
916
|
+
highlightColor="rgba(100, 160, 255, 0.3)"
|
|
917
|
+
highlightActiveColor="rgba(100, 160, 255, 0.6)"
|
|
918
|
+
highlightBorderColor="rgba(50, 100, 220, 0.8)"
|
|
919
|
+
/>
|
|
920
|
+
```
|
|
921
|
+
|
|
922
|
+
### Props
|
|
923
|
+
|
|
924
|
+
| Prop Name | Type | Required | Default | Description |
|
|
925
|
+
|-----------|------|----------|---------|-------------|
|
|
926
|
+
| `images` | `string[]` | ✅ | — | Array of image URLs, one per page |
|
|
927
|
+
| `highlights` | `PageHighlight[]` | ✅ | — | Array of highlights with bounding boxes per page |
|
|
928
|
+
| `highlightColor` | `string` | ❌ | `rgba(255,220,0,0.35)` | Background color of inactive highlights |
|
|
929
|
+
| `highlightActiveColor` | `string` | ❌ | `rgba(255,220,0,0.65)` | Background color of the currently active highlight |
|
|
930
|
+
| `highlightBorderColor` | `string` | ❌ | `rgba(200,160,0,0.8)` | Border color of the active highlight |
|
|
931
|
+
| `height` | `string \| number` | ❌ | `700px` | Height of the scrollable container |
|
|
932
|
+
|
|
933
|
+
### Type Definitions
|
|
934
|
+
```typescript
|
|
935
|
+
interface BBox {
|
|
936
|
+
xmin: number; // raw pixel coordinate
|
|
937
|
+
ymin: number;
|
|
938
|
+
xmax: number;
|
|
939
|
+
ymax: number;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
interface PageHighlight {
|
|
943
|
+
pageIndex: number; // zero-based page index (page_no - 1)
|
|
944
|
+
bboxes: BBox[]; // bounding boxes on this page
|
|
945
|
+
dimensions: {
|
|
946
|
+
width: number; // original image width in pixels e.g. 1275
|
|
947
|
+
height: number; // original image height in pixels e.g. 1650
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
interface ScannedDocCitationProps {
|
|
952
|
+
images: string[];
|
|
953
|
+
highlights: PageHighlight[];
|
|
954
|
+
highlightColor?: string;
|
|
955
|
+
highlightActiveColor?: string;
|
|
956
|
+
highlightBorderColor?: string;
|
|
957
|
+
height?: string | number;
|
|
958
|
+
}
|
|
959
|
+
```
|
|
960
|
+
|
|
961
|
+
---
|
|
962
|
+
|
|
866
963
|
|
|
867
964
|
# Other Components
|
|
868
965
|
## Bookemon
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),r=require("react/jsx-runtime"),i=require("@react-pdf-viewer/core"),s=require("./PdfContainer.js"),t=require("./PdfToolbar.js"),o=require("./PdfStyle.js"),l=require("./usePdfHighlight.js");require("@react-pdf-viewer/zoom/lib/styles/index.css"),require("@react-pdf-viewer/page-navigation/lib/styles/index.css"),require("@react-pdf-viewer/core/lib/styles/index.css"),require("@react-pdf-viewer/search/lib/styles/index.css");var n=require("react");exports.default=function(a){var u=a.pdfUrl,c=a.highlightText,d=a.highlightPages,f=a.jumpToPageValue,g=void 0===f?0:f,h=a.pdfName,p=a.onClose,v=a.customStyles,m=a.customClasses,y=a.customIcons,_=l.PdfHighlightControls(c,d),x=_.highlightIndex,q=_.cursorIndex,b=_.setCursorIndex,w=_.orderedKeys,j=_.totalHighlights,P=_.getValidPosition,S=_.tryJump,C=_.jumpToPage,I=_.zoomTo,V=_.plugins,A=_.controls,F=P(q),T=n.useRef(null);if(!u)return r.jsx("div",e.__assign({style:e.__assign(e.__assign({},o.pdfStyles.emptyState),null==v?void 0:v.emptyState)},{children:"PDF is not available for this selection"}));return r.jsxs("div",e.__assign({ref:T,className:(null==m?void 0:m.pdfViewerWrapper)||"",style:e.__assign(e.__assign(e.__assign({},o.pdfStyles.pdfViewer),{display:"flex",flexDirection:"column",height:"100%",width:"100%",backgroundColor:"#FAFAFA"}),null==v?void 0:v.pdfViewer)},{children:[r.jsx(t.default,{highlightIndex:x,totalHighlights:j,controls:A,currentPosition:F,pdfName:h,onClose:p,pdfUrl:u,viewerRef:T,customStyles:v,customClasses:m,customIcons:y}),r.jsx(s.default,{pdfUrl:u,plugins:V,customStyles:v,onLoad:function(){if(I(i.SpecialZoomLevel.ActualSize),g>0){var e=g-1,r=w[e],s=d[r];b(e),s>0&&C(s-1)}requestAnimationFrame(function(){S(),function(){if(T.current){var e=T.current.querySelector(".rpv-core__viewer");if(e){var r=new MutationObserver(function(){var e,i=null===(e=T.current)||void 0===e?void 0:e.querySelector(".rpv-search__highlight");i&&(i.scrollIntoView({behavior:"smooth",block:"center"}),r.disconnect())});r.observe(e,{childList:!0,subtree:!0})}}}()})}})]}))};
|
|
2
2
|
//# sourceMappingURL=PdfViewer.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("tslib"),e=require("react/jsx-runtime"),n=require("react"),t=require("lucide-react");exports.default=function(o){var r=o.images,s=o.highlights,a=o.highlightColor,d=void 0===a?"rgba(255, 220, 0, 0.35)":a,l=o.highlightActiveColor,c=void 0===l?"rgba(255, 220, 0, 0.65)":l,x=o.highlightBorderColor,u=void 0===x?"rgba(200, 160, 0, 0.8)":x,g=o.height,p=void 0===g?"700px":g,h=s.flatMap(function(i,e){return i.bboxes.map(function(n,t){return{bbox:n,dimensions:i.dimensions,pageIndex:i.pageIndex,key:"".concat(e,"-").concat(t)}})}).length,b=n.useState(0),f=b[0],m=b[1],_=n.useState(!1),y=_[0],v=_[1],j=n.useRef(null),k=n.useRef(null),w=n.useRef([]),C=n.useCallback(function(i,e){void 0===e&&(e=!1);var n=Math.max(0,Math.min(h-1,i));m(n);var t=e?k.current:j.current,o=w.current[n];if(t&&o){var r=t.getBoundingClientRect().top,s=o.getBoundingClientRect().top-r+t.scrollTop-t.clientHeight/2+o.clientHeight/2;t.scrollTo({top:s,behavior:"smooth"})}},[h]),z=function(n){return void 0===n&&(n=!1),h>0&&e.jsx("div",i.__assign({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:e.jsxs("div",i.__assign({style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"}},{children:[e.jsxs("span",i.__assign({style:{fontSize:"12px",color:"#888"}},{children:[f+1," / ",h]})),e.jsx("button",i.__assign({onClick:function(){return C(f-1,n)},disabled:f<=0,style:{padding:"2px 8px",fontSize:"12px",cursor:f<=0?"not-allowed":"pointer",opacity:f<=0?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↑"})),e.jsx("button",i.__assign({onClick:function(){return C(f+1,n)},disabled:f>=h-1,style:{padding:"2px 8px",fontSize:"12px",cursor:f>=h-1?"not-allowed":"pointer",opacity:f>=h-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↓"})),e.jsx("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),n?e.jsx(t.X,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return v(!1)}}):e.jsx(t.Maximize2,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return v(!0)}})]}))}))},I=function(){var n=-1;return r.map(function(t,o){var r=s.filter(function(i){return i.pageIndex===o}).flatMap(function(i,e){return i.bboxes.map(function(t,r){return n++,{bbox:t,dimensions:i.dimensions,key:"".concat(o,"-").concat(e,"-").concat(r),globalIndex:n}})});return e.jsxs("div",{children:[e.jsxs("div",i.__assign({style:{fontSize:"12px",color:"#888",marginBottom:"4px"}},{children:["Page ",o+1]})),e.jsx("div",i.__assign({style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0}},{children:e.jsxs("div",i.__assign({style:{position:"absolute",inset:0}},{children:[e.jsx("img",{src:t,alt:"Page ".concat(o+1),style:{display:"block",width:"100%",height:"100%",objectFit:"fill"},draggable:!1}),r.map(function(i){var n=i.bbox,t=i.dimensions,o=i.key,r=i.globalIndex,s=f===r;return e.jsx("div",{ref:function(i){w.current[r]=i},style:{position:"absolute",left:"".concat(n.xmin/t.width*100,"%"),top:"".concat(n.ymin/t.height*100,"%"),width:"".concat((n.xmax-n.xmin)/t.width*100,"%"),height:"".concat((n.ymax-n.ymin)/t.height*100,"%"),background:s?c:d,border:s?"1.5px solid ".concat(u):"none",borderRadius:"2px",zIndex:2}},o)})]}))}))]},o)})},R={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",display:"flex",flexDirection:"column",gap:"8px",boxSizing:"border-box"};return e.jsxs(e.Fragment,{children:[e.jsxs("div",i.__assign({style:{width:"100%",maxWidth:"600px",fontFamily:"inherit"}},{children:[z(!1),e.jsx("div",i.__assign({ref:j,style:i.__assign(i.__assign({},R),{height:p})},{children:I()}))]})),y&&e.jsx("div",i.__assign({style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.5)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center"}},{children:e.jsxs("div",i.__assign({style:{background:"white",borderRadius:"8px",padding:"16px",width:"90vw",maxWidth:"800px",height:"90vh",display:"flex",flexDirection:"column"}},{children:[z(!0),e.jsx("div",i.__assign({ref:k,style:i.__assign(i.__assign({},R),{flex:1})},{children:I()}))]}))}))]})};
|
|
2
|
+
//# sourceMappingURL=ScannedDocCitation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScannedDocCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/CodeCitation/CodeCitation.js"),t=require("./features/ProjectAccordion/ProjectAccordion.js"),i=require("./features/BookCitation/BookCitation.js"),o=require("./features/Bookemon/Bookemon.js"),r=require("./features/PdfEditorCitation/PdfEditorCitation.js"),n=require("./features/CitationRenderer/CitationRenderer.js"),a=require("./features/CitationRenderer/MarkdownRenderer.js"),s=require("./features/CodeCitation/_components/CodeEditor.js"),u=require("./features/PaginatedTable/PaginatedTable.js"),C=require("./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js"),d=require("./features/ChatCitation/ChatCitationRenderer.js"),f=require("./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js"),l=require("./features/PdfViewer/PdfViewer.js"),p=require("./features/CognitiveDecisioning/FaqCitation/FaqCitation.js"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/CodeCitation/CodeCitation.js"),t=require("./features/ProjectAccordion/ProjectAccordion.js"),i=require("./features/BookCitation/BookCitation.js"),o=require("./features/Bookemon/Bookemon.js"),r=require("./features/PdfEditorCitation/PdfEditorCitation.js"),n=require("./features/CitationRenderer/CitationRenderer.js"),a=require("./features/CitationRenderer/MarkdownRenderer.js"),s=require("./features/CodeCitation/_components/CodeEditor.js"),u=require("./features/PaginatedTable/PaginatedTable.js"),C=require("./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js"),d=require("./features/ChatCitation/ChatCitationRenderer.js"),f=require("./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js"),l=require("./features/PdfViewer/PdfViewer.js"),p=require("./features/CognitiveDecisioning/FaqCitation/FaqCitation.js"),q=require("./features/RequirementAiCitations/ImageCitation/ImageCitationContent.js"),c=require("./features/RequirementAiCitations/VideoCitation/VideoCitationContent.js"),g=require("./features/RequirementAiCitations/FileCitation/FileCitationContent.js"),j=require("./features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js"),x=require("./features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js"),R=require("./features/CitationViewer/CitationsViewer.js"),m=require("./features/ExcelCitation/ExcelCitations.js"),P=require("./features/ScannedDocCitation/ScannedDocCitation.js");exports.CodeCitation=e.default,exports.ProjectAccordian=t.default,exports.BookCitation=i.default,exports.Bookemon=o.default,exports.PdfCitation=r.PdfEditorCitation,exports.CitationRenderer=n.default,exports.MarkdownRenderer=a.default,Object.defineProperty(exports,"DiagnosticSeverity",{enumerable:!0,get:function(){return s.DiagnosticSeverity}}),exports.PaginatedTable=u.default,exports.NonWebReasoningComponent=C.default,exports.ChatCitation=d.default,exports.CognitiveDecisioningCard=f.default,exports.PdfViewer=l.default,exports.FaqCitation=p.default,exports.ImageCitationContent=q.default,exports.VideoCitationContent=c.default,exports.FileCitationContent=g.default,exports.WebCitationWithImageContent=j.default,exports.AiReasoningCitation=x.default,exports.CitationsViewer=R.default,exports.ExcelCitation=m.default,exports.ScannedDocCitation=P.default;
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as r,jsxs as t}from"react/jsx-runtime";import{SpecialZoomLevel as i}from"@react-pdf-viewer/core";import o from"./PdfContainer.js";import s from"./PdfToolbar.js";import{pdfStyles as l}from"./PdfStyle.js";import{PdfHighlightControls as n}from"./usePdfHighlight.js";import"@react-pdf-viewer/zoom/lib/styles/index.css";import"@react-pdf-viewer/page-navigation/lib/styles/index.css";import"@react-pdf-viewer/core/lib/styles/index.css";import"@react-pdf-viewer/search/lib/styles/index.css";import{useRef as c}from"react";var a=function(a){var d=a.pdfUrl,m=a.highlightText,u=a.highlightPages,f=a.jumpToPageValue,p=void 0===f?0:f,h=a.pdfName,v=a.onClose,g=a.customStyles,y=a.customClasses,b=a.customIcons,w=n(m,u),x=w.highlightIndex,P=w.cursorIndex,S=w.setCursorIndex,j=w.orderedKeys,C=w.totalHighlights,I=w.getValidPosition,V=w.tryJump,A=w.jumpToPage,F=w.zoomTo,T=w.plugins,_=w.controls,q=I(P),z=c(null);if(!d)return r("div",e({style:e(e({},l.emptyState),null==g?void 0:g.emptyState)},{children:"PDF is not available for this selection"}));return t("div",e({ref:z,className:(null==y?void 0:y.pdfViewerWrapper)||"",style:e(e(e({},l.pdfViewer),{display:"flex",flexDirection:"column",height:"100%",width:"100%",backgroundColor:"#FAFAFA"}),null==g?void 0:g.pdfViewer)},{children:[r(s,{highlightIndex:x,totalHighlights:C,controls:_,currentPosition:q,pdfName:h,onClose:v,pdfUrl:d,viewerRef:z,customStyles:g,customClasses:y,customIcons:b}),r(o,{pdfUrl:d,plugins:T,customStyles:g,onLoad:function(){if(F(i.ActualSize),p>0){var e=p-1,r=j[e],t=u[r];S(e),t>0&&A(t-1)}requestAnimationFrame(function(){V(),function(){if(z.current){var e=z.current.querySelector(".rpv-core__viewer");if(e){var r=new MutationObserver(function(){var e,t=null===(e=z.current)||void 0===e?void 0:e.querySelector(".rpv-search__highlight");t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),r.disconnect())});r.observe(e,{childList:!0,subtree:!0})}}}()})}})]}))};export{a as default};
|
|
2
2
|
//# sourceMappingURL=PdfViewer.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as i}from"tslib";import{jsxs as e,Fragment as t,jsx as n}from"react/jsx-runtime";import{useState as o,useRef as r,useCallback as d}from"react";import{X as l,Maximize2 as a}from"lucide-react";function c(c){var s=c.images,p=c.highlights,h=c.highlightColor,u=void 0===h?"rgba(255, 220, 0, 0.35)":h,x=c.highlightActiveColor,g=void 0===x?"rgba(255, 220, 0, 0.65)":x,f=c.highlightBorderColor,b=void 0===f?"rgba(200, 160, 0, 0.8)":f,m=c.height,y=void 0===m?"700px":m,v=p.flatMap(function(i,e){return i.bboxes.map(function(t,n){return{bbox:t,dimensions:i.dimensions,pageIndex:i.pageIndex,key:"".concat(e,"-").concat(n)}})}).length,k=o(0),w=k[0],C=k[1],I=o(!1),z=I[0],R=I[1],S=r(null),B=r(null),M=r([]),j=d(function(i,e){void 0===e&&(e=!1);var t=Math.max(0,Math.min(v-1,i));C(t);var n=e?B.current:S.current,o=M.current[t];if(n&&o){var r=n.getBoundingClientRect().top,d=o.getBoundingClientRect().top-r+n.scrollTop-n.clientHeight/2+o.clientHeight/2;n.scrollTo({top:d,behavior:"smooth"})}},[v]),T=function(t){return void 0===t&&(t=!1),v>0&&n("div",i({style:{display:"flex",alignItems:"center",marginBottom:"6px"}},{children:e("div",i({style:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"4px"}},{children:[e("span",i({style:{fontSize:"12px",color:"#888"}},{children:[w+1," / ",v]})),n("button",i({onClick:function(){return j(w-1,t)},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",i({onClick:function(){return j(w+1,t)},disabled:w>=v-1,style:{padding:"2px 8px",fontSize:"12px",cursor:w>=v-1?"not-allowed":"pointer",opacity:w>=v-1?.4:1,border:"1px solid #ddd",borderRadius:"3px",background:"white"}},{children:"↓"})),n("span",{style:{width:"1px",height:"16px",background:"#e2e8f0",margin:"0 2px"}}),t?n(l,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return R(!1)}}):n(a,{size:16,color:"#64748b",style:{cursor:"pointer"},onClick:function(){return R(!0)}})]}))}))},D=function(){var t=-1;return s.map(function(o,r){var d=p.filter(function(i){return i.pageIndex===r}).flatMap(function(i,e){return i.bboxes.map(function(n,o){return t++,{bbox:n,dimensions:i.dimensions,key:"".concat(r,"-").concat(e,"-").concat(o),globalIndex:t}})});return e("div",{children:[e("div",i({style:{fontSize:"12px",color:"#888",marginBottom:"4px"}},{children:["Page ",r+1]})),n("div",i({style:{position:"relative",width:"100%",paddingTop:"129%",flexShrink:0}},{children:e("div",i({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}),d.map(function(i){var e=i.bbox,t=i.dimensions,o=i.key,r=i.globalIndex,d=w===r;return n("div",{ref:function(i){M.current[r]=i},style:{position:"absolute",left:"".concat(e.xmin/t.width*100,"%"),top:"".concat(e.ymin/t.height*100,"%"),width:"".concat((e.xmax-e.xmin)/t.width*100,"%"),height:"".concat((e.ymax-e.ymin)/t.height*100,"%"),background:d?g:u,border:d?"1.5px solid ".concat(b):"none",borderRadius:"2px",zIndex:2}},o)})]}))}))]},r)})},F={overflowY:"auto",border:"1px solid #ddd",borderRadius:"4px",padding:"8px",display:"flex",flexDirection:"column",gap:"8px",boxSizing:"border-box"};return e(t,{children:[e("div",i({style:{width:"100%",maxWidth:"600px",fontFamily:"inherit"}},{children:[T(!1),n("div",i({ref:S,style:i(i({},F),{height:y})},{children:D()}))]})),z&&n("div",i({style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.5)",zIndex:1e3,display:"flex",alignItems:"center",justifyContent:"center"}},{children:e("div",i({style:{background:"white",borderRadius:"8px",padding:"16px",width:"90vw",maxWidth:"800px",height:"90vh",display:"flex",flexDirection:"column"}},{children:[T(!0),n("div",i({ref:B,style:i(i({},F),{flex:1})},{children:D()}))]}))}))]})}export{c as default};
|
|
2
|
+
//# sourceMappingURL=ScannedDocCitation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScannedDocCitation.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{default as MarkdownRenderer}from"./features/CitationRenderer/MarkdownRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";export{default as PaginatedTable}from"./features/PaginatedTable/PaginatedTable.js";export{default as NonWebReasoningComponent}from"./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js";export{default as ChatCitation}from"./features/ChatCitation/ChatCitationRenderer.js";export{default as CognitiveDecisioningCard}from"./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js";export{default as PdfViewer}from"./features/PdfViewer/PdfViewer.js";export{default as FaqCitation}from"./features/CognitiveDecisioning/FaqCitation/FaqCitation.js";export{default as ImageCitationContent}from"./features/RequirementAiCitations/ImageCitation/ImageCitationContent.js";export{default as VideoCitationContent}from"./features/RequirementAiCitations/VideoCitation/VideoCitationContent.js";export{default as FileCitationContent}from"./features/RequirementAiCitations/FileCitation/FileCitationContent.js";export{default as WebCitationWithImageContent}from"./features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js";export{default as AiReasoningCitation}from"./features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js";export{default as CitationsViewer}from"./features/CitationViewer/CitationsViewer.js";export{default as ExcelCitation}from"./features/ExcelCitation/ExcelCitations.js";
|
|
1
|
+
export{default as CodeCitation}from"./features/CodeCitation/CodeCitation.js";export{default as ProjectAccordian}from"./features/ProjectAccordion/ProjectAccordion.js";export{default as BookCitation}from"./features/BookCitation/BookCitation.js";export{default as Bookemon}from"./features/Bookemon/Bookemon.js";export{PdfEditorCitation as PdfCitation}from"./features/PdfEditorCitation/PdfEditorCitation.js";export{default as CitationRenderer}from"./features/CitationRenderer/CitationRenderer.js";export{default as MarkdownRenderer}from"./features/CitationRenderer/MarkdownRenderer.js";export{DiagnosticSeverity}from"./features/CodeCitation/_components/CodeEditor.js";export{default as PaginatedTable}from"./features/PaginatedTable/PaginatedTable.js";export{default as NonWebReasoningComponent}from"./features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js";export{default as ChatCitation}from"./features/ChatCitation/ChatCitationRenderer.js";export{default as CognitiveDecisioningCard}from"./features/CognitiveDecisioning/CognitiveDecisioningWrapper.js";export{default as PdfViewer}from"./features/PdfViewer/PdfViewer.js";export{default as FaqCitation}from"./features/CognitiveDecisioning/FaqCitation/FaqCitation.js";export{default as ImageCitationContent}from"./features/RequirementAiCitations/ImageCitation/ImageCitationContent.js";export{default as VideoCitationContent}from"./features/RequirementAiCitations/VideoCitation/VideoCitationContent.js";export{default as FileCitationContent}from"./features/RequirementAiCitations/FileCitation/FileCitationContent.js";export{default as WebCitationWithImageContent}from"./features/RequirementAiCitations/WebCitation/WebCitationWithImageContent.js";export{default as AiReasoningCitation}from"./features/RequirementAiCitations/AiReasoning/AiReasoningCitation.js";export{default as CitationsViewer}from"./features/CitationViewer/CitationsViewer.js";export{default as ExcelCitation}from"./features/ExcelCitation/ExcelCitations.js";export{default as ScannedDocCitation}from"./features/ScannedDocCitation/ScannedDocCitation.js";
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScannedDocCitationTest.d.ts","sourceRoot":"","sources":["../../../src/ScannedDocCitationTest.tsx"],"names":[],"mappings":"AAqCA,MAAM,CAAC,OAAO,UAAU,sBAAsB,4CAY7C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfViewer.d.ts","sourceRoot":"","sources":["../../../../../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,aAAa,EAAE,MAAM,EAAE,CAAC;IACxB,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,GAAG,CAAC;IACX,YAAY,CAAC,EAAE,gBAAgB,CAAC;IAChC,aAAa,CAAC,EAAE,iBAAiB,CAAC;IAClC,WAAW,CAAC,EAAE,eAAe,CAAC;CAC/B;AAED,QAAA,MAAM,SAAS,4HAUZ,cAAc,4CAmHhB,CAAC;AAEF,eAAe,SAAS,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface BBox {
|
|
2
|
+
xmin: number;
|
|
3
|
+
ymin: number;
|
|
4
|
+
xmax: number;
|
|
5
|
+
ymax: number;
|
|
6
|
+
}
|
|
7
|
+
export interface PageHighlight {
|
|
8
|
+
pageIndex: number;
|
|
9
|
+
bboxes: BBox[];
|
|
10
|
+
dimensions: {
|
|
11
|
+
width: number;
|
|
12
|
+
height: number;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export interface ScannedDocCitationProps {
|
|
16
|
+
images: string[];
|
|
17
|
+
highlights: PageHighlight[];
|
|
18
|
+
highlightColor?: string;
|
|
19
|
+
highlightActiveColor?: string;
|
|
20
|
+
highlightBorderColor?: string;
|
|
21
|
+
height?: string | number;
|
|
22
|
+
}
|
|
23
|
+
export default function ScannedDocCitation({ images, highlights, highlightColor, highlightActiveColor, highlightBorderColor, height, }: ScannedDocCitationProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
+
//# sourceMappingURL=ScannedDocCitation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScannedDocCitation.d.ts","sourceRoot":"","sources":["../../../../../src/features/ScannedDocCitation/ScannedDocCitation.tsx"],"names":[],"mappings":"AAGA,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;IACf,UAAU,EAAE;QACV,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;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,2CA2JzB"}
|
|
@@ -19,4 +19,5 @@ export { default as WebCitationWithImageContent } from "./features/RequirementAi
|
|
|
19
19
|
export { default as AiReasoningCitation } from "./features/RequirementAiCitations/AiReasoning/AiReasoningCitation";
|
|
20
20
|
export { default as CitationsViewer } from "./features/CitationViewer/CitationsViewer";
|
|
21
21
|
export { default as ExcelCitation } from "./features/ExcelCitation/ExcelCitations";
|
|
22
|
+
export { default as ScannedDocCitation } from "./features/ScannedDocCitation/ScannedDocCitation";
|
|
22
23
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,O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