{"_id":"@4admin/pdf-viewer","_rev":"10-ccb126edc5575874df546f160d7b7884","name":"@4admin/pdf-viewer","dist-tags":{"latest":"0.2.9"},"versions":{"0.1.0":{"name":"@4admin/pdf-viewer","version":"0.1.0","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.1.0","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"816103b95441a7f00e400f02a34a84d53551a56d","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.1.0.tgz","fileCount":71,"integrity":"sha512-LgUGbltdwngMLEPmM7qDyAgEFVpe63Pgtj9riX781UutrxOZfglFiJr2xNW1XOZX008jeOpSQG0C76Ux6rilXg==","signatures":[{"sig":"MEUCIBJGmRASySEI8FW+yhqzm6F/vxBZX47QwvhtawLYIUO3AiEA2Oh2UsEJ0dWVqSFXhqCJB73MEZogth9Dxu7+9lfQZoI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2625013},"type":"module","_from":"file:4admin-pdf-viewer-0.1.0.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/de060c5fbcc47cca31c7ad410465d79b/4admin-pdf-viewer-0.1.0.tgz","_integrity":"sha512-LgUGbltdwngMLEPmM7qDyAgEFVpe63Pgtj9riX781UutrxOZfglFiJr2xNW1XOZX008jeOpSQG0C76Ux6rilXg==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.1.0_1783089905164_0.1222316290647989","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@4admin/pdf-viewer","version":"0.2.0","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.0","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"73b223b0254f570b1086f9dd984ad186df96257b","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.0.tgz","fileCount":73,"integrity":"sha512-5Tk15k3b/hPv2HfYvorZz3m/EiDxnFe4oHWa1+Gx21Vc2tyIWDqr8xnJtzrwDt+Q9TwQpljfBvY0D4ME17EIQg==","signatures":[{"sig":"MEUCIQDpl8YXmN8iZNMPFTdBtv7aXiY1luWC68bayq0nzOvITQIgH3FCyoU51L7RoT8lS8gGMmMXXcTb8ohae1gTBMZ89DI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2651994},"type":"module","_from":"file:4admin-pdf-viewer-0.2.0.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/c3ba4bc156ec526fa7528e245554bfa5/4admin-pdf-viewer-0.2.0.tgz","_integrity":"sha512-5Tk15k3b/hPv2HfYvorZz3m/EiDxnFe4oHWa1+Gx21Vc2tyIWDqr8xnJtzrwDt+Q9TwQpljfBvY0D4ME17EIQg==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.0_1783091847009_0.923622725236684","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@4admin/pdf-viewer","version":"0.2.1","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.1","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"3c968ab90f4af8ba8228e2206be52a0141200d0b","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.1.tgz","fileCount":73,"integrity":"sha512-ll9R2FOL7rFAMrpRjGRjL3bU7TfTpnasuN636V7/m4gxgIas2XTRviee+64OsINWHZ0t4fbLuVR5lvpgy+K4Xg==","signatures":[{"sig":"MEYCIQDpxD1odvuhFSZJR6ossrlltexNJzUqxOCUtl0SrkfgdQIhAMGEGRUSw5dA16Y2sGaY5TOZq2Hs904XXSKb7/tGzvgD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2653075},"type":"module","_from":"file:4admin-pdf-viewer-0.2.1.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/055f645408267f6e9807554ea338ca78/4admin-pdf-viewer-0.2.1.tgz","_integrity":"sha512-ll9R2FOL7rFAMrpRjGRjL3bU7TfTpnasuN636V7/m4gxgIas2XTRviee+64OsINWHZ0t4fbLuVR5lvpgy+K4Xg==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.1_1783093154494_0.4165126049485013","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@4admin/pdf-viewer","version":"0.2.2","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.2","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"31bd5d99a7cd0cb3ca75b8880cf858f741d52409","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.2.tgz","fileCount":73,"integrity":"sha512-PBq5dsvhN9ZTY8PFRK7UuJ87ZuB4bN46u5Zk1P9DrvQ7fhi2cidmr2QZgvrG/B/mVVHCqIHVMsg6GfYK28Ahyg==","signatures":[{"sig":"MEQCIBe+sSrsVweqbZn876HI1U+QhNfkrN3eqy6Xg9pIvd3uAiB0jZcqE0d5cPtm3I5xfZI34r0ZzKnxz3AnqYv3wh7axA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2654969},"type":"module","_from":"file:4admin-pdf-viewer-0.2.2.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/9a05a26c0e14cdceececa9477dde9604/4admin-pdf-viewer-0.2.2.tgz","_integrity":"sha512-PBq5dsvhN9ZTY8PFRK7UuJ87ZuB4bN46u5Zk1P9DrvQ7fhi2cidmr2QZgvrG/B/mVVHCqIHVMsg6GfYK28Ahyg==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.2_1783094015012_0.6339420734710359","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@4admin/pdf-viewer","version":"0.2.3","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.3","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"cdcb79ab319f2dececbad849b0abcd6de213164d","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.3.tgz","fileCount":73,"integrity":"sha512-YCUFcIqobKOYsBjEV/5sSnZjpr4XBmhml/vMwOwgclMeP4NSf9gsZKjQnvJlWh1up+JP/6JeWJMAFfUkiXNLZA==","signatures":[{"sig":"MEUCIEoLX/KJQUKFO6UPzQXjS9vd+5cZ3RsGtNBcU71HtkW9AiEAg5LU4H/gingbDHo3KgNzyeyFcZt0a5u8VSOtBnFGznI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2656508},"type":"module","_from":"file:4admin-pdf-viewer-0.2.3.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/0012c437156f708e95325d2d573c03aa/4admin-pdf-viewer-0.2.3.tgz","_integrity":"sha512-YCUFcIqobKOYsBjEV/5sSnZjpr4XBmhml/vMwOwgclMeP4NSf9gsZKjQnvJlWh1up+JP/6JeWJMAFfUkiXNLZA==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.3_1783094939945_0.8131879326594631","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@4admin/pdf-viewer","version":"0.2.4","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.4","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"84e7b67ac397724cb5134c41ce507866032dd79e","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.4.tgz","fileCount":73,"integrity":"sha512-ryeWpajLnfp8j6i+g9VFpVg1kN2skZCyjPmlUdIQslOYlA5+rCAUDfyM0/Hk8X8CiFlxykUCBQnNY58JTZvrmg==","signatures":[{"sig":"MEQCIFKmiXQBrq0P/B74avNaiON2Oi0Iofjx5KfyM/TEBq6JAiAkgUcObe2G7G3HnZQDDBnL1NWU8ObKkK3OoWEamXt6vg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2659818},"type":"module","_from":"file:4admin-pdf-viewer-0.2.4.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/2ff81eb1b4a93005f8f086de2571c527/4admin-pdf-viewer-0.2.4.tgz","_integrity":"sha512-ryeWpajLnfp8j6i+g9VFpVg1kN2skZCyjPmlUdIQslOYlA5+rCAUDfyM0/Hk8X8CiFlxykUCBQnNY58JTZvrmg==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.4_1783095959896_0.1563259097601577","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@4admin/pdf-viewer","version":"0.2.6","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.6","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"3ff248968e4b4a880f67087f5f17a63c0e63c0c8","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.6.tgz","fileCount":73,"integrity":"sha512-80oaXZLq3b+yLf3s5ZLSRcKanbhyh/OVliUEDgc1xBcKfl1Z/+DXyp9qJ9B7vzjV7FS4BZ9JeqGrbgOc4j5YXQ==","signatures":[{"sig":"MEUCIQDT3b0z2eJPbFftpFIfgl7kuQoSIeTwqZmBwYBjqWFXwgIgcDQOw1p++oc2L5yvbWCk5dyNUymvgDZ1GWYZl6GFZ1c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2663551},"type":"module","_from":"file:4admin-pdf-viewer-0.2.6.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/a6286c9a618be7d1bb7fd4655cfd0530/4admin-pdf-viewer-0.2.6.tgz","_integrity":"sha512-80oaXZLq3b+yLf3s5ZLSRcKanbhyh/OVliUEDgc1xBcKfl1Z/+DXyp9qJ9B7vzjV7FS4BZ9JeqGrbgOc4j5YXQ==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.6_1783097739859_0.6587345269806058","host":"s3://npm-registry-packages-npm-production"}},"0.2.7":{"name":"@4admin/pdf-viewer","version":"0.2.7","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.7","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"d72a0554ed14db0e365e76e2d094ac22d7fbde07","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.7.tgz","fileCount":73,"integrity":"sha512-D4mWT6ilRyssgMvsEqDn0Ewz0cNaZJ7SPg4vVrkrJsVKNn2oDVU7yhDdvbChrc0/ctS//v8W/K2z/gpUhb8ykQ==","signatures":[{"sig":"MEUCIQDUBuJ5QZFSfByKBRdUNmORYKUGiLz6iY7rFamphunQggIgFlute7Nn6qvplgI5t0R2pqfScDay8UCY7oIJwO5ZHr4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2663492},"type":"module","_from":"file:4admin-pdf-viewer-0.2.7.tgz","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/c58acb6b9932ac116c17f4193778c7c5/4admin-pdf-viewer-0.2.7.tgz","_integrity":"sha512-D4mWT6ilRyssgMvsEqDn0Ewz0cNaZJ7SPg4vVrkrJsVKNn2oDVU7yhDdvbChrc0/ctS//v8W/K2z/gpUhb8ykQ==","repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.7_1783103260341_0.5434482848773909","host":"s3://npm-registry-packages-npm-production"}},"0.2.8":{"name":"@4admin/pdf-viewer","version":"0.2.8","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"license":"MIT","_id":"@4admin/pdf-viewer@0.2.8","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"dist":{"shasum":"a32e75e95974b089a7964c6e297201dfefdc0756","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.8.tgz","fileCount":73,"integrity":"sha512-bWyj4dnDJ9wIuwfxGxWdwhfoZTL4YBhKIj2ZvoxZJbBa9Q4LeaMr2yfQpXozQqKzCg4U4L7LjD/IsjG9J6Y1xw==","signatures":[{"sig":"MEQCIFHpXpxUIx4yCl/yMdabevcWIJ/HM3tNvLcQ9Zq/1KVjAiBnhE+Bb/gDAi3J4K6S8LuUn9V2I2UhUe9/BcFNNyv2Vw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2667292},"pnpm":{"onlyBuiltDependencies":["@heroui/shared-utils","esbuild"]},"type":"module","exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./package.json":"./package.json","./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css"},"gitHead":"800ca6c2a6d9c26b098a343ef9c553a258649515","private":false,"scripts":{"dev":"vite --config vite.demo.config.ts","test":"tsx test/pure.test.ts && pnpm test:engine","build":"vite build && tsc -p tsconfig.build.json","clean":"rm -rf dist demo/dist","typecheck":"tsc -p tsconfig.build.json --noEmit","build:demo":"vite build --config vite.demo.config.ts","gen:sample":"node scripts/gen-sample-pdf.mjs","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","preview:demo":"vite preview --config vite.demo.config.ts","test:browser":"node test/browser-validate.mjs","prepublishOnly":"pnpm typecheck && pnpm build"},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"repository":{"url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git","type":"git"},"_npmVersion":"10.9.2","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.14.0","dependencies":{"pdfjs-dist":"5.4.624"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.2","glob":"^11.0.0","vite":"^7.1.0","react":"^18.3.1","esbuild":"^0.28.1","pdf-lib":"^1.17.1","postcss":"^8.4.49","react-dom":"^18.3.1","typescript":"~5.7.2","tailwindcss":"^3.4.19","@types/react":"^18.3.12","autoprefixer":"^10.4.22","@heroui/react":"2.8.5","framer-motion":"^11.2.0","@types/react-dom":"^18.3.1","@tabler/icons-react":"^3.29.0","@vitejs/plugin-react":"^5.2.0","vite-plugin-static-copy":"^4.1.1"},"peerDependencies":{"react":">=18","react-dom":">=18","@heroui/react":">=2.8.5 <3","framer-motion":">=11.2.0","@tabler/icons-react":"^3.29.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-viewer_0.2.8_1783691177227_0.945038634744326","host":"s3://npm-registry-packages-npm-production"}},"0.2.9":{"name":"@4admin/pdf-viewer","version":"0.2.9","description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","type":"module","license":"MIT","private":false,"repository":{"type":"git","url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git"},"homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"publishConfig":{"access":"public"},"sideEffects":["**/*.css"],"exports":{".":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./core":{"types":"./dist/core/index.d.ts","import":"./dist/core/index.js","default":"./dist/core/index.js"},"./default-layout":{"types":"./dist/default-layout/index.d.ts","import":"./dist/default-layout/index.js","default":"./dist/default-layout/index.js"},"./toolbar":{"types":"./dist/toolbar/index.d.ts","import":"./dist/toolbar/index.js","default":"./dist/toolbar/index.js"},"./search":{"types":"./dist/search/index.d.ts","import":"./dist/search/index.js","default":"./dist/search/index.js"},"./highlight":{"types":"./dist/highlight/index.d.ts","import":"./dist/highlight/index.js","default":"./dist/highlight/index.js"},"./zoom":{"types":"./dist/zoom/index.d.ts","import":"./dist/zoom/index.js","default":"./dist/zoom/index.js"},"./rotate":{"types":"./dist/rotate/index.d.ts","import":"./dist/rotate/index.js","default":"./dist/rotate/index.js"},"./page-navigation":{"types":"./dist/page-navigation/index.d.ts","import":"./dist/page-navigation/index.js","default":"./dist/page-navigation/index.js"},"./scroll-mode":{"types":"./dist/scroll-mode/index.d.ts","import":"./dist/scroll-mode/index.js","default":"./dist/scroll-mode/index.js"},"./*/lib/styles/index.css":"./dist/*/lib/styles/index.css","./package.json":"./package.json"},"peerDependencies":{"@heroui/react":">=2.8.5 <3","@tabler/icons-react":"^3.29.0","framer-motion":">=11.2.0","react":">=18","react-dom":">=18"},"dependencies":{"pdfjs-dist":"5.4.624"},"devDependencies":{"@heroui/react":"2.8.5","@tabler/icons-react":"^3.29.0","@types/react":"^18.3.12","@types/react-dom":"^18.3.1","@vitejs/plugin-react":"^5.2.0","autoprefixer":"^10.4.22","esbuild":"^0.28.1","framer-motion":"^11.2.0","glob":"^11.0.0","pdf-lib":"^1.17.1","postcss":"^8.4.49","react":"^18.3.1","react-dom":"^18.3.1","tailwindcss":"^3.4.19","tsx":"^4.19.2","typescript":"~5.7.2","vite":"^7.1.0","vite-plugin-static-copy":"^4.1.1"},"scripts":{"gen:sample":"node scripts/gen-sample-pdf.mjs","gen:fixtures":"node scripts/gen-fixtures.mjs","typecheck":"tsc -p tsconfig.build.json --noEmit","test":"tsx test/pure.test.ts && pnpm test:engine","test:engine":"esbuild test/engine.test.ts --bundle --format=esm --platform=node --alias:pdfjs-dist=$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:$PWD/node_modules/pdfjs-dist/legacy/build/pdf.mjs --external:@heroui/react --external:@tabler/icons-react --external:react --external:react/jsx-runtime --outfile=.test-build/engine.test.mjs --log-level=warning && node .test-build/engine.test.mjs","test:browser":"node test/browser-validate.mjs","build":"vite build && tsc -p tsconfig.build.json","dev":"vite --config vite.demo.config.ts","build:demo":"vite build --config vite.demo.config.ts","preview:demo":"vite preview --config vite.demo.config.ts","clean":"rm -rf dist demo/dist"},"_id":"@4admin/pdf-viewer@0.2.9","bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"_integrity":"sha512-lTgJ/WUifdrDOMOIuih2xjmQAVzXEfkU8cK+O9QMRTgTLvjmNeS5RicGucYXMDmq4jMuhsltY/alPUW6iW/W+g==","_resolved":"/private/var/folders/bb/sl8gfqcx2q3954jznqfs1w2r0000gn/T/d61e0fbf39308ac284a9fb8ff9fc8915/4admin-pdf-viewer-0.2.9.tgz","_from":"file:4admin-pdf-viewer-0.2.9.tgz","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-lTgJ/WUifdrDOMOIuih2xjmQAVzXEfkU8cK+O9QMRTgTLvjmNeS5RicGucYXMDmq4jMuhsltY/alPUW6iW/W+g==","shasum":"5aad172b824a865556aba3395bf7d22e005f4b82","tarball":"https://registry.npmjs.org/@4admin/pdf-viewer/-/pdf-viewer-0.2.9.tgz","fileCount":74,"unpackedSize":2674040,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDFhSUKdeDpxkQZUVWULbc+SxuD0wh1SeMw7GyqxPSaawIgUWiJ4GeB6WhjeQw34ICAZtz1b0y30++Ry/JHTCyrdoI="}]},"_npmUser":{"name":"r-pathak","email":"rohanp2799@gmail.com"},"directories":{},"maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-viewer_0.2.9_1783692612364_0.37012546508567845"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-03T14:45:04.953Z","modified":"2026-07-10T14:10:12.761Z","0.1.0":"2026-07-03T14:45:05.352Z","0.2.0":"2026-07-03T15:17:27.209Z","0.2.1":"2026-07-03T15:39:14.673Z","0.2.2":"2026-07-03T15:53:35.210Z","0.2.3":"2026-07-03T16:09:00.172Z","0.2.4":"2026-07-03T16:26:00.075Z","0.2.6":"2026-07-03T16:55:40.094Z","0.2.7":"2026-07-03T18:27:40.528Z","0.2.8":"2026-07-10T13:46:17.410Z","0.2.9":"2026-07-10T14:10:12.644Z"},"bugs":{"url":"https://github.com/r-pathak/4admin-pdf-viewer/issues"},"license":"MIT","homepage":"https://github.com/r-pathak/4admin-pdf-viewer#readme","keywords":["pdf","pdf-viewer","react","pdfjs","react-pdf-viewer","heroui"],"repository":{"type":"git","url":"git+https://github.com/r-pathak/4admin-pdf-viewer.git"},"description":"Drop-in, pdf.js-based replacement for the archived @react-pdf-viewer — virtualized, HeroUI-styled, built for the 4admin client.","maintainers":[{"name":"r-pathak","email":"rohanp2799@gmail.com"}],"readme":"# @4admin/pdf-viewer\n\nA standalone, **pdf.js-based, drop-in replacement** for the subset of\n[`@react-pdf-viewer`](https://github.com/react-pdf-viewer/react-pdf-viewer)\nthat the 4admin client uses. The upstream library is archived; this package\nre-implements its public API (the parts 4admin depends on) on top of a current,\nmaintained `pdfjs-dist`, so 4admin migrates by **changing import paths only**.\n\n```\n@react-pdf-viewer/<module>  →  @4admin/pdf-viewer/<module>\n```\n\nBuilt with TypeScript + Vite library mode. Ships ESM + `.d.ts` + per-module CSS\nat the same subpaths the original used.\n\n---\n\n## Why\n\n`react-pdf-viewer` is no longer maintained. Rather than fork the whole plugin\nlibrary or inline a viewer into 4admin, this is a small, self-contained package\nthat mirrors only the API surface 4admin actually couples to, engineered for a\nno-touch swap. See [`docs/SPEC.md`](docs/SPEC.md) for the exact compatibility\ncontract and [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) for how it's built.\n\n## Install\n\nPrivate package. Publish to your registry, then:\n\n```bash\npnpm add @4admin/pdf-viewer\n```\n\nPeer dependencies (all already present in the 4admin client at these versions):\n`react`/`react-dom` >=18, `@heroui/react` >=2.8.5 <3, `@tabler/icons-react` ^3,\n`framer-motion` >=11. `pdfjs-dist` is bundled. The built-in chrome (find\npopover, default toolbar, loader/error/password states) renders with HeroUI +\nTabler icons matching the 4admin design language; HeroUI's classes are\ngenerated by the host's `heroui()` Tailwind plugin (4admin's Tailwind already\nscans `@heroui/theme` — no config change needed).\n\n## Modules (subpath exports)\n\nEach mirrors the matching `@react-pdf-viewer/*` package, with a stylesheet at\n`<module>/lib/styles/index.css`:\n\n`core` · `default-layout` · `toolbar` · `search` · `highlight` · `zoom` ·\n`rotate` · `page-navigation` · `scroll-mode`\n\n```ts\nimport { Viewer, Worker, SpecialZoomLevel, ScrollMode } from '@4admin/pdf-viewer/core';\nimport '@4admin/pdf-viewer/core/lib/styles/index.css';\nimport { defaultLayoutPlugin } from '@4admin/pdf-viewer/default-layout';\nimport { highlightPlugin, Trigger } from '@4admin/pdf-viewer/highlight';\n// …etc — identical shapes to @react-pdf-viewer/*\n```\n\n## The PDF worker (no setup required)\n\nThe pdf.js **API is bundled** and pinned, and by default the matching worker is\nloaded from the unpkg CDN (`https://unpkg.com/pdfjs-dist@<version>/build/pdf.worker.min.mjs`)\n— the same pattern 4admin already used. The `<Worker workerUrl=\"…\">` wrapper is\nhonored for compatibility but its `workerUrl` is **ignored** (to prevent an\nAPI/worker version mismatch).\n\nTo self-host the worker instead of using the CDN:\n\n```ts\nimport { setWorkerSrc } from '@4admin/pdf-viewer/core';\nsetWorkerSrc('/pdf.worker.min.mjs'); // call once before the first <Viewer>\n```\n\n`getDocument` always runs with `isEvalSupported: false` (defense-in-depth vs\nCVE-2024-4367 — the reason 4admin set this in `_app.js`).\n\n## Next.js\n\nThe viewer is client-only (it touches `window`/`canvas`). 4admin's call sites\nalready render it inside client components, so no change is needed. Add the\npackage to `transpilePackages` so `\"use client\"` is honored:\n\n```js\n// next.config.mjs\nconst nextConfig = { transpilePackages: ['@4admin/pdf-viewer'] };\n```\n\nIf you ever hit an SSR/hydration warning at a new call site, wrap it with\n`next/dynamic` (`{ ssr: false }`).\n\n## Migrating 4admin\n\nA single mechanical find-replace of import specifiers — no logic changes:\n\n```bash\n# from this repo, against the 4admin client (dry run first)\n./scripts/migrate-4admin.sh /path/to/4admin/client\n./scripts/migrate-4admin.sh /path/to/4admin/client --apply\n```\n\nThen in `4admin/client/package.json`: remove the `@react-pdf-viewer/*`\ndependencies, add `\"@4admin/pdf-viewer\"`, and reinstall. The existing\n`<Worker workerUrl=\"…\">` JSX and `jumpToPagePlugin.jsx` (which uses\n`createStore`) keep working unchanged.\n\nAffected files (9): `ReconciliationPdfView.jsx`, `SinglePagePdfViewer.jsx`,\n`ModalSinglePagePdfView.jsx`, `jumpToPagePlugin.jsx`, `ReconciliationModal.jsx`,\n`MatchingUpload.jsx`, `HITLModal.jsx`, `CreateAnalysisFromLoaDrawer.jsx`,\n`pages/analysis/[runId].js`.\n\n## API coverage\n\nImplemented with real behavior (everything 4admin uses):\n\n| Module | Real behavior |\n|---|---|\n| core | `Viewer` (fileUrl, theme, scrollMode, defaultScale, plugins, ref, onDocumentLoad→`doc`, onPageChange), `Worker`, `createStore`, enums, `Plugin`/`PluginFunctions`, `PdfJs` |\n| default-layout | `defaultLayoutPlugin({ renderToolbar, sidebarTabs })` — toolbar shell, empty-sidebar collapse |\n| toolbar | `Toolbar` render-prop + `ToolbarSlot` (CurrentPageInput, NumberOfPages, ZoomIn/Out/Zoom, GoToNext/Prev, ShowSearchPopover, Download, …) |\n| search | `highlight(keywords, { matchCase })`, `clearHighlights`, `jumpToNext/PreviousMatch`, `onHighlightKeyword`, find popover |\n| highlight | `renderHighlights` + `getCssProperties(area, rotation)`, `Trigger`, `jumpToHighlightArea` |\n| zoom | `zoomTo(number | PageFit | PageWidth | ActualSize)`, ZoomIn/Out |\n| rotate | `Rotate` (Forward/Backward), whole-doc rotation |\n| page-navigation | `jumpToPage`, next/prev, CurrentPageInput, NumberOfPages |\n| scroll-mode | `switchScrollMode(Page | Vertical)` — state-preserving |\n\nProvided as typed **COMPAT** stubs so incidental imports/destructures compile\n(not full implementations): thumbnail/bookmark/attachment sidebars, full-screen,\nprint, selection mode, dual-page view modes, per-page rotation UI, link\nannotation layer.\n\n## Performance & resilience\n\nThe engine is built for large documents and live panel resizing (see\n[`docs/CONFIDENCE.md`](docs/CONFIDENCE.md) for the proof matrix):\n\n- **Window virtualization with teardown** — only pages near the viewport hold a\n  canvas/text layer (≤ ~10 at any time on a 300-page doc); placeholder boxes\n  preserve exact scroll geometry.\n- **Progressive page sizing** — first paint after page 1's size; the rest\n  stream in, with pages up to `initialPage` resolved first.\n- **Two-tier zoom** — layout tracks container resizes every frame (CSS-stretch\n  of existing bitmaps), a debounced commit re-renders crisp, double-buffered\n  (no blank flashes). Manual zoom suppresses auto-refit (4admin's\n  `hasCustomZoom` parity).\n- **Search at scale** — per-document text-span cache, generation-based\n  cancellation of superseded scans, event-loop yields; ~400 ms across 300 pages.\n- Occurrence semantics match 4admin's backend counting exactly (start-position\n  dedup across value patterns), proven against a scanned-style fixture built\n  with the api's Azure-DI overlay formulas.\n\n## Development\n\n```bash\npnpm install\npnpm gen:sample && pnpm gen:fixtures   # demo + proof PDFs (300p, scanned-style)\npnpm dev            # demo (faithful port of 4admin's ReconciliationPdfView)\n                    #   ?doc=large → 300-page fixture, ?doc=scanned → OCR fixture\npnpm typecheck\npnpm build          # dist/ (ESM + .d.ts + per-module CSS)\npnpm test           # pure-logic + engine parity proofs (node)\npnpm test:browser   # virtualization/resize/search/highlight proofs (needs demo\n                    #   preview on :4317 + Chrome with --remote-debugging-port=9222)\n```\n\n## Status / known gaps\n\n- Horizontal / Wrapped scroll modes and dual-page view modes are best-effort.\n- Link annotation layer is not rendered (4admin doesn't depend on it).\n- Intrinsic `/Rotate` source pages: overlay placement replicates the original\n  library's (and 4admin's own) behavior, which ignores intrinsic rotation.\n","readmeFilename":"README.md"}