Skip to content

cartesianui/ng-platform-common

Repository files navigation

@cartesianui/common

Shared platform library for CartesianUI Angular applications. Provides base classes, utilities, and infrastructure that all feature libraries build on.

Modules

Module Description Docs
Models Entity definition, decorators (@EntityMeta, @ListMeta, @FormMeta), form binding, datatable formatting, value display DOCUMENTATION.md
Store NgRx state management — entity actions, reducer, effects factories, EntitySandbox DOCUMENTATION.md
Form Form infrastructure — FormBaseComponent, validation, reusable controls, repeatable forms, configurable form builder DOCUMENTATION.md
Datatable Listing infrastructure — ListingControlsComponent, AppDatatableComponent wrapper, column/detail directives DOCUMENTATION.md
Directives Shared directives (busy overlay, etc.)
Pipes Shared pipes
Services Shared services
Widgets Reusable UI widgets
Helpers Utility functions
Animations Shared Angular animations

How Modules Connect

Models (@EntityMeta)
  ├── defines form fields    → Form (FormBaseComponent.initForm())
  ├── defines datatable cols → Datatable (ListingControlsComponent.loadEntityMetadata())
  └── defines search form    → Datatable (criteria filtering)

Store (EntitySandbox)
  ├── provides entities()    → Datatable (rows)
  ├── provides selected()    → Form (edit patching)
  ├── provides pagination()  → Datatable (paging)
  └── provides requestState  → Form (busy state)

Build

ng build common

Publishing

cd dist/common && npm publish

About

Core functionality, that need to be extended in different ways, base components, form helpers etc

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages