ngx-extended-pdf-viewer 1.8.3 → 1.8.4
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 +4 -2
- package/bundles/ngx-extended-pdf-viewer.umd.js +67 -25
- package/bundles/ngx-extended-pdf-viewer.umd.js.map +1 -1
- package/bundles/ngx-extended-pdf-viewer.umd.min.js +1 -1
- package/bundles/ngx-extended-pdf-viewer.umd.min.js.map +1 -1
- package/esm2015/lib/ngx-extended-pdf-viewer.component.js +62 -25
- package/esm5/lib/ngx-extended-pdf-viewer.component.js +68 -26
- package/fesm2015/ngx-extended-pdf-viewer.js +61 -24
- package/fesm2015/ngx-extended-pdf-viewer.js.map +1 -1
- package/fesm5/ngx-extended-pdf-viewer.js +67 -25
- package/fesm5/ngx-extended-pdf-viewer.js.map +1 -1
- package/lib/ngx-extended-pdf-viewer.component.d.ts +2 -1
- package/ngx-extended-pdf-viewer.metadata.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -68,7 +68,8 @@ After that, follow these steps:
|
|
|
68
68
|
3. Convert the file `ngx-extended-pdf-viewer.css` into the Ionic format (remove styleUrls)
|
|
69
69
|
|
|
70
70
|
## Breaking changes
|
|
71
|
-
- 1.8.
|
|
71
|
+
- 1.8.3 Not a breaking change, but quite the contrary: since version 1.8.3 you don't have to add lodash.deburr. It's added automatically as a transitive dependency if it isn't already there.
|
|
72
|
+
- 1.8.0-1.8.2 Only in these versions: new required dependency: lodash.deburr. If you haven't got it already, run `npm i lodash.deburr`. Plus, `[showSidebarOnLoad]` has been deprecated. Updated to pdf.js 2.3.200.
|
|
72
73
|
- 1.7.0 I've fixed a few bugs concerning IE11 support. If you rely on the bug, your application may break. Now I recommend to add both the ES2015 version `pdf.worker.js` and the ES5 version `pdf.worker-es5.js` of the service worker to your assets folder.
|
|
73
74
|
- 1.0.0-rc.5 reactivated IE11 support. The default files `pdf.js`, `pdf-worker.js`, and `viewer.js` use a modern ES6 dialect of JavaScript. Your benefit: the files are smaller. My benefit: it's easier to understand and debug your error messages. To support IE11, you must include another set of JavaScript files: `pdf-es5.js`, `pdf-worker-es5.js`, and `viewer-es5.js`.
|
|
74
75
|
- 1.0.0-rc.2 This shouldn't break anything, but just to be sure: the default files `pdf.js`, `pdf-worker.js`, and `viewer.js` have been updated to version 2.2.228. Plus, they are compiled without Babel and without minifiying to make debugging easier. The Angular CLI minifies and transpiles the files, so you shouldn't notice any difference (apart from being able to debug).
|
|
@@ -531,4 +532,5 @@ Thanks to the awesome pdf.j team and to all the users you've reported bugs and e
|
|
|
531
532
|
- 1.8.0 #178 fixed [sidebar]; deprecated [sidebarOnLoad]; #177 added an option to ignoring accents and diacritics to the find dialog; #162 added more options to the `NgxExtendedPdfViewerService.find()`
|
|
532
533
|
- 1.8.1 #184 added the parameter `logLevel` and improved font-related messages; #186 added "ngx-extended-pdf-viewer" to the startup-message; #162 the new options parameters of `find()` should have a default value
|
|
533
534
|
- 1.8.2 #183 implemented `(updateFindMatchesCount)` and `(updateFindState)`
|
|
534
|
-
- 1.8.3 #187
|
|
535
|
+
- 1.8.3 #187 add `textLayer` to enable users to activate the text layer even if `[handTool]="true"`; #185 added lodash.deburr to the library (so now it should be added automatically to your node_modules folder)
|
|
536
|
+
- 1.8.4 #187 hide the "find" button and the "selection mode / hand tool" menu when the text layer is disabled; report a warning on the JavaScript console if the settings of `textLayer` and `showFindButton` / `[handTool]` / `[showHandToolButton]` don't match to each other
|