Inside tsconfig.json I have added the library under two names ng-ace-admin and ng-ace-lib.
So both names can be used in an app to load NgAceAdminModule.
ng-ace-lib directly points to library's source files but you can build the library using te following command and point
to the dist files:
ng build --prod ng-ace-lib
Library files consist of the following:
These are copied from Ace HTML ace/js/src(no jQuery dependency) and are used in directives or in some of demo's component pages.
They are referenced as @ace/*, for example
import AceSidebar from `@ace/sidebar`
The @ace/* path is set in tsconfig.json.
Directive are wrappers around Ace's js files without jQuery requirements.
Some of them depend on @ng-bootstrap or ngx-bootstrap (only NgAceModal directive).
Services are used to interact with Ace's directives from other parts of app, for example to collapse or expand sidebar from anywhere.
There is only one safeHtml pipe which used in some places to prevent Angular from sanitizing and stripping HTML content.
There's only one component and it's used in Toaster Service, so you don't need to use it. It's not exported by the ng-ace-admin module.
The classes are used by directives and you don't need to use them. They are not exported either.