Angular services, modules, and components that let Ex Libris Cloud Apps interact with Alma and the Higher Education Platform.
Apps created with eca init already include this library. To add it manually:
$ npm install @exlibris/exl-cloudapp-angular-lib --save
| Service | Description |
|---|---|
CloudAppEventsService |
Initialization data, current page entities (getPageMetadata, onPageLoad), auth token, and page navigation (refreshPage, back, home). |
CloudAppRestService |
Call Alma REST APIs with call(). |
CloudAppStoreService |
Key/value storage for the app (get, set, remove). |
CloudAppSettingsService |
Per-user app settings (get, set). |
CloudAppConfigService |
Institution-level app configuration (get, set). |
InitService |
Applies the user's language and Alma theme at startup. Load it with APP_INITIALIZER. |
| Export | Description |
|---|---|
MaterialModule |
Angular Material modules used by Cloud Apps. |
CloudAppTranslateModule |
Translation support based on @ngx-translate/core. |
AlertModule, AlertService |
Alerts displayed with <cloudapp-alert>. |
MenuModule |
Menu components (<eca-menu>, <eca-menu-item>). |
FormGroupUtil |
toFormGroup() converts an object into a reactive form group. |
Shared types such as Entity, EntityType, PageInfo, InitData, Request, and HttpMethod are also exported.
The package includes the Cloud App theme at @exlibris/exl-cloudapp-angular-lib/styles/styles.scss.
See the Cloud Apps documentation for guides, tutorials, and the API reference.
See LICENSE.md.