@cmusei/crucible-common
v0.7.2
Published
A set of angular modules that are common between Crucible apps
Readme
Crucible Common Modules
Description
Crucible Common modules are a set of angular modules that are common between Crucible apps.
Modules
Settings Module
The Common Settings Module is a module that can load application level settings
from a JSON file and provide a settings service to the entire application. Typically this
file will be served by angular in the assets folder.
In most cases a settings file will already exist in your application. however, if you
need a starting point a template json file is provided in comn-settings/templates
Find out more on the Github Page.
Auth Module
The Common Auth module is a module that interacts with the Identity server, providing authentication to the application.
Find out more on the Github Page.
Header Bar Module
The purpose of this component is to display classification levels and maintenance messages, which are read from the common settings.
Theme Module
The Theme module (comn-theme) provides a shared dynamic Material 3 color
theme. A single primary hex color drives the entire color scheme at runtime —
no SCSS rebuild is needed. Register it in an app with provideCrucibleTheme().
See the root README for configuration details.
Dialog Module
The Dialog module (crucible-dialog) provides shared, app-agnostic modal
building blocks so every Crucible app has the same dialog structure (title →
content → actions) and look, inherited from the app's Material theme. It
includes CrucibleDialogService.confirm(...) for data-driven confirm dialogs
and a <crucible-dialog> wrapper for reactive-form, template-driven, and
content-only modals.
Find out more on the Github Page.
