vue-pdf-embed

PDF embed component for Vue 2 and Vue 3

MIT License

Downloads
191.5K
Stars
711

Bot releases are visible (Hide)

vue-pdf-embed - 2.1.0 Latest Release

Published by hrynko 3 months ago

  • !!! Rename the styles directory so that they are exported as vue-pdf-embed/dist/styles/*.css 538d03a
  • !!! Inline essential styles so that importing vue-pdf-embed/dist/styles/index.css is no longer required 8c70b09
  • Update pdf.js to 4.4.168 (#226) bc9b2a8
  • Ensure page order when re-rendering (#208, #220) 7bbea06
  • Take view offset into account when calculating page dimensions c53ffa3
  • Improve rendering performance a02c066
  • Update memory releasing (#194, #196, #210) f8cb757
  • Prevent document proxy destroying when provided as a prop (#225) 7633eea

Credits to @Marwan-Thirdwayv, @cronco, @asugai, @NicolaiHorlacher and Jos van den Oever

vue-pdf-embed - 2.0.4

Published by hrynko 5 months ago

  • Update PDF.js to 4.3.136 4796d2c
vue-pdf-embed - 2.0.3

Published by hrynko 7 months ago

  • Fix the problem of blank pages when printing (#189) 575a359
  • Fix the scaling factor causing the additional layers to be shifted (#186) d976c05

Credits to @ljh-coder and @markusgeert

vue-pdf-embed - 2.0.2

Published by hrynko 9 months ago

  • Fix package installation lifecycle 46c1705
vue-pdf-embed - 2.0.1

Published by hrynko 9 months ago

  • Fix the generation of type declarations edfe343
  • Fix the issue of additional layers rotation 089359e
vue-pdf-embed - 2.0.0

Published by hrynko 9 months ago

  • Switch to Vite and stop building for Vue 2 (#153) 4c0a6e7
  • Introduce TypeScript 913b374
  • Introduce composable function for PDF load 15b200c
  • Update pdf.js to 3.11.174 (#163) f88d2d1
  • Remove fallback prop types 79223c7
  • Export styles (essential, text layer and annotation layer separately) instead of injecting 4c0a6e7 aeb5f20
  • Introduce the essential build (exposing GlobalWorkerOptions instead of internal worker loading) 03d9880

Credits to @cooper667 and @mispencer

vue-pdf-embed - 1.2.1

Published by hrynko about 1 year ago

  • Fix rendering in Vue 3 cb406d4
vue-pdf-embed - 1.2.0

Published by hrynko about 1 year ago

  • Disable annotation and text layers by default (#113) 93aa92d
  • Add before and after page slots (#157) 5571425
  • Release callbacks on unmount to avoid memory leaks (#161) a7d6828
  • Add download method (#71) 047005e
  • Stop handling errors in the download and print methods 73f428b

Credits to @hgoncalves, @m4rcoperuano, @dougieled, @xandao-dev, @veerman72 and @wesleyscherrenberg

vue-pdf-embed - 1.1.6

Published by hrynko over 1 year ago

  • Update README (#111, #134) c06937a99fce61c9eeda71f69282a1239a1c4f4a e316f3ed3f1debb13d029afe2eea4cdcf4313f08
  • Update typings (#99) 8060f0379ce22b4813bfdfb18fa7be86320a1698
  • Fix Safari print size issue (#115) 14da8de7478433fb3e93bbffc6dcc63c058f39d9
  • Fix rotation issues (#129) bb3e09a6dc054228c663fc2821c678de5060c6e3

Credits to @yngrdyn, @Fuzzy-Supernova, @MartinX3, @rsayfutdinov and @sushi2all

vue-pdf-embed - 1.1.5

Published by hrynko almost 2 years ago

  • Add scale prop (#53) e0d2815
  • Update print method signature (#67) 9eaa57a
  • Update canvas releasing 73b55c1 d1b52b5

Credits to @stan-tba and @nickxgrom

vue-pdf-embed - 1.1.4

Published by hrynko over 2 years ago

  • Update transpiler configuration to support ES5 (#51) 9b9df7b
  • Release canvases on unmount (#40) cfcb9ba6

Credits to @fabiovaz, @hanns2002 and @zhaoyan42

vue-pdf-embed - 1.1.3

Published by hrynko over 2 years ago

  • Add filename argument to print method (#45) e4fcac9
  • Fix source sharing issue (#24) 50b80f2
  • Optimize canvas utilization in Safari (#10) ece92a7
  • Add separate Vue 2 typing (#3) e6d245b
  • Fix Vue 3 typing (#46) a919548

Credits to @KC900201, @EHadoux, @dolbex, @nowrap and @X-sirs

vue-pdf-embed - 1.1.2

Published by hrynko over 2 years ago

  • Add rotation prop 2c58389
  • Add loaded event 82e4e28
  • Fix issue with stale annotations and text layers when re-rendering d8a8cdd
  • Make imageResourcesPath configurable 905a1bc
  • Fix crash on multiple simultaneous rendering calls (#28) b304dc0
  • Add print method (#27) acb0c4c
  • Allow source reuse between component instances (#24) be72048

Credits to @mweimerskirch, @zenflow and @EHadoux

vue-pdf-embed - 1.1.1

Published by hrynko over 2 years ago

  • Fix Safari support issue (#14) bbbfaba
  • Add a prepare script to build the library when installing from the repository db8bf35
  • Update source prop to accept Uint8Array f17de96

Credit to @dcoyt

vue-pdf-embed - 1.1.0

Published by hrynko over 2 years ago

  • Add page width and height props 5d78c9f
  • Add text layer f7feb9d
  • Add annotation layer a428bae
vue-pdf-embed - 1.0.8

Published by hrynko over 2 years ago

  • Fix broken build d19bafe...348a1dd
vue-pdf-embed - 1.0.7

Published by hrynko over 2 years ago

  • Add page specific IDs (#7) 63994ac
  • Downgrade PDF.js to 2.9.359 (#8, fix PDF forms display) 8f30f9b

Credits to @hgoncalves and @jacquesmi

vue-pdf-embed - 1.0.6

Published by hrynko almost 3 years ago

  • Update PDF.js to 2.10.377 (support for digital signatures) 2ebeb3e
  • Update usage example in README.md c95a8b8
vue-pdf-embed - 1.0.5

Published by hrynko almost 3 years ago

  • Rearrange dependencies fea8bef
  • Optimize the build 6da638a
  • Adjust typing for Vue 3 1031c38
vue-pdf-embed - 1.0.4

Published by hrynko about 3 years ago

  • Revert breaking changes introduced in 1.0.3 bc7ce5e
Package Rankings
Top 1.93% on Npmjs.org
Top 30.23% on Repo1.maven.org
Top 10.06% on Proxy.golang.org
Badges
Extracted from project README
Awesome List npm Version npm Downloads GitHub Stars License
Related Projects