Library files

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.

Also please note that during development 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:

bash
ng build --prod ng-ace-lib


Library files consist of the following:

Ace's JS Files

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

ts
import AceSidebar from `@ace/sidebar`

The @ace/* path is set in tsconfig.json.

Angular Files

Directives

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

Services are used to interact with Ace's directives from other parts of app, for example to collapse or expand sidebar from anywhere.

Pipes

There is only one safeHtml pipe which used in some places to prevent Angular from sanitizing and stripping HTML content.

Components

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.

Classes

The classes are used by directives and you don't need to use them. They are not exported either.