groupdocs-total / GroupDocs.Total-Angular

Angular based UI for GroupDocs Products
https://www.groupdocs.com
MIT License
0 stars 6 forks source link

Does this work with Ivy? #284

Open digeomel opened 1 year ago

digeomel commented 1 year ago

I am trying to include the ViewerModule in my Angular 14 app module as such:

import { ViewerModule } from '@groupdocs.examples.angular/viewer';

and I get this error:

'ViewerModule' does not appear to be an NgModule class.(-996002)
viewer.module.d.ts(10, 53): This likely means that the library (@groupdocs.examples.angular/viewer) which declares ViewerModule has not been processed correctly by ngcc, or is not compatible with Angular Ivy. Check if a newer version of the library is available, and update if so. Also consider checking with the library's authors to see if the library is expected to be compatible with Ivy.
Ragul29 commented 1 year ago

Even I am also trying to include CommonComponentsModule in my Angular 16 and I get the error: image

e-chernova commented 1 year ago

Even I am also trying to include CommonComponentsModule in my Angular 16 and I get the error: image

Sorry, but our libraries currently doesn't support Ivy. What component are you interested in?

Ragul29 commented 1 year ago

I would like to integrate GroupDocs file viewer in angular 16.

e-chernova commented 1 year ago

We are working on a new Viewer version which will support Ivy, it will be available soon. We will notify you :)

Ragul29 commented 1 year ago

Thanks for the Update @e-chernova .

digeomel commented 1 year ago

@e-chernova as I already explained to a related question in your product forum, I already upgraded most of the existing projects to Angular 15, because we couldn't wait to integrate it in our app. In the meantime I've also made several changes which are not in this repo, for example we need the viewer to be in a sidebar, not full-screen (and your calculations in the code are unfortunately hard-coded to work only in full screen), but maybe others will find this useful for now:

https://github.com/digeomel/GroupDocs.Total-Angular

If you're creating new components, please consider making them flexible enough to work in any container, not just fullscreen, and also to accept the document data from an API call, not to have open file buttons. I think this is the most common scenario for most people anyway.

digeomel commented 7 months ago

@e-chernova any updates?

vladimir-litvinchik commented 7 months ago

@digeomel

We're preparing a separate Viewer package that is using Angular 16. As soon as package will be available we let you know.

digeomel commented 1 week ago

Hello, once again, any updates?

vladimir-litvinchik commented 1 week ago

@digeomel

Unfortunately it is still not production ready.