@e-llm-studio/citation 0.0.143 → 0.0.145
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/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js +1 -1
- 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/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.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/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.d.ts.map +1 -1
- 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
|
package/dist/cjs/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),s=require("react"),a=require("./CognitiveNonWebSearchReasoning.module.css.js");exports.default=function(t){var i=t.item,l=t.index,c=t.iconsConfig,r=t.headerTitle,d=void 0===r?"GPT - Gemini 2.5 Flash":r,
|
|
1
|
+
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("tslib"),n=require("react/jsx-runtime"),s=require("react"),a=require("./CognitiveNonWebSearchReasoning.module.css.js");exports.default=function(t){var i=t.item,l=t.index,c=t.iconsConfig,r=t.headerTitle,d=void 0===r?"GPT - Gemini 2.5 Flash":r,u=null==c?void 0:c.ChevronDownIcon,o=null==c?void 0:c.ChevronUpIcon,h=null==c?void 0:c.MaximizeIcon,f=null==c?void 0:c.CloseIcon,g=s.useState(!1),_=g[0],m=g[1],x=s.useState(0),v=x[0],p=x[1],j=s.useRef(null),N=s.useRef(null),I=s.useRef(null),C=s.useRef([]),b=s.useRef([]),T=s.useMemo(function(){return i.dataSource?i.dataSource.replace(/\\n/g,"\n").replace(/\n+/g,"\n"):""},[i.dataSource]),H=s.useMemo(function(){var e=T.split(/(<highlight>[\s\S]*?<\/highlight>)/g)||[],n=e.filter(function(e){return e.startsWith("<highlight>")}).length,s=0;return{parts:e.map(function(e,n){var a=e.startsWith("<highlight>"),t={text:a?e.replace(/<\/?highlight>/g,""):e,isHighlight:a,highlightIndex:a?s:-1,idx:n};return a&&s++,t}),totalHighlights:n}},[T]),S=H.parts,k=H.totalHighlights,L=function(e,n){void 0===n&&(n=!1);var s=n?b.current[e]:C.current[e],a=n?N.current:j.current;s&&a&&s.scrollIntoView({behavior:"smooth",block:"center"})},B=function(e){if(void 0===e&&(e=!1),k){var n=v>0?v-1:k-1;p(n),setTimeout(function(){return L(n,e)},50)}},R=function(e){if(void 0===e&&(e=!1),k){var n=v<k-1?v+1:0;p(n),setTimeout(function(){return L(n,e)},50)}};s.useEffect(function(){C.current=C.current.slice(0,k),b.current=b.current.slice(0,k)},[k]),s.useEffect(function(){var e;return _&&k>0&&(p(0),e=setTimeout(function(){return L(0)},50)),function(){e&&clearTimeout(e)}},[_,k]);var D=function(s){return s.split(/(\*\*.*?\*\*|__.*?__)/g).map(function(s,t){return s.startsWith("**")&&s.endsWith("**")||s.startsWith("__")&&s.endsWith("__")?n.jsx("strong",e.__assign({className:a.default.boldText},{children:s.slice(2,-2)}),t):s})},W=s.useMemo(function(){var n=[],s=[];return S.forEach(function(a){var t=a.text,i=a.isHighlight,l=a.highlightIndex;t.split("\n").forEach(function(a,t){t>0&&((s.length>0||n.length>0)&&n.push({segments:e.__spreadArray([],s,!0),isListItem:!1,isHeader:!1,indent:"",content:""}),s=[]),a&&s.push({text:a,isHighlight:i,highlightIndex:l})})}),s.length>0&&n.push({segments:e.__spreadArray([],s,!0),isListItem:!1,isHeader:!1,indent:"",content:""}),n.map(function(n){var s=n.segments.map(function(e){return e.text}).join(""),a=s.match(/^(\s*)(-|\*|\d+\.)\s+(.*)$/),t=s.match(/^(Title|Description|Training-basis):\s*(.*)$/i);return e.__assign(e.__assign({},n),{isListItem:!!a,isHeader:!!t,indent:(null==a?void 0:a[1])||"",content:(null==a?void 0:a[3])||s})})},[S]),y=function(s){void 0===s&&(s=!1);var t=0;return W.map(function(i,l){i.isHeader&&(t=0),i.isListItem&&(t+=1);var c=function(){return i.segments.map(function(t,l){var c=t.isHighlight&&t.highlightIndex===v,r=t.text;return i.isListItem&&0===l&&(r=t.text.replace(/^(\s*)(-|\*|\d+\.)\s+/,"")),t.isHighlight?n.jsx("span",e.__assign({ref:function(e){e&&(s?b.current[t.highlightIndex]=e:C.current[t.highlightIndex]=e)},className:"".concat(a.default.highlight).concat(c?" ".concat(a.default.highlightActive):"")},{children:D(r)}),l):n.jsx("span",{children:D(r)},l)})};return i.isHeader?n.jsx("span",e.__assign({className:a.default.headerLine},{children:c()}),l):i.isListItem?n.jsxs("span",e.__assign({className:a.default.listItemLine,style:{paddingLeft:i.indent?"1rem":"0"}},{children:[n.jsxs("span",e.__assign({className:a.default.listCounter},{children:[t,"."]})),n.jsx("span",{children:c()})]}),l):n.jsx("span",e.__assign({className:a.default.blockLine},{children:c()}),l)})};return n.jsxs("div",e.__assign({className:a.default.container},{children:[n.jsxs("div",e.__assign({className:a.default.itemRow},{children:["number"==typeof l&&n.jsxs("span",e.__assign({className:a.default.indexNumber},{children:[l+1,"."]})),n.jsxs("div",e.__assign({className:a.default.textContent},{children:[n.jsx("span",{children:null==i?void 0:i.text}),(null==i?void 0:i.paraphrase)&&n.jsxs("button",e.__assign({type:"button",onClick:function(){return m(!_)},className:a.default.paraphraseButton},{children:[n.jsxs("span",e.__assign({className:a.default.paraphraseText},{children:[n.jsx("span",e.__assign({className:a.default.paraphraseStar},{children:"✦"})),i.paraphrase]})),u&&n.jsx(u,{className:"".concat(a.default.chevronIcon).concat(_?" ".concat(a.default.chevronIconRotated):"")})]}))]}))]})),_&&n.jsxs("div",e.__assign({className:a.default.expandedContainer},{children:[n.jsxs("div",e.__assign({className:a.default.expandedHeader},{children:[n.jsx("span",e.__assign({className:a.default.headerTitle},{children:d})),n.jsxs("div",e.__assign({className:a.default.headerActions},{children:[k>1&&n.jsxs("div",e.__assign({className:a.default.navigationContainer},{children:[o&&n.jsx("button",e.__assign({onClick:function(){return B(!1)},className:a.default.navButton},{children:n.jsx(o,{className:a.default.navIcon})})),n.jsxs("span",e.__assign({className:a.default.navCounter},{children:[v+1,"/",k]})),u&&n.jsx("button",e.__assign({onClick:function(){return R(!1)},className:a.default.navButton},{children:n.jsx(u,{className:a.default.navIcon})}))]})),null!=(null==i?void 0:i.confidence_score)&&n.jsxs("span",e.__assign({className:a.default.confidenceBadge},{children:[n.jsx("span",e.__assign({className:a.default.confidenceStar},{children:"✦"})),n.jsxs("span",e.__assign({className:a.default.confidenceScore},{children:[null==i?void 0:i.confidence_score,"%"]}))]})),h&&n.jsx("button",e.__assign({onClick:function(){var e;null===(e=I.current)||void 0===e||e.showModal()},className:a.default.maximizeButton,title:"View fullscreen"},{children:n.jsx(h,{className:a.default.maximizeIcon})}))]}))]})),n.jsx("div",e.__assign({ref:j,className:a.default.contentArea},{children:n.jsx("div",e.__assign({className:a.default.contentInner},{children:y(!1)}))})),i.trainingDataTitle&&n.jsx("div",e.__assign({className:a.default.footer},{children:n.jsx("span",e.__assign({className:a.default.trainingTitle},{children:i.trainingDataTitle}))}))]})),n.jsx("dialog",e.__assign({ref:I,className:a.default.modalDialog,onClick:function(e){var n;e.target===I.current&&(null===(n=I.current)||void 0===n||n.close())}},{children:n.jsxs("div",e.__assign({className:a.default.modalContainer},{children:[n.jsxs("div",e.__assign({className:a.default.modalHeader},{children:[n.jsx("span",e.__assign({className:a.default.modalHeaderTitle},{children:d})),n.jsxs("div",e.__assign({className:a.default.modalHeaderActions},{children:[k>1&&n.jsxs("div",e.__assign({className:a.default.modalNavContainer},{children:[o&&n.jsx("button",e.__assign({onClick:function(){return B(!0)},className:a.default.modalNavButton},{children:n.jsx(o,{className:a.default.navIcon})})),n.jsxs("span",e.__assign({className:a.default.navCounter},{children:[v+1,"/",k]})),u&&n.jsx("button",e.__assign({onClick:function(){return R(!0)},className:a.default.modalNavButton},{children:n.jsx(u,{className:a.default.navIcon})}))]})),null!=(null==i?void 0:i.confidence_score)&&n.jsxs("span",e.__assign({className:a.default.confidenceBadge},{children:[n.jsx("span",e.__assign({className:a.default.confidenceStar},{children:"✦"})),n.jsxs("span",e.__assign({className:a.default.confidenceScore},{children:[null==i?void 0:i.confidence_score,"%"]}))]})),f&&n.jsx("button",e.__assign({onClick:function(){var e;null===(e=I.current)||void 0===e||e.close()},className:a.default.closeButton,title:"Close"},{children:n.jsx(f,{className:a.default.closeIcon})}))]}))]})),n.jsx("div",e.__assign({ref:N,className:a.default.modalContent},{children:n.jsx("div",e.__assign({className:a.default.modalContentInner},{children:y(!0)}))})),i.trainingDataTitle&&n.jsx("div",e.__assign({className:a.default.modalFooter},{children:n.jsx("span",e.__assign({className:a.default.trainingTitle},{children:i.trainingDataTitle}))}))]}))}))]}))};
|
|
2
2
|
//# sourceMappingURL=CognitiveInternalgptReasoningComponent.js.map
|
|
@@ -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.15)":a,l=o.highlightActiveColor,c=void 0===l?"rgba(255, 220, 0, 0.35)":l,x=o.highlightBorderColor,u=void 0===x?"rgba(200, 160, 0, 0.4)":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
|
package/dist/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__spreadArray as n,__assign as e}from"tslib";import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useState as a,useRef as c,useMemo as r,useEffect as l}from"react";import s from"./CognitiveNonWebSearchReasoning.module.css.js";var o=function(o){var d=o.item,h=o.index,u=o.iconsConfig,m=o.headerTitle,v=void 0===m?"GPT - Gemini 2.5 Flash":m,g=null==u?void 0:u.ChevronDownIcon,f=null==u?void 0:u.ChevronUpIcon,p=null==u?void 0:u.MaximizeIcon,N=null==u?void 0:u.CloseIcon,I=a(!1),x=I[0],C=I[1],T=a(0),b=T[0],H=T[1],_=c(null),k=c(null),L=c(null),S=c([]),B=r(function(){return d.dataSource?d.dataSource.replace(/\\n/g,"\n").replace(/\n+/g,"\n"):""},[d.dataSource]),
|
|
1
|
+
import{__spreadArray as n,__assign as e}from"tslib";import{jsxs as i,jsx as t}from"react/jsx-runtime";import{useState as a,useRef as c,useMemo as r,useEffect as l}from"react";import s from"./CognitiveNonWebSearchReasoning.module.css.js";var o=function(o){var d=o.item,h=o.index,u=o.iconsConfig,m=o.headerTitle,v=void 0===m?"GPT - Gemini 2.5 Flash":m,g=null==u?void 0:u.ChevronDownIcon,f=null==u?void 0:u.ChevronUpIcon,p=null==u?void 0:u.MaximizeIcon,N=null==u?void 0:u.CloseIcon,I=a(!1),x=I[0],C=I[1],T=a(0),b=T[0],H=T[1],_=c(null),k=c(null),L=c(null),S=c([]),B=c([]),D=r(function(){return d.dataSource?d.dataSource.replace(/\\n/g,"\n").replace(/\n+/g,"\n"):""},[d.dataSource]),W=r(function(){var n=D.split(/(<highlight>[\s\S]*?<\/highlight>)/g)||[],e=n.filter(function(n){return n.startsWith("<highlight>")}).length,i=0;return{parts:n.map(function(n,e){var t=n.startsWith("<highlight>"),a={text:t?n.replace(/<\/?highlight>/g,""):n,isHighlight:t,highlightIndex:t?i:-1,idx:e};return t&&i++,a}),totalHighlights:e}},[D]),w=W.parts,A=W.totalHighlights,j=function(n,e){void 0===e&&(e=!1);var i=e?B.current[n]:S.current[n],t=e?k.current:_.current;i&&t&&i.scrollIntoView({behavior:"smooth",block:"center"})},y=function(n){if(void 0===n&&(n=!1),A){var e=b>0?b-1:A-1;H(e),setTimeout(function(){return j(e,n)},50)}},z=function(n){if(void 0===n&&(n=!1),A){var e=b<A-1?b+1:0;H(e),setTimeout(function(){return j(e,n)},50)}};l(function(){S.current=S.current.slice(0,A),B.current=B.current.slice(0,A)},[A]),l(function(){var n;return x&&A>0&&(H(0),n=setTimeout(function(){return j(0)},50)),function(){n&&clearTimeout(n)}},[x,A]);var R=function(n){return n.split(/(\*\*.*?\*\*|__.*?__)/g).map(function(n,i){return n.startsWith("**")&&n.endsWith("**")||n.startsWith("__")&&n.endsWith("__")?t("strong",e({className:s.boldText},{children:n.slice(2,-2)}),i):n})},E=r(function(){var i=[],t=[];return w.forEach(function(e){var a=e.text,c=e.isHighlight,r=e.highlightIndex;a.split("\n").forEach(function(e,a){a>0&&((t.length>0||i.length>0)&&i.push({segments:n([],t,!0),isListItem:!1,isHeader:!1,indent:"",content:""}),t=[]),e&&t.push({text:e,isHighlight:c,highlightIndex:r})})}),t.length>0&&i.push({segments:n([],t,!0),isListItem:!1,isHeader:!1,indent:"",content:""}),i.map(function(n){var i=n.segments.map(function(n){return n.text}).join(""),t=i.match(/^(\s*)(-|\*|\d+\.)\s+(.*)$/),a=i.match(/^(Title|Description|Training-basis):\s*(.*)$/i);return e(e({},n),{isListItem:!!t,isHeader:!!a,indent:(null==t?void 0:t[1])||"",content:(null==t?void 0:t[3])||i})})},[w]),F=function(n){void 0===n&&(n=!1);var a=0;return E.map(function(c,r){c.isHeader&&(a=0),c.isListItem&&(a+=1);var l=function(){return c.segments.map(function(i,a){var r=i.isHighlight&&i.highlightIndex===b,l=i.text;return c.isListItem&&0===a&&(l=i.text.replace(/^(\s*)(-|\*|\d+\.)\s+/,"")),i.isHighlight?t("span",e({ref:function(e){e&&(n?B.current[i.highlightIndex]=e:S.current[i.highlightIndex]=e)},className:"".concat(s.highlight).concat(r?" ".concat(s.highlightActive):"")},{children:R(l)}),a):t("span",{children:R(l)},a)})};return c.isHeader?t("span",e({className:s.headerLine},{children:l()}),r):c.isListItem?i("span",e({className:s.listItemLine,style:{paddingLeft:c.indent?"1rem":"0"}},{children:[i("span",e({className:s.listCounter},{children:[a,"."]})),t("span",{children:l()})]}),r):t("span",e({className:s.blockLine},{children:l()}),r)})};return i("div",e({className:s.container},{children:[i("div",e({className:s.itemRow},{children:["number"==typeof h&&i("span",e({className:s.indexNumber},{children:[h+1,"."]})),i("div",e({className:s.textContent},{children:[t("span",{children:null==d?void 0:d.text}),(null==d?void 0:d.paraphrase)&&i("button",e({type:"button",onClick:function(){return C(!x)},className:s.paraphraseButton},{children:[i("span",e({className:s.paraphraseText},{children:[t("span",e({className:s.paraphraseStar},{children:"✦"})),d.paraphrase]})),g&&t(g,{className:"".concat(s.chevronIcon).concat(x?" ".concat(s.chevronIconRotated):"")})]}))]}))]})),x&&i("div",e({className:s.expandedContainer},{children:[i("div",e({className:s.expandedHeader},{children:[t("span",e({className:s.headerTitle},{children:v})),i("div",e({className:s.headerActions},{children:[A>1&&i("div",e({className:s.navigationContainer},{children:[f&&t("button",e({onClick:function(){return y(!1)},className:s.navButton},{children:t(f,{className:s.navIcon})})),i("span",e({className:s.navCounter},{children:[b+1,"/",A]})),g&&t("button",e({onClick:function(){return z(!1)},className:s.navButton},{children:t(g,{className:s.navIcon})}))]})),null!=(null==d?void 0:d.confidence_score)&&i("span",e({className:s.confidenceBadge},{children:[t("span",e({className:s.confidenceStar},{children:"✦"})),i("span",e({className:s.confidenceScore},{children:[null==d?void 0:d.confidence_score,"%"]}))]})),p&&t("button",e({onClick:function(){var n;null===(n=L.current)||void 0===n||n.showModal()},className:s.maximizeButton,title:"View fullscreen"},{children:t(p,{className:s.maximizeIcon})}))]}))]})),t("div",e({ref:_,className:s.contentArea},{children:t("div",e({className:s.contentInner},{children:F(!1)}))})),d.trainingDataTitle&&t("div",e({className:s.footer},{children:t("span",e({className:s.trainingTitle},{children:d.trainingDataTitle}))}))]})),t("dialog",e({ref:L,className:s.modalDialog,onClick:function(n){var e;n.target===L.current&&(null===(e=L.current)||void 0===e||e.close())}},{children:i("div",e({className:s.modalContainer},{children:[i("div",e({className:s.modalHeader},{children:[t("span",e({className:s.modalHeaderTitle},{children:v})),i("div",e({className:s.modalHeaderActions},{children:[A>1&&i("div",e({className:s.modalNavContainer},{children:[f&&t("button",e({onClick:function(){return y(!0)},className:s.modalNavButton},{children:t(f,{className:s.navIcon})})),i("span",e({className:s.navCounter},{children:[b+1,"/",A]})),g&&t("button",e({onClick:function(){return z(!0)},className:s.modalNavButton},{children:t(g,{className:s.navIcon})}))]})),null!=(null==d?void 0:d.confidence_score)&&i("span",e({className:s.confidenceBadge},{children:[t("span",e({className:s.confidenceStar},{children:"✦"})),i("span",e({className:s.confidenceScore},{children:[null==d?void 0:d.confidence_score,"%"]}))]})),N&&t("button",e({onClick:function(){var n;null===(n=L.current)||void 0===n||n.close()},className:s.closeButton,title:"Close"},{children:t(N,{className:s.closeIcon})}))]}))]})),t("div",e({ref:k,className:s.modalContent},{children:t("div",e({className:s.modalContentInner},{children:F(!0)}))})),d.trainingDataTitle&&t("div",e({className:s.modalFooter},{children:t("span",e({className:s.trainingTitle},{children:d.trainingDataTitle}))}))]}))}))]}))};export{o as default};
|
|
2
2
|
//# sourceMappingURL=CognitiveInternalgptReasoningComponent.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.15)":h,x=c.highlightActiveColor,g=void 0===x?"rgba(255, 220, 0, 0.35)":x,f=c.highlightBorderColor,b=void 0===f?"rgba(200, 160, 0, 0.4)":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":"CognitiveInternalgptReasoningComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.tsx"],"names":[],"mappings":";AAIA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACpC,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,0BAA0B,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,
|
|
1
|
+
{"version":3,"file":"CognitiveInternalgptReasoningComponent.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningComponent.tsx"],"names":[],"mappings":";AAIA,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,eAAe,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACpC,aAAa,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IAClC,YAAY,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;IACjC,SAAS,CAAC,EAAE,KAAK,CAAC,WAAW,CAAC;CAC/B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,0BAA0B,CAAC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,6BAA6B,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CA6bjE,CAAC;AAEF,eAAe,6BAA6B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveInternalgptReasoningTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CognitiveInternalgptReasoningTest.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveInternalgptReasoning/CognitiveInternalgptReasoningTest.tsx"],"names":[],"mappings":"AAWA,QAAA,MAAM,wBAAwB,+CAwB7B,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfViewer.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/PdfViewer.tsx"],"names":[],"mappings":"AAKA,OAAO,6CAA6C,CAAC;AACrD,OAAO,wDAAwD,CAAC;AAChE,OAAO,6CAA6C,CAAC;AACrD,OAAO,+CAA+C,CAAC;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AAO,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,OAAO,IAAI,gBAAgB,EAAE,MAAM,8CAA8C,CAAC;AAC3F,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,OAAO,IAAI,QAAQ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