@i2ecommonpackages/ngx-i2e-notes
v2.3.1
Published
Angular library that provides the project/scenario notes dialog (`app-scenario-notes`).
Readme
@i2ecommonpackages/ngx-i2e-notes
Angular library that provides the project/scenario notes dialog (app-scenario-notes).
Requirements
Host applications must provide:
provideHttpClient()— used byNgxI2eNotesServiceprovideAnimations()— required by Angular Material dialogs
AG Grid styles
The notes grid uses the AG Grid legacy ag-theme-alpine CSS theme (same as the
i2e Platform and Cluster grids), so the host application must load the legacy
stylesheets globally, for example in angular.json or styles.scss:
@import "ag-grid-community/styles/ag-grid.css";
@import "ag-grid-community/styles/ag-theme-alpine.css";Platform and Cluster apps already include these globally; no extra work is needed there.
Kendo styles
The notes editor requires a Kendo theme (for example @progress/kendo-theme-default)
to be loaded by the host application.
Usage
import { NgxI2eNotesModule } from '@i2ecommonpackages/ngx-i2e-notes';Open the dialog with MatDialog, passing translationStrings and dataItem through
MAT_DIALOG_DATA.
Build
ng build ngx-i2e-notesRunning unit tests
ng test ngx-i2e-notesPublishing
cd dist/ngx-i2e-notes
npm publish