Skip to content

Commit

Permalink
update (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
awy3 authored May 1, 2024
1 parent c5e10aa commit f63e532
Show file tree
Hide file tree
Showing 440 changed files with 14,840 additions and 140 deletions.
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Copyright 2018 PDFTron Systems Inc. All rights reserved.
WebViewer React UI project/codebase or any derived works is only permitted in solutions with an active commercial PDFTron WebViewer license. For exact licensing terms please refer to your commercial WebViewer license. For use in other scenario, please contact sales@pdftron.com
Copyright 2023 Apryse Software Inc. All rights reserved.
WebViewer React UI project/codebase or any derived works is only permitted in solutions with an active commercial Apryse WebViewer license. For exact licensing terms please refer to your commercial WebViewer license. For use in other scenario, please contact sales@apryse.com
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# WebViewer UI

WebViewer UI sits on top of [WebViewer](https://www.pdftron.com/webviewer), a powerful JavaScript-based PDF Library that's part of the [PDFTron PDF SDK](https://www.pdftron.com). Built in React, WebViewer UI provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.
WebViewer UI sits on top of [WebViewer](https://apryse.com/products/webviewer), a powerful JavaScript-based PDF Library that's part of the [Apryse PDF SDK](https://www.apryse.com). Built in React, WebViewer UI provides a slick out-of-the-box responsive UI that interacts with the core library to view, annotate and manipulate PDFs that can be embedded into any web project.

![WebViewer UI](https://www.pdftron.com/downloads/pl/webviewer-ui.png)

Expand All @@ -9,7 +9,7 @@ This repo is specifically designed for any users interested in advanced customiz
Any approved pull requests made to this repository are merged into WebViewer's internal builds, and can be accessed through the nightly builds.
Any approved pull requests to the master branch will go to WebViewer's [nightly experimental builds](https://www.pdftron.com/nightly/#experimental/) and pull requests to version number branches will go to that version's [nightly stable](https://www.pdftron.com/nightly/#stable/).

Nightly stable and experimental builds can also be downloaded from [WebViewer's NPM package](https://www.pdftron.com/documentation/web/faq/webviewer-nightly-build/#npm).
Nightly stable and experimental builds can also be downloaded from [WebViewer's NPM package](https://docs.apryse.com/documentation/web/faq/webviewer-nightly-build/#npm).

## Install

Expand All @@ -19,7 +19,7 @@ npm install

### Install WebViewer Core Dependencies

The preferred method to install the Core dependencies is to use the [WebViewer NPM package](https://www.pdftron.com/documentation/web/get-started/npm/#1-install-via-npm).
The preferred method to install the Core dependencies is to use the [WebViewer NPM package](https://docs.apryse.com/documentation/web/get-started/npm/#1-install-via-npm).

Once installed, copy the Core folder into the path being used by the viewer for its dependencies (/lib by default).

Expand All @@ -35,6 +35,12 @@ npm start
npm run build
```

## Troubleshooting

If you are using NPM version 7 or higher, you may get an error indicating an issue with the dependency tree. There are two possible solutions for this:
- Downgrade your version of Node to v14, which uses NPM version 6.
- When running `npm install` add the flag `--legacy-peer-deps`. You can read more about this flag in this [Stack Overflow post](https://stackoverflow.com/questions/66239691/what-does-npm-install-legacy-peer-deps-do-exactly-when-is-it-recommended-wh).

## Project structure

```
Expand All @@ -51,7 +57,7 @@ src/

## API documentation

See [API documentation](https://www.pdftron.com/documentation/web/guides/ui/apis).
See [API documentation](https://docs.apryse.com/api/web/UI.html).

## Contributing

Expand Down
Binary file added assets/fonts/Satisfy.woff
Binary file not shown.
Binary file added assets/fonts/Whisper.woff
Binary file not shown.
Binary file added assets/fonts/webfonts/Arimo.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/Caladea.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/Carlito.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/Cousine.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/LiberationSerif.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/OpenSans.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/Roboto.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/RobotoMono.ttf
Binary file not shown.
Binary file added assets/fonts/webfonts/Tinos.ttf
Binary file not shown.
3 changes: 3 additions & 0 deletions assets/icons/apryse-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/icons/ic-copy-color.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/icons/ic-delete.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/ic-file-cad.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/ic-file-doc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions assets/icons/ic-file-etc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/ic-file-img.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/ic-file-pdf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions assets/icons/ic-file-ppt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f63e532

Please sign in to comment.