├── .github └── workflows │ ├── publish.yml │ └── test-pr.yml ├── .gitignore ├── .nvmrc ├── .vscode └── extensions.json ├── LICENSE ├── README.md ├── biome.json ├── docs ├── .vitepress │ ├── config.ts │ └── theme │ │ ├── index.ts │ │ └── style.css ├── docs │ └── intro │ │ ├── getting-started.md │ │ └── what-is-vue-pdf.md ├── index.md ├── public │ └── vuepdf-logo.svg └── reference │ ├── browser-api.md │ ├── components-api.md │ └── node-api.md ├── package.json ├── patches └── @react-pdf+fns+3.1.2.patch ├── src ├── components │ ├── Suspense.ts │ ├── createComponent.ts │ └── index.ts ├── composables │ ├── index.ts │ └── usePdf.ts ├── dom │ ├── PDFDownloadLink.vue │ ├── PDFViewer.vue │ └── index.ts ├── node │ └── index.ts ├── plugins │ └── vite-clean.plugin.ts ├── render │ └── index.ts ├── renderer │ ├── index.ts │ └── nodeOps.ts ├── symbols │ └── index.ts └── utils │ └── index.ts ├── tests ├── browser │ ├── dom │ │ ├── PDFDownloadLink.test.ts │ │ ├── PdfViewer.test.ts │ │ ├── Suspense.test.ts │ │ ├── renderTo.test.ts │ │ ├── usePdf.errors.test.ts │ │ └── usePdf.test.ts │ ├── renderer │ │ ├── index.test.ts │ │ ├── nodeOps.test.ts │ │ └── patchProp.test.ts │ ├── stubs │ │ ├── AsyncTestDocument.vue │ │ ├── LoadingDocument.vue │ │ ├── SuspenseTest.vue │ │ ├── TestDocument.vue │ │ └── TestPdfViewer.vue │ ├── utils │ │ ├── index.test.ts │ │ └── index.ts │ └── vitest.config.ts └── node │ ├── __mocks__ │ └── fs.cjs │ ├── dom │ ├── PDFDownloadLink.test.ts │ └── PDFViewer.test.ts │ ├── pdf_rendering │ ├── node.test.ts │ └── usePdf.test.ts │ ├── renderer │ ├── index.test.ts │ ├── nodeOps.test.ts │ └── patchProp.test.ts │ ├── stubs │ └── TestDocument.ts │ └── vitest.config.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json ├── tsconfig.node.tsbuildinfo ├── vite.config.ts └── vitest.config.ts /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.github/workflows/test-pr.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/.github/workflows/test-pr.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/.gitignore -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | v22.14.0 2 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/README.md -------------------------------------------------------------------------------- /biome.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/biome.json -------------------------------------------------------------------------------- /docs/.vitepress/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/.vitepress/config.ts -------------------------------------------------------------------------------- /docs/.vitepress/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/.vitepress/theme/index.ts -------------------------------------------------------------------------------- /docs/.vitepress/theme/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/.vitepress/theme/style.css -------------------------------------------------------------------------------- /docs/docs/intro/getting-started.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/docs/intro/getting-started.md -------------------------------------------------------------------------------- /docs/docs/intro/what-is-vue-pdf.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/docs/intro/what-is-vue-pdf.md -------------------------------------------------------------------------------- /docs/index.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/index.md -------------------------------------------------------------------------------- /docs/public/vuepdf-logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/public/vuepdf-logo.svg -------------------------------------------------------------------------------- /docs/reference/browser-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/reference/browser-api.md -------------------------------------------------------------------------------- /docs/reference/components-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/reference/components-api.md -------------------------------------------------------------------------------- /docs/reference/node-api.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/docs/reference/node-api.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/package.json -------------------------------------------------------------------------------- /patches/@react-pdf+fns+3.1.2.patch: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/patches/@react-pdf+fns+3.1.2.patch -------------------------------------------------------------------------------- /src/components/Suspense.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/components/Suspense.ts -------------------------------------------------------------------------------- /src/components/createComponent.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/components/createComponent.ts -------------------------------------------------------------------------------- /src/components/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/components/index.ts -------------------------------------------------------------------------------- /src/composables/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/composables/index.ts -------------------------------------------------------------------------------- /src/composables/usePdf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/composables/usePdf.ts -------------------------------------------------------------------------------- /src/dom/PDFDownloadLink.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/dom/PDFDownloadLink.vue -------------------------------------------------------------------------------- /src/dom/PDFViewer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/dom/PDFViewer.vue -------------------------------------------------------------------------------- /src/dom/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/dom/index.ts -------------------------------------------------------------------------------- /src/node/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/node/index.ts -------------------------------------------------------------------------------- /src/plugins/vite-clean.plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/plugins/vite-clean.plugin.ts -------------------------------------------------------------------------------- /src/render/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/render/index.ts -------------------------------------------------------------------------------- /src/renderer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/renderer/index.ts -------------------------------------------------------------------------------- /src/renderer/nodeOps.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/renderer/nodeOps.ts -------------------------------------------------------------------------------- /src/symbols/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/symbols/index.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /tests/browser/dom/PDFDownloadLink.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/PDFDownloadLink.test.ts -------------------------------------------------------------------------------- /tests/browser/dom/PdfViewer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/PdfViewer.test.ts -------------------------------------------------------------------------------- /tests/browser/dom/Suspense.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/Suspense.test.ts -------------------------------------------------------------------------------- /tests/browser/dom/renderTo.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/renderTo.test.ts -------------------------------------------------------------------------------- /tests/browser/dom/usePdf.errors.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/usePdf.errors.test.ts -------------------------------------------------------------------------------- /tests/browser/dom/usePdf.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/dom/usePdf.test.ts -------------------------------------------------------------------------------- /tests/browser/renderer/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/renderer/index.test.ts -------------------------------------------------------------------------------- /tests/browser/renderer/nodeOps.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/renderer/nodeOps.test.ts -------------------------------------------------------------------------------- /tests/browser/renderer/patchProp.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/renderer/patchProp.test.ts -------------------------------------------------------------------------------- /tests/browser/stubs/AsyncTestDocument.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/stubs/AsyncTestDocument.vue -------------------------------------------------------------------------------- /tests/browser/stubs/LoadingDocument.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/stubs/LoadingDocument.vue -------------------------------------------------------------------------------- /tests/browser/stubs/SuspenseTest.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/stubs/SuspenseTest.vue -------------------------------------------------------------------------------- /tests/browser/stubs/TestDocument.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/stubs/TestDocument.vue -------------------------------------------------------------------------------- /tests/browser/stubs/TestPdfViewer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/stubs/TestPdfViewer.vue -------------------------------------------------------------------------------- /tests/browser/utils/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/utils/index.test.ts -------------------------------------------------------------------------------- /tests/browser/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/utils/index.ts -------------------------------------------------------------------------------- /tests/browser/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/browser/vitest.config.ts -------------------------------------------------------------------------------- /tests/node/__mocks__/fs.cjs: -------------------------------------------------------------------------------- 1 | const { fs } = require('memfs') 2 | module.exports = fs 3 | -------------------------------------------------------------------------------- /tests/node/dom/PDFDownloadLink.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/dom/PDFDownloadLink.test.ts -------------------------------------------------------------------------------- /tests/node/dom/PDFViewer.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/dom/PDFViewer.test.ts -------------------------------------------------------------------------------- /tests/node/pdf_rendering/node.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/pdf_rendering/node.test.ts -------------------------------------------------------------------------------- /tests/node/pdf_rendering/usePdf.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/pdf_rendering/usePdf.test.ts -------------------------------------------------------------------------------- /tests/node/renderer/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/renderer/index.test.ts -------------------------------------------------------------------------------- /tests/node/renderer/nodeOps.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/renderer/nodeOps.test.ts -------------------------------------------------------------------------------- /tests/node/renderer/patchProp.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/renderer/patchProp.test.ts -------------------------------------------------------------------------------- /tests/node/stubs/TestDocument.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/stubs/TestDocument.ts -------------------------------------------------------------------------------- /tests/node/vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tests/node/vitest.config.ts -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /tsconfig.node.tsbuildinfo: -------------------------------------------------------------------------------- 1 | {"root":["./vite.config.ts"],"version":"5.6.3"} -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/vite.config.ts -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ceereals/vue-pdf/HEAD/vitest.config.ts --------------------------------------------------------------------------------