UNPKG

@gsp-cmp/ccmp-ui

Version:

CCMP UI Component Library for Angular

74 lines (49 loc) 1.38 kB
# @gsp-cmp/ccmp-ui CCMP UI Component Library for Angular ## Installation ```bash npm install @gsp-cmp/ccmp-ui ``` ## Usage ### Import the module ```typescript import { CommonComponentUiModule } from '@gsp-cmp/ccmp-ui'; @NgModule({ imports: [ CommonComponentUiModule ] }) export class AppModule { } ``` ### Use the components ```typescript import { CommonComponentSelectorComponent } from '@gsp-cmp/ccmp-ui'; // In your component template <common-component-selector></common-component-selector> ``` ### Use the services ```typescript import { CommonComponentUiRTService, CommonComponentUiDTService } from '@gsp-cmp/ccmp-ui'; constructor( private rtService: CommonComponentUiRTService, private dtService: CommonComponentUiDTService ) {} ``` ## API Reference ### Components - `CommonComponentSelectorComponent` - Common component selector ### Services - `CommonComponentUiRTService` - Runtime service - `CommonComponentUiDTService` - Design time service ### Types - `SelectorResult` - Result type for selector - `Options` - Options type for configuration ## Dependencies This library requires the following peer dependencies: - Angular 7.2.0+ - @progress/kendo-angular-buttons - @gsp-cmp/common-component - @ecp-caf/common-structure - Various @farris/ui packages ## License MIT