@syndew/oluso-ui-core
v1.30.1
Published
Shared Angular building blocks for the Oluso portals and plugins: plugin registry, API base URL token, terminology and locale services, and common UI.
Readme
@syndew/oluso-ui-core
The shared foundation of the Oluso Angular portals (admin, workspace and account) and their plugins:
- the plugin model and
PluginService, which admin, workspace and account plugins register with - the
API_BASE_URLand HTTP context tokens - terminology, locale, currency and country services
- shared components, models and utilities
Every other @syndew/oluso-* Angular package builds on it.
Install
npm install @syndew/oluso-ui-corePeer dependencies (npm installs them with the package): @angular/cdk, @angular/common, @angular/core, @angular/forms, @angular/platform-browser, @angular/router, @jsverse/transloco, dompurify, marked, rxjs.
Use
import { PluginService, API_BASE_URL, provideAppTitle } from '@syndew/oluso-ui-core';A plugin is an AdminPlugin, WorkspacePlugin or AccountPlugin object with its routes, navigation items and settings tabs. Register it with PluginService when the app starts; see @syndew/oluso-plugin-fido2 for a complete example.
