ng2-pdfjs-viewer 26.1.0 → 26.1.1
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 +17 -11
- package/package.json +11 -8
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
[](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/LICENSE)
|
|
18
18
|
[](https://github.com/intbot/ng2-pdfjs-viewer)
|
|
19
19
|
|
|
20
|
-
[**Live demo**](https://
|
|
20
|
+
[**Live demo**](https://demo.angularpdf.com/) · [**Documentation**](https://angularpdf.com/) · [**API reference**](https://angularpdf.com/docs/api/component-inputs) · [**Changelog**](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/CHANGELOG.md)
|
|
21
21
|
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -52,11 +52,11 @@ That's the whole integration. [Wire up the assets](#-quick-start) and you have a
|
|
|
52
52
|
| 🤖 **AI assistant (BYO)** | Point it at any OpenAI-compatible endpoint (OpenAI, Azure, Ollama, vLLM…). Answers cite pages and click through. **The library never calls an AI service on its own.** |
|
|
53
53
|
| 🔊 **Read aloud** | Browser speech synthesis reads sentence by sentence, highlighting the spoken text and reporting progress. |
|
|
54
54
|
| 🗂️ **Organize pages** | Reorder, delete, cut/copy/paste, extract, and merge pages in the viewer's "Manage pages" panel. |
|
|
55
|
-
| 🎨 **Make it yours** | CSS-variable theming, true dark-mode page rendering, and your own Angular templates for the toolbar, sidebar, and per-page overlays. |
|
|
55
|
+
| 🎨 **Make it yours** | CSS-variable theming, true dark-mode page rendering, and your own Angular templates for the toolbar, sidebar, and per-page overlays — or go `chromeless` to hide the chrome for an embedded, pages-only view. |
|
|
56
56
|
| 🛡️ **Protect content** | Block print/download, disable selection, and stamp watermarks (honest client-side deterrence — not DRM). |
|
|
57
57
|
| ♿ **Accessible** | Screen-reader friendly, tagged-PDF aware, keyboard navigable — with a [WCAG / EAA guide](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/ACCESSIBILITY.md). |
|
|
58
58
|
|
|
59
|
-
→ Explore every feature with live code on the **[documentation site](https://
|
|
59
|
+
→ Explore every feature with live code on the **[documentation site](https://angularpdf.com/)** and **[demo](https://demo.angularpdf.com/)**.
|
|
60
60
|
|
|
61
61
|
## 🚀 Quick start
|
|
62
62
|
|
|
@@ -95,13 +95,13 @@ export class AppModule {}
|
|
|
95
95
|
|
|
96
96
|
> **Production note:** PDF.js 6 ships ES modules (`.mjs`), localization (`.ftl`), and WebAssembly
|
|
97
97
|
> (`.wasm`) assets. Make sure your web server returns the correct MIME types for them — see the
|
|
98
|
-
> [deployment guide](https://
|
|
98
|
+
> [deployment guide](https://angularpdf.com/docs/getting-started) for the
|
|
99
99
|
> nginx/IIS snippets.
|
|
100
100
|
|
|
101
101
|
## 🧩 What you can build
|
|
102
102
|
|
|
103
103
|
A few of the things the component makes one-liners. Full, runnable versions live in the
|
|
104
|
-
[feature guides](https://
|
|
104
|
+
[feature guides](https://angularpdf.com/docs/features/overview).
|
|
105
105
|
|
|
106
106
|
**Annotate, sign, and save the result**
|
|
107
107
|
|
|
@@ -157,15 +157,15 @@ The README is the front door — the deep reference lives on the docs site and s
|
|
|
157
157
|
|
|
158
158
|
| | |
|
|
159
159
|
|---|---|
|
|
160
|
-
| 🏁 [Getting started](https://
|
|
161
|
-
| 🧭 [Feature guides](https://
|
|
162
|
-
| 🔧 [API reference](https://
|
|
160
|
+
| 🏁 [Getting started](https://angularpdf.com/docs/getting-started) | Install, assets, first viewer, production deployment |
|
|
161
|
+
| 🧭 [Feature guides](https://angularpdf.com/docs/features/overview) | Annotation, forms, search, AI, read-aloud, custom UI, protection, and more |
|
|
162
|
+
| 🔧 [API reference](https://angularpdf.com/docs/api/component-inputs) | Every `@Input()`, `@Output()`, and method, with types |
|
|
163
163
|
| ♿ [Accessibility](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/ACCESSIBILITY.md) | Screen readers, tagged PDFs, keyboard nav, WCAG / EAA |
|
|
164
164
|
| 🖥️ [Server-side examples](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/Server-Side-Examples.md) | Streaming, authenticated fetch, signed URLs |
|
|
165
165
|
| 📝 [Changelog](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/CHANGELOG.md) | What changed, and behavior notes when upgrading |
|
|
166
166
|
|
|
167
167
|
The component exposes **30+ inputs**, **24+ events**, and **19+ Promise-returning methods**.
|
|
168
|
-
The [API reference](https://
|
|
168
|
+
The [API reference](https://angularpdf.com/docs/api/component-inputs) is the
|
|
169
169
|
complete, typed list.
|
|
170
170
|
|
|
171
171
|
## 🔌 Loading documents
|
|
@@ -185,7 +185,7 @@ attach credentials and track progress:
|
|
|
185
185
|
|
|
186
186
|
For large files, linearize ("fast web view") and serve with HTTP range support so the first pages
|
|
187
187
|
render before the whole document downloads. Details in the
|
|
188
|
-
[loading guide](https://
|
|
188
|
+
[loading guide](https://angularpdf.com/docs/features/loading-documents).
|
|
189
189
|
|
|
190
190
|
## 🛡️ Security
|
|
191
191
|
|
|
@@ -209,6 +209,12 @@ test.bat # build the lib, link it, and serve the demo on http://localho
|
|
|
209
209
|
See [CONTRIBUTING.md](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/CONTRIBUTING.md) for the full setup, and look for
|
|
210
210
|
[`good first issue`](https://github.com/intbot/ng2-pdfjs-viewer/labels/good%20first%20issue) to get started.
|
|
211
211
|
|
|
212
|
+
## ⭐ Star history
|
|
213
|
+
|
|
214
|
+
<a href="https://star-history.com/#intbot/ng2-pdfjs-viewer&Date">
|
|
215
|
+
<img src="https://api.star-history.com/svg?repos=intbot/ng2-pdfjs-viewer&type=Date" alt="Star history chart for ng2-pdfjs-viewer" width="640" />
|
|
216
|
+
</a>
|
|
217
|
+
|
|
212
218
|
## 📄 License
|
|
213
219
|
|
|
214
220
|
[Apache-2.0 (Commons Clause)](https://github.com/intbot/ng2-pdfjs-viewer/blob/master/LICENSE). Free to use, modify, and self-host; the Commons
|
|
@@ -223,6 +229,6 @@ years by a community of contributors and 8.3+ million downloads' worth of real-w
|
|
|
223
229
|
|
|
224
230
|
<div align="center">
|
|
225
231
|
|
|
226
|
-
[Documentation](https://
|
|
232
|
+
[Documentation](https://angularpdf.com/) · [Live demo](https://demo.angularpdf.com/) · [npm](https://www.npmjs.com/package/ng2-pdfjs-viewer) · [Issues](https://github.com/intbot/ng2-pdfjs-viewer/issues)
|
|
227
233
|
|
|
228
234
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ng2-pdfjs-viewer",
|
|
3
|
-
"version": "26.1.
|
|
3
|
+
"version": "26.1.1",
|
|
4
4
|
"description": "The most comprehensive Angular PDF viewer, powered by Mozilla PDF.js 6 — view, annotate, sign, fill forms, search, and read aloud from one component. 8.3M+ downloads, mobile-first, production-ready.",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Aneesh Goapalakrishnan",
|
|
@@ -20,34 +20,37 @@
|
|
|
20
20
|
"@angular/core": ">=10.0.0"
|
|
21
21
|
},
|
|
22
22
|
"$schema": "./node_modules/ng-packagr/package.schema.json",
|
|
23
|
-
"homepage": "https://
|
|
23
|
+
"homepage": "https://angularpdf.com/",
|
|
24
24
|
"bugs": {
|
|
25
25
|
"url": "https://github.com/intbot/ng2-pdfjs-viewer/issues"
|
|
26
26
|
},
|
|
27
27
|
"keywords": [
|
|
28
|
+
"angular pdf viewer",
|
|
28
29
|
"angular",
|
|
29
30
|
"angular-pdf-viewer",
|
|
31
|
+
"ng2-pdfjs-viewer",
|
|
30
32
|
"pdf-viewer",
|
|
31
33
|
"pdf-reader",
|
|
32
34
|
"PDF",
|
|
33
|
-
"PDF Viewer",
|
|
34
35
|
"pdfjs",
|
|
35
|
-
"
|
|
36
|
-
"ng2",
|
|
36
|
+
"pdf.js",
|
|
37
37
|
"angular-component",
|
|
38
38
|
"angular-pdf",
|
|
39
39
|
"ng2-pdf",
|
|
40
|
-
"angular 2 - 22",
|
|
41
40
|
"angular 22",
|
|
42
41
|
"angular-library",
|
|
43
42
|
"typescript",
|
|
44
43
|
"javascript",
|
|
45
44
|
"pdf-rendering",
|
|
46
45
|
"pdf-annotations",
|
|
46
|
+
"pdf-forms",
|
|
47
|
+
"pdf-signature",
|
|
48
|
+
"esign",
|
|
49
|
+
"pdf-search",
|
|
47
50
|
"pdf-zoom",
|
|
48
51
|
"pdf-printing",
|
|
49
|
-
"
|
|
50
|
-
"
|
|
52
|
+
"text-to-speech",
|
|
53
|
+
"mobile-first",
|
|
51
54
|
"accessibility",
|
|
52
55
|
"open-source"
|
|
53
56
|
],
|