@viswa-test/test-citation 0.0.22 → 0.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js +2 -0
- package/dist/cjs/features/CognitiveCompare/CitationAnchor.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/cjs/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
- package/dist/cjs/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js +2 -0
- package/dist/cjs/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
- package/dist/cjs/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/cjs/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/features/CognitiveCompare/CitationAnchor.js +2 -0
- package/dist/features/CognitiveCompare/CitationAnchor.js.map +1 -0
- package/dist/features/CognitiveCompare/CognitiveCompare.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveCompareConfig.js +1 -1
- package/dist/features/CognitiveCompare/CognitiveComparehelpers.js +1 -1
- package/dist/features/CognitiveCompare/CognitivePopup.js +1 -1
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js +2 -0
- package/dist/features/CognitiveCompare/MoreFunctionsPopup.js.map +1 -0
- package/dist/features/CognitiveCompare/ResizableSplitPane.js +2 -0
- package/dist/features/CognitiveCompare/ResizableSplitPane.js.map +1 -0
- package/dist/features/PdfViewer/PdfContainer.js +1 -1
- package/dist/features/PdfViewer/PdfStyle.js +1 -1
- package/dist/features/PdfViewer/PdfToolbar.js +1 -1
- package/dist/features/PdfViewer/PdfViewer.js +1 -1
- package/dist/types/src/CognitiveCompareTest.d.ts.map +1 -1
- package/dist/types/src/CommonConstants/CommonConstants.d.ts +1 -0
- package/dist/types/src/CommonConstants/CommonConstants.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts +27 -0
- package/dist/types/src/features/CognitiveCompare/CitationAnchor.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompare.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts +23 -0
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareConfig.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts +44 -2
- package/dist/types/src/features/CognitiveCompare/CognitiveCompareTypes.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts +4 -0
- package/dist/types/src/features/CognitiveCompare/CognitiveComparehelpers.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts +4 -2
- package/dist/types/src/features/CognitiveCompare/CognitivePopup.d.ts.map +1 -1
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts +13 -0
- package/dist/types/src/features/CognitiveCompare/MoreFunctionsPopup.d.ts.map +1 -0
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts +8 -0
- package/dist/types/src/features/CognitiveCompare/ResizableSplitPane.d.ts.map +1 -0
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts +3 -2
- package/dist/types/src/features/PdfViewer/PdfContainer.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfStyle.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts +3 -1
- package/dist/types/src/features/PdfViewer/PdfToolbar.d.ts.map +1 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts +5 -1
- package/dist/types/src/features/PdfViewer/PdfViewer.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as
|
|
1
|
+
import{__assign as o}from"tslib";import{jsx as e,jsxs as t,Fragment as i}from"react/jsx-runtime";import{useMemo as n,useState as r,useEffect as l}from"react";import{Box as a,Typography as c,IconButton as s}from"@mui/material";import{X as d}from"lucide-react";import p from"react-dom";import x from"../../assests/svg/SparkleIcon.js";import h from"react-markdown";import b from"./CitationAnchor.js";import{SHARED_MARKDOWN_STYLES as f,DEFAULT_POPUP_CONFIG as u}from"./CognitiveCompareConfig.js";var m=10,g=function(g){var v,y,F,w,C,k,E=g.open,S=g.onClose,D=g.sectionTitle,z=g.referenceSectionTitle,R=g.cognitiveData,W=g.relevanceScore,B=g.anchorEl,I=g.badgeStyle,T=g.popupRef,A=g.position,H=g.markdownStyles,j=g.docData,L=g.popupConfig,O=o(o({},f),H),M=n(function(){var e,t;return o(o(o({},u),L),{tabs:{deviation:o(o({},u.tabs.deviation),null===(e=null==L?void 0:L.tabs)||void 0===e?void 0:e.deviation),association:o(o({},u.tabs.association),null===(t=null==L?void 0:L.tabs)||void 0===t?void 0:t.association)},sectionTitles:o(o({},u.sectionTitles),null==L?void 0:L.sectionTitles)})},[L]),P=null==R?void 0:R.isMissingRationale,Y=r(P?M.tabs.deviation.key:M.tabs.association.key),_=Y[0],q=Y[1];l(function(){E&&q(P?M.tabs.deviation.key:M.tabs.association.key)},[E,P,M.tabs.deviation.key,M.tabs.association.key]);var G=n(function(){if(!I)return{border:M.accentColor,shadow:"".concat(M.accentColor,"2E")};var o=I.badgeText;return"#9F1239"===o||"#B42318"===o?{border:"#E11D48",shadow:"rgba(225,29,72,0.15)"}:"#1D4ED8"===o?{border:"#3B82F6",shadow:"rgba(59,130,246,0.15)"}:"#A16207"===o?{border:"#F59E0B",shadow:"rgba(245,158,11,0.15)"}:{border:M.accentColor,shadow:"".concat(M.accentColor,"2E")}},[I,M.accentColor]);l(function(){if(E){var o=function(o){var e;(null===(e=T.current)||void 0===e?void 0:e.contains(o.target))||(null==B?void 0:B.contains(o.target))||S()};return document.addEventListener("mousedown",o),function(){return document.removeEventListener("mousedown",o)}}},[E,S,B,T]);var J=n(function(){return{a:function(o){var t=o.href,i=void 0===t?"":t,n=o.children;return e(b,{href:i,children:n,metaData:{citations:null==R?void 0:R.citations,docData:j}})}}},[E,R]);if(!E||!R)return null;var K=null!==(y=null!==(v=R.relevance_score)&&void 0!==v?v:W)&&void 0!==y?y:0,N=R.decisioning,Q=Array.isArray(N)?N:"string"==typeof N&&N.trim()?[N]:[],U=R.gap,V=Array.isArray(U)?U:"string"==typeof U&&U.trim()?[U]:[],X=null!==(F=null==A?void 0:A.arrowLeft)&&void 0!==F?F:60,Z=t(a,o({ref:T,sx:{position:"fixed",top:null!==(w=null==A?void 0:A.top)&&void 0!==w?w:-9999,left:null!==(C=null==A?void 0:A.left)&&void 0!==C?C:-9999,zIndex:9999,width:"min(".concat(880,"px, calc(100vw - ").concat(24,"px))"),bgcolor:"#FFFFFF",borderRadius:"14px",border:"1.5px solid ".concat(G.border),boxShadow:"0px 8px 32px ".concat(G.shadow,", 0px 0px 0px 3px ").concat(G.shadow),overflow:"visible",display:"flex",flexDirection:"column",maxHeight:(null==A?void 0:A.maxHeight)?"min(60vh, ".concat(A.maxHeight,"px)"):"60vh",visibility:A?"visible":"hidden"}},{children:[A&&(A.openAbove?t(i,{children:[e(a,{sx:{position:"absolute",bottom:-11,left:X-m,width:0,height:0,borderLeft:"".concat(m,"px solid transparent"),borderRight:"".concat(m,"px solid transparent"),borderTop:"".concat(11,"px solid ").concat(G.border),zIndex:1}}),e(a,{sx:{position:"absolute",bottom:-9,left:X-m+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderTop:"".concat(m,"px solid #FFFFFF"),zIndex:2}})]}):t(i,{children:[e(a,{sx:{position:"absolute",top:-11,left:X-m,width:0,height:0,borderLeft:"".concat(m,"px solid transparent"),borderRight:"".concat(m,"px solid transparent"),borderBottom:"".concat(11,"px solid ").concat(G.border),zIndex:1}}),e(a,{sx:{position:"absolute",top:-9,left:X-m+1,width:0,height:0,borderLeft:"".concat(9,"px solid transparent"),borderRight:"".concat(9,"px solid transparent"),borderBottom:"".concat(m,"px solid #FFFFFF"),zIndex:2}})]})),t(a,o({sx:{px:2.5,pt:2,pb:1.5,display:"flex",alignItems:"flex-start",justifyContent:"space-between",gap:2,flexShrink:0}},{children:[t(a,o({sx:{flex:1,minWidth:0}},{children:[t(c,o({sx:{fontSize:"16px",fontWeight:600,color:"#101828",lineHeight:1.3,display:"flex",alignItems:"center",gap:1,flexWrap:"nowrap",overflow:"hidden",width:"100%"}},{children:[e(a,o({component:"span",title:D,sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:"0 1 auto",maxWidth:"calc(50% - 16px)",minWidth:0}},{children:D})),e(a,o({component:"span",sx:{color:"#667085",fontWeight:400,flexShrink:0,mx:.5}},{children:"↔"})),e(a,o({component:"span",title:z||"Reference Section",sx:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",flex:1,minWidth:0}},{children:z||"Reference Section"}))]})),e(a,o({sx:{mt:.75,display:"inline-flex",alignItems:"center",gap:.75}},{children:e(c,o({sx:{fontSize:"13px",fontWeight:400,color:"#5928ED",lineHeight:1}},{children:null===(k=Object.values(M.tabs).find(function(o){return o.key===_}))||void 0===k?void 0:k.subtitle}))}))]})),t(a,o({sx:{display:"flex",alignItems:"center",gap:1.5,flexShrink:0}},{children:[t(a,o({sx:{display:"inline-flex",alignItems:"center",gap:"5px",px:1.5,py:.5,borderRadius:"20px",bgcolor:"#FFFFFF",border:"1px solid #5928ED",fontSize:"12px",fontWeight:600,color:"#5928ED"}},{children:[e(x,{}),M.decisionStrengthLabel," ",K,"%"]})),e(s,o({onClick:S,size:"small",sx:{color:"#667085",width:24,height:24,"&:hover":{bgcolor:"transparent",color:"#101828"}}},{children:e(d,{size:22})}))]}))]})),e(a,o({sx:{display:"flex",borderBottom:"1px solid #E4E7EC",px:2.5,flexShrink:0}},{children:(P?[M.tabs.deviation]:[M.tabs.deviation,M.tabs.association]).map(function(t){var i=_===t.key;return e(a,o({onClick:function(){return q(t.key)},sx:{pb:"10px",pt:"4px",mr:3,px:2,cursor:"pointer",fontSize:"14px",fontWeight:i?600:400,color:i?M.accentColor:"#667085",backgroundColor:i?"".concat(M.accentColor,"14"):"transparent",borderBottom:i?"2px solid ".concat(M.accentColor):"2px solid transparent",transition:"all 0.15s",userSelect:"none"}},{children:t.label}),t.key)})})),e(a,o({sx:{flex:1,minHeight:0,overflowY:"auto",px:2.5,py:2,display:"flex",flexDirection:"column",gap:1.5,"&::-webkit-scrollbar":{width:"6px"},"&::-webkit-scrollbar-track":{background:"transparent"},"&::-webkit-scrollbar-thumb":{background:"".concat(G.border,"55"),borderRadius:"10px"},"&::-webkit-scrollbar-thumb:hover":{background:G.border},scrollbarWidth:"thin",scrollbarColor:"".concat(G.border,"55 transparent")}},{children:_===M.tabs.deviation.key?t(a,o({sx:{borderRadius:"8px",border:"1px solid #E4E7EC",bgcolor:"#FCFCFD",p:2,display:"flex",flexDirection:"column",gap:1}},{children:[e(c,o({sx:{fontSize:"15px",fontWeight:600,color:"#344054"}},{children:M.tabs.deviation.placeholderTitle})),e(c,o({sx:{fontSize:"14px",color:"#667085",lineHeight:1.6}},{children:M.tabs.deviation.placeholderBody}))]})):t(i,{children:[Q.length>0&&t(a,o({sx:{borderRadius:"8px",border:"1px solid #E4E7EC",bgcolor:"#FCFCFD"}},{children:[e(a,o({sx:{px:1.5,py:.75,borderBottom:"1px solid #EAECF0"}},{children:e(c,o({sx:{fontSize:"15px",fontWeight:600,color:"#344054",lineHeight:1.25}},{children:M.sectionTitles.decisioningFactors}))})),e(a,o({sx:{px:1.5,py:1.1,display:"flex",flexDirection:"column",gap:.95}},{children:e(a,o({sx:{display:"flex",flexDirection:"column"}},{children:e(c,o({component:"div",sx:o({},O)},{children:e(h,o({components:J},{children:Q.join("\n\n")}))}))}))}))]})),V.length>0&&t(a,o({sx:{borderRadius:"8px",border:"1px solid #E4E7EC",bgcolor:"#FCFCFD"}},{children:[e(a,o({sx:{px:1.5,py:.75,borderBottom:"1px solid #EAECF0"}},{children:e(c,o({sx:{fontSize:"15px",fontWeight:600,color:"#344054",lineHeight:1.25}},{children:M.sectionTitles.gaps}))})),e(a,o({sx:{px:1.5,py:1.1,display:"flex",flexDirection:"column",gap:.95}},{children:e(a,o({sx:{display:"flex",flexDirection:"column"}},{children:e(c,o({component:"div",sx:o({},O)},{children:e(h,o({components:J},{children:V.join("\n\n")}))}))}))}))]})),0===Q.length&&0===V.length&&e(a,o({sx:{p:2,bgcolor:"#F8FAFC",borderRadius:"8px",border:"1px solid #E2E8F0"}},{children:e(c,o({sx:{fontSize:"13px",color:"#64748B"}},{children:M.emptyStateMessage}))}))]})}))]}));return p.createPortal(Z,document.body)};export{g as default};
|
|
2
2
|
//# sourceMappingURL=CognitivePopup.js.map
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as i,jsxs as n}from"react/jsx-runtime";import{Menu as o,MenuItem as t,Box as r,Typography as C}from"@mui/material";import{ButtonCognitiveIcon as l}from"../../assests/svg/ButtonCognitiveIcon.js";var s=[{key:"connect",title:"Connect",icon:i("svg",e({width:"15",height:"18",viewBox:"0 0 15 18",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M14.8237 3.89331C14.547 5.57188 13.0559 6.77501 11.3572 6.69242C9.65857 6.60983 8.2925 5.26384 8.18312 3.56742C4.75678 3.67456 3.54027 4.4759 3.73893 6.10536C3.81259 6.71474 4.18089 7.04063 4.85723 7.19911C5.26794 7.2951 5.7233 7.30849 6.13625 7.27054C6.17419 7.26608 6.21437 7.26385 6.25232 7.25938C6.50455 7.19911 6.76125 7.14777 7.01794 7.1076C7.77911 6.9826 8.55366 6.9201 9.29027 6.96027C11.3617 7.07188 12.7724 7.98483 12.8438 9.92233C12.913 11.7996 11.6229 13.1299 9.5425 14.0205C8.87509 14.3063 8.1675 14.5272 7.45991 14.6946C7.14071 14.7705 6.87286 14.8219 6.67419 14.8554C6.49786 16.5496 5.07821 17.842 3.37509 17.8554C1.67196 17.8688 0.229997 16.6031 0.0246403 14.9112C-0.180717 13.2192 0.917498 11.6455 2.57375 11.2527C4.23 10.8598 5.91973 11.7728 6.49562 13.3755C6.70544 13.3375 6.91303 13.2951 7.12062 13.246C7.75009 13.0987 8.37955 12.9022 8.95991 12.6522C10.538 11.9781 11.3996 11.0875 11.3595 9.9759C11.3237 8.98036 10.6095 8.52054 9.21214 8.44465C8.5983 8.41117 7.92643 8.46474 7.26348 8.57411C7.07821 8.60536 6.90857 8.63661 6.75902 8.6701C6.67196 8.68795 6.61169 8.70358 6.58491 8.71027L6.51571 8.72367C6.4666 8.73036 6.38402 8.74152 6.27687 8.75268C5.71884 8.80402 5.11393 8.78617 4.52464 8.65001C3.2925 8.36206 2.42866 7.59643 2.26794 6.2884C1.9175 3.47143 4.02241 2.16563 8.42866 2.07188C9.07821 0.500452 10.8037 -0.336602 12.4376 0.129916C14.0737 0.596434 15.1005 2.21474 14.8237 3.89331V3.89331ZM3.34161 12.6478C3.09741 12.6478 2.85562 12.6959 2.63002 12.7894C2.40442 12.8828 2.19944 13.0198 2.02678 13.1925C1.85412 13.3652 1.71717 13.5702 1.62373 13.7958C1.5303 14.0214 1.48222 14.2632 1.48223 14.5074C1.48224 14.7516 1.53036 14.9934 1.62382 15.219C1.71728 15.4446 1.85426 15.6495 2.02694 15.8222C2.19962 15.9949 2.40462 16.1318 2.63022 16.2252C2.85583 16.3187 3.09764 16.3668 3.34183 16.3667C3.83499 16.3667 4.30795 16.1708 4.65665 15.822C5.00535 15.4733 5.20123 15.0003 5.2012 14.5071C5.20117 14.014 5.00524 13.541 4.65649 13.1923C4.30775 12.8436 3.83477 12.6477 3.34161 12.6478ZM11.5224 1.49152C11.2782 1.49154 11.0364 1.53965 10.8108 1.63311C10.5852 1.72657 10.3802 1.86355 10.2076 2.03623C10.0349 2.20891 9.89797 2.41391 9.80454 2.63952C9.7111 2.86513 9.66302 3.10693 9.66303 3.35112C9.66305 3.59531 9.71116 3.83711 9.80462 4.06271C9.89808 4.28831 10.0351 4.49329 10.2077 4.66594C10.3804 4.8386 10.5854 4.97556 10.811 5.06899C11.0366 5.16243 11.2784 5.21051 11.5226 5.2105C12.0158 5.21047 12.4888 5.01453 12.8375 4.66579C13.1862 4.31704 13.382 3.84406 13.382 3.3509C13.382 2.85773 13.186 2.38478 12.8373 2.03608C12.4886 1.68738 12.0156 1.49149 11.5224 1.49152V1.49152Z",fill:"#1D2939","fill-opacity":"0.85"})}))},{key:"side-by-side",title:"Side by Side",icon:i("svg",e({width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},{children:i("path",{d:"M3.19922 8.19922H13.1992M3.19922 8.19922L4.86589 10.6992M3.19922 8.19922L4.86589 5.69922M13.1992 8.19922L11.5326 10.6992M13.1992 8.19922L11.5326 5.69922M15.6992 0.699219V15.6992M0.699219 0.699219V15.6992",stroke:"#3F4957","stroke-width":"1.4","stroke-linecap":"round","stroke-linejoin":"round"})}))},{key:"cognitive-decisioning",title:"Cognitive Decisioning",icon:i(l,{})}],c=function(l){var c=l.open,d=l.anchorEl;l.sectionTitle,l.referenceSectionTitle;var a=l.onClose,h=l.onOpenCognitiveCompare,p=l.onOpenSideBySide;return i(o,e({open:c,anchorEl:d,onClose:a,disableScrollLock:!0,anchorOrigin:{vertical:"center",horizontal:"right"},transformOrigin:{vertical:"center",horizontal:"left"},PaperProps:{sx:{ml:.75,minWidth:190,maxWidth:220,borderRadius:"12px",border:"1px solid #E4E7EC",boxShadow:"0px 12px 28px rgba(16, 24, 40, 0.12)",overflow:"hidden"}},MenuListProps:{sx:{p:.5,bgcolor:"#FFFFFF"}}},{children:s.map(function(o){return n(t,e({onClick:function(){var e;"connect"!==(e=o.key)?"side-by-side"!==e?h():p():a()},sx:{px:1.25,py:1,minHeight:40,borderRadius:"10px",display:"flex",alignItems:"center",gap:1,"&:hover":{bgcolor:"#F9FAFB"}}},{children:[i(r,e({sx:{width:18,height:18,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,"& svg":{display:"block"}}},{children:o.icon})),i(r,e({sx:{minWidth:0,display:"flex",alignItems:"center"}},{children:i(C,e({sx:{fontSize:"12px",fontWeight:500,color:"#101828",lineHeight:1.2,whiteSpace:"nowrap"}},{children:o.title}))}))]}),o.key)})}))};export{c as default};
|
|
2
|
+
//# sourceMappingURL=MoreFunctionsPopup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreFunctionsPopup.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as i,jsx as n,Fragment as t}from"react/jsx-runtime";import{useRef as o,useState as l,useCallback as r}from"react";var d=function(d){var c=d.leftComponent,h=d.rightComponent,u=o(null),f=l(50),s=f[0],a=f[1],m=l(!1),p=m[0],v=m[1],x=null!=c,w=null!=h,y=r(function(){x&&w&&v(!0)},[x,w]),g=r(function(e){if(p&&u.current){var i=u.current.getBoundingClientRect(),n=(e.clientX-i.left)/i.width*100;n=Math.max(25,Math.min(75,n)),a(n)}},[p]),M=r(function(){v(!1)},[]),D={minWidth:0,minHeight:0,height:"100%",overflow:"hidden",display:"flex",flexDirection:"column"};return i("div",e({ref:u,onMouseMove:g,onMouseUp:M,onMouseLeave:M,style:{display:"flex",width:"calc(100% - 4px)",height:"400px",border:"1px solid #ddd",overflow:"hidden",userSelect:p?"none":"auto"}},{children:[x&&!w&&n("div",e({style:e(e({},D),{width:"100%"})},{children:c})),!x&&w&&n("div",e({style:e(e({},D),{width:"100%"})},{children:h})),x&&w&&i(t,{children:[n("div",e({style:e(e({},D),{width:"".concat(s,"%"),flexShrink:0})},{children:c})),n("div",{onMouseDown:y,style:{width:"6px",background:"#D0D5DD",cursor:"col-resize",flexShrink:0}}),n("div",e({style:e(e({},D),{flex:1})},{children:h}))]})]}))};export{d as default};
|
|
2
|
+
//# sourceMappingURL=ResizableSplitPane.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizableSplitPane.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{Worker as o,Viewer as t
|
|
1
|
+
import{__assign as r}from"tslib";import{jsx as e}from"react/jsx-runtime";import{Worker as o,Viewer as t}from"@react-pdf-viewer/core";import{pdfStyles as n}from"./PdfStyle.js";var i="https://unpkg.com/pdfjs-dist@3.11.174/build/pdf.worker.min.js",l=function(l){var a=l.pdfUrl,d=l.plugins,f=l.onLoad,p=l.customStyles,m=l.onPageChange,s=l.defaultScale;return e("div",r({style:r(r({},n.pdfConatiner),null==p?void 0:p.pdfContainer)},{children:e(o,r({workerUrl:i},{children:e(t,{fileUrl:a,defaultScale:s,plugins:d,onDocumentLoad:f,onPageChange:m})}))}))};export{l as default,i as pdfWorker};
|
|
2
2
|
//# sourceMappingURL=PdfContainer.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var e={pdfViewer:{borderRadius:"12px",padding:"16px",width:"100%",height:"100%"},card:{border:"2px solid #E5E7EB",backgroundColor:"#FFFFFF",borderRadius:"12px",width:"100%"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative"},title:{fontSize:"14px",fontWeight:600,color:"#60A3F8",fontFamily:'Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif'},toolbar:{display:"flex",alignItems:"center",gap:"8px",position:"relative"},button:{border:"1px solid #DFE5EC",borderRadius:"6px",padding:"4px 8px",fontSize:"12px",cursor:"pointer",backgroundColor:"#FFFFFF"},buttonDisabled:{opacity:.4,cursor:"not-allowed"},counter:{fontSize:"13px",color:"#64748B",margin:"0 6px"},viewerWrapper:{height:"30rem",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid #DEE4EB",borderRadius:"8px"},emptyState:{fontSize:"14px",color:"#EF4444"},pdfConatiner:{height:"100%",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center"}};export{e as pdfStyles};
|
|
1
|
+
var e={pdfViewer:{borderRadius:"12px",padding:"16px",width:"100%",height:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden"},card:{border:"2px solid #E5E7EB",backgroundColor:"#FFFFFF",borderRadius:"12px",width:"100%",minWidth:0,boxSizing:"border-box",overflow:"hidden"},header:{display:"flex",justifyContent:"space-between",alignItems:"center",position:"relative",width:"100%",minWidth:0,boxSizing:"border-box"},title:{fontSize:"14px",fontWeight:600,color:"#60A3F8",fontFamily:'Roboto, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif'},toolbar:{display:"flex",alignItems:"center",gap:"8px",position:"relative"},button:{border:"1px solid #DFE5EC",borderRadius:"6px",padding:"4px 8px",fontSize:"12px",cursor:"pointer",backgroundColor:"#FFFFFF"},buttonDisabled:{opacity:.4,cursor:"not-allowed"},counter:{fontSize:"13px",color:"#64748B",margin:"0 6px"},viewerWrapper:{height:"30rem",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center",border:"1px solid #DEE4EB",borderRadius:"8px"},emptyState:{fontSize:"14px",color:"#EF4444"},pdfConatiner:{height:"100%",overflow:"auto",display:"flex",justifyContent:"center",alignItems:"center"}};export{e as pdfStyles};
|
|
2
2
|
//# sourceMappingURL=PdfStyle.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import{pdfStyles as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsxs as n,jsx as t}from"react/jsx-runtime";import{pdfStyles as i}from"./PdfStyle.js";import{DefaultPdfIcon as o,DefaultFullScreenIcon as l,DefaultDownloadIcon as r,DefaultCloseIcon as d}from"../../assests/svg/PdfViewerIcons.js";import{Tooltip as s}from"@mui/material";var c=function(c){c.highlightIndex;var a=c.totalHighlights,p=c.controls,h=c.currentPosition,u=c.pdfName,f=c.onClose,x=c.pdfUrl,g=c.viewerRef,m=c.customStyles,v=c.customClasses,y=c.customIcons,b=c.headerAction,w=c.isZoomEnabled,k=void 0===w||w,I=c.showHighlightsAction,C=void 0===I||I,S=p.ZoomInButton,F=p.ZoomOutButton,D=p.ZoomPopover,j=p.goToPrevious,L=p.goToNext,W={padding:"4px",borderRadius:"6px",background:"transparent",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"all 0.2s ease",flexShrink:0};return n("div",e({style:e(e({display:"flex",alignItems:"center",justifyContent:"space-between",marginBottom:"12px",background:"#FAFAFA",borderBottom:"1px solid #F3F4F6",borderTopLeftRadius:"12px",borderTopRightRadius:"12px"},i.header),null==m?void 0:m.header)},{children:[n("div",e({style:{display:"flex",alignItems:"center",gap:"12px",flex:1,minWidth:0,overflow:"hidden"}},{children:[t("div",e({style:e(e(e({},{borderRadius:"21px",border:"6px solid #E8F3FF",background:"#D5E8FF",display:"flex",alignItems:"center",justifyContent:"center",width:"32px",height:"32px",boxSizing:"content-box"}),null==m?void 0:m.pdfIconWrapper),{flexShrink:0})},{children:(null==y?void 0:y.pdfIcon)||t(o,{})})),t(s,e({title:u||"",arrow:!0,placement:"top"},{children:t("div",e({style:{flex:1,minWidth:0,overflow:"hidden"}},{children:t("span",e({style:e({display:"block",width:"100%",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",fontWeight:500,cursor:"default"},null==m?void 0:m.pdfName),className:null==v?void 0:v.pdfName},{children:u}))}))}))]})),n("div",e({style:{display:"flex",alignItems:"center",gap:C?"16px":"2px",color:"#4B5563",flexShrink:0,whiteSpace:"nowrap",minWidth:"fit-content"}},{children:[k&&n("div",e({style:{display:"flex",alignItems:"center",gap:"4px"}},{children:[t(F,{}),t("div",e({style:{fontSize:"14px",fontWeight:500,width:"56px",textAlign:"center"}},{children:t(D,{})})),t(S,{})]})),!!a&&C&&n("div",e({style:{display:"flex",alignItems:"center",gap:"4px"}},{children:[n("span",e({style:{fontSize:"14px",color:"#475467",fontWeight:500,lineHeight:1}},{children:[h," of ",a]})),t("button",e({style:{background:"none",border:"none",cursor:h<=1?"not-allowed":"pointer",padding:"2px 4px",color:h<=1?"#D0D5DD":"#475467",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,height:"20px",width:"20px"},onClick:j,disabled:h<=1},{children:t("svg",e({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},{children:t("path",{d:"M2 8L6 4L10 8",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))})),t("button",e({style:{background:"none",border:"none",cursor:h===a?"not-allowed":"pointer",padding:"2px 4px",color:h===a?"#D0D5DD":"#475467",display:"flex",alignItems:"center",justifyContent:"center",lineHeight:1,height:"20px",width:"20px"},onClick:L,disabled:h===a},{children:t("svg",e({width:"12",height:"12",viewBox:"0 0 12 12",fill:"none"},{children:t("path",{d:"M2 4L6 8L10 4",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))}))]})),t("div",{style:{width:"1px",height:"20px",background:"#D1D5DB",margin:"0 4px",flexShrink:0}}),n("div",e({style:{display:"flex",alignItems:"center",gap:"8px",flexShrink:0,whiteSpace:"nowrap"}},{children:[(null==b?void 0:b.icon)&&(null==b?void 0:b.onClick)?t(s,e({title:(null==b?void 0:b.tooltip)||"",arrow:!0,placement:"top"},{children:t("div",e({onClick:b.onClick,style:e({display:"flex",alignItems:"center",cursor:"pointer"},W)},{children:b.icon}))})):t("button",e({onClick:function(){var e=null==g?void 0:g.current;e&&(document.fullscreenElement?document.exitFullscreen():e.requestFullscreen().catch(function(e){console.error("Error attempting to enable fullscreen: ".concat(e.message))}))},style:W,title:"Full Screen"},{children:(null==y?void 0:y.fullScreenIcon)||t(l,{})})),x&&t("a",e({href:x,target:"_blank",rel:"noopener noreferrer",style:W,title:"Open in new tab"},{children:(null==y?void 0:y.downloadIcon)||t(r,{})})),f&&t("button",e({onClick:f,style:W,title:"Close"},{children:(null==y?void 0:y.closeIcon)||t(d,{})}))]}))]}))]}))};export{c as default};
|
|
2
2
|
//# sourceMappingURL=PdfToolbar.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__assign as e}from"tslib";import{jsx as t,jsxs as
|
|
1
|
+
import{__assign as e}from"tslib";import{jsx as t,jsxs as i}from"react/jsx-runtime";import{SpecialZoomLevel as o}from"@react-pdf-viewer/core";import r from"./PdfContainer.js";import n from"./PdfToolbar.js";import{pdfStyles as a}from"./PdfStyle.js";import{PdfHighlightControls as l}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 s,useMemo as c,useEffect as u}from"react";import d from"../ScannedDocCitation/ScannedDocCitation.js";var g=function(e){switch(e){case"ActualSize":return o.ActualSize;case"PageFit":return o.PageFit;case"PageWidth":return o.PageWidth;default:return null!=e?e:o.PageWidth}},f=function(f){var h,m=f.pdfUrl,p=f.highlightText,v=f.highlightPages,x=f.highlightCordinatePages,C=f.highlightColor,P=void 0===C?"yellow":C,T=f.activeHighlightColor,y=void 0===T?"#f7dc51":T,w=f.jumpToPageValue,S=void 0===w?0:w,A=f.pdfName,b=f.onClose,H=f.customStyles,I=f.customClasses,j=f.customIcons,z=f.useCoordinates,F=f.fallbackPages,N=f.activeCitationIndex,_=f.onActiveCitationChange,V=f.headerAction,W=f.isZoomEnabled,q=void 0===W||W,D=f.showHighlightsAction,E=void 0===D||D,R=f.defaultScale,B=void 0===R?o.ActualSize:R,U=s(null),k=c(function(){if(z)return new Set(x.map(function(e){return e.pageIndex}));var e=new Set;return Object.values(v).forEach(function(t){t>0&&e.add(t-1)}),e},[v]),O=(h=p)&&0!==h.length?h.filter(function(e){return!h.some(function(t){return t!==e&&t.includes(e)})}):h,Z=l(O,z?{}:v,U,k,z,z?x:[],P,y),J=Z.highlightIndex,K=Z.cursorIndex,L=Z.setCursorIndex,G=Z.orderedKeys,M=Z.totalHighlights,Q=Z.getValidPosition,X=Z.tryJump,Y=Z.jumpToPage,$=Z.zoomTo,ee=Z.plugins,te=Z.controls,ie=Z.hideNonTargetHighlights,oe=Z.deduplicateHighlights,re=Q(K);u(function(){void 0!==N&&N!==K&&L(N)},[N]);var ne=e(e({},te),{goToNext:function(){te.goToNext(),_&&_(K+1)},goToPrevious:function(){te.goToPrevious(),_&&_(K-1)}});if(!m)return t(d,{pages:F,activeCitationIndex:N,onActiveCitationChange:_,headerAction:V});return i("div",e({ref:U,className:(null==I?void 0:I.pdfViewerWrapper)||"",style:e(e(e({height:"100%",minHeight:0,minWidth:0,overflow:"hidden",display:"flex",flexDirection:"column"},a.pdfViewer),{display:"flex",flexDirection:"column",height:"100%",width:"100%",backgroundColor:"#FAFAFA"}),null==H?void 0:H.pdfViewer)},{children:[t(n,{highlightIndex:J,totalHighlights:M,controls:ne,currentPosition:re,pdfName:A,onClose:b,pdfUrl:m,viewerRef:U,customStyles:H,customClasses:I,customIcons:j,headerAction:V,isZoomEnabled:q,showHighlightsAction:E}),t(r,{defaultScale:g(B),pdfUrl:m,plugins:ee,customStyles:H,onLoad:function(){if($(o.ActualSize),S>0){var e=S-1,t=G[e],i=v[t],r=x[e];L(e),console.log(r,"cordinateTargetHighlight"),z&&r.pageIndex>0&&Y(r.pageIndex),i>0&&(setTimeout(function(){ie(k),oe(i-1)},1e3),z||Y(i-1))}else if(!z&&v){var n=G.find(function(e){return v[e]>0});if(void 0!==n){var a=v[n]-1;Y(a),setTimeout(function(){ie(k),oe(a)},1e3)}}requestAnimationFrame(function(){X(),z||function(){if(U.current){var e=S-1,t=G[e],i=v[t],o=i>0?i-1:0,r={};G.forEach(function(e,t){var i=v[e];i>0&&(r[i]||(r[i]=[]),r[i].push(t))});var n=(r[i]||[]).indexOf(e),a=0,l=function(){var e,t;if(!(++a>40)){var i=null===(e=U.current)||void 0===e?void 0:e.querySelector(".rpv-core__inner-pages");if(i){var r=null===(t=U.current)||void 0===t?void 0:t.querySelector('[data-testid="core__page-layer-'.concat(o,'"]'));if(r){var s=i.getBoundingClientRect(),c=r.getBoundingClientRect();if(c.top<s.bottom&&c.bottom>s.top){var u=r.querySelectorAll(".rpv-search__highlight")[n];if(u){var d=u.getBoundingClientRect(),g=i.scrollTop+(d.top-s.top)-i.clientHeight/2+d.height/2;i.scrollTo({top:g,behavior:"smooth"})}else setTimeout(l,100)}else setTimeout(l,100)}else setTimeout(l,100)}else setTimeout(l,100)}};setTimeout(l,500)}}()})},onPageChange:function(e){var t=e.currentPage;k.has(t)?(oe(t),ie(k)):ie(k)}})]}))};export{f as default};
|
|
2
2
|
//# sourceMappingURL=PdfViewer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompareTest.d.ts","sourceRoot":"","sources":["../../../src/CognitiveCompareTest.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CognitiveCompareTest.d.ts","sourceRoot":"","sources":["../../../src/CognitiveCompareTest.tsx"],"names":[],"mappings":"AAYA,QAAA,MAAM,oBAAoB,+CAczB,CAAA;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -2,4 +2,5 @@ export type ButtonVariant = "big" | "small";
|
|
|
2
2
|
export declare const BIGTEXT: ButtonVariant;
|
|
3
3
|
export declare const SMALLTEXT: ButtonVariant;
|
|
4
4
|
export declare const RESOURCE_TABLE_SCENARIO_VALUE = "resourcesOfSelectedDataSetCollection";
|
|
5
|
+
export declare const DEFAULT_TREE_DATA: any;
|
|
5
6
|
//# sourceMappingURL=CommonConstants.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CommonConstants.d.ts","sourceRoot":"","sources":["../../../../src/CommonConstants/CommonConstants.tsx"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,OAAO,CAAC;AAC5C,eAAO,MAAM,OAAO,EAAE,aAAqB,CAAC;AAC5C,eAAO,MAAM,SAAS,EAAE,aAAuB,CAAC;AAChD,eAAO,MAAM,6BAA6B,yCAAwC,CAAA"}
|
|
1
|
+
{"version":3,"file":"CommonConstants.d.ts","sourceRoot":"","sources":["../../../../src/CommonConstants/CommonConstants.tsx"],"names":[],"mappings":"AACA,MAAM,MAAM,aAAa,GAAG,KAAK,GAAG,OAAO,CAAC;AAC5C,eAAO,MAAM,OAAO,EAAE,aAAqB,CAAC;AAC5C,eAAO,MAAM,SAAS,EAAE,aAAuB,CAAC;AAChD,eAAO,MAAM,6BAA6B,yCAAwC,CAAA;AAElF,eAAO,MAAM,iBAAiB,EAAE,GAutN/B,CAAA"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React, { CSSProperties } from "react";
|
|
2
|
+
interface CitationAnchorProps {
|
|
3
|
+
href: string;
|
|
4
|
+
children: any;
|
|
5
|
+
chevronUpComponent?: React.ReactNode;
|
|
6
|
+
chevronDownComponent?: React.ReactNode;
|
|
7
|
+
customStyle?: {
|
|
8
|
+
citationButtonWrapper?: CSSProperties;
|
|
9
|
+
arrow?: CSSProperties;
|
|
10
|
+
citationButton?: CSSProperties;
|
|
11
|
+
expandableContent?: CSSProperties;
|
|
12
|
+
bookHeader?: CSSProperties;
|
|
13
|
+
relative?: CSSProperties;
|
|
14
|
+
pageColor?: CSSProperties;
|
|
15
|
+
highlightedText?: CSSProperties;
|
|
16
|
+
expandedWrapper?: CSSProperties;
|
|
17
|
+
expandableContainer?: CSSProperties;
|
|
18
|
+
bookBodyContent?: CSSProperties;
|
|
19
|
+
customScrollbarClass?: CSSProperties;
|
|
20
|
+
relativeWrapper?: CSSProperties;
|
|
21
|
+
};
|
|
22
|
+
defaultState?: boolean;
|
|
23
|
+
metaData?: any;
|
|
24
|
+
}
|
|
25
|
+
declare const CitationAnchor: React.FC<CitationAnchorProps>;
|
|
26
|
+
export default CitationAnchor;
|
|
27
|
+
//# sourceMappingURL=CitationAnchor.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CitationAnchor.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CitationAnchor.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,EACV,aAAa,EAKhB,MAAM,OAAO,CAAC;AAIf,UAAU,mBAAmB;IACzB,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,GAAG,CAAC;IACd,kBAAkB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACrC,oBAAoB,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvC,WAAW,CAAC,EAAE;QACV,qBAAqB,CAAC,EAAE,aAAa,CAAC;QACtC,KAAK,CAAC,EAAE,aAAa,CAAC;QACtB,cAAc,CAAC,EAAE,aAAa,CAAC;QAC/B,iBAAiB,CAAC,EAAE,aAAa,CAAC;QAClC,UAAU,CAAC,EAAE,aAAa,CAAC;QAC3B,QAAQ,CAAC,EAAE,aAAa,CAAC;QACzB,SAAS,CAAC,EAAE,aAAa,CAAC;QAC1B,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,mBAAmB,CAAC,EAAE,aAAa,CAAC;QACpC,eAAe,CAAC,EAAE,aAAa,CAAC;QAChC,oBAAoB,CAAC,EAAE,aAAa,CAAC;QACrC,eAAe,CAAC,EAAE,aAAa,CAAC;KACnC,CAAC;IACF,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,EAAE,GAAG,CAAC;CAClB;AAED,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAsMjD,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CognitiveCompareProps } from "./CognitiveCompareTypes";
|
|
2
2
|
import { SHARED_MARKDOWN_STYLES } from "./CognitiveCompareConfig";
|
|
3
|
-
declare const CognitiveCompare: ({ componentHeaderText, treeData, comparisonConfig, leftColumnTitleText, rightColumnTitleText, markdownStyles, }: CognitiveCompareProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const CognitiveCompare: ({ componentHeaderText, treeData, comparisonConfig, leftColumnTitleText, rightColumnTitleText, markdownStyles, maintainRelativeOrder: initialMaintainRelativeOrder, popupConfig, }: CognitiveCompareProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
export { SHARED_MARKDOWN_STYLES };
|
|
5
5
|
export default CognitiveCompare;
|
|
6
6
|
//# sourceMappingURL=CognitiveCompare.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompare.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompare.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CognitiveCompare.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompare.tsx"],"names":[],"mappings":"AA+BA,OAAO,EAIL,qBAAqB,EAMtB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAGL,sBAAsB,EACvB,MAAM,0BAA0B,CAAC;AA4PlC,QAAA,MAAM,gBAAgB,sLASnB,qBAAqB,4CAy1DvB,CAAC;AACF,OAAO,EAAE,sBAAsB,EAAE,CAAC;AAClC,eAAe,gBAAgB,CAAC"}
|
|
@@ -38,4 +38,27 @@ export declare const SHARED_MARKDOWN_STYLES: {
|
|
|
38
38
|
wordBreak: string;
|
|
39
39
|
};
|
|
40
40
|
};
|
|
41
|
+
export declare const DEFAULT_POPUP_CONFIG: {
|
|
42
|
+
tabs: {
|
|
43
|
+
deviation: {
|
|
44
|
+
key: string;
|
|
45
|
+
label: string;
|
|
46
|
+
subtitle: string;
|
|
47
|
+
placeholderTitle: string;
|
|
48
|
+
placeholderBody: string;
|
|
49
|
+
};
|
|
50
|
+
association: {
|
|
51
|
+
key: string;
|
|
52
|
+
label: string;
|
|
53
|
+
subtitle: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
decisionStrengthLabel: string;
|
|
57
|
+
sectionTitles: {
|
|
58
|
+
decisioningFactors: string;
|
|
59
|
+
gaps: string;
|
|
60
|
+
};
|
|
61
|
+
emptyStateMessage: string;
|
|
62
|
+
accentColor: string;
|
|
63
|
+
};
|
|
41
64
|
//# sourceMappingURL=CognitiveCompareConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompareConfig.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE5E,eAAO,MAAM,oBAAoB,EAAE,eAAe,EAGjD,CAAC;AACF,eAAO,MAAM,yBAAyB,EAAE,gBA6CvC,CAAC;AAmBF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAclC,CAAC"}
|
|
1
|
+
{"version":3,"file":"CognitiveCompareConfig.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareConfig.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,yBAAyB,CAAC;AAE5E,eAAO,MAAM,oBAAoB,EAAE,eAAe,EAGjD,CAAC;AACF,eAAO,MAAM,yBAAyB,EAAE,gBA6CvC,CAAC;AAmBF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAclC,CAAC;AAIF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;CAsBhC,CAAC"}
|
|
@@ -29,6 +29,7 @@ export interface CognitiveDecisioningEntry {
|
|
|
29
29
|
metadata?: unknown;
|
|
30
30
|
decisioning_metadata?: unknown;
|
|
31
31
|
gap_metadata?: unknown;
|
|
32
|
+
citations?: unknown;
|
|
32
33
|
}
|
|
33
34
|
export interface RuleData {
|
|
34
35
|
id: string;
|
|
@@ -48,7 +49,7 @@ export interface RuleData {
|
|
|
48
49
|
id?: string;
|
|
49
50
|
title: string;
|
|
50
51
|
content: string;
|
|
51
|
-
subsections?:
|
|
52
|
+
subsections?: SectionBlock[];
|
|
52
53
|
relation?: string;
|
|
53
54
|
score?: number;
|
|
54
55
|
cognitiveRelevanceScore?: number;
|
|
@@ -75,6 +76,8 @@ export interface CognitiveCompareProps {
|
|
|
75
76
|
leftColumnTitleText?: string;
|
|
76
77
|
rightColumnTitleText?: string;
|
|
77
78
|
markdownStyles?: React.CSSProperties & Record<string, any>;
|
|
79
|
+
maintainRelativeOrder?: boolean;
|
|
80
|
+
popupConfig?: CognitivePopupConfig;
|
|
78
81
|
}
|
|
79
82
|
export type StyleVariant = {
|
|
80
83
|
bg: string;
|
|
@@ -129,15 +132,54 @@ export interface CognitivePopupProps {
|
|
|
129
132
|
popupRef: React.RefObject<HTMLDivElement>;
|
|
130
133
|
position: PopupPosition | null;
|
|
131
134
|
markdownStyles?: React.CSSProperties & Record<string, any>;
|
|
135
|
+
docData?: Record<string, any> | null;
|
|
132
136
|
}
|
|
133
137
|
export type SectionBlock = {
|
|
134
138
|
id?: string;
|
|
135
139
|
title: string;
|
|
136
140
|
content: string;
|
|
137
|
-
subsections?:
|
|
141
|
+
subsections?: SectionBlock[];
|
|
138
142
|
relation?: string;
|
|
139
143
|
score?: number;
|
|
140
144
|
cognitiveRelevanceScore?: number;
|
|
141
145
|
cognitiveData?: CognitiveDecisioningEntry;
|
|
146
|
+
selfIndex?: number;
|
|
147
|
+
refIndexes?: number[];
|
|
142
148
|
};
|
|
149
|
+
export type SectionPopupState = {
|
|
150
|
+
open: boolean;
|
|
151
|
+
sectionTitle: string;
|
|
152
|
+
refSectionTitle: string;
|
|
153
|
+
cognitiveData: CognitiveDecisioningEntry | null;
|
|
154
|
+
anchorEl: HTMLElement | null;
|
|
155
|
+
sectionAnchorEl: HTMLElement | null;
|
|
156
|
+
badgeStyle: StyleVariant | null;
|
|
157
|
+
sectionIdx: number | null;
|
|
158
|
+
docData: Record<string, any> | null;
|
|
159
|
+
};
|
|
160
|
+
export type Row = {
|
|
161
|
+
left?: SectionBlock;
|
|
162
|
+
right?: SectionBlock;
|
|
163
|
+
};
|
|
164
|
+
export interface CognitivePopupConfig {
|
|
165
|
+
tabs?: {
|
|
166
|
+
deviation?: {
|
|
167
|
+
label?: string;
|
|
168
|
+
subtitle?: string;
|
|
169
|
+
placeholderTitle?: string;
|
|
170
|
+
placeholderBody?: string;
|
|
171
|
+
};
|
|
172
|
+
association?: {
|
|
173
|
+
label?: string;
|
|
174
|
+
subtitle?: string;
|
|
175
|
+
};
|
|
176
|
+
};
|
|
177
|
+
decisionStrengthLabel?: string;
|
|
178
|
+
sectionTitles?: {
|
|
179
|
+
decisioningFactors?: string;
|
|
180
|
+
gaps?: string;
|
|
181
|
+
};
|
|
182
|
+
emptyStateMessage?: string;
|
|
183
|
+
accentColor?: string;
|
|
184
|
+
}
|
|
143
185
|
//# sourceMappingURL=CognitiveCompareTypes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveCompareTypes.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareTypes.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE;QACX,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB,CAAC;CACH;AAED,MAAM,WAAW,kBAAkB;IACjC,0BAA0B,EAAE;QAC1B,OAAO,EAAE;YACP,aAAa,EAAE,MAAM,CAAC;YACtB,eAAe,EAAE,MAAM,CAAC;SACzB,CAAC;QACF,MAAM,EAAE;YACN,CAAC,GAAG,EAAE,MAAM,GACV,uBAAuB,GACvB;gBAAE,KAAK,EAAE,MAAM,CAAC;gBAAC,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAA;aAAE,CAAC;SAC1D,CAAC;KACH,CAAC;CACH;AAED,MAAM,WAAW,yBAAyB;IACxC,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IAChC,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACxB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,YAAY,CAAC,EAAE,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CognitiveCompareTypes.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveCompareTypes.ts"],"names":[],"mappings":";AAEA,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE;QACX,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;QACvB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;KACxB,CAAC;CACH;AAED,MAAM,WAAW,kBAAkB;IACjC,0BAA0B,EAAE;QAC1B,OAAO,EAAE;YACP,aAAa,EAAE,MAAM,CAAC;YACtB,eAAe,EAAE,MAAM,CAAC;SACzB,CAAC;QACF,MAAM,EAAE;YACN,CAAC,GAAG,EAAE,MAAM,GACV,uBAAuB,GACvB;gBAAE,KAAK,EAA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AAM,GAAG,GAAG;IAChB,IAAI,CAAC,EAAE,YAAY,CAAA;IACnB,KAAK,CAAC,EAAE,YAAY,CAAA;CACrB,CAAA;AAID,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE;QACL,SAAS,CAAC,EAAE;YACV,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;YAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;YAC1B,eAAe,CAAC,EAAE,MAAM,CAAC;SAC1B,CAAC;QACF,WAAW,CAAC,EAAE;YACZ,KAAK,CAAC,EAAE,MAAM,CAAC;YACf,QAAQ,CAAC,EAAE,MAAM,CAAC;SACnB,CAAC;KACH,CAAC;IACF,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAC/B,aAAa,CAAC,EAAE;QACd,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -4,6 +4,8 @@ export declare const hasValue: (val: unknown) => boolean;
|
|
|
4
4
|
export declare const getSideData: (node: any, sideIndex: "0" | "1", indexMap: Record<string, string>) => {
|
|
5
5
|
title: string;
|
|
6
6
|
content: string;
|
|
7
|
+
attributes: any;
|
|
8
|
+
subsections: any;
|
|
7
9
|
};
|
|
8
10
|
export declare const getRationale: (node: any) => {
|
|
9
11
|
cognitiveData: {
|
|
@@ -11,6 +13,7 @@ export declare const getRationale: (node: any) => {
|
|
|
11
13
|
gap: never[];
|
|
12
14
|
relevance_score: number;
|
|
13
15
|
isMissingRationale: boolean;
|
|
16
|
+
citations: never[];
|
|
14
17
|
};
|
|
15
18
|
score: number;
|
|
16
19
|
relation: string;
|
|
@@ -19,6 +22,7 @@ export declare const getRationale: (node: any) => {
|
|
|
19
22
|
decisioning: any;
|
|
20
23
|
gap: any;
|
|
21
24
|
relevance_score: number;
|
|
25
|
+
citations: any;
|
|
22
26
|
isMissingRationale?: undefined;
|
|
23
27
|
};
|
|
24
28
|
score: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitiveComparehelpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveComparehelpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,YAAY,EACb,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,aAAa,QAAS,OAAO,KAAG,MAM5C,CAAC;AAGF,eAAO,MAAM,QAAQ,QAAS,OAAO,KAAG,OAKvC,CAAC;AAGF,eAAO,MAAM,WAAW,SAChB,GAAG,aACE,GAAG,GAAG,GAAG,YACV,OAAO,MAAM,EAAE,MAAM,CAAC
|
|
1
|
+
{"version":3,"file":"CognitiveComparehelpers.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitiveComparehelpers.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gBAAgB,EAChB,YAAY,EACb,MAAM,yBAAyB,CAAC;AAEjC,eAAO,MAAM,aAAa,QAAS,OAAO,KAAG,MAM5C,CAAC;AAGF,eAAO,MAAM,QAAQ,QAAS,OAAO,KAAG,OAKvC,CAAC;AAGF,eAAO,MAAM,WAAW,SAChB,GAAG,aACE,GAAG,GAAG,GAAG,YACV,OAAO,MAAM,EAAE,MAAM,CAAC;;;;;CAUjC,CAAC;AAGF,eAAO,MAAM,YAAY,SAAU,GAAG;;;;;;;;;;;;;;;;;;;;CA2BrC,CAAC;AAGF,eAAO,MAAM,qBAAqB,aAAc,MAAM,KAAG,MAOxD,CAAC;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,YACH,MAAM,cACJ,OAAO,UACX,gBAAgB,KACvB,YAAY,GAAG,IA+BjB,CAAC;AAGF,eAAO,MAAM,wBAAwB,mBACnB,MAAM,KACrB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAMnC,CAAC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CognitivePopupProps } from "./CognitiveCompareTypes";
|
|
3
|
-
declare const CognitivePopup: React.FC<CognitivePopupProps
|
|
2
|
+
import { CognitivePopupConfig, CognitivePopupProps } from "./CognitiveCompareTypes";
|
|
3
|
+
declare const CognitivePopup: React.FC<CognitivePopupProps & {
|
|
4
|
+
popupConfig?: CognitivePopupConfig;
|
|
5
|
+
}>;
|
|
4
6
|
export default CognitivePopup;
|
|
5
7
|
//# sourceMappingURL=CognitivePopup.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CognitivePopup.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitivePopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"CognitivePopup.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/CognitivePopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAuC,MAAM,OAAO,CAAC;AAO5D,OAAO,EACL,oBAAoB,EACpB,mBAAmB,EACpB,MAAM,yBAAyB,CAAC;AASjC,QAAA,MAAM,cAAc,EAAE,KAAK,CAAC,EAAE,CAC5B,mBAAmB,GAAG;IAAE,WAAW,CAAC,EAAE,oBAAoB,CAAA;CAAE,CA4gB7D,CAAC;AAEF,eAAe,cAAc,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type MoreFunctionsPopupProps = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
anchorEl: HTMLElement | null;
|
|
5
|
+
sectionTitle: string;
|
|
6
|
+
referenceSectionTitle: string;
|
|
7
|
+
onClose: () => void;
|
|
8
|
+
onOpenCognitiveCompare: () => void;
|
|
9
|
+
onOpenSideBySide: () => void;
|
|
10
|
+
};
|
|
11
|
+
declare const MoreFunctionsPopup: React.FC<MoreFunctionsPopupProps>;
|
|
12
|
+
export default MoreFunctionsPopup;
|
|
13
|
+
//# sourceMappingURL=MoreFunctionsPopup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MoreFunctionsPopup.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/MoreFunctionsPopup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,KAAK,uBAAuB,GAAG;IAC3B,IAAI,EAAE,OAAO,CAAC;IACd,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAC7B,YAAY,EAAE,MAAM,CAAC;IACrB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,sBAAsB,EAAE,MAAM,IAAI,CAAC;IACnC,gBAAgB,EAAE,MAAM,IAAI,CAAC;CAChC,CAAC;AAyBF,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAkGzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
interface ResizableSplitPaneProps {
|
|
3
|
+
leftComponent?: ReactNode;
|
|
4
|
+
rightComponent?: ReactNode;
|
|
5
|
+
}
|
|
6
|
+
declare const ResizableSplitPane: React.FC<ResizableSplitPaneProps>;
|
|
7
|
+
export default ResizableSplitPane;
|
|
8
|
+
//# sourceMappingURL=ResizableSplitPane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ResizableSplitPane.d.ts","sourceRoot":"","sources":["../../../../../src/features/CognitiveCompare/ResizableSplitPane.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EACZ,SAAS,EAIV,MAAM,OAAO,CAAC;AAEf,UAAU,uBAAuB;IAC/B,aAAa,CAAC,EAAE,SAAS,CAAC;IAC1B,cAAc,CAAC,EAAE,SAAS,CAAC;CAC5B;AAED,QAAA,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CAgIzD,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PageChangeEvent } from "@react-pdf-viewer/core";
|
|
1
|
+
import { SpecialZoomLevel, PageChangeEvent } from "@react-pdf-viewer/core";
|
|
2
2
|
import { CustomStylesType } from "./PdfViewer";
|
|
3
3
|
export declare const pdfWorker: string;
|
|
4
4
|
type Props = {
|
|
@@ -7,7 +7,8 @@ type Props = {
|
|
|
7
7
|
onLoad: () => void;
|
|
8
8
|
customStyles?: CustomStylesType;
|
|
9
9
|
onPageChange: (e: PageChangeEvent) => void;
|
|
10
|
+
defaultScale?: SpecialZoomLevel | number | undefined;
|
|
10
11
|
};
|
|
11
|
-
declare const PdfContainer: ({ pdfUrl, plugins, onLoad, customStyles, onPageChange }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare const PdfContainer: ({ pdfUrl, plugins, onLoad, customStyles, onPageChange, defaultScale }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
12
13
|
export default PdfContainer;
|
|
13
14
|
//# sourceMappingURL=PdfContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfContainer.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/PdfContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PdfContainer.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/PdfContainer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkB,gBAAgB,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAE3F,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAC/C,eAAO,MAAM,SAAS,EAAE,MAAwE,CAAC;AAEjG,KAAK,KAAK,GAAG;IACX,MAAM,EAA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,CAAC;IACtB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,SAAS,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,aAAa,CAAA;CAuFrD,CAAC"}
|
|
@@ -17,7 +17,9 @@ type Props = {
|
|
|
17
17
|
onClick?: () => void;
|
|
18
18
|
tooltip?: string;
|
|
19
19
|
};
|
|
20
|
+
isZoomEnabled: boolean;
|
|
21
|
+
showHighlightsAction: boolean;
|
|
20
22
|
};
|
|
21
|
-
declare const PdfToolbar: ({ highlightIndex, totalHighlights, controls, currentPosition, pdfName, onClose, pdfUrl, viewerRef, customStyles, customClasses, customIcons, headerAction, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
declare const PdfToolbar: ({ highlightIndex, totalHighlights, controls, currentPosition, pdfName, onClose, pdfUrl, viewerRef, customStyles, customClasses, customIcons, headerAction, isZoomEnabled, showHighlightsAction }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export default PdfToolbar;
|
|
23
25
|
//# sourceMappingURL=PdfToolbar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfToolbar.d.ts","sourceRoot":"","sources":["../../../../../src/features/PdfViewer/PdfToolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAInF,KAAK,KAAK,GAAG;IACX,cAAc,EAAE,MAAM,CAAC;IACvB,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,GAAG,CAAC;IACd,eAAe,EAAE,GAAG,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE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UAAU,qMAeb,KAAK,4CA4PP,CAAC;AAEF,eAAe,UAAU,CAAC"}
|
|
@@ -24,6 +24,7 @@ export type CustomClassesType = {
|
|
|
24
24
|
actionButton?: string;
|
|
25
25
|
pdfViewerWrapper?: string;
|
|
26
26
|
};
|
|
27
|
+
type PdfScaleOption = "ActualSize" | "PageFit" | "PageWidth" | number;
|
|
27
28
|
interface PdfViewerProps {
|
|
28
29
|
pdfUrl?: string;
|
|
29
30
|
highlightText: string[];
|
|
@@ -47,6 +48,9 @@ interface PdfViewerProps {
|
|
|
47
48
|
onClick?: () => void;
|
|
48
49
|
tooltip?: string;
|
|
49
50
|
};
|
|
51
|
+
isZoomEnabled?: boolean;
|
|
52
|
+
showHighlightsAction?: boolean;
|
|
53
|
+
defaultScale?: PdfScaleOption;
|
|
50
54
|
}
|
|
51
55
|
export type HighlightArea = {
|
|
52
56
|
pageIndex: number;
|
|
@@ -56,6 +60,6 @@ export type HighlightArea = {
|
|
|
56
60
|
height: number;
|
|
57
61
|
pageNumber?: number;
|
|
58
62
|
};
|
|
59
|
-
declare const PdfViewer: ({ pdfUrl, highlightText, highlightPages, highlightCordinatePages, highlightColor, activeHighlightColor, jumpToPageValue, pdfName, onClose, customStyles, customClasses, customIcons, useCoordinates, fallbackPages, activeCitationIndex, onActiveCitationChange, headerAction, }: PdfViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
63
|
+
declare const PdfViewer: ({ pdfUrl, highlightText, highlightPages, highlightCordinatePages, highlightColor, activeHighlightColor, jumpToPageValue, pdfName, onClose, customStyles, customClasses, customIcons, useCoordinates, fallbackPages, activeCitationIndex, onActiveCitationChange, headerAction, isZoomEnabled, showHighlightsAction, defaultScale }: PdfViewerProps) => import("react/jsx-runtime").JSX.Element;
|
|
60
64
|
export default PdfViewer;
|
|
61
65
|
//# sourceMappingURL=PdfViewer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PdfViewer.d.ts","sourceRoot":"","sources":["../../../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