There's mention of configuring the PDF.js library. I ran 'npm install pdfjs-dist' as suggested. As for the next step 'vendors.ts' - I don't see this anywhere. Can someone point me in the right direction? Is there anything else that I need to do to enable thumbnails?
Here's some more info. When I select a doc from the doc list component (which is bound to the viewer component) I see this in the browser console.
pdf.js:7221 Uncaught (in promise) TypeError: Promise.allSettled is not a function
at MessageHandler._deleteStreamController (pdf.js:7221)
at MessageHandler._processStreamMessage (pdf.js:7160)
at Worker.MessageHandler._onComObjOnMessage (pdf.js:6817)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)
at Object.onInvokeTask (core.js:14134)
at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:422)
at Zone.push../node_modules/zone.js/dist/zone.js.Zone.runTask (zone.js:195)
at ZoneTask.push../node_modules/zone.js/dist/zone.js.ZoneTask.invokeTask [as invoke] (zone.js:498)
at invokeTask (zone.js:1744)
at Worker.globalZoneAwareCallback (zone.js:1781)
I'm wondering if this is why the thumbnails aren't appearing?
I googled the error message & some have suggested that zone.js needs to be updated. Any ideas?