ngx-extended-pdf-viewer
Advanced tools
Comparing version 0.1.3 to 0.2.0
@@ -25,2 +25,3 @@ /** | ||
} | ||
//# sourceMappingURL=ngx-extended-pdf-viewer.module.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIvIiwic291cmNlcyI6WyJsaWIvbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDO0FBUXBGLE1BQU07OztZQU5MLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUUsRUFDUjtnQkFDRCxZQUFZLEVBQUUsQ0FBQyw2QkFBNkIsQ0FBQztnQkFDN0MsT0FBTyxFQUFFLENBQUMsNkJBQTZCLENBQUM7YUFDekMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgTmd4RXh0ZW5kZWRQZGZWaWV3ZXJDb21wb25lbnQgfSBmcm9tICcuL25neC1leHRlbmRlZC1wZGYtdmlld2VyLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtcbiAgXSxcbiAgZGVjbGFyYXRpb25zOiBbTmd4RXh0ZW5kZWRQZGZWaWV3ZXJDb21wb25lbnRdLFxuICBleHBvcnRzOiBbTmd4RXh0ZW5kZWRQZGZWaWV3ZXJDb21wb25lbnRdXG59KVxuZXhwb3J0IGNsYXNzIE5neEV4dGVuZGVkUGRmVmlld2VyTW9kdWxlIHsgfVxuIl19 |
@@ -9,2 +9,3 @@ /** | ||
export { NgxExtendedPdfViewerComponent, NgxExtendedPdfViewerModule } from './public_api'; | ||
//# sourceMappingURL=ngx-extended-pdf-viewer.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZXh0ZW5kZWQtcGRmLXZpZXdlci8iLCJzb3VyY2VzIjpbIm5neC1leHRlbmRlZC1wZGYtdmlld2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSwwRUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -10,2 +10,3 @@ /** | ||
export { NgxExtendedPdfViewerModule } from './lib/ngx-extended-pdf-viewer.module'; | ||
//# sourceMappingURL=public_api.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1leHRlbmRlZC1wZGYtdmlld2VyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsOENBQWMseUNBQXlDLENBQUM7QUFDeEQsMkNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1leHRlbmRlZC1wZGYtdmlld2VyXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1leHRlbmRlZC1wZGYtdmlld2VyLm1vZHVsZSc7XG4iXX0= |
@@ -10,12 +10,12 @@ /** | ||
} | ||
NgxExtendedPdfViewerModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [], | ||
declarations: [NgxExtendedPdfViewerComponent], | ||
exports: [NgxExtendedPdfViewerComponent] | ||
},] }, | ||
]; | ||
return NgxExtendedPdfViewerModule; | ||
}()); | ||
export { NgxExtendedPdfViewerModule }; | ||
NgxExtendedPdfViewerModule.decorators = [ | ||
{ type: NgModule, args: [{ | ||
imports: [], | ||
declarations: [NgxExtendedPdfViewerComponent], | ||
exports: [NgxExtendedPdfViewerComponent] | ||
},] }, | ||
]; | ||
function NgxExtendedPdfViewerModule_tsickle_Closure_declarations() { | ||
@@ -30,2 +30,3 @@ /** @type {!Array<{type: !Function, args: (undefined|!Array<?>)}>} */ | ||
} | ||
//# sourceMappingURL=ngx-extended-pdf-viewer.module.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIubW9kdWxlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIvIiwic291cmNlcyI6WyJsaWIvbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSw2QkFBNkIsRUFBRSxNQUFNLHFDQUFxQyxDQUFDOzs7OztnQkFFbkYsUUFBUSxTQUFDO29CQUNSLE9BQU8sRUFBRSxFQUNSO29CQUNELFlBQVksRUFBRSxDQUFDLDZCQUE2QixDQUFDO29CQUM3QyxPQUFPLEVBQUUsQ0FBQyw2QkFBNkIsQ0FBQztpQkFDekM7O3FDQVJEOztTQVNhLDBCQUEwQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5pbXBvcnQgeyBOZ3hFeHRlbmRlZFBkZlZpZXdlckNvbXBvbmVudCB9IGZyb20gJy4vbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIuY29tcG9uZW50JztcblxuQE5nTW9kdWxlKHtcbiAgaW1wb3J0czogW1xuICBdLFxuICBkZWNsYXJhdGlvbnM6IFtOZ3hFeHRlbmRlZFBkZlZpZXdlckNvbXBvbmVudF0sXG4gIGV4cG9ydHM6IFtOZ3hFeHRlbmRlZFBkZlZpZXdlckNvbXBvbmVudF1cbn0pXG5leHBvcnQgY2xhc3MgTmd4RXh0ZW5kZWRQZGZWaWV3ZXJNb2R1bGUgeyB9XG4iXX0= |
@@ -9,2 +9,3 @@ /** | ||
export { NgxExtendedPdfViewerComponent, NgxExtendedPdfViewerModule } from './public_api'; | ||
//# sourceMappingURL=ngx-extended-pdf-viewer.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtZXh0ZW5kZWQtcGRmLXZpZXdlci8iLCJzb3VyY2VzIjpbIm5neC1leHRlbmRlZC1wZGYtdmlld2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7QUFJQSwwRUFBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEdlbmVyYXRlZCBidW5kbGUgaW5kZXguIERvIG5vdCBlZGl0LlxuICovXG5cbmV4cG9ydCAqIGZyb20gJy4vcHVibGljX2FwaSc7XG4iXX0= |
@@ -10,2 +10,3 @@ /** | ||
export { NgxExtendedPdfViewerModule } from './lib/ngx-extended-pdf-viewer.module'; | ||
//# sourceMappingURL=public_api.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL25neC1leHRlbmRlZC1wZGYtdmlld2VyLyIsInNvdXJjZXMiOlsicHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBSUEsOENBQWMseUNBQXlDLENBQUM7QUFDeEQsMkNBQWMsc0NBQXNDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogUHVibGljIEFQSSBTdXJmYWNlIG9mIG5neC1leHRlbmRlZC1wZGYtdmlld2VyXG4gKi9cblxuZXhwb3J0ICogZnJvbSAnLi9saWIvbmd4LWV4dGVuZGVkLXBkZi12aWV3ZXIuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbGliL25neC1leHRlbmRlZC1wZGYtdmlld2VyLm1vZHVsZSc7XG4iXX0= |
{ | ||
"name": "ngx-extended-pdf-viewer", | ||
"version": "0.1.3", | ||
"version": "0.2.0", | ||
"license": "Apache License V2", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -18,2 +18,6 @@ # ngx-extended-pdf-viewer | ||
## Know bugs | ||
Version 0.2.0 doesn't survive compiling with the "--prod" flag yet. | ||
## How to use the library | ||
@@ -32,3 +36,13 @@ | ||
3) Add "NgxExtendedPdfViewerModule" to the import section of your module file. If you IDE doesn't find | ||
3. Add the translations to the assets by adding them to the "assets" section in the angular.json: | ||
"assets": [ | ||
"src/favicon.ico", | ||
"src/assets", | ||
{ "glob": "**/*", "input": "node_modules/ngx-extended-pdf-viewer/assets/locale", "output": "/assets/locale/" } | ||
] | ||
If you need only one language, you can reduce the list to 'locale-properties' and your language folder. | ||
4. Add "NgxExtendedPdfViewerModule" to the import section of your module file. If your IDE doesn't find | ||
the import automatically, here it is: | ||
@@ -38,3 +52,3 @@ | ||
4) Now you can display the PDF file using "<ngx-extended-pdf-viewer src="'assets/example.pdf'"></ngx-extended-pdf-viewer>". | ||
5. Now you can display the PDF file using "<ngx-extended-pdf-viewer src="'assets/example.pdf'"></ngx-extended-pdf-viewer>". | ||
@@ -52,9 +66,15 @@ ## Configuration | ||
## Building the library from scratch (and updating to the latest version of Mozilla's pdf.js) | ||
Have a look at https://github.com/stephanrauh/ngx-extended-pdf-viewer/blob/master/README.md | ||
## License and Kudos | ||
The library is based on: | ||
The library is based on https://github.com/mozilla/pdf.js, which has been published under an Apache V2 license. | ||
https://github.com/mozilla/pdf.js, which has been published under an Apache V2 license | ||
https://github.com/legalthings/pdf.js-viewer, which has also been published under an Apache V2 license. | ||
Hence the licence of the ngx-extended-pdf-viewer is the Apache V2 license, too. | ||
Hence the licence of the ngx-extended-pdf-viewer is the Apache V2 license, too. | ||
## Changelog | ||
till 0.1.3: initial version based on the embeddable PDF-Viewer https://github.com/legalthings/pdf.js-viewer | ||
0.2.0: use Mozilla's pdf.js (https://github.com/mozilla/pdf.js) directly. Update to pdf.js 2.0.641. |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Copyleft License
License(Experimental) Copyleft license information was found.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Non-permissive License
License(Experimental) A license not known to be considered permissive was found.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 2 instances in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
11280989
135
76802
77
11
3
70
6