@tfw.in/structura-lib 0.2.3 → 0.2.5
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 +37 -3
- package/dist/cjs/HtmlViewer.js +75 -6
- package/dist/cjs/PdfDocumentViewer.js +4 -14
- package/dist/cjs/Structura.js +39 -4
- package/dist/cjs/styles.css +1 -1
- package/dist/cjs/styles.css.map +1 -1
- package/dist/esm/HtmlViewer.js +130 -40
- package/dist/esm/PdfDocumentViewer.js +4 -14
- package/dist/esm/Structura.js +34 -5
- package/dist/esm/styles.css +1 -1
- package/dist/esm/styles.css.map +1 -1
- package/dist/esm/types/PdfComponents.d.ts +2 -0
- package/dist/esm/types/Structura.d.ts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/styles.css +5 -0
- package/package.json +12 -2
package/dist/cjs/styles.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["styles.css"],"names":[],"mappings":"AAAA,6GAA6G,CAC7G,wGAAwG,CACxG,4EAA4E,CAG5E,OAEE,aACF,CAUA,2NAOE,mBACF,CAGA,iBAAA,uBAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,CAAd,aAAc,CAAd,aAAc,CAAd,aAAc,CAAd,cAAc,CAAd,cAAc,CAAd,YAAc,CAAd,YAAc,CAAd,iBAAc,CAAd,qCAAc,CAAd,6BAAc,CAAd,4BAAc,CAAd,2BAAc,CAAd,cAAc,CAAd,mBAAc,CAAd,qBAAc,CAAd,sBAAc,CAAd,uBAAc,CAAd,iBAAc,CAAd,0BAAc,CAAd,2BAAc,CAAd,mCAAc,CAAd,iCAAc,CAAd,0BAAc,CAAd,qBAAc,CAAd,6BAAc,CAAd,WAAc,CAAd,iBAAc,CAAd,eAAc,CAAd,gBAAc,CAAd,iBAAc,CAAd,aAAc,CAAd,eAAc,CAAd,YAAc,CAAd,kBAAc,CAAd,oBAAc,CAAd,0BAAc,CAAd,wBAAc,CA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;900&display=swap');\n@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');\n@import url('https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css');\n\n/* Override KaTeX fonts to match document font */\n.katex {\n font-family: inherit;\n font-size: 1em;\n}\n.katex .mathnormal,\n.katex .mathit,\n.katex .mathrm,\n.katex .mathbf,\n.katex .mathsf,\n.katex .mathtt,\n.katex .mathdefault {\n font-family: inherit;\n}\n.katex .mord,\n.katex .mbin,\n.katex .mrel,\n.katex .mopen,\n.katex .mclose,\n.katex .mpunct,\n.katex .minner {\n font-family: inherit;\n}\n\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@reference \"tailwindcss\";\n\n@layer base {\n * {\n @apply border-[hsl(var(--border))];\n }\n html {\n @apply h-full overflow-y-auto;\n }\n body {\n @apply h-full overflow-y-auto; /* Allow body to scroll if content overflows */\n body {\n @apply bg-[hsl(var(--background))] text-[hsl(var(--foreground))];\n }\n }\n}\n\n\n.font-figtree {\n font-family: 'Figtree', sans-serif;\n}\n\nh1 {\n @apply text-3xl font-bold mb-4;\n}\n\n\n.font-nunito {\n font-family: 'Nunito', sans-serif;\n}\n\nh2 {\n @apply text-2xl font-bold mb-3;\n}\n\nh3 {\n @apply text-xl font-bold mb-2;\n}\n\nh4 {\n @apply text-lg font-bold mb-2;\n}\n\nul {\n @apply list-disc ml-6 mb-4;\n}\n\nol {\n @apply list-decimal ml-6 mb-4;\n}\n\np {\n @apply mb-4;\n}\n\nstrong {\n @apply font-bold;\n}\n\nem {\n @apply italic;\n}\n\ntable,\nth,\ntd {\n\tborder: 1px solid black;\n\tborder-collapse: collapse;\n padding: 10px;\n}\n\n/* Enhanced Table Styles */\ntable {\n @apply w-full border-collapse bg-white shadow-lg rounded-lg overflow-hidden mb-6;\n}\n\n/* Header cells */\nth {\n @apply bg-gray-100\n px-6 py-4\n text-left font-bold tracking-wider text-base\n border-b-2 border-gray-200\n text-gray-800;\n}\n\n/* Regular cells */\ntd {\n @apply px-6 py-4 \n text-gray-700 text-sm\n border-b border-gray-200\n align-middle;\n}\n\n/* Row styling */\ntr {\n @apply transition-colors duration-200;\n}\n\n/* Zebra striping disabled - uniform white background */\ntr:nth-child(even) {\n @apply bg-white;\n}\n\n/* Hover effect on rows - subtle gray */\ntr:hover {\n @apply bg-gray-50;\n}\n\n/* First column emphasis */\ntd:first-child,\nth:first-child {\n @apply font-semibold border-r border-gray-200;\n}\n\n/* Last row styling */\ntr:last-child td {\n @apply border-b-0;\n}\n\n/* Specific cell types */\ntd.numeric {\n @apply text-right font-mono text-gray-800;\n}\n\n/* Status-like cells */\ntd.completed,\ntd.done {\n @apply text-green-600 font-medium;\n}\n\ntd.pending {\n @apply text-yellow-600 font-medium;\n}\n\n/* Table caption if present */\ncaption {\n @apply text-lg font-semibold text-gray-700 p-4 bg-gray-50;\n}\n\n/* Responsive design */\n@media (max-width: 640px) {\n table {\n @apply rounded-none shadow-none;\n }\n \n th, td {\n @apply px-4 py-3;\n }\n}\n\n/* Optional: Add a subtle border around the entire table */\n.table-wrapper {\n @apply border border-gray-200 rounded-lg;\n}\n\n/* Optional: Style for sortable headers */\nth.sortable {\n @apply cursor-pointer hover:bg-gray-200;\n}\n\n/* Optional: Style for selected rows */\ntr.selected {\n @apply bg-gray-200;\n}\n\ndel {\n text-decoration: line-through;\n background-color: #fbb;\n color: #555;\n}\n\n/* PDF Viewer Styles */\n.pdf-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.react-pdf__Page__textContent {\n display: none !important;\n}\n\n.react-pdf__Page__annotations {\n display: none !important;\n}\n\n/* Alternative method using opacity */\n.react-pdf__Page__textContent.textLayer {\n opacity: 0 !important;\n pointer-events: none !important;\n user-select: none !important;\n}\n\n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n --chart-1: 12 76% 61%;\n --chart-2: 173 58% 39%;\n --chart-3: 197 37% 24%;\n --chart-4: 43 74% 66%;\n --chart-5: 27 87% 67%;\n --radius: 0.5rem;\n }\n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n --ring: 212.7 26.8% 83.9%;\n --chart-1: 220 70% 50%;\n --chart-2: 160 60% 45%;\n --chart-3: 30 80% 55%;\n --chart-4: 280 65% 60%;\n --chart-5: 340 75% 55%;\n }\n}\n\n"]}
|
|
1
|
+
{"version":3,"sources":["styles.css","AnnotationLayer.css","TextLayer.css"],"names":[],"mappings":"AAAA,6GAA6G,CAC7G,wGAAwG,CACxG,4EAA4E,CAG5E,OAEE,aACF,CAUA,2NAOE,mBACF,CAGA,iBAAA,uBAAc,CAAd,uBAAc,CAAd,kBAAc,CAAd,kBAAc,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.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap');\n@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800&display=swap');\n@import url('https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css');\n\n/* Override KaTeX fonts to match document font */\n.katex {\n font-family: inherit;\n font-size: 1em;\n}\n.katex .mathnormal,\n.katex .mathit,\n.katex .mathrm,\n.katex .mathbf,\n.katex .mathsf,\n.katex .mathtt,\n.katex .mathdefault {\n font-family: inherit;\n}\n.katex .mord,\n.katex .mbin,\n.katex .mrel,\n.katex .mopen,\n.katex .mclose,\n.katex .mpunct,\n.katex .minner {\n font-family: inherit;\n}\n\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n@reference \"tailwindcss\";\n\n@layer base {\n * {\n @apply border-[hsl(var(--border))];\n }\n html {\n @apply h-full overflow-y-auto;\n }\n body {\n @apply h-full overflow-y-auto; /* Allow body to scroll if content overflows */\n body {\n @apply bg-[hsl(var(--background))] text-[hsl(var(--foreground))];\n }\n }\n}\n\n\n.font-figtree {\n font-family: 'Figtree', sans-serif;\n}\n\nh1 {\n @apply text-3xl font-bold mb-4;\n}\n\n\n.font-nunito {\n font-family: 'Nunito', sans-serif;\n}\n\nh2 {\n @apply text-2xl font-bold mb-3;\n}\n\nh3 {\n @apply text-xl font-bold mb-2;\n}\n\nh4 {\n @apply text-lg font-bold mb-2;\n}\n\nul {\n @apply list-disc ml-6 mb-4;\n}\n\nol {\n @apply list-decimal ml-6 mb-4;\n}\n\np {\n @apply mb-4;\n}\n\nstrong {\n @apply font-bold;\n}\n\nem {\n @apply italic;\n}\n\ntable,\nth,\ntd {\n\tborder: 1px solid black;\n\tborder-collapse: collapse;\n padding: 10px;\n}\n\n/* Enhanced Table Styles */\ntable {\n @apply w-full border-collapse bg-white shadow-lg rounded-lg overflow-hidden mb-6;\n}\n\n/* Header cells */\nth {\n @apply bg-gray-100\n px-6 py-4\n text-left font-bold tracking-wider text-base\n border-b-2 border-gray-200\n text-gray-800;\n}\n\n/* Regular cells */\ntd {\n @apply px-6 py-4 \n text-gray-700 text-sm\n border-b border-gray-200\n align-middle;\n}\n\n/* Row styling */\ntr {\n @apply transition-colors duration-200;\n}\n\n/* Zebra striping disabled - uniform white background */\ntr:nth-child(even) {\n @apply bg-white;\n}\n\n/* Hover effect on rows - subtle gray */\ntr:hover {\n @apply bg-gray-50;\n}\n\n/* First column emphasis */\ntd:first-child,\nth:first-child {\n @apply font-semibold border-r border-gray-200;\n}\n\n/* Last row styling */\ntr:last-child td {\n @apply border-b-0;\n}\n\n/* Specific cell types */\ntd.numeric {\n @apply text-right font-mono text-gray-800;\n}\n\n/* Status-like cells */\ntd.completed,\ntd.done {\n @apply text-green-600 font-medium;\n}\n\ntd.pending {\n @apply text-yellow-600 font-medium;\n}\n\n/* Table caption if present */\ncaption {\n @apply text-lg font-semibold text-gray-700 p-4 bg-gray-50;\n}\n\n/* Responsive design */\n@media (max-width: 640px) {\n table {\n @apply rounded-none shadow-none;\n }\n \n th, td {\n @apply px-4 py-3;\n }\n}\n\n/* Optional: Add a subtle border around the entire table */\n.table-wrapper {\n @apply border border-gray-200 rounded-lg;\n}\n\n/* Optional: Style for sortable headers */\nth.sortable {\n @apply cursor-pointer hover:bg-gray-200;\n}\n\n/* Optional: Style for selected rows */\ntr.selected {\n @apply bg-gray-200;\n}\n\ndel {\n text-decoration: line-through;\n background-color: #fbb;\n color: #555;\n}\n\n/* PDF Viewer Styles */\n.pdf-container {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.react-pdf__Page__textContent {\n display: none !important;\n}\n\n.react-pdf__Page__annotations {\n display: none !important;\n}\n\n/* Alternative method using opacity */\n.react-pdf__Page__textContent.textLayer {\n opacity: 0 !important;\n pointer-events: none !important;\n user-select: none !important;\n}\n\n@layer base {\n :root {\n --background: 0 0% 100%;\n --foreground: 222.2 84% 4.9%;\n --card: 0 0% 100%;\n --card-foreground: 222.2 84% 4.9%;\n --popover: 0 0% 100%;\n --popover-foreground: 222.2 84% 4.9%;\n --primary: 222.2 47.4% 11.2%;\n --primary-foreground: 210 40% 98%;\n --secondary: 210 40% 96.1%;\n --secondary-foreground: 222.2 47.4% 11.2%;\n --muted: 210 40% 96.1%;\n --muted-foreground: 215.4 16.3% 46.9%;\n --accent: 210 40% 96.1%;\n --accent-foreground: 222.2 47.4% 11.2%;\n --destructive: 0 84.2% 60.2%;\n --destructive-foreground: 210 40% 98%;\n --border: 214.3 31.8% 91.4%;\n --input: 214.3 31.8% 91.4%;\n --ring: 222.2 84% 4.9%;\n --chart-1: 12 76% 61%;\n --chart-2: 173 58% 39%;\n --chart-3: 197 37% 24%;\n --chart-4: 43 74% 66%;\n --chart-5: 27 87% 67%;\n --radius: 0.5rem;\n }\n .dark {\n --background: 222.2 84% 4.9%;\n --foreground: 210 40% 98%;\n --card: 222.2 84% 4.9%;\n --card-foreground: 210 40% 98%;\n --popover: 222.2 84% 4.9%;\n --popover-foreground: 210 40% 98%;\n --primary: 210 40% 98%;\n --primary-foreground: 222.2 47.4% 11.2%;\n --secondary: 217.2 32.6% 17.5%;\n --secondary-foreground: 210 40% 98%;\n --muted: 217.2 32.6% 17.5%;\n --muted-foreground: 215 20.2% 65.1%;\n --accent: 217.2 32.6% 17.5%;\n --accent-foreground: 210 40% 98%;\n --destructive: 0 62.8% 30.6%;\n --destructive-foreground: 210 40% 98%;\n --border: 217.2 32.6% 17.5%;\n --input: 217.2 32.6% 17.5%;\n --ring: 212.7 26.8% 83.9%;\n --chart-1: 220 70% 50%;\n --chart-2: 160 60% 45%;\n --chart-3: 30 80% 55%;\n --chart-4: 280 65% 60%;\n --chart-5: 340 75% 55%;\n }\n}\n\n","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n --react-pdf-annotation-layer: 1;\n --annotation-unfocused-field-background: url(\"data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>\");\n --input-focus-border-color: Highlight;\n --input-focus-outline: 1px solid Canvas;\n --input-unfocused-border-color: transparent;\n --input-disabled-border-color: transparent;\n --input-hover-border-color: black;\n --link-outline: none;\n}\n\n@media screen and (forced-colors: active) {\n :root {\n --input-focus-border-color: CanvasText;\n --input-unfocused-border-color: ActiveText;\n --input-disabled-border-color: GrayText;\n --input-hover-border-color: Highlight;\n --link-outline: 1.5px solid LinkText;\n }\n .annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n .annotationLayer .choiceWidgetAnnotation select:required,\n .annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n outline: 1.5px solid selectedItem;\n }\n\n .annotationLayer .linkAnnotation:hover {\n backdrop-filter: invert(100%);\n }\n}\n\n.annotationLayer {\n position: absolute;\n top: 0;\n left: 0;\n pointer-events: none;\n transform-origin: 0 0;\n z-index: 3;\n}\n\n.annotationLayer[data-main-rotation='90'] .norotate {\n transform: rotate(270deg) translateX(-100%);\n}\n.annotationLayer[data-main-rotation='180'] .norotate {\n transform: rotate(180deg) translate(-100%, -100%);\n}\n.annotationLayer[data-main-rotation='270'] .norotate {\n transform: rotate(90deg) translateY(-100%);\n}\n\n.annotationLayer canvas {\n position: absolute;\n width: 100%;\n height: 100%;\n}\n\n.annotationLayer section {\n position: absolute;\n text-align: initial;\n pointer-events: auto;\n box-sizing: border-box;\n margin: 0;\n transform-origin: 0 0;\n}\n\n.annotationLayer .linkAnnotation {\n outline: var(--link-outline);\n}\n\n.textLayer.selecting ~ .annotationLayer section {\n pointer-events: none;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a {\n position: absolute;\n font-size: 1em;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n}\n\n.annotationLayer :is(.linkAnnotation, .buttonWidgetAnnotation.pushButton) > a:hover {\n opacity: 0.2;\n background: rgba(255, 255, 0, 1);\n box-shadow: 0 2px 10px rgba(255, 255, 0, 1);\n}\n\n.annotationLayer .textAnnotation img {\n position: absolute;\n cursor: pointer;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea),\n.annotationLayer .choiceWidgetAnnotation select,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n background-image: var(--annotation-unfocused-field-background);\n border: 2px solid var(--input-unfocused-border-color);\n box-sizing: border-box;\n font: calc(9px * var(--scale-factor)) sans-serif;\n height: 100%;\n margin: 0;\n vertical-align: top;\n width: 100%;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):required,\n.annotationLayer .choiceWidgetAnnotation select:required,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:required {\n outline: 1.5px solid red;\n}\n\n.annotationLayer .choiceWidgetAnnotation select option {\n padding: 0;\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input {\n border-radius: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation textarea {\n resize: none;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea)[disabled],\n.annotationLayer .choiceWidgetAnnotation select[disabled],\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input[disabled] {\n background: none;\n border: 2px solid var(--input-disabled-border-color);\n cursor: not-allowed;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input:hover {\n border: 2px solid var(--input-hover-border-color);\n}\n.annotationLayer .textWidgetAnnotation :is(input, textarea):hover,\n.annotationLayer .choiceWidgetAnnotation select:hover,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:hover {\n border-radius: 2px;\n}\n\n.annotationLayer .textWidgetAnnotation :is(input, textarea):focus,\n.annotationLayer .choiceWidgetAnnotation select:focus {\n background: none;\n border: 2px solid var(--input-focus-border-color);\n border-radius: 2px;\n outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) :focus {\n background-image: none;\n background-color: transparent;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox :focus {\n border: 2px solid var(--input-focus-border-color);\n border-radius: 2px;\n outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton :focus {\n border: 2px solid var(--input-focus-border-color);\n outline: var(--input-focus-outline);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after,\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n background-color: CanvasText;\n content: '';\n display: block;\n position: absolute;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before,\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n height: 80%;\n left: 45%;\n width: 1px;\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::before {\n transform: rotate(45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.checkBox input:checked::after {\n transform: rotate(-45deg);\n}\n\n.annotationLayer .buttonWidgetAnnotation.radioButton input:checked::before {\n border-radius: 50%;\n height: 50%;\n left: 30%;\n top: 20%;\n width: 50%;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb {\n font-family: monospace;\n padding-left: 2px;\n padding-right: 0;\n}\n\n.annotationLayer .textWidgetAnnotation input.comb:focus {\n /*\n * Letter spacing is placed on the right side of each character. Hence, the\n * letter spacing of the last character may be placed outside the visible\n * area, causing horizontal scrolling. We avoid this by extending the width\n * when the element has focus and revert this when it loses focus.\n */\n width: 103%;\n}\n\n.annotationLayer .buttonWidgetAnnotation:is(.checkBox, .radioButton) input {\n appearance: none;\n}\n\n.annotationLayer .popupTriggerArea {\n height: 100%;\n width: 100%;\n}\n\n.annotationLayer .fileAttachmentAnnotation .popupTriggerArea {\n position: absolute;\n}\n\n.annotationLayer .popupWrapper {\n position: absolute;\n font-size: calc(9px * var(--scale-factor));\n width: 100%;\n min-width: calc(180px * var(--scale-factor));\n pointer-events: none;\n}\n\n.annotationLayer .popup {\n position: absolute;\n max-width: calc(180px * var(--scale-factor));\n background-color: rgba(255, 255, 153, 1);\n box-shadow: 0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor))\n rgba(136, 136, 136, 1);\n border-radius: calc(2px * var(--scale-factor));\n padding: calc(6px * var(--scale-factor));\n margin-left: calc(5px * var(--scale-factor));\n cursor: pointer;\n font: message-box;\n white-space: normal;\n word-wrap: break-word;\n pointer-events: auto;\n}\n\n.annotationLayer .popup > * {\n font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .popup h1 {\n display: inline-block;\n}\n\n.annotationLayer .popupDate {\n display: inline-block;\n margin-left: calc(5px * var(--scale-factor));\n}\n\n.annotationLayer .popupContent {\n border-top: 1px solid rgba(51, 51, 51, 1);\n margin-top: calc(2px * var(--scale-factor));\n padding-top: calc(2px * var(--scale-factor));\n}\n\n.annotationLayer .richText > * {\n white-space: pre-wrap;\n font-size: calc(9px * var(--scale-factor));\n}\n\n.annotationLayer .highlightAnnotation,\n.annotationLayer .underlineAnnotation,\n.annotationLayer .squigglyAnnotation,\n.annotationLayer .strikeoutAnnotation,\n.annotationLayer .freeTextAnnotation,\n.annotationLayer .lineAnnotation svg line,\n.annotationLayer .squareAnnotation svg rect,\n.annotationLayer .circleAnnotation svg ellipse,\n.annotationLayer .polylineAnnotation svg polyline,\n.annotationLayer .polygonAnnotation svg polygon,\n.annotationLayer .caretAnnotation,\n.annotationLayer .inkAnnotation svg polyline,\n.annotationLayer .stampAnnotation,\n.annotationLayer .fileAttachmentAnnotation {\n cursor: pointer;\n}\n\n.annotationLayer section svg {\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n}\n\n.annotationLayer .annotationTextContent {\n position: absolute;\n width: 100%;\n height: 100%;\n opacity: 0;\n color: transparent;\n user-select: none;\n pointer-events: none;\n}\n\n.annotationLayer .annotationTextContent span {\n width: 100%;\n display: inline-block;\n}\n","/* Copyright 2014 Mozilla Foundation\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n:root {\n --react-pdf-text-layer: 1;\n --highlight-bg-color: rgba(180, 0, 170, 1);\n --highlight-selected-bg-color: rgba(0, 100, 0, 1);\n}\n\n@media screen and (forced-colors: active) {\n :root {\n --highlight-bg-color: Highlight;\n --highlight-selected-bg-color: ButtonText;\n }\n}\n\n[data-main-rotation='90'] {\n transform: rotate(90deg) translateY(-100%);\n}\n[data-main-rotation='180'] {\n transform: rotate(180deg) translate(-100%, -100%);\n}\n[data-main-rotation='270'] {\n transform: rotate(270deg) translateX(-100%);\n}\n\n.textLayer {\n position: absolute;\n text-align: initial;\n inset: 0;\n overflow: hidden;\n line-height: 1;\n text-size-adjust: none;\n forced-color-adjust: none;\n transform-origin: 0 0;\n z-index: 2;\n}\n\n.textLayer :is(span, br) {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n margin: 0;\n transform-origin: 0 0;\n}\n\n/* Only necessary in Google Chrome, see issue 14205, and most unfortunately\n * the problem doesn't show up in \"text\" reference tests. */\n.textLayer span.markedContent {\n top: 0;\n height: 0;\n}\n\n.textLayer .highlight {\n margin: -1px;\n padding: 1px;\n background-color: var(--highlight-bg-color);\n border-radius: 4px;\n}\n\n.textLayer .highlight.appended {\n position: initial;\n}\n\n.textLayer .highlight.begin {\n border-radius: 4px 0 0 4px;\n}\n\n.textLayer .highlight.end {\n border-radius: 0 4px 4px 0;\n}\n\n.textLayer .highlight.middle {\n border-radius: 0;\n}\n\n.textLayer .highlight.selected {\n background-color: var(--highlight-selected-bg-color);\n}\n\n/* Avoids https://github.com/mozilla/pdf.js/issues/13840 in Chrome */\n.textLayer br::selection {\n background: transparent;\n}\n\n.textLayer .endOfContent {\n display: block;\n position: absolute;\n inset: 100% 0 0;\n z-index: -1;\n cursor: default;\n user-select: none;\n}\n\n.textLayer.selecting .endOfContent {\n top: 0;\n}\n\n.hiddenCanvasElement {\n position: absolute;\n top: 0;\n left: 0;\n width: 0;\n height: 0;\n display: none;\n}\n"]}
|
package/dist/esm/HtmlViewer.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { slicedToArray as _slicedToArray, objectSpread2 as _objectSpread2, defineProperty as _defineProperty, toConsumableArray as _toConsumableArray, createForOfIteratorHelper as _createForOfIteratorHelper } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
-
import { useState, useEffect, useCallback, useMemo } from 'react';
|
|
3
|
+
import { useState, useEffect, useCallback, useMemo, useRef } from 'react';
|
|
4
4
|
import { VscJson } from 'react-icons/vsc';
|
|
5
5
|
import { FaEdit, FaTags, FaFileDownload, FaChartBar } from './node_modules/react-icons/fa/index.esm.js';
|
|
6
6
|
import Table from './Table.js';
|
|
@@ -243,25 +243,66 @@ var FaFileDownloadIcon = FaFileDownload;
|
|
|
243
243
|
var FaChartBarIcon = FaChartBar;
|
|
244
244
|
var FaEditIcon = FaEdit;
|
|
245
245
|
var FaTagsIcon = FaTags;
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
246
|
+
// Separate component to avoid contentEditable + dangerouslySetInnerHTML OOM loop
|
|
247
|
+
function GeminiCorrectedBlock(_ref6) {
|
|
248
|
+
var html = _ref6.html,
|
|
249
|
+
isEditMode = _ref6.isEditMode,
|
|
250
|
+
onContentChange = _ref6.onContentChange;
|
|
251
|
+
var ref = useRef(null);
|
|
252
|
+
console.log('[GeminiCorrectedBlock] render — isEditMode:', isEditMode, 'htmlLength:', html === null || html === void 0 ? void 0 : html.length, 'ref.current:', !!ref.current);
|
|
253
|
+
// Set initial HTML only once via ref — never via dangerouslySetInnerHTML on a contentEditable
|
|
254
|
+
useEffect(function () {
|
|
255
|
+
var _a;
|
|
256
|
+
console.log('[GeminiCorrectedBlock] useEffect — ref.current:', !!ref.current, 'html matches:', ((_a = ref.current) === null || _a === void 0 ? void 0 : _a.innerHTML) === html);
|
|
257
|
+
if (ref.current && ref.current.innerHTML !== html) {
|
|
258
|
+
ref.current.innerHTML = html;
|
|
259
|
+
console.log('[GeminiCorrectedBlock] innerHTML set, length:', ref.current.innerHTML.length);
|
|
260
|
+
}
|
|
261
|
+
}, [html]);
|
|
262
|
+
useEffect(function () {
|
|
263
|
+
var _a;
|
|
264
|
+
console.log('[GeminiCorrectedBlock] isEditMode changed to:', isEditMode, '— contentEditable on div:', (_a = ref.current) === null || _a === void 0 ? void 0 : _a.contentEditable);
|
|
265
|
+
}, [isEditMode]);
|
|
266
|
+
return jsx("div", {
|
|
267
|
+
ref: ref,
|
|
268
|
+
contentEditable: isEditMode,
|
|
269
|
+
suppressContentEditableWarning: true,
|
|
270
|
+
className: "prose prose-sm max-w-none w-full outline-none ".concat(isEditMode ? 'cursor-text ring-1 ring-blue-300 rounded p-1' : ''),
|
|
271
|
+
onClick: function onClick() {
|
|
272
|
+
return console.log('[GeminiCorrectedBlock] clicked — isEditMode:', isEditMode);
|
|
273
|
+
},
|
|
274
|
+
onFocus: function onFocus() {
|
|
275
|
+
return console.log('[GeminiCorrectedBlock] focused — isEditMode:', isEditMode);
|
|
276
|
+
},
|
|
277
|
+
onBlur: function onBlur() {
|
|
278
|
+
var _a, _b;
|
|
279
|
+
console.log('[GeminiCorrectedBlock] blur — isEditMode:', isEditMode, 'innerHTML length:', (_b = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.innerHTML) === null || _b === void 0 ? void 0 : _b.length);
|
|
280
|
+
if (isEditMode && onContentChange && ref.current) {
|
|
281
|
+
onContentChange(ref.current.innerHTML);
|
|
282
|
+
console.log('[GeminiCorrectedBlock] onContentChange called');
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
function HtmlViewer(_ref7) {
|
|
288
|
+
var jsonData = _ref7.jsonData,
|
|
289
|
+
selectedBboxId = _ref7.selectedBboxId,
|
|
290
|
+
isLoading = _ref7.isLoading,
|
|
291
|
+
onNodeClick = _ref7.onNodeClick,
|
|
292
|
+
_ref7$editMode = _ref7.editMode,
|
|
293
|
+
enableEditMode = _ref7$editMode === void 0 ? true : _ref7$editMode,
|
|
294
|
+
_ref7$jsonMode = _ref7.jsonMode,
|
|
295
|
+
enableJsonMode = _ref7$jsonMode === void 0 ? true : _ref7$jsonMode,
|
|
296
|
+
_ref7$mathRendering = _ref7.mathRendering,
|
|
297
|
+
enableMathRendering = _ref7$mathRendering === void 0 ? true : _ref7$mathRendering,
|
|
298
|
+
_ref7$semanticTags = _ref7.semanticTags,
|
|
299
|
+
enableSemanticTags = _ref7$semanticTags === void 0 ? true : _ref7$semanticTags,
|
|
300
|
+
_ref7$headerFooterBad = _ref7.headerFooterBadges,
|
|
301
|
+
enableHeaderFooterBadges = _ref7$headerFooterBad === void 0 ? true : _ref7$headerFooterBad,
|
|
302
|
+
_ref7$defaultViewMode = _ref7.defaultViewMode,
|
|
303
|
+
defaultViewMode = _ref7$defaultViewMode === void 0 ? 'read' : _ref7$defaultViewMode,
|
|
304
|
+
onContentChangeCallback = _ref7.onContentChange,
|
|
305
|
+
onExportCallback = _ref7.onExport;
|
|
265
306
|
var _useState = useState(jsonData),
|
|
266
307
|
_useState2 = _slicedToArray(_useState, 2),
|
|
267
308
|
editedData = _useState2[0],
|
|
@@ -370,6 +411,7 @@ function HtmlViewer(_ref6) {
|
|
|
370
411
|
});
|
|
371
412
|
}, [jsonData]);
|
|
372
413
|
var handleContentChange = useCallback(function (nodeId, newContent) {
|
|
414
|
+
console.log('[HtmlViewer] handleContentChange — nodeId:', nodeId, 'newContent length:', newContent === null || newContent === void 0 ? void 0 : newContent.length);
|
|
373
415
|
setHasChanges(true);
|
|
374
416
|
var originalContent = "";
|
|
375
417
|
setEditedData(function (prevData) {
|
|
@@ -379,8 +421,10 @@ function HtmlViewer(_ref6) {
|
|
|
379
421
|
if (node.id === nodeId) {
|
|
380
422
|
originalContent = node.html || "";
|
|
381
423
|
var blockType = node.block_type || "unknown";
|
|
382
|
-
//
|
|
383
|
-
|
|
424
|
+
// Skip accuracy diff for GeminiCorrected blocks — full-page HTML is too large for O(n²) diff
|
|
425
|
+
if (!nodeId.endsWith('/GeminiCorrected')) {
|
|
426
|
+
updateAccuracyMetrics(nodeId, blockType, originalContent, newContent);
|
|
427
|
+
}
|
|
384
428
|
node.html = newContent;
|
|
385
429
|
return true;
|
|
386
430
|
}
|
|
@@ -450,19 +494,57 @@ function HtmlViewer(_ref6) {
|
|
|
450
494
|
}
|
|
451
495
|
return map;
|
|
452
496
|
}, [jsonData]);
|
|
497
|
+
// Map from original block ID -> GeminiCorrected block ID (for _original_blocks format)
|
|
498
|
+
var originalBlockToGeminiMap = useMemo(function () {
|
|
499
|
+
var map = new Map();
|
|
500
|
+
var pages = (jsonData === null || jsonData === void 0 ? void 0 : jsonData.children) || [];
|
|
501
|
+
var _iterator2 = _createForOfIteratorHelper(pages),
|
|
502
|
+
_step2;
|
|
503
|
+
try {
|
|
504
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
505
|
+
var page = _step2.value;
|
|
506
|
+
var originalBlocks = page._original_blocks || [];
|
|
507
|
+
var geminiBlock = (page.children || []).find(function (c) {
|
|
508
|
+
var _a;
|
|
509
|
+
return (_a = c.id) === null || _a === void 0 ? void 0 : _a.endsWith('/GeminiCorrected');
|
|
510
|
+
});
|
|
511
|
+
if (geminiBlock) {
|
|
512
|
+
var _iterator3 = _createForOfIteratorHelper(originalBlocks),
|
|
513
|
+
_step3;
|
|
514
|
+
try {
|
|
515
|
+
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
516
|
+
var orig = _step3.value;
|
|
517
|
+
if (orig.id) map.set(orig.id, geminiBlock.id);
|
|
518
|
+
}
|
|
519
|
+
} catch (err) {
|
|
520
|
+
_iterator3.e(err);
|
|
521
|
+
} finally {
|
|
522
|
+
_iterator3.f();
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}
|
|
526
|
+
} catch (err) {
|
|
527
|
+
_iterator2.e(err);
|
|
528
|
+
} finally {
|
|
529
|
+
_iterator2.f();
|
|
530
|
+
}
|
|
531
|
+
return map;
|
|
532
|
+
}, [jsonData]);
|
|
453
533
|
useEffect(function () {
|
|
454
534
|
// console.log(`[HtmlViewer] Scroll effect triggered. selectedBboxId: ${selectedBboxId}`);
|
|
455
535
|
if (selectedBboxId) {
|
|
456
|
-
|
|
536
|
+
// Fall back to GeminiCorrected block if selectedBboxId is an original block
|
|
537
|
+
var resolvedId = originalBlockToGeminiMap.get(selectedBboxId) || selectedBboxId;
|
|
538
|
+
var elementToScroll = document.getElementById(resolvedId);
|
|
457
539
|
// console.log(`[HtmlViewer] Attempt 1: document.getElementById('${selectedBboxId}') result:`, elementToScroll);
|
|
458
540
|
if (!elementToScroll && editedData) {
|
|
459
541
|
// console.log(`[HtmlViewer] Element ${selectedBboxId} not found directly. Proceeding to check if it's part of a merged table.`);
|
|
460
542
|
var _findNodeByIdRecursive = function findNodeByIdRecursive(nodes, id) {
|
|
461
|
-
var
|
|
462
|
-
|
|
543
|
+
var _iterator4 = _createForOfIteratorHelper(nodes),
|
|
544
|
+
_step4;
|
|
463
545
|
try {
|
|
464
|
-
for (
|
|
465
|
-
var node =
|
|
546
|
+
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
547
|
+
var node = _step4.value;
|
|
466
548
|
if (node.id === id) return node;
|
|
467
549
|
if (node.children) {
|
|
468
550
|
var foundInChildren = _findNodeByIdRecursive(node.children, id);
|
|
@@ -470,9 +552,9 @@ function HtmlViewer(_ref6) {
|
|
|
470
552
|
}
|
|
471
553
|
}
|
|
472
554
|
} catch (err) {
|
|
473
|
-
|
|
555
|
+
_iterator4.e(err);
|
|
474
556
|
} finally {
|
|
475
|
-
|
|
557
|
+
_iterator4.f();
|
|
476
558
|
}
|
|
477
559
|
return null;
|
|
478
560
|
};
|
|
@@ -574,9 +656,9 @@ function HtmlViewer(_ref6) {
|
|
|
574
656
|
});
|
|
575
657
|
}
|
|
576
658
|
var _renderHtmlContent = function renderHtmlContent(node) {
|
|
577
|
-
var _a;
|
|
659
|
+
var _a, _b;
|
|
578
660
|
if (!node) return null;
|
|
579
|
-
var isSelected = node.id === selectedBboxId;
|
|
661
|
+
var isSelected = node.id === selectedBboxId || originalBlockToGeminiMap.get(selectedBboxId !== null && selectedBboxId !== void 0 ? selectedBboxId : "") === node.id;
|
|
580
662
|
var hasChildren = node.children && node.children.length > 0;
|
|
581
663
|
var isTable = ((_a = node.block_type) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === "table";
|
|
582
664
|
var isTableOfContents = node.block_type === "TableOfContents";
|
|
@@ -628,10 +710,10 @@ function HtmlViewer(_ref6) {
|
|
|
628
710
|
onClick: viewMode === 'json' ? function () {
|
|
629
711
|
return handleJsonClick(node);
|
|
630
712
|
} : undefined,
|
|
631
|
-
children: Object.entries(node.images).map(function (
|
|
632
|
-
var
|
|
633
|
-
key =
|
|
634
|
-
imageData =
|
|
713
|
+
children: Object.entries(node.images).map(function (_ref8) {
|
|
714
|
+
var _ref9 = _slicedToArray(_ref8, 2),
|
|
715
|
+
key = _ref9[0],
|
|
716
|
+
imageData = _ref9[1];
|
|
635
717
|
return jsx("img", {
|
|
636
718
|
src: typeof imageData === 'string' && imageData.startsWith('data:') ? imageData : "data:image/png;base64,".concat(imageData),
|
|
637
719
|
alt: "Figure ".concat(node.id),
|
|
@@ -651,16 +733,22 @@ function HtmlViewer(_ref6) {
|
|
|
651
733
|
dangerouslySetInnerHTML: {
|
|
652
734
|
__html: htmlContent
|
|
653
735
|
}
|
|
654
|
-
}), node.images && Object.entries(node.images).map(function (
|
|
655
|
-
var
|
|
656
|
-
key =
|
|
657
|
-
imageData =
|
|
736
|
+
}), node.images && Object.entries(node.images).map(function (_ref0) {
|
|
737
|
+
var _ref1 = _slicedToArray(_ref0, 2),
|
|
738
|
+
key = _ref1[0],
|
|
739
|
+
imageData = _ref1[1];
|
|
658
740
|
return jsx("img", {
|
|
659
741
|
src: typeof imageData === 'string' && imageData.startsWith('data:') ? imageData : "data:image/png;base64,".concat(imageData),
|
|
660
742
|
alt: "".concat(isPageHeader ? 'Header' : 'Footer', " image"),
|
|
661
743
|
className: "h-6 w-auto"
|
|
662
744
|
}, key);
|
|
663
745
|
})]
|
|
746
|
+
}) : ((_b = node.id) === null || _b === void 0 ? void 0 : _b.endsWith('/GeminiCorrected')) ? jsx(GeminiCorrectedBlock, {
|
|
747
|
+
html: node.html || '',
|
|
748
|
+
isEditMode: viewMode === 'edit',
|
|
749
|
+
onContentChange: function onContentChange(newHtml) {
|
|
750
|
+
return handleContentChange(node.id, newHtml);
|
|
751
|
+
}
|
|
664
752
|
}) : jsxs(Fragment, {
|
|
665
753
|
children: [jsx(EditableContent, {
|
|
666
754
|
id: node.id,
|
|
@@ -724,7 +812,9 @@ function HtmlViewer(_ref6) {
|
|
|
724
812
|
})]
|
|
725
813
|
}), enableEditMode && jsxs("button", {
|
|
726
814
|
onClick: function onClick() {
|
|
727
|
-
|
|
815
|
+
var next = viewMode === 'edit' ? 'read' : 'edit';
|
|
816
|
+
console.log('[HtmlViewer] viewMode toggle:', viewMode, '->', next);
|
|
817
|
+
setViewMode(next);
|
|
728
818
|
},
|
|
729
819
|
className: "inline-flex items-center gap-2 px-3 py-1.5 rounded-md transition-colors ".concat(viewMode === 'edit' ? "bg-green-600 text-white shadow-sm" : "text-gray-600 hover:text-gray-900 hover:bg-gray-200"),
|
|
730
820
|
title: "Edit Mode - Click any element to edit it",
|
|
@@ -206,16 +206,6 @@ function PdfDocumentViewer(_ref2) {
|
|
|
206
206
|
cursor: 'pointer',
|
|
207
207
|
zIndex: 10 // Ensure bboxes are on top
|
|
208
208
|
};
|
|
209
|
-
if (bboxesToRender.length < 5 || block.id === selectedBboxId) {
|
|
210
|
-
console.log("[PdfDocumentViewer] Page ".concat(pageNum, ": Rendering bbox for ").concat(block.id, " (path: ").concat(currentPath, ")"), {
|
|
211
|
-
x_min: x_min,
|
|
212
|
-
y_min: y_min,
|
|
213
|
-
x_max: x_max,
|
|
214
|
-
y_max: y_max,
|
|
215
|
-
scale: scale,
|
|
216
|
-
finalStyle: style
|
|
217
|
-
});
|
|
218
|
-
}
|
|
219
209
|
bboxesToRender.push(jsx("div", {
|
|
220
210
|
style: style,
|
|
221
211
|
title: "".concat(block.id, " (").concat(block.block_type, ")"),
|
|
@@ -233,9 +223,10 @@ function PdfDocumentViewer(_ref2) {
|
|
|
233
223
|
}
|
|
234
224
|
});
|
|
235
225
|
}
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
226
|
+
// Prefer _original_blocks for bbox overlay when present (GeminiCorrected format)
|
|
227
|
+
var blocksForBbox = currentPageData._original_blocks || currentPageData.children;
|
|
228
|
+
if (blocksForBbox) {
|
|
229
|
+
collectBboxes(blocksForBbox);
|
|
239
230
|
}
|
|
240
231
|
// console.log(`[PdfDocumentViewer] Page ${pageNum}: Collected ${bboxesToRender.length} bboxes to render.`);
|
|
241
232
|
return bboxesToRender;
|
|
@@ -260,7 +251,6 @@ function PdfDocumentViewer(_ref2) {
|
|
|
260
251
|
scale: 1
|
|
261
252
|
});
|
|
262
253
|
var newScale = 600 / viewport.width;
|
|
263
|
-
console.log("[PdfDocumentViewer] Page ".concat(pageNum, ": onRenderSuccess. Natural width: ").concat(viewport.width, ", calculated scale: ").concat(newScale));
|
|
264
254
|
if (pageScales[pageNum] !== newScale) {
|
|
265
255
|
setPageScales(function (prev) {
|
|
266
256
|
return _objectSpread2(_objectSpread2({}, prev), {}, _defineProperty({}, pageNum, newScale));
|
package/dist/esm/Structura.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, regenerator as _regenerator, createForOfIteratorHelper as _createForOfIteratorHelper } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
1
|
+
import { slicedToArray as _slicedToArray, asyncToGenerator as _asyncToGenerator, objectSpread2 as _objectSpread2, regenerator as _regenerator, createForOfIteratorHelper as _createForOfIteratorHelper } from './_virtual/_rollupPluginBabelHelpers.js';
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { useState, useRef, useEffect } from 'react';
|
|
4
4
|
import { Button } from './ui/button.js';
|
|
@@ -33,9 +33,15 @@ function Structura(_ref) {
|
|
|
33
33
|
_ref$defaultViewMode = _ref.defaultViewMode,
|
|
34
34
|
defaultViewMode = _ref$defaultViewMode === void 0 ? 'read' : _ref$defaultViewMode,
|
|
35
35
|
onContentChange = _ref.onContentChange,
|
|
36
|
-
onExport = _ref.onExport
|
|
36
|
+
onExport = _ref.onExport,
|
|
37
|
+
className = _ref.className,
|
|
38
|
+
style = _ref.style,
|
|
39
|
+
pdfPanelClassName = _ref.pdfPanelClassName,
|
|
40
|
+
htmlPanelClassName = _ref.htmlPanelClassName,
|
|
41
|
+
theme = _ref.theme;
|
|
37
42
|
// Log the imported SDK items to demonstrate usage
|
|
38
43
|
// console.log("Imported BlockSchema from SDK:", BlockSchema);
|
|
44
|
+
var _a;
|
|
39
45
|
var _useState = useState(null),
|
|
40
46
|
_useState2 = _slicedToArray(_useState, 2),
|
|
41
47
|
numPages = _useState2[0],
|
|
@@ -103,8 +109,11 @@ function Structura(_ref) {
|
|
|
103
109
|
setIsDraggingOver = _useState30[1]; //NOSONAR
|
|
104
110
|
// Sync initialJsonData prop with state when it changes
|
|
105
111
|
useEffect(function () {
|
|
112
|
+
var _a;
|
|
106
113
|
if (initialJsonData) {
|
|
107
|
-
|
|
114
|
+
// Normalize: if the data has a {status, result} wrapper, extract .result
|
|
115
|
+
var normalized = (_a = initialJsonData === null || initialJsonData === void 0 ? void 0 : initialJsonData.result) !== null && _a !== void 0 ? _a : initialJsonData;
|
|
116
|
+
setJsonData(normalized);
|
|
108
117
|
}
|
|
109
118
|
}, [initialJsonData]);
|
|
110
119
|
// Sync initialPdfPath prop with state when it changes
|
|
@@ -595,15 +604,33 @@ function Structura(_ref) {
|
|
|
595
604
|
return p >= 1 && p <= numPages;
|
|
596
605
|
});
|
|
597
606
|
} else {
|
|
607
|
+
// If JSON has fewer pages than the PDF, only render those pages
|
|
608
|
+
var jsonPageCount = (_a = jsonData === null || jsonData === void 0 ? void 0 : jsonData.children) === null || _a === void 0 ? void 0 : _a.length;
|
|
609
|
+
var pageLimit = jsonPageCount ? Math.min(jsonPageCount, numPages) : numPages;
|
|
598
610
|
pagesToRender = Array.from({
|
|
599
|
-
length:
|
|
611
|
+
length: pageLimit
|
|
600
612
|
}, function (_, i) {
|
|
601
613
|
return i + 1;
|
|
602
614
|
});
|
|
603
615
|
}
|
|
604
616
|
}
|
|
617
|
+
// Build theme CSS variables
|
|
618
|
+
var themeStyles = theme ? _objectSpread2(_objectSpread2(_objectSpread2({
|
|
619
|
+
'--structura-primary': theme.primaryColor,
|
|
620
|
+
'--structura-background': theme.backgroundColor,
|
|
621
|
+
'--structura-text': theme.textColor,
|
|
622
|
+
'--structura-border': theme.borderColor,
|
|
623
|
+
'--structura-font': theme.fontFamily
|
|
624
|
+
}, theme.backgroundColor && {
|
|
625
|
+
backgroundColor: theme.backgroundColor
|
|
626
|
+
}), theme.textColor && {
|
|
627
|
+
color: theme.textColor
|
|
628
|
+
}), theme.fontFamily && {
|
|
629
|
+
fontFamily: theme.fontFamily
|
|
630
|
+
}) : {};
|
|
605
631
|
return jsxs("div", {
|
|
606
|
-
className: "h-screen max-h-screen flex flex-col bg-background text-foreground",
|
|
632
|
+
className: "structura-container h-screen max-h-screen flex flex-col bg-background text-foreground ".concat(className || ''),
|
|
633
|
+
style: _objectSpread2(_objectSpread2({}, themeStyles), style),
|
|
607
634
|
children: [jsx("div", {
|
|
608
635
|
className: "md:hidden",
|
|
609
636
|
children: jsxs(Tabs, {
|
|
@@ -756,6 +783,7 @@ function Structura(_ref) {
|
|
|
756
783
|
children: [jsx(Panel, {
|
|
757
784
|
minSize: 20,
|
|
758
785
|
defaultSize: 50,
|
|
786
|
+
className: pdfPanelClassName,
|
|
759
787
|
children: jsx(Card, {
|
|
760
788
|
className: "h-full border-0 rounded-none",
|
|
761
789
|
children: jsx(CardContent, {
|
|
@@ -861,6 +889,7 @@ function Structura(_ref) {
|
|
|
861
889
|
}), jsx(Panel, {
|
|
862
890
|
minSize: 20,
|
|
863
891
|
defaultSize: 50,
|
|
892
|
+
className: htmlPanelClassName,
|
|
864
893
|
children: jsx(Card, {
|
|
865
894
|
className: "h-full border-0 rounded-none",
|
|
866
895
|
children: jsx(CardContent, {
|